public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/67227] New: [6 regression] stage2 ada compiler miscompiled
@ 2015-08-15 13:52 schwab@linux-m68k.org
  2015-08-17  7:27 ` [Bug tree-optimization/67227] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: schwab@linux-m68k.org @ 2015-08-15 13:52 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 67227
           Summary: [6 regression] stage2 ada compiler miscompiled
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: schwab@linux-m68k.org
                CC: aoliva at gcc dot gnu.org
            Blocks: 64164, 66978, 66983, 67000, 67034, 67035
  Target Milestone: ---
            Target: ia64-*-*

r226901 is causing the stage2 ada compiler to be miscompiled on ia64.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64164
[Bug 64164] [4.9/5/6 Regression] one more stack slot used due to one less
inlining level
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66978
[Bug 66978] [6 Regression] bootstrap failure with
--with-multilib-list=m32,m64,mx32
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66983
[Bug 66983] [6 Regression] Many testsuite regressions
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67000
[Bug 67000] [6 Regression] ICE in split_complex_args, at function.c:2325 on
ppc64le
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67034
[Bug 67034] [6 Regression] FAIL: gcc.c-torture/compile/pr39928-1.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67035
[Bug 67035] [6 Regression] FAIL: gcc.c-torture/compile/pr54713-3.c


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

* [Bug tree-optimization/67227] [6 regression] stage2 ada compiler miscompiled
  2015-08-15 13:52 [Bug tree-optimization/67227] New: [6 regression] stage2 ada compiler miscompiled schwab@linux-m68k.org
@ 2015-08-17  7:27 ` rguenth at gcc dot gnu.org
  2015-08-19 14:43 ` [Bug tree-optimization/67227] [6 regression] comparison failure in ada/par.o schwab@linux-m68k.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-08-17  7:27 UTC (permalink / raw)
  To: gcc-bugs

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

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 tree-optimization/67227] [6 regression] comparison failure in ada/par.o
  2015-08-15 13:52 [Bug tree-optimization/67227] New: [6 regression] stage2 ada compiler miscompiled schwab@linux-m68k.org
  2015-08-17  7:27 ` [Bug tree-optimization/67227] " rguenth at gcc dot gnu.org
@ 2015-08-19 14:43 ` schwab@linux-m68k.org
  2015-08-21  8:31 ` [Bug rtl-optimization/67227] " aoliva at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: schwab@linux-m68k.org @ 2015-08-19 14:43 UTC (permalink / raw)
  To: gcc-bugs

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

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[6 regression] stage2 ada   |[6 regression] comparison
                   |compiler miscompiled        |failure in ada/par.o

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
It is only a comparison failure due to scheduling differences.

--- x1  2015-08-19 15:26:41.000000000 +0200
+++ x2  2015-08-19 15:26:46.000000000 +0200
@@ -1,5 +1,5 @@

-stage2-gcc/ada/par.o:     file format elf64-ia64-little
+stage3-gcc/ada/par.o:     file format elf64-ia64-little


 Disassembly of section .text:
@@ -29467,25 +29467,25 @@
                        214b2: PCREL21B atree__new_node
    214b6:      00 00 00 02 00 00                   nop.i 0x0
    214bc:      08 00 00 50                         br.call.sptk.many b0=214b0
<par__ch6__p_formal_part.2186+0xa30>
-   214c0:      08 78 e0 01 80 24       [MMI]       mov r15=16504
-   214c6:      e0 80 03 00 49 20                   mov r14=16496
-   214cc:      00 06 04 92                         mov r1=16608
-   214d0:      0a 80 23 00 08 20       [MMI]       addp4 r112=r8,r0;;
-   214d6:      f0 78 30 00 40 c0                   add r15=r15,r12
-   214dc:      e1 60 00 80                         add r14=r14,r12
-   214e0:      0a 08 04 18 00 20       [MMI]       add r1=r1,r12;;
-   214e6:      f0 00 3c 20 20 00                   ld4 r15=[r15]
-   214ec:      00 00 04 00                         nop.i 0x0
+   214c0:      08 70 c0 01 80 24       [MMI]       mov r14=16496
+   214c6:      00 00 00 02 00 e0                   nop.m 0x0
+   214cc:      81 07 00 92                         mov r15=16504
+   214d0:      09 08 80 01 81 24       [MMI]       mov r1=16608
+   214d6:      00 00 00 02 00 00                   nop.m 0x0
+   214dc:      8e 00 20 80                         addp4 r112=r8,r0;;
+   214e0:      09 70 38 18 00 20       [MMI]       add r14=r14,r12
+   214e6:      f0 78 30 00 40 20                   add r15=r15,r12
+   214ec:      10 60 00 80                         add r1=r1,r12;;
    214f0:      09 00 20 1c 90 11       [MMI]       st4 [r14]=r8
    214f6:      10 00 04 30 20 00                   ld8 r1=[r1]
    214fc:      00 00 04 00                         nop.i 0x0;;
