public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/66372] [6 Regression] ICE on valid code at -O3 on x86_64-linux-gnu
       [not found] <bug-66372-4@http.gcc.gnu.org/bugzilla/>
@ 2015-06-02  8:53 ` rguenth at gcc dot gnu.org
  2015-07-10 13:50 ` mpolacek at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-02  8:53 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66372

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-06-02
      Known to work|                            |5.1.0
   Target Milestone|---                         |6.0
            Summary|ICE on valid code at -O3 on |[6 Regression] ICE on valid
                   |x86_64-linux-gnu            |code at -O3 on
                   |                            |x86_64-linux-gnu
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.

(gdb) p path->last ()->e->src->loop_father
Cannot access memory at address 0xa5a5a5a5a5a5a5bd

looks like e->src was freed.


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

* [Bug tree-optimization/66372] [6 Regression] ICE on valid code at -O3 on x86_64-linux-gnu
       [not found] <bug-66372-4@http.gcc.gnu.org/bugzilla/>
  2015-06-02  8:53 ` [Bug tree-optimization/66372] [6 Regression] ICE on valid code at -O3 on x86_64-linux-gnu rguenth at gcc dot gnu.org
@ 2015-07-10 13:50 ` mpolacek at gcc dot gnu.org
  2015-07-20 14:33 ` jgreenhalgh at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-07-10 13:50 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66372

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with r223448.


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

* [Bug tree-optimization/66372] [6 Regression] ICE on valid code at -O3 on x86_64-linux-gnu
       [not found] <bug-66372-4@http.gcc.gnu.org/bugzilla/>
  2015-06-02  8:53 ` [Bug tree-optimization/66372] [6 Regression] ICE on valid code at -O3 on x86_64-linux-gnu rguenth at gcc dot gnu.org
  2015-07-10 13:50 ` mpolacek at gcc dot gnu.org
@ 2015-07-20 14:33 ` jgreenhalgh at gcc dot gnu.org
  2015-07-20 15:02 ` jgreenhalgh at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: jgreenhalgh at gcc dot gnu.org @ 2015-07-20 14:33 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66372

James Greenhalgh <jgreenhalgh at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jgreenhalgh at gcc dot gnu.org

--- Comment #3 from James Greenhalgh <jgreenhalgh at gcc dot gnu.org> ---
Possibly related to this report on gcc-patches:
https://gcc.gnu.org/ml/gcc-patches/2015-07/msg01649.html


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

* [Bug tree-optimization/66372] [6 Regression] ICE on valid code at -O3 on x86_64-linux-gnu
       [not found] <bug-66372-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2015-07-20 14:33 ` jgreenhalgh at gcc dot gnu.org
@ 2015-07-20 15:02 ` jgreenhalgh at gcc dot gnu.org
  2015-07-21 16:35 ` mpolacek at gcc dot gnu.org
  2015-08-25 13:46 ` mpolacek at gcc dot gnu.org
  5 siblings, 0 replies; 6+ messages in thread
From: jgreenhalgh at gcc dot gnu.org @ 2015-07-20 15:02 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66372

--- Comment #4 from James Greenhalgh <jgreenhalgh at gcc dot gnu.org> ---
I think this is the same issue as I spotted in the larger testcase.

Looking at the cancelled jumps:

  trunk/foo.c.096t.dom1:  Cancelling jump thread: (6, 8) incoming edge;  (8,
13) joiner;  (13, 9) normal;
  trunk/foo.c.096t.dom1:  Cancelling jump thread: (7, 9) incoming edge;  (9,
13) joiner;  (13, 10) normal;

With r223448 reverted:

  reverted/small.c.096t.dom1:  Cancelling jump thread: (6, 8) incoming edge; 
(8, 13) joiner;  (13, 9) normal;
  reverted/small.c.096t.dom1:  Cancelling jump thread: (7, 9) incoming edge; 
(9, 13) joiner;  (13, 10) normal;
  reverted/small.c.096t.dom1:  Cancelling jump thread: (2, 3) incoming edge; 
(3, 4) joiner;  (4, 5) normal;

If we fail to cancel 2 --> 3 to 5, we will probably end up in trouble given the
other blocks we've threaded through:

  trunk/small.c.096t.dom1:  Threaded jump 6 --> 10 to 16
  trunk/small.c.096t.dom1:  Threaded jump 7 --> 10 to 16
  trunk/small.c.096t.dom1:  Threaded jump 15 --> 13 to 17
  trunk/small.c.096t.dom1:  Threaded jump 8 --> 13 to 17
  trunk/small.c.096t.dom1:  Threaded jump 3 --> 4 to 15
  trunk/small.c.096t.dom1:  Threaded jump 14 --> 13 to 16
  trunk/small.c.096t.dom1:  Threaded jump 9 --> 13 to 16

And taking a look at the path we're processing just before the ICE, it does
start (2, 3).


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

* [Bug tree-optimization/66372] [6 Regression] ICE on valid code at -O3 on x86_64-linux-gnu
       [not found] <bug-66372-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2015-07-20 15:02 ` jgreenhalgh at gcc dot gnu.org
@ 2015-07-21 16:35 ` mpolacek at gcc dot gnu.org
  2015-08-25 13:46 ` mpolacek at gcc dot gnu.org
  5 siblings, 0 replies; 6+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-07-21 16:35 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66372

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |antoine.balestrat at gmail dot com

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
*** Bug 66958 has been marked as a duplicate of this bug. ***


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

* [Bug tree-optimization/66372] [6 Regression] ICE on valid code at -O3 on x86_64-linux-gnu
       [not found] <bug-66372-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2015-07-21 16:35 ` mpolacek at gcc dot gnu.org
@ 2015-08-25 13:46 ` mpolacek at gcc dot gnu.org
  5 siblings, 0 replies; 6+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-08-25 13:46 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66372

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

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

--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
This seems to be fixed now.


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

end of thread, other threads:[~2015-08-25 13:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-66372-4@http.gcc.gnu.org/bugzilla/>
2015-06-02  8:53 ` [Bug tree-optimization/66372] [6 Regression] ICE on valid code at -O3 on x86_64-linux-gnu rguenth at gcc dot gnu.org
2015-07-10 13:50 ` mpolacek at gcc dot gnu.org
2015-07-20 14:33 ` jgreenhalgh at gcc dot gnu.org
2015-07-20 15:02 ` jgreenhalgh at gcc dot gnu.org
2015-07-21 16:35 ` mpolacek at gcc dot gnu.org
2015-08-25 13:46 ` mpolacek at gcc dot gnu.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).