public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/21807] New: gcc 4.1.0 20050522 segfaults (internal compiler error) on various GNU/Linux builds
@ 2005-05-29 14:06 mclinden at informed dot net
  2005-05-29 14:09 ` [Bug middle-end/21807] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: mclinden at informed dot net @ 2005-05-29 14:06 UTC (permalink / raw)
  To: gcc-bugs

Using a host system of Linux 2.6.8.1, binutils version 2.16 and the 
aforementioned GCC, I have observed the following gcc segmentation faults:

util-linux-2.12q: -pipe -O2 -mtune=i486 -fomit-frame-pointer (defaults)
fdiskbsdlabel.c: In function 'bselect' (void):
fdiskbsdlabel.c: 164: internal compiler error: Segmentation fault

sfdisk.c: In function 'do_fdisk (static void)':
sfdisk.c:3006: internal compiler error: Segmentation fault

I have also found that many variations of '-march=pentium4 -OX' segfault when 
compiling different instantiations of quotearg. For example:

patch-2.5.9:
quotearg.c: In function 'quotearg_char'
quotearg.c:619: internal compiler error: Segmentation fault

when -O3 was used, but worked fine with a -O2 optimization.

(I realize that optimizations greater than -O2 are risky but I didn't expect 
the compiler to choke with a segmentation fault).

I marked this as critical because it causes a seg fault and thought that 
someone might want to know.

Sean McLinden
Allegheny County Health Department

-- 
           Summary: gcc 4.1.0 20050522 segfaults (internal compiler error)
                    on various GNU/Linux builds
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mclinden at informed dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux
  GCC host triplet: i686-pc-linux
GCC target triplet: i696-pc-linux


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


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

* [Bug middle-end/21807] gcc 4.1.0 20050522 segfaults (internal compiler error) on various GNU/Linux builds
  2005-05-29 14:06 [Bug c/21807] New: gcc 4.1.0 20050522 segfaults (internal compiler error) on various GNU/Linux builds mclinden at informed dot net
@ 2005-05-29 14:09 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-29 14:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-29 14:09 -------


*** This bug has been marked as a duplicate of 21790 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|c                           |middle-end
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2005-05-29 14:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-29 14:06 [Bug c/21807] New: gcc 4.1.0 20050522 segfaults (internal compiler error) on various GNU/Linux builds mclinden at informed dot net
2005-05-29 14:09 ` [Bug middle-end/21807] " pinskia 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).