public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/60844] [4.9/4.10 Regression] ICE in reassoc_stmt_dominates_stmt_p
       [not found] <bug-60844-4@http.gcc.gnu.org/bugzilla/>
@ 2014-04-15 10:30 ` jakub at gcc dot gnu.org
  2014-04-15 12:17 ` jakub at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-04-15 10:30 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.9.0


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

* [Bug tree-optimization/60844] [4.9/4.10 Regression] ICE in reassoc_stmt_dominates_stmt_p
       [not found] <bug-60844-4@http.gcc.gnu.org/bugzilla/>
  2014-04-15 10:30 ` [Bug tree-optimization/60844] [4.9/4.10 Regression] ICE in reassoc_stmt_dominates_stmt_p jakub at gcc dot gnu.org
@ 2014-04-15 12:17 ` jakub at gcc dot gnu.org
  2014-04-16  9:26 ` jakub at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-04-15 12:17 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2014-04-15
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 32601
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32601&action=edit
gcc49-pr60844.patch

Untested fix.
The problem is that gsi_remove performed during reassoc added some debug stmt
and that debug stmt didn't get gimple_uid set, which the reassoc code relies
on.


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

* [Bug tree-optimization/60844] [4.9/4.10 Regression] ICE in reassoc_stmt_dominates_stmt_p
       [not found] <bug-60844-4@http.gcc.gnu.org/bugzilla/>
  2014-04-15 10:30 ` [Bug tree-optimization/60844] [4.9/4.10 Regression] ICE in reassoc_stmt_dominates_stmt_p jakub at gcc dot gnu.org
  2014-04-15 12:17 ` jakub at gcc dot gnu.org
@ 2014-04-16  9:26 ` jakub at gcc dot gnu.org
  2014-04-16  9:35 ` [Bug tree-optimization/60844] [4.9 " jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-04-16  9:26 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Apr 16 09:25:52 2014
New Revision: 209442

URL: http://gcc.gnu.org/viewcvs?rev=209442&root=gcc&view=rev
Log:
    PR tree-optimization/60844
    * tree-ssa-reassoc.c (reassoc_remove_stmt): New function.
    (propagate_op_to_single_use, remove_visited_stmt_chain,
    linearize_expr, repropagate_negates, reassociate_bb): Use it
    instead of gsi_remove.

    * gcc.dg/pr60844.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr60844.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-reassoc.c


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

* [Bug tree-optimization/60844] [4.9 Regression] ICE in reassoc_stmt_dominates_stmt_p
       [not found] <bug-60844-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2014-04-16  9:26 ` jakub at gcc dot gnu.org
@ 2014-04-16  9:35 ` jakub at gcc dot gnu.org
  2014-04-22 11:36 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-04-16  9:35 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.10.0
            Summary|[4.9/4.10 Regression] ICE   |[4.9 Regression] ICE in
                   |in                          |reassoc_stmt_dominates_stmt
                   |reassoc_stmt_dominates_stmt |_p
                   |_p                          |
      Known to fail|                            |4.9.0

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed on the trunk so far.


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

* [Bug tree-optimization/60844] [4.9 Regression] ICE in reassoc_stmt_dominates_stmt_p
       [not found] <bug-60844-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2014-04-16  9:35 ` [Bug tree-optimization/60844] [4.9 " jakub at gcc dot gnu.org
@ 2014-04-22 11:36 ` jakub at gcc dot gnu.org
  2014-04-22 13:07 ` jakub at gcc dot gnu.org
  2014-04-22 13:14 ` jakub at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-04-22 11:36 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.9.0                       |4.9.1

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.9.0 has been released


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

* [Bug tree-optimization/60844] [4.9 Regression] ICE in reassoc_stmt_dominates_stmt_p
       [not found] <bug-60844-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2014-04-22 11:36 ` jakub at gcc dot gnu.org
@ 2014-04-22 13:07 ` jakub at gcc dot gnu.org
  2014-04-22 13:14 ` jakub at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-04-22 13:07 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Apr 22 13:06:55 2014
New Revision: 209624

URL: http://gcc.gnu.org/viewcvs?rev=209624&root=gcc&view=rev
Log:
    Backported from mainline
    2014-04-16  Jakub Jelinek  <jakub@redhat.com>

    PR tree-optimization/60844
    * tree-ssa-reassoc.c (reassoc_remove_stmt): New function.
    (propagate_op_to_single_use, remove_visited_stmt_chain,
    linearize_expr, repropagate_negates, reassociate_bb): Use it
    instead of gsi_remove.

    * gcc.dg/pr60844.c: New test.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/pr60844.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_9-branch/gcc/tree-ssa-reassoc.c


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

* [Bug tree-optimization/60844] [4.9 Regression] ICE in reassoc_stmt_dominates_stmt_p
       [not found] <bug-60844-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2014-04-22 13:07 ` jakub at gcc dot gnu.org
@ 2014-04-22 13:14 ` jakub at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-04-22 13:14 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Known to work|                            |4.9.1
         Resolution|---                         |FIXED

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed also for 4.9.1.


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

end of thread, other threads:[~2014-04-22 13:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-60844-4@http.gcc.gnu.org/bugzilla/>
2014-04-15 10:30 ` [Bug tree-optimization/60844] [4.9/4.10 Regression] ICE in reassoc_stmt_dominates_stmt_p jakub at gcc dot gnu.org
2014-04-15 12:17 ` jakub at gcc dot gnu.org
2014-04-16  9:26 ` jakub at gcc dot gnu.org
2014-04-16  9:35 ` [Bug tree-optimization/60844] [4.9 " jakub at gcc dot gnu.org
2014-04-22 11:36 ` jakub at gcc dot gnu.org
2014-04-22 13:07 ` jakub at gcc dot gnu.org
2014-04-22 13:14 ` jakub 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).