-   21500:      01 00 00 00 01 00       [MII]       nop.m 0x0
-   21506:      e0 00 3c 2c 00 e0                   sxt4 r14=r15
-   2150c:      01 61 00 84                         adds r15=16,r12;;
-   21510:      0b 70 38 00 11 20       [MMI]       shladd r14=r14,2,r0;;
-   21516:      e0 78 38 00 40 00                   add r14=r15,r14
+   21500:      02 78 00 1e 10 10       [MII]       ld4 r15=[r15]
+   21506:      00 00 00 02 00 c0                   nop.i 0x0;;
+   2150c:      01 78 58 00                         sxt4 r14=r15
+   21510:      0b 78 40 18 00 21       [MMI]       adds r15=16,r12;;
+   21516:      e0 70 00 22 40 00                   shladd r14=r14,2,r0
    2151c:      00 00 04 00                         nop.i 0x0;;
-   21520:      09 00 00 00 01 00       [MMI]       nop.m 0x0
+   21520:      0b 70 3c 1c 00 20       [MMI]       add r14=r15,r14;;
    21526:      e0 e0 3b 7e 46 00                   adds r14=-4,r14
    2152c:      00 00 04 00                         nop.i 0x0;;
    21530:      10 88 03 1c 10 10       [MIB]       ld4 r113=[r14]


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

* [Bug rtl-optimization/67227] [6 regression] comparison failure in ada/par.o
  2015-08-15 13:52 [Bug tree-optimization/67227] New: [6 regression] stage2 ada compiler miscompiled schwab@linux-m68k.org
  2015-08-17  7:27 ` [Bug tree-optimization/67227] " rguenth at gcc dot gnu.org
  2015-08-19 14:43 ` [Bug tree-optimization/67227] [6 regression] comparison failure in ada/par.o schwab@linux-m68k.org
@ 2015-08-21  8:31 ` aoliva at gcc dot gnu.org
  2015-08-21 20:03 ` aoliva at gcc dot gnu.org
  2015-08-21 20:05 ` aoliva at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: aoliva at gcc dot gnu.org @ 2015-08-21  8:31 UTC (permalink / raw)
  To: gcc-bugs

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

Alexandre Oliva <aoliva at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2015-08-21
          Component|tree-optimization           |rtl-optimization
           Assignee|unassigned at gcc dot gnu.org      |aoliva at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
Mine.  Patch posted at https://gcc.gnu.org/ml/gcc-patches/2015-08/msg01275.html


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

* [Bug rtl-optimization/67227] [6 regression] comparison failure in ada/par.o
  2015-08-15 13:52 [Bug tree-optimization/67227] New: [6 regression] stage2 ada compiler miscompiled schwab@linux-m68k.org
                   ` (2 preceding siblings ...)
  2015-08-21  8:31 ` [Bug rtl-optimization/67227] " aoliva at gcc dot gnu.org
@ 2015-08-21 20:03 ` aoliva at gcc dot gnu.org
  2015-08-21 20:05 ` aoliva at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: aoliva at gcc dot gnu.org @ 2015-08-21 20:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
Author: aoliva
Date: Fri Aug 21 20:03:14 2015
New Revision: 227085

URL: https://gcc.gnu.org/viewcvs?rev=227085&root=gcc&view=rev
Log:
fix sched compare regression

for  gcc/ChangeLog

        PR rtl-optimization/64164
        PR rtl-optimization/67227
        * alias.c (memrefs_conflict_p): Handle VALUEs in PLUS better.
        (nonoverlapping_memrefs_p): Test offsets and sizes when given
        identical gimple_reg exprs.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/alias.c


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

* [Bug rtl-optimization/67227] [6 regression] comparison failure in ada/par.o
  2015-08-15 13:52 [Bug tree-optimization/67227] New: [6 regression] stage2 ada compiler miscompiled schwab@linux-m68k.org
                   ` (3 preceding siblings ...)
  2015-08-21 20:03 ` aoliva at gcc dot gnu.org
@ 2015-08-21 20:05 ` aoliva at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: aoliva at gcc dot gnu.org @ 2015-08-21 20:05 UTC (permalink / raw)
  To: gcc-bugs

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

Alexandre Oliva <aoliva at gcc dot gnu.org> changed:

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

--- Comment #4 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
Fixed


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

end of thread, other threads:[~2015-08-21 20:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-15 13:52 [Bug tree-optimization/67227] New: [6 regression] stage2 ada compiler miscompiled schwab@linux-m68k.org
2015-08-17  7:27 ` [Bug tree-optimization/67227] " rguenth at gcc dot gnu.org
2015-08-19 14:43 ` [Bug tree-optimization/67227] [6 regression] comparison failure in ada/par.o schwab@linux-m68k.org
2015-08-21  8:31 ` [Bug rtl-optimization/67227] " aoliva at gcc dot gnu.org
2015-08-21 20:03 ` aoliva at gcc dot gnu.org
2015-08-21 20:05 ` aoliva 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).