public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/40298]  New: possible failure in cgraph_clone_inlined_nodes with -O3
@ 2009-05-29 18:27 dcb314 at hotmail dot com
  2009-05-29 18:28 ` [Bug c/40298] " dcb314 at hotmail dot com
  0 siblings, 1 reply; 2+ messages in thread
From: dcb314 at hotmail dot com @ 2009-05-29 18:27 UTC (permalink / raw)
  To: gcc-bugs

I just tried to compile the Suse Linux package qemacs-0.3.1-380.42
with the GNU gcc version 4.5 snapshot 20090528.

The compiler said

gcc: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Preprocessed source code attached. Flag -O3 required.

Here is some valgrind output which might help

==8522== Stack overflow in thread 1: can't grow stack to 0x7FE801FF8
==8522== Can't extend stack to 0x7FE801700 during signal delivery for thread 1:
==8522==   no stack segment
==8522==
==8522== Process terminating with default action of signal 11 (SIGSEGV)
==8522==  Access not within mapped region at address 0x7FE801700
==8522==    at 0x96B07A: cgraph_clone_inlined_nodes (ipa-inline.c:261)
==8522== Invalid write of size 8
==8522==    at 0x4A1F3A8: _vgnU_freeres (in
/usr/lib64/valgrind/amd64-linux/vgpreload_core.so)
==8522==  Address 0x7fe801f70 is on thread 1's stack
==8522== Stack overflow in thread 1: can't grow stack to 0x7FE801F70
==8522==
==8522== Process terminating with default action of signal 11 (SIGSEGV)
==8522==  Access not within mapped region at address 0x7FE801F70
==8522==    at 0x4A1F3A8: _vgnU_freeres (in
/usr/lib64/valgrind/amd64-linux/vgpreload_core.so)


-- 
           Summary: possible failure in cgraph_clone_inlined_nodes with -O3
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcb314 at hotmail dot com
  GCC host triplet: x86_64-suse-linux


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


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

* [Bug c/40298] possible failure in cgraph_clone_inlined_nodes with -O3
  2009-05-29 18:27 [Bug c/40298] New: possible failure in cgraph_clone_inlined_nodes with -O3 dcb314 at hotmail dot com
@ 2009-05-29 18:28 ` dcb314 at hotmail dot com
  0 siblings, 0 replies; 2+ messages in thread
From: dcb314 at hotmail dot com @ 2009-05-29 18:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dcb314 at hotmail dot com  2009-05-29 18:28 -------
Created an attachment (id=17932)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17932&action=view)
C source code


-- 


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


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

end of thread, other threads:[~2009-05-29 18:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-29 18:27 [Bug c/40298] New: possible failure in cgraph_clone_inlined_nodes with -O3 dcb314 at hotmail dot com
2009-05-29 18:28 ` [Bug c/40298] " dcb314 at hotmail dot com

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).