[Bug middle-end/78540] [6 Regression] ICE: in df_refs_verify, at df-scan.c:4062 with -O -march=core2

2016-12-15 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78540

Bill Seurer  changed:

   What|Removed |Added

 CC||seurer at linux dot 
vnet.ibm.com

--- Comment #11 from Bill Seurer  ---
I just verified that with r243693 it works on power.  Thanks!

[Bug middle-end/78540] [6 Regression] ICE: in df_refs_verify, at df-scan.c:4062 with -O -march=core2

2016-12-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78540

--- Comment #10 from Jakub Jelinek  ---
Author: jakub
Date: Thu Dec 15 15:11:05 2016
New Revision: 243693

URL: https://gcc.gnu.org/viewcvs?rev=243693&root=gcc&view=rev
Log:
PR middle-end/78540
* gcc.dg/pr78540.c: Add -w to dg-options.

PR target/77834
* gcc.dg/pr77834.c: Add -w to dg-options.

Modified:
branches/gcc-6-branch/gcc/testsuite/ChangeLog
branches/gcc-6-branch/gcc/testsuite/gcc.dg/pr77834.c
branches/gcc-6-branch/gcc/testsuite/gcc.dg/pr78540.c

[Bug middle-end/78540] [6 Regression] ICE: in df_refs_verify, at df-scan.c:4062 with -O -march=core2

2016-12-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78540

--- Comment #9 from Jakub Jelinek  ---
Created attachment 40342
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40342&action=edit
gcc6-pr78540-test.patch

Oops, forgot in 6.x and earlier -Wno-psabi doesn't work for ppc*.  Does this
fix the issue?  If so, I'll commit it soon (to 6.x only, trunk doesn't need
it).

[Bug middle-end/78540] [6 Regression] ICE: in df_refs_verify, at df-scan.c:4062 with -O -march=core2

2016-12-14 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78540

Bill Schmidt  changed:

   What|Removed |Added

 CC||wschmidt at gcc dot gnu.org

--- Comment #8 from Bill Schmidt  ---
The new test case fails on powerpc64le-unknown-linux-gnu in the GCC 6.3 RC:

spawn /home/wschmidt/gcc/build/gcc-6.3.0-RC-20161214/gcc/xgcc
-B/home/wschmidt/gcc/build/gcc-6.3.0-RC-20161214/gcc/
/home/wschmidt/gcc/gcc-6.3.0-RC-20161214/gcc/testsuite/gcc.dg/pr78540.c
-fno-diagnostics-show-caret -fdiagnostics-color=never -O2 -Wno-psabi -S -m64 -o
pr78540.s
/home/wschmidt/gcc/gcc-6.3.0-RC-20161214/gcc/testsuite/gcc.dg/pr78540.c: In
function 'foo':
/home/wschmidt/gcc/gcc-6.3.0-RC-20161214/gcc/testsuite/gcc.dg/pr78540.c:11:1:
warning: GCC vector returned by reference: non-standard ABI extension with no
compatibility guarantee
/home/wschmidt/gcc/gcc-6.3.0-RC-20161214/gcc/testsuite/gcc.dg/pr78540.c:10:1:
warning: GCC vector passed by reference: non-standard ABI extension with no
compatibility guarantee
output is:
/home/wschmidt/gcc/gcc-6.3.0-RC-20161214/gcc/testsuite/gcc.dg/pr78540.c: In
function 'foo':
/home/wschmidt/gcc/gcc-6.3.0-RC-20161214/gcc/testsuite/gcc.dg/pr78540.c:11:1:
warning: GCC vector returned by reference: non-standard ABI extension with no
compatibility guarantee
/home/wschmidt/gcc/gcc-6.3.0-RC-20161214/gcc/testsuite/gcc.dg/pr78540.c:10:1:
warning: GCC vector passed by reference: non-standard ABI extension with no
compatibility guarantee

FAIL: gcc.dg/pr78540.c (test for excess errors)

[Bug middle-end/78540] [6 Regression] ICE: in df_refs_verify, at df-scan.c:4062 with -O -march=core2

2016-12-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78540

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Jakub Jelinek  ---
Fixed.

[Bug middle-end/78540] [6 Regression] ICE: in df_refs_verify, at df-scan.c:4062 with -O -march=core2

2016-12-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78540

--- Comment #6 from Jakub Jelinek  ---
Author: jakub
Date: Wed Dec  7 23:00:40 2016
New Revision: 243413

URL: https://gcc.gnu.org/viewcvs?rev=243413&root=gcc&view=rev
Log:
Backported from mainline
2016-11-28  Jakub Jelinek  

PR middle-end/78540
* rtl.h (remove_reg_equal_equiv_notes): Return bool instead of void.
* rtlanal.c (remove_reg_equal_equiv_notes): Return true if any
note has been removed.
* postreload.c (reload_combine_recognize_pattern): If
remove_reg_equal_equiv_notes returns true, call df_notes_rescan.

* gcc.dg/pr78540.c: New test.

Added:
branches/gcc-6-branch/gcc/testsuite/gcc.dg/pr78540.c
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/postreload.c
branches/gcc-6-branch/gcc/rtl.h
branches/gcc-6-branch/gcc/rtlanal.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog

[Bug middle-end/78540] [6 Regression] ICE: in df_refs_verify, at df-scan.c:4062 with -O -march=core2

2016-12-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78540

Richard Biener  changed:

   What|Removed |Added

   Priority|P3  |P2

[Bug middle-end/78540] [6 Regression] ICE: in df_refs_verify, at df-scan.c:4062 with -O -march=core2

2016-11-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78540

Jakub Jelinek  changed:

   What|Removed |Added

  Known to work||7.0
Summary|[6/7 Regression] ICE: in|[6 Regression] ICE: in
   |df_refs_verify, at  |df_refs_verify, at
   |df-scan.c:4062 with -O  |df-scan.c:4062 with -O
   |-march=core2|-march=core2
  Known to fail|7.0 |

--- Comment #5 from Jakub Jelinek  ---
Fixed on the trunk so far.