[Patch, Fortran] PR 50163 - ICE with nonconst expr in init expr

Tobias Burnus burnus@net-b.de
Tue Aug 23 12:27:00 GMT 2011


The bug is a regression: An error was printed with 4.1.x but since 4.3.x 
one gets an ICE. [No idea what GCC 4.2 does.] The solution is simply: 
Returning if there is a MATCH_ERROR.

See PR (esp. comment 2) for a more detailed description:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50163#c0

Build and regtested on x86-64-linux.
OK for the trunk? And to which version should it be backported? Only 
4.6? Also 4.5? Or even 4.4?

Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: init-err-fix.diff
Type: text/x-patch
Size: 1010 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20110823/96e7ccb8/attachment.bin>


More information about the Fortran mailing list