[Bug target/49987] [4.7 Regression] gcc.c-torture/compile/pr34856.c fails on powerpc-darwin9 from r176228

2011-09-03 Thread rsandifo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49987

rsand...@gcc.gnu.org rsandifo at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #13 from rsandifo at gcc dot gnu.org rsandifo at gcc dot gnu.org 
2011-09-03 08:38:41 UTC ---
Fixed on trunk.  Thanks for the help with the testing.


[Bug target/49987] [4.7 Regression] gcc.c-torture/compile/pr34856.c fails on powerpc-darwin9 from r176228

2011-09-02 Thread rsandifo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49987

--- Comment #12 from rsandifo at gcc dot gnu.org rsandifo at gcc dot gnu.org 
2011-09-02 13:32:14 UTC ---
Author: rsandifo
Date: Fri Sep  2 13:32:10 2011
New Revision: 178474

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=178474
Log:
gcc/
PR target/49987
* config/rs6000/rs6000.c (paired_expand_vector_init): Check for
valid CONST_VECTOR operands.
(rs6000_expand_vector_init): Likewise.


Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/rs6000/rs6000.c


[Bug target/49987] [4.7 Regression] gcc.c-torture/compile/pr34856.c fails on powerpc-darwin9 from r176228

2011-08-29 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49987

Dominique d'Humieres dominiq at lps dot ens.fr changed:

   What|Removed |Added

 CC||aldyh at redhat dot com,
   ||dje.gcc at gmail dot com,
   ||pthaugen at us dot ibm.com

