public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/67298] New: [6 Regression] 254.gap in SPEC CPU 2000 is miscompiled
@ 2015-08-20 19:25 hjl.tools at gmail dot com
  2015-08-20 21:34 ` [Bug middle-end/67298] " pinskia at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2015-08-20 19:25 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 67298
           Summary: [6 Regression] 254.gap in SPEC CPU 2000 is miscompiled
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: naveenh at gcc dot gnu.org
  Target Milestone: ---

On Linux/x86-64, r226847 compiles 254.gap in SPEC CPU 2000
into an infinite loop with

-O2 -ffast-math  -DSPEC_CPU2000_LP64


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

* [Bug middle-end/67298] [6 Regression] 254.gap in SPEC CPU 2000 is miscompiled
  2015-08-20 19:25 [Bug middle-end/67298] New: [6 Regression] 254.gap in SPEC CPU 2000 is miscompiled hjl.tools at gmail dot com
@ 2015-08-20 21:34 ` pinskia at gcc dot gnu.org
  2015-08-21  9:01 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2015-08-20 21:34 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This could be a bug in gap. Have you tried using -fsantitized=undefined on the
sources?

How about a reduced testcase?


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

* [Bug middle-end/67298] [6 Regression] 254.gap in SPEC CPU 2000 is miscompiled
  2015-08-20 19:25 [Bug middle-end/67298] New: [6 Regression] 254.gap in SPEC CPU 2000 is miscompiled hjl.tools at gmail dot com
  2015-08-20 21:34 ` [Bug middle-end/67298] " pinskia at gcc dot gnu.org
@ 2015-08-21  9:01 ` rguenth at gcc dot gnu.org
  2015-08-24 14:25 ` afomin.mailbox at gmail dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-08-21  9:01 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |6.0


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

* [Bug middle-end/67298] [6 Regression] 254.gap in SPEC CPU 2000 is miscompiled
  2015-08-20 19:25 [Bug middle-end/67298] New: [6 Regression] 254.gap in SPEC CPU 2000 is miscompiled hjl.tools at gmail dot com
  2015-08-20 21:34 ` [Bug middle-end/67298] " pinskia at gcc dot gnu.org
  2015-08-21  9:01 ` rguenth at gcc dot gnu.org
@ 2015-08-24 14:25 ` afomin.mailbox at gmail dot com
  2015-08-24 21:09 ` afomin.mailbox at gmail dot com
  2015-08-25  8:49 ` mpolacek at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: afomin.mailbox at gmail dot com @ 2015-08-24 14:25 UTC (permalink / raw)
  To: gcc-bugs

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

Alexander Fomin <afomin.mailbox at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |afomin.mailbox at gmail dot com

--- Comment #2 from Alexander Fomin <afomin.mailbox at gmail dot com> ---
I can see many signed integer overflows on 254.gap compiled with
-fsanitize=signed-integer-overflow, mostly caused by multiplication.
I'll try to provide a reduced testcase.


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

* [Bug middle-end/67298] [6 Regression] 254.gap in SPEC CPU 2000 is miscompiled
  2015-08-20 19:25 [Bug middle-end/67298] New: [6 Regression] 254.gap in SPEC CPU 2000 is miscompiled hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2015-08-24 14:25 ` afomin.mailbox at gmail dot com
@ 2015-08-24 21:09 ` afomin.mailbox at gmail dot com
  2015-08-25  8:49 ` mpolacek at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: afomin.mailbox at gmail dot com @ 2015-08-24 21:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Alexander Fomin <afomin.mailbox at gmail dot com> ---
Yep, looks like -fwrapv fixes this issue.


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

* [Bug middle-end/67298] [6 Regression] 254.gap in SPEC CPU 2000 is miscompiled
  2015-08-20 19:25 [Bug middle-end/67298] New: [6 Regression] 254.gap in SPEC CPU 2000 is miscompiled hjl.tools at gmail dot com
                   ` (3 preceding siblings ...)
  2015-08-24 21:09 ` afomin.mailbox at gmail dot com
@ 2015-08-25  8:49 ` mpolacek at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-08-25  8:49 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2015-08-25
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Probably INVALID then...


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

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

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-20 19:25 [Bug middle-end/67298] New: [6 Regression] 254.gap in SPEC CPU 2000 is miscompiled hjl.tools at gmail dot com
2015-08-20 21:34 ` [Bug middle-end/67298] " pinskia at gcc dot gnu.org
2015-08-21  9:01 ` rguenth at gcc dot gnu.org
2015-08-24 14:25 ` afomin.mailbox at gmail dot com
2015-08-24 21:09 ` afomin.mailbox at gmail dot com
2015-08-25  8:49 ` 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).