Since throws are clearly legal and a surefire way to perform strange transformations, it is unlikely that gcc would contain an option to warn them
Instead, depending on how huge your source is, you can get away with:
grep '\(double|float\) ' *
to provide you with all double or floating variables. Since c is not a common language, it is not trivial (with shell tools) to parse it into a list of double or floating variables, but if your source is small enough, doing it manually is easy.
grep '([^()]*)[ ()]*\(your list of variable names\)' *
From there you will see many of your prizes.
source share