--- Comment #10 from Dominique d'Humieres dominiq at lps dot ens.fr 
2011-08-29 08:58:26 UTC ---
Note that while gcc.c-torture/compile/pr34856.c does not fail on
powerpc64-unknown-linux-gnu, gcc.dg/pr34856.c does (see
http://gcc.gnu.org/ml/gcc-testresults/2011-08/msg03221.html ). Could a user of
powerpc*-linux-* try the patch at
http://gcc.gnu.org/ml/gcc-patches/2011-08/msg01861.html ?


[Bug target/49987] [4.7 Regression] gcc.c-torture/compile/pr34856.c fails on powerpc-darwin9 from r176228

2011-08-29 Thread pthaugen at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49987

Pat Haugen pthaugen at gcc dot gnu.org changed:

   What|Removed |Added

 CC||pthaugen at gcc dot gnu.org

--- Comment #11 from Pat Haugen pthaugen at gcc dot gnu.org 2011-08-30 
01:11:37 UTC ---
(In reply to comment #10)
 Note that while gcc.c-torture/compile/pr34856.c does not fail on
 powerpc64-unknown-linux-gnu, gcc.dg/pr34856.c does (see
 http://gcc.gnu.org/ml/gcc-testresults/2011-08/msg03221.html ). Could a user of
 powerpc*-linux-* try the patch at
 http://gcc.gnu.org/ml/gcc-patches/2011-08/msg01861.html ?

Yes, the patch applied to trunk fixes the ICE on gcc.dg/pr34856.c. Note that
-maltivec is required to produce the error, which
gcc.c-torture/compile/pr34856.c doesn't specify so that is why it didn't fail
the same way.


[Bug target/49987] [4.7 Regression] gcc.c-torture/compile/pr34856.c fails on powerpc-darwin9 from r176228

2011-08-19 Thread rsandifo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49987

--- Comment #8 from rsandifo at gcc dot gnu.org rsandifo at gcc dot gnu.org 
2011-08-19 08:31:43 UTC ---
(In reply to comment #7)
 (In reply to comment #6)
  Created attachment 24987 [details]
  Revised patch
  
  Sorry, seems there are two copies of the logic.  Please try this instead.
 
 yes, works for me off a stage3 bubble - not tested any other case yet tho.

Thanks.  Would you be able to run a full bootstrap and
regression test with it?  I'll submit the patch if that succeeds.


[Bug target/49987] [4.7 Regression] gcc.c-torture/compile/pr34856.c fails on powerpc-darwin9 from r176228

2011-08-19 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49987

--- Comment #9 from Dominique d'Humieres dominiq at lps dot ens.fr 2011-08-19 
09:40:18 UTC ---
  Would you be able to run a full bootstrap and
 regression test with it?  I'll submit the patch if that succeeds.

I have done a clean bootstrap of revision 177878 with the patch in comment #6.
AFAICT the patch does not introduce any regression although I had to hunt some
new failures due to revision 177691 (I'll submit a pr later today).


[Bug target/49987] [4.7 Regression] gcc.c-torture/compile/pr34856.c fails on powerpc-darwin9 from r176228

2011-08-11 Thread rsandifo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49987

rsand...@gcc.gnu.org rsandifo at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 AssignedTo|unassigned at gcc dot   |rsandifo at gcc dot gnu.org
   |gnu.org |

--- Comment #2 from rsandifo at gcc dot gnu.org rsandifo at gcc dot gnu.org 
2011-08-11 12:04:14 UTC ---
Mine


[Bug target/49987] [4.7 Regression] gcc.c-torture/compile/pr34856.c fails on powerpc-darwin9 from r176228

2011-08-11 Thread rsandifo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49987

--- Comment #3 from rsandifo at gcc dot gnu.org rsandifo at gcc dot gnu.org 
2011-08-11 12:13:02 UTC ---
Created attachment 24975
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=24975
Proposed patch

I think the PowerPC backend needs the same fix as i386 and spu
did for #34856.  Could you try the attached patch?


[Bug target/49987] [4.7 Regression] gcc.c-torture/compile/pr34856.c fails on powerpc-darwin9 from r176228

2011-08-11 Thread iains at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49987

--- Comment #4 from Iain Sandoe iains at gcc dot gnu.org 2011-08-11 12:23:41 
UTC ---
(In reply to comment #3)
 Created attachment 24975 [details]
 Proposed patch
 
 I think the PowerPC backend needs the same fix as i386 and spu
 did for #34856.  Could you try the attached patch?

will do - machine tied up for a few hours - back to you later.


[Bug target/49987] [4.7 Regression] gcc.c-torture/compile/pr34856.c fails on powerpc-darwin9 from r176228

2011-08-11 Thread iains at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49987

--- Comment #5 from Iain Sandoe iains at gcc dot gnu.org 2011-08-11 20:07:00 
UTC ---
(In reply to comment #4)
 (In reply to comment #3)
  Created attachment 24975 [details]
  Proposed patch
  
  I think the PowerPC backend needs the same fix as i386 and spu
  did for #34856.  Could you try the attached patch?
 
 will do - machine tied up for a few hours - back to you later.

unfortunately, not ; the error is unchanged:

Executing on host: /Volumes/ScratchCS/gcc-4-7-trunk-build/gcc/xgcc
-B/Volumes/ScratchCS/gcc-4-7-trunk-build/gcc/   -O1  -w -c  -m32 -o pr34856.o
/GCC/g
cc-live-trunk/gcc/testsuite/gcc.c-torture/compile/pr34856.c(timeout = 60)
/GCC/gcc-live-trunk/gcc/testsuite/gcc.c-torture/compile/pr34856.c: In function
'f1':
/GCC/gcc-live-trunk/gcc/testsuite/gcc.c-torture/compile/pr34856.c:17:1:
internal compiler error: in simplify_immed_subreg, at simplify-rtx.c:5255


[Bug target/49987] [4.7 Regression] gcc.c-torture/compile/pr34856.c fails on powerpc-darwin9 from r176228

2011-08-11 Thread rsandifo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49987

rsand...@gcc.gnu.org rsandifo at gcc dot gnu.org changed:

   What|Removed |Added

  Attachment #24975|0   |1
is obsolete||

--- Comment #6 from rsandifo at gcc dot gnu.org rsandifo at gcc dot gnu.org 
2011-08-11 20:23:29 UTC ---
Created attachment 24987
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=24987
Revised patch

Sorry, seems there are two copies of the logic.  Please try this instead.


[Bug target/49987] [4.7 Regression] gcc.c-torture/compile/pr34856.c fails on powerpc-darwin9 from r176228

2011-08-11 Thread iains at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49987

--- Comment #7 from Iain Sandoe iains at gcc dot gnu.org 2011-08-11 20:59:51 
UTC ---
(In reply to comment #6)
 Created attachment 24987 [details]
 Revised patch
 
 Sorry, seems there are two copies of the logic.  Please try this instead.

yes, works for me off a stage3 bubble - not tested any other case yet tho.


[Bug target/49987] [4.7 Regression] gcc.c-torture/compile/pr34856.c fails on powerpc-darwin9 from r176228

2011-08-08 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49987

Dominique d'Humieres dominiq at lps dot ens.fr changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2011.08.08 10:03:45
 Ever Confirmed|0   |1

--- Comment #1 from Dominique d'Humieres dominiq at lps dot ens.fr 2011-08-08 
10:03:45 UTC ---
Also

FAIL: gcc.dg/pr34856.c (internal compiler error)
FAIL: gcc.dg/pr34856.c (test for excess errors)


[Bug target/49987] [4.7 Regression] gcc.c-torture/compile/pr34856.c fails on powerpc-darwin9 from r176228

2011-08-05 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49987

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|--- |4.7.0