public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/52650] New: [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c  *  (internal compiler error)
@ 2012-03-21  7:48 dominiq at lps dot ens.fr
  2012-03-21  8:27 ` [Bug middle-end/52650] " rguenth at gcc dot gnu.org
                   ` (24 more replies)
  0 siblings, 25 replies; 26+ messages in thread
From: dominiq at lps dot ens.fr @ 2012-03-21  7:48 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52650
           Summary: [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c  *
                    (internal compiler error)
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dominiq@lps.ens.fr
                CC: hjl.tools@gmail.com, rguenth@gcc.gnu.org


Between revisions 185561 vs revision 185565 (see
http://gcc.gnu.org/ml/gcc-regression/2012-03/msg00223.html ) compiling
gcc.dg/torture/pr51106-2.c has started to give an ICE:

FAIL: gcc.dg/torture/pr51106-2.c  -O0  (internal compiler error)
FAIL: gcc.dg/torture/pr51106-2.c  -O0  (test for excess errors)
FAIL: gcc.dg/torture/pr51106-2.c  -O1  (internal compiler error)
FAIL: gcc.dg/torture/pr51106-2.c  -O1  (test for excess errors)
FAIL: gcc.dg/torture/pr51106-2.c  -O2  (internal compiler error)
FAIL: gcc.dg/torture/pr51106-2.c  -O2  (test for excess errors)
FAIL: gcc.dg/torture/pr51106-2.c  -O3 -fomit-frame-pointer  (internal compiler
error)
FAIL: gcc.dg/torture/pr51106-2.c  -O3 -fomit-frame-pointer  (test for excess
errors)
FAIL: gcc.dg/torture/pr51106-2.c  -O3 -g  (internal compiler error)
FAIL: gcc.dg/torture/pr51106-2.c  -O3 -g  (test for excess errors)
FAIL: gcc.dg/torture/pr51106-2.c  -Os  (internal compiler error)
FAIL: gcc.dg/torture/pr51106-2.c  -Os  (test for excess errors)
FAIL: gcc.dg/torture/pr51106-2.c  -O2 -flto -flto-partition=none  (internal
compiler error)
FAIL: gcc.dg/torture/pr51106-2.c  -O2 -flto -flto-partition=none  (test for
excess errors)
FAIL: gcc.dg/torture/pr51106-2.c  -O2 -flto  (internal compiler error)
FAIL: gcc.dg/torture/pr51106-2.c  -O2 -flto  (test for excess errors)

The ICE is

/opt/gcc/work/gcc/testsuite/gcc.dg/torture/pr51106-2.c: In function 'bar':
/opt/gcc/work/gcc/testsuite/gcc.dg/torture/pr51106-2.c:8:3: warning: asm
operand 0 probably doesn't match constraints [enabled by default]
/opt/gcc/work/gcc/testsuite/gcc.dg/torture/pr51106-2.c:8:3: error: impossible
constraint in 'asm'
/opt/gcc/work/gcc/testsuite/gcc.dg/torture/pr51106-2.c:12:1: internal compiler
error: in purge_dead_edges, at cfgrtl.c:2462


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

* [Bug middle-end/52650] [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c  *  (internal compiler error)
  2012-03-21  7:48 [Bug middle-end/52650] New: [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c * (internal compiler error) dominiq at lps dot ens.fr
@ 2012-03-21  8:27 ` rguenth at gcc dot gnu.org
  2012-03-21  9:37 ` krebbel at gcc dot gnu.org
                   ` (23 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-03-21  8:27 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |error-recovery,
                   |                            |ice-on-invalid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-03-21
   Target Milestone|---                         |4.8.0
     Ever Confirmed|0                           |1


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

* [Bug middle-end/52650] [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c  *  (internal compiler error)
  2012-03-21  7:48 [Bug middle-end/52650] New: [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c * (internal compiler error) dominiq at lps dot ens.fr
  2012-03-21  8:27 ` [Bug middle-end/52650] " rguenth at gcc dot gnu.org
@ 2012-03-21  9:37 ` krebbel at gcc dot gnu.org
  2012-03-21 13:04 ` ro at gcc dot gnu.org
                   ` (22 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: krebbel at gcc dot gnu.org @ 2012-03-21  9:37 UTC (permalink / raw)
  To: gcc-bugs

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

Andreas Krebbel <krebbel at gcc dot gnu.org> changed:

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

--- Comment #1 from Andreas Krebbel <krebbel at gcc dot gnu.org> 2012-03-21 09:05:57 UTC ---
I see the same on s390x. The culprit appears to be revision 185564.


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

* [Bug middle-end/52650] [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c  *  (internal compiler error)
  2012-03-21  7:48 [Bug middle-end/52650] New: [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c * (internal compiler error) dominiq at lps dot ens.fr
  2012-03-21  8:27 ` [Bug middle-end/52650] " rguenth at gcc dot gnu.org
  2012-03-21  9:37 ` krebbel at gcc dot gnu.org
@ 2012-03-21 13:04 ` ro at gcc dot gnu.org
  2012-03-21 13:40 ` ro at CeBiTec dot Uni-Bielefeld.DE
                   ` (21 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: ro at gcc dot gnu.org @ 2012-03-21 13:04 UTC (permalink / raw)
  To: gcc-bugs

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

Rainer Orth <ro at gcc dot gnu.org> changed:

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

--- Comment #2 from Rainer Orth <ro at gcc dot gnu.org> 2012-03-21 13:00:23 UTC ---
Same on sparc, where a couple of new executions failures appeared between
20120316 (r185470) and 20120320 (r185573), both 32 and 64-bit:

FAIL: gcc.dg/torture/20090618-1.c  -O1  execution test
FAIL: gcc.dg/torture/pr39074-3.c  -O1  execution test
FAIL: gcc.dg/torture/pr39074-3.c  -O2  execution test
FAIL: gcc.dg/torture/pr39074-3.c  -O3 -fomit-frame-pointer  execution test
FAIL: gcc.dg/torture/pr39074-3.c  -O3 -g  execution test
FAIL: gcc.dg/torture/pr39074-3.c  -Os  execution test
FAIL: gcc.dg/torture/pr39074-3.c  -O2 -flto -flto-partition=none  execution
test
FAIL: gcc.dg/torture/pr39074-3.c  -O2 -flto  execution test
FAIL: gcc.dg/torture/pr45967-3.c  -O2  execution test
FAIL: gcc.dg/torture/pr45967-3.c  -O3 -fomit-frame-pointer  execution test
FAIL: gcc.dg/torture/pr45967-3.c  -O3 -fomit-frame-pointer -funroll-loops 
execution test
FAIL: gcc.dg/torture/pr45967-3.c  -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions  execution test
FAIL: gcc.dg/torture/pr45967-3.c  -O3 -g  execution test
FAIL: gcc.dg/torture/pr45967-3.c  -O2 -flto -flto-partition=none  execution
test
FAIL: gcc.dg/torture/pr45967-3.c  -O2 -flto  execution test
FAIL: gcc.dg/torture/pta-ptrarith-2.c  -O1  execution test

I don't yet know if they are related.

  Rainer


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

* [Bug middle-end/52650] [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c  *  (internal compiler error)
  2012-03-21  7:48 [Bug middle-end/52650] New: [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c * (internal compiler error) dominiq at lps dot ens.fr
                   ` (2 preceding siblings ...)
  2012-03-21 13:04 ` ro at gcc dot gnu.org
@ 2012-03-21 13:40 ` ro at CeBiTec dot Uni-Bielefeld.DE
  2012-03-21 13:51 ` rguenther at suse dot de
                   ` (20 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2012-03-21 13:40 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2012-03-21 13:32:31 UTC ---
> I don't yet know if they are related.

Now I do: I've just built a 32-bit C-only compiler on
sparc-sun-solaris2.11 at r185563 (i.e. immediately before the culprit
patch), and both the ICE in gcc.dg/torture/pr51106-2.c and the other
execution failures reported are gone.

    Rainer


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

* [Bug middle-end/52650] [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c  *  (internal compiler error)
  2012-03-21  7:48 [Bug middle-end/52650] New: [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c * (internal compiler error) dominiq at lps dot ens.fr
                   ` (3 preceding siblings ...)
  2012-03-21 13:40 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2012-03-21 13:51 ` rguenther at suse dot de
  2012-03-21 13:57 ` ro at CeBiTec dot Uni-Bielefeld.DE
                   ` (19 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: rguenther at suse dot de @ 2012-03-21 13:51 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from rguenther at suse dot de <rguenther at suse dot de> 2012-03-21 13:38:28 UTC ---
On Wed, 21 Mar 2012, ro at CeBiTec dot Uni-Bielefeld.DE wrote:

> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52650
> 
> --- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2012-03-21 13:32:31 UTC ---
> > I don't yet know if they are related.
> 
> Now I do: I've just built a 32-bit C-only compiler on
> sparc-sun-solaris2.11 at r185563 (i.e. immediately before the culprit
> patch), and both the ICE in gcc.dg/torture/pr51106-2.c and the other
> execution failures reported are gone.

If they are related (which I doubt), removing the call to cleanup_cfg
in cfgexpand.c should fix them.  That's the only real change in
this patch - previously the cleanup_cfg call was conditional on a
present EH region tree (thus, all of these issues are latent and
just require a slightly different testcase)


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

* [Bug middle-end/52650] [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c  *  (internal compiler error)
  2012-03-21  7:48 [Bug middle-end/52650] New: [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c * (internal compiler error) dominiq at lps dot ens.fr
                   ` (4 preceding siblings ...)
  2012-03-21 13:51 ` rguenther at suse dot de
@ 2012-03-21 13:57 ` ro at CeBiTec dot Uni-Bielefeld.DE
  2012-03-21 14:00 ` rguenther at suse dot de
                   ` (18 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2012-03-21 13:57 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2012-03-21 13:51:46 UTC ---
> --- Comment #4 from rguenther at suse dot de <rguenther at suse dot de> 2012-03-21 13:38:28 UTC ---
[...]
> If they are related (which I doubt), removing the call to cleanup_cfg
> in cfgexpand.c should fix them.  That's the only real change in
> this patch - previously the cleanup_cfg call was conditional on a
> present EH region tree (thus, all of these issues are latent and
> just require a slightly different testcase)

Indeed: with your patch applied and the call #if 0'd, the tests still pass.

    Rainer


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

* [Bug middle-end/52650] [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c  *  (internal compiler error)
  2012-03-21  7:48 [Bug middle-end/52650] New: [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c * (internal compiler error) dominiq at lps dot ens.fr
                   ` (5 preceding siblings ...)
  2012-03-21 13:57 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2012-03-21 14:00 ` rguenther at suse dot de
  2012-03-21 15:56 ` ro at CeBiTec dot Uni-Bielefeld.DE
                   ` (17 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: rguenther at suse dot de @ 2012-03-21 14:00 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from rguenther at suse dot de <rguenther at suse dot de> 2012-03-21 13:57:34 UTC ---
On Wed, 21 Mar 2012, ro at CeBiTec dot Uni-Bielefeld.DE wrote:

> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52650
> 
> --- Comment #5 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2012-03-21 13:51:46 UTC ---
> > --- Comment #4 from rguenther at suse dot de <rguenther at suse dot de> 2012-03-21 13:38:28 UTC ---
> [...]
> > If they are related (which I doubt), removing the call to cleanup_cfg
> > in cfgexpand.c should fix them.  That's the only real change in
> > this patch - previously the cleanup_cfg call was conditional on a
> > present EH region tree (thus, all of these issues are latent and
> > just require a slightly different testcase)
> 
> Indeed: with your patch applied and the call #if 0'd, the tests still pass.

and with #if 1 they fail?  As they are wrong-code regressions on
an architecture I have no access to, can you see what is the issue here?

Thanks.
Richard.


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

* [Bug middle-end/52650] [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c  *  (internal compiler error)
  2012-03-21  7:48 [Bug middle-end/52650] New: [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c * (internal compiler error) dominiq at lps dot ens.fr
                   ` (6 preceding siblings ...)
  2012-03-21 14:00 ` rguenther at suse dot de
@ 2012-03-21 15:56 ` ro at CeBiTec dot Uni-Bielefeld.DE
  2012-03-21 16:10 ` hp at gcc dot gnu.org
                   ` (16 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2012-03-21 15:56 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2012-03-21 15:51:23 UTC ---
> and with #if 1 they fail?  As they are wrong-code regressions on
> an architecture I have no access to, can you see what is the issue here?

Right.  I've compared assembler output for

FAIL: gcc.dg/torture/20090618-1.c  -O1  execution test

which aborts with the #if 1 code:

> diff -u 285{,.orig}/gcc/testsuite/gcc/20090618-1.s
--- 285/gcc/testsuite/gcc/20090618-1.s  2012-03-21 16:38:25.780827400 +0100
+++ 285.orig/gcc/testsuite/gcc/20090618-1.s     2012-03-21 16:38:13.525278500
+0100
@@ -6,10 +6,7 @@
        .proc   04
 foo:
        add     %sp, -96, %sp
-       st      %g0, [%sp+92]
-       mov     1, %g1
-       st      %g1, [%sp+88]
-       mov     1, %o0
+       ld      [%sp+88], %o0
        jmp     %o7+8
         sub    %sp, -96, %sp
        .size   foo, .-foo

As you can see, the i = 0, j = 1 initializations are lost completely,
and the ld insn reads from an uninitialized stack slot.

    Rainer


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

* [Bug middle-end/52650] [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c  *  (internal compiler error)
  2012-03-21  7:48 [Bug middle-end/52650] New: [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c * (internal compiler error) dominiq at lps dot ens.fr
                   ` (7 preceding siblings ...)
  2012-03-21 15:56 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2012-03-21 16:10 ` hp at gcc dot gnu.org
  2012-03-31 10:15 ` schwab@linux-m68k.org
                   ` (15 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: hp at gcc dot gnu.org @ 2012-03-21 16:10 UTC (permalink / raw)
  To: gcc-bugs

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

Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:

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

--- Comment #8 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2012-03-21 15:58:25 UTC ---
Yeah, cris-elf too, 185561:185571 exactly the same.


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

* [Bug middle-end/52650] [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c  *  (internal compiler error)
  2012-03-21  7:48 [Bug middle-end/52650] New: [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c * (internal compiler error) dominiq at lps dot ens.fr
                   ` (8 preceding siblings ...)
  2012-03-21 16:10 ` hp at gcc dot gnu.org
@ 2012-03-31 10:15 ` schwab@linux-m68k.org
  2012-08-14 21:33 ` sje at gcc dot gnu.org
                   ` (14 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: schwab@linux-m68k.org @ 2012-03-31 10:15 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #9 from Andreas Schwab <schwab@linux-m68k.org> 2012-03-31 10:14:00 UTC ---
*** Bug 52663 has been marked as a duplicate of this bug. ***


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

* [Bug middle-end/52650] [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c  *  (internal compiler error)
  2012-03-21  7:48 [Bug middle-end/52650] New: [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c * (internal compiler error) dominiq at lps dot ens.fr
                   ` (9 preceding siblings ...)
  2012-03-31 10:15 ` schwab@linux-m68k.org
@ 2012-08-14 21:33 ` sje at gcc dot gnu.org
  2012-09-07 11:15 ` rguenth at gcc dot gnu.org
                   ` (13 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: sje at gcc dot gnu.org @ 2012-08-14 21:33 UTC (permalink / raw)
  To: gcc-bugs

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

Steve Ellcey <sje at gcc dot gnu.org> changed:

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

--- Comment #10 from Steve Ellcey <sje at gcc dot gnu.org> 2012-08-14 21:31:44 UTC ---
Is anything happening with this bug?  I see it on mips as well.


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

* [Bug middle-end/52650] [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c  *  (internal compiler error)
  2012-03-21  7:48 [Bug middle-end/52650] New: [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c * (internal compiler error) dominiq at lps dot ens.fr
                   ` (10 preceding siblings ...)
  2012-08-14 21:33 ` sje at gcc dot gnu.org
@ 2012-09-07 11:15 ` rguenth at gcc dot gnu.org
  2012-11-13  9:02 ` jakub at gcc dot gnu.org
                   ` (12 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-09-07 11:15 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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

* [Bug middle-end/52650] [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c  *  (internal compiler error)
  2012-03-21  7:48 [Bug middle-end/52650] New: [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c * (internal compiler error) dominiq at lps dot ens.fr
                   ` (11 preceding siblings ...)
  2012-09-07 11:15 ` rguenth at gcc dot gnu.org
@ 2012-11-13  9:02 ` jakub at gcc dot gnu.org
  2012-11-13 10:10 ` ebotcazou at gcc dot gnu.org
                   ` (11 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-11-13  9:02 UTC (permalink / raw)
  To: gcc-bugs


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-13 09:01:37 UTC ---
So, which exact testcase still fails on which target with what options?
Tried gcc.dg/torture/20090618-1.c with -O1 -m32 with sparc-linux cross and
can't reproduce - foo contains
        add     %sp, -96, %sp
        mov     1, %o0
        jmp     %o7+8
         add    %sp, 96, %sp
which is correct.


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

* [Bug middle-end/52650] [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c  *  (internal compiler error)
  2012-03-21  7:48 [Bug middle-end/52650] New: [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c * (internal compiler error) dominiq at lps dot ens.fr
                   ` (12 preceding siblings ...)
  2012-11-13  9:02 ` jakub at gcc dot gnu.org
@ 2012-11-13 10:10 ` ebotcazou at gcc dot gnu.org
  2012-11-15 22:32 ` bergner at gcc dot gnu.org
                   ` (10 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-11-13 10:10 UTC (permalink / raw)
  To: gcc-bugs


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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
                 CC|                            |ebotcazou at gcc dot
                   |                            |gnu.org

--- Comment #12 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-11-13 10:10:21 UTC ---
> So, which exact testcase still fails on which target with what options?
> Tried gcc.dg/torture/20090618-1.c with -O1 -m32 with sparc-linux cross and
> can't reproduce - foo contains
>         add     %sp, -96, %sp
>         mov     1, %o0
>         jmp     %o7+8
>          add    %sp, 96, %sp
> which is correct.

There are no more execution failures on SPARC (modulo
gcc.dg/builtin-object-size-8.c).  The only remaining failures are:

FAIL: gcc.dg/torture/pr51106-2.c  -O0  (internal compiler error)
FAIL: gcc.dg/torture/pr51106-2.c  -O0  (test for excess errors)
FAIL: gcc.dg/torture/pr51106-2.c  -O1  (internal compiler error)
FAIL: gcc.dg/torture/pr51106-2.c  -O1  (test for excess errors)
FAIL: gcc.dg/torture/pr51106-2.c  -O2  (internal compiler error)
FAIL: gcc.dg/torture/pr51106-2.c  -O2  (test for excess errors)
FAIL: gcc.dg/torture/pr51106-2.c  -O3 -fomit-frame-pointer  (internal compiler
error)
FAIL: gcc.dg/torture/pr51106-2.c  -O3 -fomit-frame-pointer  (test for excess
errors)
FAIL: gcc.dg/torture/pr51106-2.c  -O3 -g  (internal compiler error)
FAIL: gcc.dg/torture/pr51106-2.c  -O3 -g  (test for excess errors)
FAIL: gcc.dg/torture/pr51106-2.c  -Os  (internal compiler error)
FAIL: gcc.dg/torture/pr51106-2.c  -Os  (test for excess errors)
FAIL: gcc.dg/torture/pr51106-2.c  -O2 -flto -flto-partition=none  (internal
compiler error)
FAIL: gcc.dg/torture/pr51106-2.c  -O2 -flto -flto-partition=none  (test for
excess errors)
FAIL: gcc.dg/torture/pr51106-2.c  -O2 -flto  (internal compiler error)
FAIL: gcc.dg/torture/pr51106-2.c  -O2 -flto  (test for excess errors)

like everywhere else.


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

* [Bug middle-end/52650] [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c  *  (internal compiler error)
  2012-03-21  7:48 [Bug middle-end/52650] New: [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c * (internal compiler error) dominiq at lps dot ens.fr
                   ` (13 preceding siblings ...)
  2012-11-13 10:10 ` ebotcazou at gcc dot gnu.org
@ 2012-11-15 22:32 ` bergner at gcc dot gnu.org
  2012-11-26  0:40 ` [Bug lto/52650] " danglin at gcc dot gnu.org
                   ` (9 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bergner at gcc dot gnu.org @ 2012-11-15 22:32 UTC (permalink / raw)
  To: gcc-bugs


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

Peter Bergner <bergner at gcc dot gnu.org> changed:

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

--- Comment #13 from Peter Bergner <bergner at gcc dot gnu.org> 2012-11-15 22:32:22 UTC ---
I'm seeing the same purge_dead_edges ICE on powerpc64-linux:

/home/bergner/gcc/gcc-fsf-mainline-base/gcc/testsuite/gcc.dg/torture/pr51106-2.c:13:1:
internal compiler error: in purge_dead_edges, at cfgrtl.c:2733
0x10242d27 purge_dead_edges(basic_block_def*)
    /home/bergner/gcc/gcc-fsf-mainline-base/gcc/cfgrtl.c:2733
0x103bf8e3 instantiate_virtual_regs_in_insn
    /home/bergner/gcc/gcc-fsf-mainline-base/gcc/function.c:1744
0x103bf8e3 instantiate_virtual_regs
    /home/bergner/gcc/gcc-fsf-mainline-base/gcc/function.c:1922
Please submit a full bug report,


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

* [Bug lto/52650] [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c  *  (internal compiler error)
  2012-03-21  7:48 [Bug middle-end/52650] New: [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c * (internal compiler error) dominiq at lps dot ens.fr
                   ` (14 preceding siblings ...)
  2012-11-15 22:32 ` bergner at gcc dot gnu.org
@ 2012-11-26  0:40 ` danglin at gcc dot gnu.org
  2012-11-26  9:48 ` gjl at gcc dot gnu.org
                   ` (8 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: danglin at gcc dot gnu.org @ 2012-11-26  0:40 UTC (permalink / raw)
  To: gcc-bugs


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

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3
   Last reconfirmed|2012-03-21 00:00:00         |2012-11-24 0:00
          Component|middle-end                  |lto
            Version|4.8.0                       |4.7.2
   Target Milestone|4.8.0                       |3.0.x


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

* [Bug lto/52650] [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c  *  (internal compiler error)
  2012-03-21  7:48 [Bug middle-end/52650] New: [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c * (internal compiler error) dominiq at lps dot ens.fr
                   ` (15 preceding siblings ...)
  2012-11-26  0:40 ` [Bug lto/52650] " danglin at gcc dot gnu.org
@ 2012-11-26  9:48 ` gjl at gcc dot gnu.org
  2012-11-26 12:38 ` [Bug middle-end/52650] " rguenth at gcc dot gnu.org
                   ` (7 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: gjl at gcc dot gnu.org @ 2012-11-26  9:48 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #14 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-11-26 09:47:18 UTC ---
A milestone of 3.0.x???


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

* [Bug middle-end/52650] [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c  *  (internal compiler error)
  2012-03-21  7:48 [Bug middle-end/52650] New: [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c * (internal compiler error) dominiq at lps dot ens.fr
                   ` (16 preceding siblings ...)
  2012-11-26  9:48 ` gjl at gcc dot gnu.org
@ 2012-11-26 12:38 ` rguenth at gcc dot gnu.org
  2012-11-26 14:56 ` danglin at gcc dot gnu.org
                   ` (6 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-11-26 12:38 UTC (permalink / raw)
  To: gcc-bugs


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|lto                         |middle-end
            Version|4.7.2                       |4.8.0
   Target Milestone|3.0.x                       |4.8.0


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

* [Bug middle-end/52650] [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c  *  (internal compiler error)
  2012-03-21  7:48 [Bug middle-end/52650] New: [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c * (internal compiler error) dominiq at lps dot ens.fr
                   ` (17 preceding siblings ...)
  2012-11-26 12:38 ` [Bug middle-end/52650] " rguenth at gcc dot gnu.org
@ 2012-11-26 14:56 ` danglin at gcc dot gnu.org
  2012-11-26 14:58 ` dave.anglin at bell dot net
                   ` (5 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: danglin at gcc dot gnu.org @ 2012-11-26 14:56 UTC (permalink / raw)
  To: gcc-bugs


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

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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

* [Bug middle-end/52650] [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c  *  (internal compiler error)
  2012-03-21  7:48 [Bug middle-end/52650] New: [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c * (internal compiler error) dominiq at lps dot ens.fr
                   ` (18 preceding siblings ...)
  2012-11-26 14:56 ` danglin at gcc dot gnu.org
@ 2012-11-26 14:58 ` dave.anglin at bell dot net
  2012-11-26 16:37 ` jakub at gcc dot gnu.org
                   ` (4 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: dave.anglin at bell dot net @ 2012-11-26 14:58 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #15 from dave.anglin at bell dot net 2012-11-26 14:58:12 UTC ---
On 11/26/2012 4:47 AM, gjl at gcc dot gnu.org wrote:
> A milestone of 3.0.x??
It seems I did this while updating the "Last reconfirmed" date.  As I 
understand it,
it's a Firefox feature that arises when the web page is inconsistent 
with cached
browser page.


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

* [Bug middle-end/52650] [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c  *  (internal compiler error)
  2012-03-21  7:48 [Bug middle-end/52650] New: [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c * (internal compiler error) dominiq at lps dot ens.fr
                   ` (19 preceding siblings ...)
  2012-11-26 14:58 ` dave.anglin at bell dot net
@ 2012-11-26 16:37 ` jakub at gcc dot gnu.org
  2012-11-26 16:44 ` dave.anglin at bell dot net
                   ` (3 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-11-26 16:37 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-26 16:36:10 UTC ---
Created attachment 28778
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28778
gcc48-pr52650.patch

P1 for an error-recovery bug sounds way too high, those should be P4-ish.

Anyway, sounds much easier to me to just not delete the invalid asm goto at all
and instead just drop the invalid inputs (and template to avoid further
warnings/failures).  asm goto doesn't have outputs, and the expander should
ensure all the labels are LABEL_REFs, so that part of check_asm_operands
shouldn't fail.


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

* [Bug middle-end/52650] [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c  *  (internal compiler error)
  2012-03-21  7:48 [Bug middle-end/52650] New: [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c * (internal compiler error) dominiq at lps dot ens.fr
                   ` (20 preceding siblings ...)
  2012-11-26 16:37 ` jakub at gcc dot gnu.org
@ 2012-11-26 16:44 ` dave.anglin at bell dot net
  2012-11-27 13:39 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: dave.anglin at bell dot net @ 2012-11-26 16:44 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #17 from dave.anglin at bell dot net 2012-11-26 16:43:18 UTC ---
On 11/26/2012 11:36 AM, jakub at gcc dot gnu.org wrote:
> P1 for an error-recovery bug sounds way too high, those should be P4-ish.
I just restored the previous setting. No objection to revising
it downward.


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

* [Bug middle-end/52650] [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c  *  (internal compiler error)
  2012-03-21  7:48 [Bug middle-end/52650] New: [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c * (internal compiler error) dominiq at lps dot ens.fr
                   ` (21 preceding siblings ...)
  2012-11-26 16:44 ` dave.anglin at bell dot net
@ 2012-11-27 13:39 ` jakub at gcc dot gnu.org
  2012-11-27 13:41 ` jakub at gcc dot gnu.org
  2021-08-08  6:05 ` pinskia at gcc dot gnu.org
  24 siblings, 0 replies; 26+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-11-27 13:39 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-27 13:38:40 UTC ---
Author: jakub
Date: Tue Nov 27 13:38:32 2012
New Revision: 193846

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193846
Log:
    PR middle-end/52650
    * function.c (instantiate_virtual_regs_in_insn): Don't delete invalid
    asm gotos, instead just clear their template and inputs.

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


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

* [Bug middle-end/52650] [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c  *  (internal compiler error)
  2012-03-21  7:48 [Bug middle-end/52650] New: [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c * (internal compiler error) dominiq at lps dot ens.fr
                   ` (22 preceding siblings ...)
  2012-11-27 13:39 ` jakub at gcc dot gnu.org
@ 2012-11-27 13:41 ` jakub at gcc dot gnu.org
  2021-08-08  6:05 ` pinskia at gcc dot gnu.org
  24 siblings, 0 replies; 26+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-11-27 13:41 UTC (permalink / raw)
  To: gcc-bugs


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

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

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

--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-27 13:41:06 UTC ---
Fixed.


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

* [Bug middle-end/52650] [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c  *  (internal compiler error)
  2012-03-21  7:48 [Bug middle-end/52650] New: [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c * (internal compiler error) dominiq at lps dot ens.fr
                   ` (23 preceding siblings ...)
  2012-11-27 13:41 ` jakub at gcc dot gnu.org
@ 2021-08-08  6:05 ` pinskia at gcc dot gnu.org
  24 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-08  6:05 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=51106
                 CC|                            |rl at hellgate dot ch

--- Comment #20 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 51106 has been marked as a duplicate of this bug. ***

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

end of thread, other threads:[~2021-08-08  6:05 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-21  7:48 [Bug middle-end/52650] New: [4.8 Regression] FAIL: gcc.dg/torture/pr51106-2.c * (internal compiler error) dominiq at lps dot ens.fr
2012-03-21  8:27 ` [Bug middle-end/52650] " rguenth at gcc dot gnu.org
2012-03-21  9:37 ` krebbel at gcc dot gnu.org
2012-03-21 13:04 ` ro at gcc dot gnu.org
2012-03-21 13:40 ` ro at CeBiTec dot Uni-Bielefeld.DE
2012-03-21 13:51 ` rguenther at suse dot de
2012-03-21 13:57 ` ro at CeBiTec dot Uni-Bielefeld.DE
2012-03-21 14:00 ` rguenther at suse dot de
2012-03-21 15:56 ` ro at CeBiTec dot Uni-Bielefeld.DE
2012-03-21 16:10 ` hp at gcc dot gnu.org
2012-03-31 10:15 ` schwab@linux-m68k.org
2012-08-14 21:33 ` sje at gcc dot gnu.org
2012-09-07 11:15 ` rguenth at gcc dot gnu.org
2012-11-13  9:02 ` jakub at gcc dot gnu.org
2012-11-13 10:10 ` ebotcazou at gcc dot gnu.org
2012-11-15 22:32 ` bergner at gcc dot gnu.org
2012-11-26  0:40 ` [Bug lto/52650] " danglin at gcc dot gnu.org
2012-11-26  9:48 ` gjl at gcc dot gnu.org
2012-11-26 12:38 ` [Bug middle-end/52650] " rguenth at gcc dot gnu.org
2012-11-26 14:56 ` danglin at gcc dot gnu.org
2012-11-26 14:58 ` dave.anglin at bell dot net
2012-11-26 16:37 ` jakub at gcc dot gnu.org
2012-11-26 16:44 ` dave.anglin at bell dot net
2012-11-27 13:39 ` jakub at gcc dot gnu.org
2012-11-27 13:41 ` jakub at gcc dot gnu.org
2021-08-08  6:05 ` pinskia 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).