public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/44660]  New: ICE in resolve_equivalence()
@ 2010-06-25  2:37 spop at gcc dot gnu dot org
  2010-06-25  4:02 ` [Bug fortran/44660] [regression 4.4/4.5/4.6] " kargl at gcc dot gnu dot org
                   ` (23 more replies)
  0 siblings, 24 replies; 26+ messages in thread
From: spop at gcc dot gnu dot org @ 2010-06-25  2:37 UTC (permalink / raw)
  To: gcc-bugs

GCC trunk is ICEing in the fortran front-end while compiling this:

$ cat ./bug.f
  165        CONTINUE
      EQUIVALENCE (CHECK, CHECK_STR)
      DATA CHECK_STR/"CHECK   "/
      END

$ ./f951 bug.f
bug.f:2.72:

      EQUIVALENCE (CHECK, CHECK_STR)                                    
                                                                        1
Error: Unexpected EQUIVALENCE statement at (1)
bug.f:3.10:

      DATA CHECK_STR/"CHECK   "/                                        
          1
Error: Incompatible types in DATA statement at (1); attempted conversion of
CHARACTER(1) to REAL(4)
f951: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

The ICE happens in:
(gdb) bt
#0  0x000000000053dcfe in resolve_equivalence (eq=0x17e6d60) at
../../gcc/fortran/resolve.c:12363
#1  0x000000000053ec22 in resolve_types (ns=0x1835640) at
../../gcc/fortran/resolve.c:12788
#2  0x000000000053ee9d in gfc_resolve (ns=0x1835640) at
../../gcc/fortran/resolve.c:12849
#3  0x000000000051dcff in gfc_parse_file () at ../../gcc/fortran/parse.c:4275
#4  0x000000000055e86f in gfc_be_parse_file (set_yydebug=0) at
../../gcc/fortran/f95-lang.c:234
#5  0x0000000000a1c7b0 in compile_file () at ../../gcc/toplev.c:1044
#6  0x0000000000a1ec33 in do_compile () at ../../gcc/toplev.c:2441
#7  0x0000000000a1ed09 in toplev_main (argc=5, argv=0x7fffffffe868) at
../../gcc/toplev.c:2483
#8  0x00000000005e69b0 in main (argc=5, argv=0x7fffffffe868) at
../../gcc/main.c:35


-- 
           Summary: ICE in resolve_equivalence()
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: spop at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2010-08-06 17:19 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-25  2:37 [Bug fortran/44660] New: ICE in resolve_equivalence() spop at gcc dot gnu dot org
2010-06-25  4:02 ` [Bug fortran/44660] [regression 4.4/4.5/4.6] " kargl at gcc dot gnu dot org
2010-06-25  4:35 ` jvdelisle at gcc dot gnu dot org
2010-06-25  4:42 ` kargl at gcc dot gnu dot org
2010-06-25  5:33 ` sebpop at gmail dot com
2010-06-25  5:49 ` sebpop at gmail dot com
2010-06-25  6:07   ` Sebastian Pop
2010-06-25  6:08 ` sebpop at gmail dot com
2010-06-25  6:14 ` kargl at gcc dot gnu dot org
2010-06-25  6:20 ` burnus at gcc dot gnu dot org
2010-06-25  6:24 ` sebpop at gmail dot com
2010-06-25  6:30 ` kargl at gcc dot gnu dot org
2010-06-25  9:17 ` burnus at gcc dot gnu dot org
2010-06-25 10:32 ` mikael at gcc dot gnu dot org
2010-06-25 10:33 ` mikael at gcc dot gnu dot org
2010-06-25 17:15 ` kargl at gcc dot gnu dot org
2010-06-25 18:12 ` jakub at gcc dot gnu dot org
2010-07-22  9:44 ` burnus at gcc dot gnu dot org
2010-07-23  3:05 ` jvdelisle at gcc dot gnu dot org
2010-07-24 19:52 ` mikael at gcc dot gnu dot org
2010-07-25 17:01 ` mikael at gcc dot gnu dot org
2010-07-27 12:07 ` [Bug fortran/44660] [regression 4.4/4.5] " mikael at gcc dot gnu dot org
2010-08-05 21:39 ` [Bug fortran/44660] [4.4/4.5 Regression] " mikael at gcc dot gnu dot org
2010-08-05 21:40 ` [Bug fortran/44660] [4.4 " mikael at gcc dot gnu dot org
2010-08-06 17:18 ` mikael at gcc dot gnu dot org
2010-08-06 17:19 ` [Bug fortran/44660] " mikael at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).