public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/51291] New: ICE: SIGSEGV in ix86_init_builtins (i386.c:27691) with any fortran code
@ 2011-11-24  7:24 zsojka at seznam dot cz
  2011-11-24 10:32 ` [Bug middle-end/51291] ICE: SIGSEGV in ix86_init_builtins (i386.c:27691) with -fgnu-tm and " burnus at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: zsojka at seznam dot cz @ 2011-11-24  7:24 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51291
           Summary: ICE: SIGSEGV in ix86_init_builtins (i386.c:27691) with
                    any fortran code
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
                CC: amacleod@redhat.com
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


It seems any fotran code triggers this segfault:

Compiler output:
$ echo '' > testcase.f
$ gfortran testcase.f -fgnu-tm
f951: warning: 'transaction_pure' attribute directive ignored [-Wattributes]
==3935== Invalid read of size 2
==3935==    at 0xC88CCF: ix86_init_builtins() (i386.c:27691)
==3935==    by 0x6268F7: gfc_init_builtin_functions() (f95-lang.c:1136)
==3935==    by 0x627C68: gfc_be_parse_file() (f95-lang.c:231)
==3935==    by 0xA56547: toplev_main(int, char**) (toplev.c:565)
==3935==    by 0x674ED2C: (below main) (in /lib64/libc-2.12.2.so)
==3935==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==3935== 
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 warning is likely invalid.

Tested revisions:
r181678 - crash


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

end of thread, other threads:[~2011-12-21 14:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-24  7:24 [Bug fortran/51291] New: ICE: SIGSEGV in ix86_init_builtins (i386.c:27691) with any fortran code zsojka at seznam dot cz
2011-11-24 10:32 ` [Bug middle-end/51291] ICE: SIGSEGV in ix86_init_builtins (i386.c:27691) with -fgnu-tm and " burnus at gcc dot gnu.org
2011-12-09 19:33 ` aldyh at gcc dot gnu.org
2011-12-09 22:25 ` aldyh at gcc dot gnu.org
2011-12-21 14:02 ` aldyh at gcc dot gnu.org
2011-12-21 14:06 ` aldyh at gcc dot gnu.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).