public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/58826] New: Runfail on CPU2006 436.cactusADM with  after r203739 for core-avx2 target.
@ 2013-10-21 13:25 ysrumyan at gmail dot com
  2013-10-21 14:24 ` [Bug rtl-optimization/58826] Runfail on CPU2006 436.cactusADM with after r203377 " rguenth at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: ysrumyan at gmail dot com @ 2013-10-21 13:25 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58826
           Summary: Runfail on CPU2006 436.cactusADM with  after r203739
                    for core-avx2 target.
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ysrumyan at gmail dot com

To reproduce it is sufficient to compile only one source file -
StaggeredLeapfrog2.F which must be preprocessed. In rtl-dump after reload we
can see the following erroneous of instruction which try to write to RO
section:

(insn 10377 15507 10379 49 (set (mem/u/c:V4DF (symbol_ref/u:DI ("*.LC10")
[flags 0x2]) [3 S32 A256])
        (reg:V4DF 27 xmm6 [10848])) 1158 {*movv4df_internal}
     (nil))

The following options were used to compile:

-march=core-avx2 -Ofast  -funroll-loops -fno-second-underscore

although the last option looks redundant.


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

* [Bug rtl-optimization/58826] Runfail on CPU2006 436.cactusADM with  after r203377 for core-avx2 target.
  2013-10-21 13:25 [Bug rtl-optimization/58826] New: Runfail on CPU2006 436.cactusADM with after r203739 for core-avx2 target ysrumyan at gmail dot com
@ 2013-10-21 14:24 ` rguenth at gcc dot gnu.org
  2013-10-21 14:37 ` ysrumyan at gmail dot com
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-10-21 14:24 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2013-10-21
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I will have a look though I doubt I caused this (if you bisect past that
revision
and revert the PR58464 fix as well)


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

* [Bug rtl-optimization/58826] Runfail on CPU2006 436.cactusADM with  after r203377 for core-avx2 target.
  2013-10-21 13:25 [Bug rtl-optimization/58826] New: Runfail on CPU2006 436.cactusADM with after r203739 for core-avx2 target ysrumyan at gmail dot com
  2013-10-21 14:24 ` [Bug rtl-optimization/58826] Runfail on CPU2006 436.cactusADM with after r203377 " rguenth at gcc dot gnu.org
@ 2013-10-21 14:37 ` ysrumyan at gmail dot com
  2013-10-23  8:00 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ysrumyan at gmail dot com @ 2013-10-21 14:37 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Yuri Rumyantsev <ysrumyan at gmail dot com> ---
In fact LRA is responsible for this failure - there is a bug in constant
regeneration. LRA correctly regenerates all occurrences of virtual register
which is not allocated(i.e. it does not has a register) but it must delete its
spill/reload since this virtual register is dead.


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

* [Bug rtl-optimization/58826] Runfail on CPU2006 436.cactusADM with  after r203377 for core-avx2 target.
  2013-10-21 13:25 [Bug rtl-optimization/58826] New: Runfail on CPU2006 436.cactusADM with after r203739 for core-avx2 target ysrumyan at gmail dot com
  2013-10-21 14:24 ` [Bug rtl-optimization/58826] Runfail on CPU2006 436.cactusADM with after r203377 " rguenth at gcc dot gnu.org
  2013-10-21 14:37 ` ysrumyan at gmail dot com
@ 2013-10-23  8:00 ` rguenth at gcc dot gnu.org
  2013-10-23  8:01 ` [Bug rtl-optimization/58826] [4.9 Regression] " rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-10-23  8:00 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Not mine then.


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

* [Bug rtl-optimization/58826] [4.9 Regression] Runfail on CPU2006 436.cactusADM with  after r203377 for core-avx2 target.
  2013-10-21 13:25 [Bug rtl-optimization/58826] New: Runfail on CPU2006 436.cactusADM with after r203739 for core-avx2 target ysrumyan at gmail dot com
                   ` (2 preceding siblings ...)
  2013-10-23  8:00 ` rguenth at gcc dot gnu.org
@ 2013-10-23  8:01 ` rguenth at gcc dot gnu.org
  2013-10-25 21:37 ` vmakarov at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-10-23  8:01 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
   Target Milestone|---                         |4.9.0
            Summary|Runfail on CPU2006          |[4.9 Regression] Runfail on
                   |436.cactusADM with  after   |CPU2006 436.cactusADM with
                   |r203377 for core-avx2       |after r203377 for core-avx2
                   |target.                     |target.


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

* [Bug rtl-optimization/58826] [4.9 Regression] Runfail on CPU2006 436.cactusADM with  after r203377 for core-avx2 target.
  2013-10-21 13:25 [Bug rtl-optimization/58826] New: Runfail on CPU2006 436.cactusADM with after r203739 for core-avx2 target ysrumyan at gmail dot com
                   ` (3 preceding siblings ...)
  2013-10-23  8:01 ` [Bug rtl-optimization/58826] [4.9 Regression] " rguenth at gcc dot gnu.org
@ 2013-10-25 21:37 ` vmakarov at gcc dot gnu.org
  2013-11-19 10:24 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: vmakarov at gcc dot gnu.org @ 2013-10-25 21:37 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
