public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/40519]  New: ICE with -O2 -ftracer __builtin_unreachable()
@ 2009-06-22 11:56 wouter dot vermaelen at scarlet dot be
  2009-06-29 18:36 ` [Bug rtl-optimization/40519] " daney at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: wouter dot vermaelen at scarlet dot be @ 2009-06-22 11:56 UTC (permalink / raw)
  To: gcc-bugs

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

> cat bug.i
void f(int i, int j, int k) {
        if (i == 0) k = 0;
        if (j == 0) __builtin_unreachable();
        if (k == 0) __builtin_unreachable();
}

> gcc -O2 -ftracer bug.i
bug.i: In function ‘f’:
bug.i:5:1: internal compiler error: Segmentation fault

Using SVN revision 148787.


-- 
           Summary: ICE with -O2 -ftracer __builtin_unreachable()
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: wouter dot vermaelen at scarlet dot be


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


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

* [Bug rtl-optimization/40519] ICE with -O2 -ftracer __builtin_unreachable()
  2009-06-22 11:56 [Bug tree-optimization/40519] New: ICE with -O2 -ftracer __builtin_unreachable() wouter dot vermaelen at scarlet dot be
@ 2009-06-29 18:36 ` daney at gcc dot gnu dot org
  2009-06-29 22:50 ` daney at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: daney at gcc dot gnu dot org @ 2009-06-29 18:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from daney at gcc dot gnu dot org  2009-06-29 18:36 -------
Do either of these patches fix the problem?

http://gcc.gnu.org/ml/gcc-patches/2009-06/msg01267.html
http://gcc.gnu.org/ml/gcc-patches/2009-06/msg01978.html


-- 

daney at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daney at gcc dot gnu dot org
          Component|tree-optimization           |rtl-optimization


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


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

* [Bug rtl-optimization/40519] ICE with -O2 -ftracer __builtin_unreachable()
  2009-06-22 11:56 [Bug tree-optimization/40519] New: ICE with -O2 -ftracer __builtin_unreachable() wouter dot vermaelen at scarlet dot be
  2009-06-29 18:36 ` [Bug rtl-optimization/40519] " daney at gcc dot gnu dot org
@ 2009-06-29 22:50 ` daney at gcc dot gnu dot org
  2009-07-06 11:33 ` [Bug rtl-optimization/40519] [4.5 Regression] " reichelt at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: daney at gcc dot gnu dot org @ 2009-06-29 22:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from daney at gcc dot gnu dot org  2009-06-29 22:50 -------
Well the trunk at r149061 with both the afore mentioned patches applied does
not exhibit the ICE for me on x86_64-pc-linux-gnu.  Without the patches I
obtain the ICE.


-- 


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


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

* [Bug rtl-optimization/40519] [4.5 Regression] ICE with -O2 -ftracer __builtin_unreachable()
  2009-06-22 11:56 [Bug tree-optimization/40519] New: ICE with -O2 -ftracer __builtin_unreachable() wouter dot vermaelen at scarlet dot be
  2009-06-29 18:36 ` [Bug rtl-optimization/40519] " daney at gcc dot gnu dot org
  2009-06-29 22:50 ` daney at gcc dot gnu dot org
@ 2009-07-06 11:33 ` reichelt at gcc dot gnu dot org
  2009-07-09 15:43 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2009-07-06 11:33 UTC (permalink / raw)
  To: gcc-bugs



-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2009-07-06 11:33:34
               date|                            |
            Summary|ICE with -O2 -ftracer       |[4.5 Regression] ICE with -
                   |__builtin_unreachable()     |O2 -ftracer
                   |                            |__builtin_unreachable()
   Target Milestone|---                         |4.5.0


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


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

* [Bug rtl-optimization/40519] [4.5 Regression] ICE with -O2 -ftracer __builtin_unreachable()
  2009-06-22 11:56 [Bug tree-optimization/40519] New: ICE with -O2 -ftracer __builtin_unreachable() wouter dot vermaelen at scarlet dot be
                   ` (2 preceding siblings ...)
  2009-07-06 11:33 ` [Bug rtl-optimization/40519] [4.5 Regression] " reichelt at gcc dot gnu dot org
@ 2009-07-09 15:43 ` rguenth at gcc dot gnu dot org
  2009-07-09 15:48 ` daney at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-07-09 15:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2009-07-09 15:43 -------
./cc1 -quiet t.i -O2 -ftracer
t.i: In function 'f':
t.i:5:4: 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.

with r149419


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
   Last reconfirmed|2009-07-06 11:33:34         |2009-07-09 15:43:11
               date|                            |


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


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

* [Bug rtl-optimization/40519] [4.5 Regression] ICE with -O2 -ftracer __builtin_unreachable()
  2009-06-22 11:56 [Bug tree-optimization/40519] New: ICE with -O2 -ftracer __builtin_unreachable() wouter dot vermaelen at scarlet dot be
                   ` (3 preceding siblings ...)
  2009-07-09 15:43 ` rguenth at gcc dot gnu dot org
@ 2009-07-09 15:48 ` daney at gcc dot gnu dot org
  2009-07-26  5:08 ` daney at gcc dot gnu dot org
  2009-07-26  5:09 ` daney at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: daney at gcc dot gnu dot org @ 2009-07-09 15:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from daney at gcc dot gnu dot org  2009-07-09 15:48 -------
The patches in comment #1 fix the problem.

If someone would review them we could probably close the bug.


-- 

daney at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug rtl-optimization/40519] [4.5 Regression] ICE with -O2 -ftracer __builtin_unreachable()
  2009-06-22 11:56 [Bug tree-optimization/40519] New: ICE with -O2 -ftracer __builtin_unreachable() wouter dot vermaelen at scarlet dot be
                   ` (4 preceding siblings ...)
  2009-07-09 15:48 ` daney at gcc dot gnu dot org
@ 2009-07-26  5:08 ` daney at gcc dot gnu dot org
  2009-07-26  5:09 ` daney at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: daney at gcc dot gnu dot org @ 2009-07-26  5:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from daney at gcc dot gnu dot org  2009-07-26 05:08 -------
Both patches in comment #1 are now committed.  This should now be fixed.  


-- 

daney at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |daney at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


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

* [Bug rtl-optimization/40519] [4.5 Regression] ICE with -O2 -ftracer __builtin_unreachable()
  2009-06-22 11:56 [Bug tree-optimization/40519] New: ICE with -O2 -ftracer __builtin_unreachable() wouter dot vermaelen at scarlet dot be
                   ` (5 preceding siblings ...)
  2009-07-26  5:08 ` daney at gcc dot gnu dot org
@ 2009-07-26  5:09 ` daney at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: daney at gcc dot gnu dot org @ 2009-07-26  5:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from daney at gcc dot gnu dot org  2009-07-26 05:08 -------
Fixed.


-- 

daney at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2009-07-26  5:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-22 11:56 [Bug tree-optimization/40519] New: ICE with -O2 -ftracer __builtin_unreachable() wouter dot vermaelen at scarlet dot be
2009-06-29 18:36 ` [Bug rtl-optimization/40519] " daney at gcc dot gnu dot org
2009-06-29 22:50 ` daney at gcc dot gnu dot org
2009-07-06 11:33 ` [Bug rtl-optimization/40519] [4.5 Regression] " reichelt at gcc dot gnu dot org
2009-07-09 15:43 ` rguenth at gcc dot gnu dot org
2009-07-09 15:48 ` daney at gcc dot gnu dot org
2009-07-26  5:08 ` daney at gcc dot gnu dot org
2009-07-26  5:09 ` daney 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).