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/50070] Segmentation fault at size_binop_loc in fold-const.c


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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code
      Known to fail|                            |4.1.2, 4.4.4, 4.5.4, 4.6.2,
                   |                            |4.7.0

--- Comment #2 from janus at gcc dot gnu.org 2011-08-13 11:53:58 UTC ---
(In reply to comment #1)
> I can confirm the segfault with 4.5, 4.6 and 4.7 (trunk) on the test case in
> comment #0:

Same with 4.4 and 4.1. Apparently this bug has been existing forever.


ifort rejects the original test case with:

error #6756: A COMMON block data object must not be an automatic object.   [Z]
  common n,z
-----------^


g95 says:

  common n,z
           1
Error: Character variable 'z' at (1) must have a constant length


I assume this is an ice-on-invalid-code.


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