[Bug fortran/39700] miscompilation with -fwhole-file

2009-04-09 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2009-04-09 17:34 --- OMG! I was so puzzled with the results, I didn't read to the end of the original PR :( However, if the function TWO is declared INTEGER, the outcome is even worse, even if -Wconversion is specified. So, there defini

[Bug fortran/39700] miscompilation with -fwhole-file

2009-04-09 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-09 17:15 --- Actually this code is invalid as explained by that PR :). So just marking this as a dup of bug 30668. The whole issue is that the front-end should be rejecting the code before it gets to the middle-end. *** This b