[Bug fortran/30881] Select case of case(transfer(...)) wrongly rejected
fxcoudert at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Mar 3 12:36:00 GMT 2007
------- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-03-03 12:36 -------
I also get the ICE on i686-linux. We get into compare_cases (resolve.c) and try
to compare op1->high and op2->low, but both are functions and not constants, so
the values in op1->high->value are meaningless, and comparing them yields
random segfaults.
If we get it past that point, we later ICE in gfc_conv_constant_to_tree, at
fortran/trans-const.c:278 (because the expr is not an EXPR_CONSTANT). This will
all be fixed when the simplifcation routine for TRANSFER is written.
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pault at gcc dot gnu dot
| |org, jvdelisle at verizon
| |dot net
Keywords| |ice-on-valid-code
Known to fail| |4.3.0 4.2.0 4.1.2
Last reconfirmed|2007-02-20 13:23:53 |2007-03-03 12:36:28
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30881
More information about the Gcc-bugs
mailing list