[Bug fortran/49630] [OOP] ICE on obsolescent deferred-length type bound character function

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Wed Jun 12 10:01:00 GMT 2013


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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-06-12
     Ever confirmed|0                           |1

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
For the code in comment #0, I get the following ICE:

In function 'do_something':
Segmentation fault
     print *,this%abc_function()
 ^

Internal compiler error: Error reporting routines re-entered.
gfcc: internal compiler error: Abort trap (program f951)

or

pr49630.f90: In function 'do_something':
pr49630.f90:26:0: internal compiler error: in build_int_cst_wide, at
tree.c:1213
     print *,this%abc_function()
 ^

pr49630.f90:26:0: internal compiler error: Abort trap
gfca: internal compiler error: Abort trap (program f951)

for versions configured with --enable-checking=release.

AFAICT the code in comment #1 compiles with 4.8 and trunk (it is not supported
in 4.7).



More information about the Gcc-bugs mailing list