public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/30338]  New: Segmentation fault for legal code with -Os -m32
@ 2006-12-31 11:38 dcb314 at hotmail dot com
  2006-12-31 11:40 ` [Bug c/30338] " dcb314 at hotmail dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: dcb314 at hotmail dot com @ 2006-12-31 11:38 UTC (permalink / raw)
  To: gcc-bugs

I just tried to compile Suse package grub-0.97-40
with the new GNU C compiler version 4.3 snapshot 20061230.

The compiler said

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

Here is some help from valgrind

==3736== Stack overflow in thread 1: can't grow stack to 0x7FE001F04
==3736== Can't extend stack to 0x7FE0015E0 during signal delivery for thread 1:
==3736==   no stack segment
==3736==
==3736== Process terminating with default action of signal 11 (SIGSEGV)
==3736==  Access not within mapped region at address 0x7FE0015E0
==3736==    at 0x611927: fold_comparison (fold-const.c:7950)
==3736== Invalid write of size 8
==3736==    at 0x4A1E348: _vgnU_freeres (in
/usr/lib64/valgrind/amd64-linux/vgpreload_core.so)
==3736==  Address 0x7FE001E48 is on thread 1's stack
==3736== Stack overflow in thread 1: can't grow stack to 0x7FE001E48
==3736==
==3736== Process terminating with default action of signal 11 (SIGSEGV)
==3736==  Access not within mapped region at address 0x7FE001E48
==3736==    at 0x4A1E348: _vgnU_freeres (in
/usr/lib64/valgrind/amd64-linux/vgpreload_core.so)

Preprocessed source code attached. Flags -Os -m32 required.


-- 
           Summary: Segmentation fault for legal code with -Os -m32
           Product: gcc
           Version: 4.3.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=30338


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

end of thread, other threads:[~2010-07-09 14:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-31 11:38 [Bug c/30338] New: Segmentation fault for legal code with -Os -m32 dcb314 at hotmail dot com
2006-12-31 11:40 ` [Bug c/30338] " dcb314 at hotmail dot com
2006-12-31 11:51 ` [Bug middle-end/30338] [4.3 Regression] infinite loop in maybe_canonicalize_comparison pinskia at gcc dot gnu dot org
2006-12-31 11:57 ` rguenth at gcc dot gnu dot org
2006-12-31 12:28 ` rguenth at gcc dot gnu dot org
2006-12-31 12:57 ` rguenth at gcc dot gnu dot org
2006-12-31 14:05 ` rguenth at gcc dot gnu dot org
2006-12-31 16:49 ` pinskia at gcc dot gnu dot org
2010-07-08 21:50 ` bergner at gcc dot gnu dot org
2010-07-09  8:10 ` rguenther at suse dot de
2010-07-09 14:37 ` bergner 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).