(In reply to Yuri Rumyantsev from comment #2)
> In fact LRA is responsible for this failure - there is a bug in constant
> regeneration. LRA correctly regenerates all occurrences of virtual register
> which is not allocated(i.e. it does not has a register) but it must delete
> its spill/reload since this virtual register is dead.

Could you check a fix for PR58759 I included into the trunk recently.

Thanks.


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

* [Bug rtl-optimization/58826] [4.9 Regression] Runfail on CPU2006 436.cactusADM with  after r203377 for core-avx2 target.
  2013-10-21 13:25 [Bug rtl-optimization/58826] New: Runfail on CPU2006 436.cactusADM with after r203739 for core-avx2 target ysrumyan at gmail dot com
                   ` (4 preceding siblings ...)
  2013-10-25 21:37 ` vmakarov at gcc dot gnu.org
@ 2013-11-19 10:24 ` rguenth at gcc dot gnu.org
  2013-11-19 11:19 ` ysrumyan at gmail dot com
  2013-11-21 14:32 ` rguenth at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-11-19 10:24 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Waiting for reporter.


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

* [Bug rtl-optimization/58826] [4.9 Regression] Runfail on CPU2006 436.cactusADM with  after r203377 for core-avx2 target.
  2013-10-21 13:25 [Bug rtl-optimization/58826] New: Runfail on CPU2006 436.cactusADM with after r203739 for core-avx2 target ysrumyan at gmail dot com
                   ` (5 preceding siblings ...)
  2013-11-19 10:24 ` rguenth at gcc dot gnu.org
@ 2013-11-19 11:19 ` ysrumyan at gmail dot com
  2013-11-21 14:32 ` rguenth at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: ysrumyan at gmail dot com @ 2013-11-19 11:19 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Yuri Rumyantsev <ysrumyan at gmail dot com> ---
I assume that this bug should be closed since it is not reproducible after the
latest LRA fix.


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

* [Bug rtl-optimization/58826] [4.9 Regression] Runfail on CPU2006 436.cactusADM with  after r203377 for core-avx2 target.
  2013-10-21 13:25 [Bug rtl-optimization/58826] New: Runfail on CPU2006 436.cactusADM with after r203739 for core-avx2 target ysrumyan at gmail dot com
                   ` (6 preceding siblings ...)
  2013-11-19 11:19 ` ysrumyan at gmail dot com
@ 2013-11-21 14:32 ` rguenth at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-11-21 14:32 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

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


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

end of thread, other threads:[~2013-11-21 14:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-21 13:25 [Bug rtl-optimization/58826] New: Runfail on CPU2006 436.cactusADM with after r203739 for core-avx2 target ysrumyan at gmail dot com
2013-10-21 14:24 ` [Bug rtl-optimization/58826] Runfail on CPU2006 436.cactusADM with after r203377 " rguenth at gcc dot gnu.org
2013-10-21 14:37 ` ysrumyan at gmail dot com
2013-10-23  8:00 ` rguenth at gcc dot gnu.org
2013-10-23  8:01 ` [Bug rtl-optimization/58826] [4.9 Regression] " rguenth at gcc dot gnu.org
2013-10-25 21:37 ` vmakarov at gcc dot gnu.org
2013-11-19 10:24 ` rguenth at gcc dot gnu.org
2013-11-19 11:19 ` ysrumyan at gmail dot com
2013-11-21 14:32 ` 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).