public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/63738] New: ssa corruption when compiled with -O3
@ 2014-11-04 16:33 guido at fceia dot unr.edu.ar
  2014-11-04 16:37 ` [Bug tree-optimization/63738] [5 Regression] " mpolacek at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: guido at fceia dot unr.edu.ar @ 2014-11-04 16:33 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 63738
           Summary: ssa corruption when compiled with -O3
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: guido at fceia dot unr.edu.ar

Created attachment 33883
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33883&action=edit
The data about the bug


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

* [Bug tree-optimization/63738] [5 Regression] ssa corruption when compiled with -O3
  2014-11-04 16:33 [Bug c/63738] New: ssa corruption when compiled with -O3 guido at fceia dot unr.edu.ar
@ 2014-11-04 16:37 ` mpolacek at gcc dot gnu.org
  2014-11-04 17:22 ` glisse at gcc dot gnu.org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2014-11-04 16:37 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
            Version|tree-ssa                    |5.0
   Last reconfirmed|                            |2014-11-04
          Component|c                           |tree-optimization
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1
            Summary|ssa corruption when         |[5 Regression] ssa
                   |compiled with -O3           |corruption when compiled
                   |                            |with -O3
   Target Milestone|---                         |5.0

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.


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

* [Bug tree-optimization/63738] [5 Regression] ssa corruption when compiled with -O3
  2014-11-04 16:33 [Bug c/63738] New: ssa corruption when compiled with -O3 guido at fceia dot unr.edu.ar
  2014-11-04 16:37 ` [Bug tree-optimization/63738] [5 Regression] " mpolacek at gcc dot gnu.org
