[Bug fortran/38530] ICE with the example for c_funloc
dominiq at lps dot ens dot fr
gcc-bugzilla@gcc.gnu.org
Sat Nov 21 20:46:00 GMT 2009
------- Comment #4 from dominiq at lps dot ens dot fr 2009-11-21 20:46 -------
This PR and PR42119 are fixed by the patch in comment #1 of PR42119 without
regression. It also fixes the test in comment #7 pf PR34199.
As far as I can understand the comment
/* ??? This should be considered a front-end bug. We should not be
generating ADDR_EXPR of something that isn't an LVALUE. The only
exception here is STRING_CST. */
there is something wrong in gfortran. Is the patch in comment #2 a step in the
right direction?
As a side note, it would be nice to have the companion C code to have an
executable test in the manual.
--
dominiq at lps dot ens dot fr changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38530
More information about the Gcc-bugs
mailing list