[Bug fortran/53778] bad code (delivering NaN instead of proper result) with -foptimize-sibling-calls

thomas.orgis at awi dot de gcc-bugzilla@gcc.gnu.org
Wed Jun 27 21:31:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53778

Thomas Orgis <thomas.orgis at awi dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #6 from Thomas Orgis <thomas.orgis at awi dot de> 2012-06-27 21:31:06 UTC ---
Meh ... I see it. Trapped by those optional fortran dummy arguments. All the
fuss and hassle because of a dumb missing initialization. At least now I know
why this specific configuration crashed (y dimension has length 0).

OK, you're off the hook this time;-) I can kill compiler bug 25 from my list
(not just gfortran) as invalid and so can you with this report.

Thanks for investigating and also showing me the correct syntax to trap missing
initializations (for some reason, I had -finit-real-nan in my flags before ...
which is wrong in more than one way).



More information about the Gcc-bugs mailing list