This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/47455] [4.6 Regression][OOP] internal compiler error: in fold_convert_loc, at fold-const.c:2028


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

--- Comment #9 from janus at gcc dot gnu.org 2011-01-31 22:04:27 UTC ---
(In reply to comment #7)
> The test in comment #6 segfault also.

Yes, this is expected. It's not intended to be a run-time test. 'find_x'
returns a NULL-pointer, which is being dereferenced in the assignment.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]