public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/28592]  New: Segmentation Fault running -O2 on file with deep nesting
@ 2006-08-04  0:26 rob at ennals dot org
  2006-08-04  0:27 ` [Bug c/28592] " rob at ennals dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: rob at ennals dot org @ 2006-08-04  0:26 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1385 bytes --]

Running GCC with -O2 enabled on the attached file causes a segmentation fault.
This file was reduced from a much bigger file using delta.

robennals@robennals:~/cvs/Ivy/deputytests/minim$ gcc --version
gcc (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

robennals@robennals:~/cvs/Ivy/deputytests/minim$ gcc -O2 t.c
t.c:29: warning: ‘struct envelope’ declared inside parameter list
t.c:29: warning: its scope is only this definition or declaration, which is
probably not what you want
t.c: In function ‘sendall’:
t.c:30: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>


-- 
           Summary: Segmentation Fault running -O2 on file with deep nesting
           Product: gcc
           Version: 4.0.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rob at ennals dot org


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


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

* [Bug c/28592] Segmentation Fault running -O2 on file with deep nesting
  2006-08-04  0:26 [Bug c/28592] New: Segmentation Fault running -O2 on file with deep nesting rob at ennals dot org
@ 2006-08-04  0:27 ` rob at ennals dot org
  2006-08-04 11:34 ` [Bug c/28592] [4.0 regression] " tbm at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rob at ennals dot org @ 2006-08-04  0:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rob at ennals dot org  2006-08-04 00:27 -------
Created an attachment (id=12012)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12012&action=view)
Running gcc -O2 on this file gives a segfault.

Tested using gcc (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5), the standard GCC build
that comes with Ubuntu.


-- 


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


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

* [Bug c/28592] [4.0 regression] Segmentation Fault running -O2 on file with deep nesting
  2006-08-04  0:26 [Bug c/28592] New: Segmentation Fault running -O2 on file with deep nesting rob at ennals dot org
  2006-08-04  0:27 ` [Bug c/28592] " rob at ennals dot org
@ 2006-08-04 11:34 ` tbm at gcc dot gnu dot org
  2007-02-01 14:41 ` rguenth at gcc dot gnu dot org
  2007-02-03 18:43 ` gdr at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: tbm at gcc dot gnu dot org @ 2006-08-04 11:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from tbm at gcc dot gnu dot org  2006-08-04 11:34 -------
I can confirm this on i386 with 4.0.4 20060804.


-- 

tbm at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-08-04 11:34:25
               date|                            |
            Summary|Segmentation Fault running -|[4.0 regression]
                   |O2 on file with deep nesting|Segmentation Fault running -
                   |                            |O2 on file with deep nesting
   Target Milestone|---                         |4.0.4


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


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

* [Bug c/28592] [4.0 regression] Segmentation Fault running -O2 on file with deep nesting
  2006-08-04  0:26 [Bug c/28592] New: Segmentation Fault running -O2 on file with deep nesting rob at ennals dot org
  2006-08-04  0:27 ` [Bug c/28592] " rob at ennals dot org
  2006-08-04 11:34 ` [Bug c/28592] [4.0 regression] " tbm at gcc dot gnu dot org
@ 2007-02-01 14:41 ` rguenth at gcc dot gnu dot org
  2007-02-03 18:43 ` gdr at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-02-01 14:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2007-02-01 14:41 -------
This seems to be fixed now.  (tested on x86_64 with -m32)


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.0.3
      Known to work|                            |4.1.0 4.0.0 4.0.1 4.0.2
                   |                            |4.0.4


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


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

* [Bug c/28592] [4.0 regression] Segmentation Fault running -O2 on file with deep nesting
  2006-08-04  0:26 [Bug c/28592] New: Segmentation Fault running -O2 on file with deep nesting rob at ennals dot org
                   ` (2 preceding siblings ...)
  2007-02-01 14:41 ` rguenth at gcc dot gnu dot org
@ 2007-02-03 18:43 ` gdr at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: gdr at gcc dot gnu dot org @ 2007-02-03 18:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from gdr at gcc dot gnu dot org  2007-02-03 18:42 -------
Fixed in GCC-4.1.0.


-- 

gdr at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|4.0.4                       |4.1.0


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


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

end of thread, other threads:[~2007-02-03 18:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-04  0:26 [Bug c/28592] New: Segmentation Fault running -O2 on file with deep nesting rob at ennals dot org
2006-08-04  0:27 ` [Bug c/28592] " rob at ennals dot org
2006-08-04 11:34 ` [Bug c/28592] [4.0 regression] " tbm at gcc dot gnu dot org
2007-02-01 14:41 ` rguenth at gcc dot gnu dot org
2007-02-03 18:43 ` gdr 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).