@ 2014-11-04 17:22 ` glisse at gcc dot gnu.org
  2014-11-04 21:01 ` [Bug tree-optimization/63738] [4.9/5 " rguenth at gcc dot gnu.org
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: glisse at gcc dot gnu.org @ 2014-11-04 17:22 UTC (permalink / raw)
  To: gcc-bugs

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

Marc Glisse <glisse at gcc dot gnu.org> changed:

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

--- Comment #2 from Marc Glisse <glisse at gcc dot gnu.org> ---
Most likely my fault :-(
Might have to revert until I have time to fix it...


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

* [Bug tree-optimization/63738] [4.9/5 Regression] ssa corruption when compiled with -O3
  2014-11-04 16:33 [Bug c/63738] New: ssa corruption when compiled with -O3 guido at fceia dot unr.edu.ar
  2014-11-04 16:37 ` [Bug tree-optimization/63738] [5 Regression] " mpolacek at gcc dot gnu.org
  2014-11-04 17:22 ` glisse at gcc dot gnu.org
@ 2014-11-04 21:01 ` rguenth at gcc dot gnu.org
  2014-11-20 12:47 ` rguenth at gcc dot gnu.org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-11-04 21:01 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Mine.


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

* [Bug tree-optimization/63738] [4.9/5 Regression] ssa corruption when compiled with -O3
  2014-11-04 16:33 [Bug c/63738] New: ssa corruption when compiled with -O3 guido at fceia dot unr.edu.ar
                   ` (2 preceding siblings ...)
  2014-11-04 21:01 ` [Bug tree-optimization/63738] [4.9/5 " rguenth at gcc dot gnu.org
@ 2014-11-20 12:47 ` rguenth at gcc dot gnu.org
  2014-11-26 11:06 ` rguenth at gcc dot gnu.org
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-11-20 12:47 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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

* [Bug tree-optimization/63738] [4.9/5 Regression] ssa corruption when compiled with -O3
  2014-11-04 16:33 [Bug c/63738] New: ssa corruption when compiled with -O3 guido at fceia dot unr.edu.ar
                   ` (3 preceding siblings ...)
  2014-11-20 12:47 ` rguenth at gcc dot gnu.org
@ 2014-11-26 11:06 ` rguenth at gcc dot gnu.org
  2014-11-26 11:07 ` rguenth at gcc dot gnu.org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-11-26 11:06 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
It's the vectorizer via data-ref analysis that creates overlapping life-ranges
here.  I have a trivial fix.


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

* [Bug tree-optimization/63738] [4.9/5 Regression] ssa corruption when compiled with -O3
  2014-11-04 16:33 [Bug c/63738] New: ssa corruption when compiled with -O3 guido at fceia dot unr.edu.ar
                   ` (4 preceding siblings ...)
  2014-11-26 11:06 ` rguenth at gcc dot gnu.org
@ 2014-11-26 11:07 ` rguenth at gcc dot gnu.org
  2014-11-26 15:17 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-11-26 11:07 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.0                         |4.9.3


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

* [Bug tree-optimization/63738] [4.9/5 Regression] ssa corruption when compiled with -O3
  2014-11-04 16:33 [Bug c/63738] New: ssa corruption when compiled with -O3 guido at fceia dot unr.edu.ar
                   ` (5 preceding siblings ...)
  2014-11-26 11:07 ` rguenth at gcc dot gnu.org
@ 2014-11-26 15:17 ` rguenth at gcc dot gnu.org
  2014-11-26 15:17 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-11-26 15:17 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Nov 26 15:16:24 2014
New Revision: 218088

URL: https://gcc.gnu.org/viewcvs?rev=218088&root=gcc&view=rev
Log:
2014-11-26  Richard Biener  <rguenther@suse.de>

    PR middle-end/63738
    * tree-data-ref.c (split_constant_offset_1): Do not follow
    SSA edges for SSA names with SSA_NAME_OCCURS_IN_ABNORMAL_PHI.

    * gcc.dg/torture/pr63738.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr63738.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-data-ref.c


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

* [Bug tree-optimization/63738] [4.9/5 Regression] ssa corruption when compiled with -O3
  2014-11-04 16:33 [Bug c/63738] New: ssa corruption when compiled with -O3 guido at fceia dot unr.edu.ar
                   ` (6 preceding siblings ...)
  2014-11-26 15:17 ` rguenth at gcc dot gnu.org
@ 2014-11-26 15:17 ` rguenth at gcc dot gnu.org
  2014-11-26 15:18 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-11-26 15:17 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Known to fail|                            |4.9.2

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.


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

* [Bug tree-optimization/63738] [4.9/5 Regression] ssa corruption when compiled with -O3
  2014-11-04 16:33 [Bug c/63738] New: ssa corruption when compiled with -O3 guido at fceia dot unr.edu.ar
                   ` (7 preceding siblings ...)
  2014-11-26 15:17 ` rguenth at gcc dot gnu.org
@ 2014-11-26 15:18 ` rguenth at gcc dot gnu.org
  2014-12-01  6:42 ` olegendo at gcc dot gnu.org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-11-26 15:18 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Nov 26 15:17:31 2014
New Revision: 218089

URL: https://gcc.gnu.org/viewcvs?rev=218089&root=gcc&view=rev
Log:
2014-11-26  Richard Biener  <rguenther@suse.de>

    PR middle-end/63738
    * tree-data-ref.c (split_constant_offset_1): Do not follow
    SSA edges for SSA names with SSA_NAME_OCCURS_IN_ABNORMAL_PHI.

    * gcc.dg/torture/pr63738.c: New testcase.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/torture/pr63738.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_9-branch/gcc/tree-data-ref.c


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

* [Bug tree-optimization/63738] [4.9/5 Regression] ssa corruption when compiled with -O3
  2014-11-04 16:33 [Bug c/63738] New: ssa corruption when compiled with -O3 guido at fceia dot unr.edu.ar
                   ` (8 preceding siblings ...)
  2014-11-26 15:18 ` rguenth at gcc dot gnu.org
@ 2014-12-01  6:42 ` olegendo at gcc dot gnu.org
  2014-12-01  9:35 ` rguenth at gcc dot gnu.org
  2014-12-01  9:37 ` rguenth at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: olegendo at gcc dot gnu.org @ 2014-12-01  6:42 UTC (permalink / raw)
  To: gcc-bugs

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

Oleg Endo <olegendo at gcc dot gnu.org> changed:

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

--- Comment #9 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Richard, the testcase gcc.dg/torture/pr63738.c is causing an excess error here:

warning: implicit declaration of function '_setjmp'
[-Wimplicit-function-declaration]


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

* [Bug tree-optimization/63738] [4.9/5 Regression] ssa corruption when compiled with -O3
  2014-11-04 16:33 [Bug c/63738] New: ssa corruption when compiled with -O3 guido at fceia dot unr.edu.ar
                   ` (9 preceding siblings ...)
  2014-12-01  6:42 ` olegendo at gcc dot gnu.org
@ 2014-12-01  9:35 ` rguenth at gcc dot gnu.org
  2014-12-01  9:37 ` rguenth at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-12-01  9:35 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Dec  1 09:35:15 2014
New Revision: 218201

URL: https://gcc.gnu.org/viewcvs?rev=218201&root=gcc&view=rev
Log:
2014-12-01  Richard Biener  <rguenther@suse.de>

    PR tree-optimization/63738
    * gcc.dg/torture/pr63738.c: Fix call to setjmp.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/torture/pr63738.c


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

* [Bug tree-optimization/63738] [4.9/5 Regression] ssa corruption when compiled with -O3
  2014-11-04 16:33 [Bug c/63738] New: ssa corruption when compiled with -O3 guido at fceia dot unr.edu.ar
                   ` (10 preceding siblings ...)
  2014-12-01  9:35 ` rguenth at gcc dot gnu.org
@ 2014-12-01  9:37 ` rguenth at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-12-01  9:37 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Dec  1 09:36:56 2014
New Revision: 218202

URL: https://gcc.gnu.org/viewcvs?rev=218202&root=gcc&view=rev
Log:
2014-12-01  Richard Biener  <rguenther@suse.de>

    PR tree-optimization/63738
    * gcc.dg/torture/pr63738.c: Fix call to setjmp.

Modified:
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/torture/pr63738.c


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

end of thread, other threads:[~2014-12-01  9:37 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-04 16:33 [Bug c/63738] New: ssa corruption when compiled with -O3 guido at fceia dot unr.edu.ar
2014-11-04 16:37 ` [Bug tree-optimization/63738] [5 Regression] " mpolacek at gcc dot gnu.org
2014-11-04 17:22 ` glisse at gcc dot gnu.org
2014-11-04 21:01 ` [Bug tree-optimization/63738] [4.9/5 " rguenth at gcc dot gnu.org
2014-11-20 12:47 ` rguenth at gcc dot gnu.org
2014-11-26 11:06 ` rguenth at gcc dot gnu.org
2014-11-26 11:07 ` rguenth at gcc dot gnu.org
2014-11-26 15:17 ` rguenth at gcc dot gnu.org
2014-11-26 15:17 ` rguenth at gcc dot gnu.org
2014-11-26 15:18 ` rguenth at gcc dot gnu.org
2014-12-01  6:42 ` olegendo at gcc dot gnu.org
2014-12-01  9:35 ` rguenth at gcc dot gnu.org
2014-12-01  9:37 ` rguenth 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).