[Bug rtl-optimization/59020] [4.9 Regression] internal compiler error: in maybe_add_or_update_dep_1, at sched-deps.c:933

2013-12-04 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59020

Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch 
---
The original testcase seems fixed indeed.


[Bug rtl-optimization/59020] [4.9 Regression] internal compiler error: in maybe_add_or_update_dep_1, at sched-deps.c:933

2013-12-03 Thread wmi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59020

--- Comment #5 from wmi at gcc dot gnu.org ---
Author: wmi
Date: Tue Dec  3 18:35:24 2013
New Revision: 205644

URL: http://gcc.gnu.org/viewcvs?rev=205644root=gccview=rev
Log:
2013-12-03  Wei Mi  w...@google.com

PR rtl-optimization/59020
* sched-deps.c (try_group_insn): Move it from haifa-sched.c to here.
(sched_analyze_insn): Call try_group_insn.
(sched_analyze): Cleanup SCHED_GROUP_P before start the analysis.
* haifa-sched.c (try_group_insn): Moved to sched-deps.c.
(group_insns_for_macro_fusion): Removed.
(sched_init): Remove calling group_insns_for_macro_fusion.

2013-12-03  Wei Mi  w...@google.com

PR rtl-optimization/59020
* testsuite/gcc.dg/pr59020.c: New.
* testsuite/gcc.dg/macro-fusion-1.c: New.
* testsuite/gcc.dg/macro-fusion-2.c: New.

Added:
trunk/gcc/testsuite/gcc.dg/macro-fusion-1.c
trunk/gcc/testsuite/gcc.dg/macro-fusion-2.c
trunk/gcc/testsuite/gcc.dg/pr59020.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/haifa-sched.c
trunk/gcc/sched-deps.c
trunk/gcc/testsuite/ChangeLog


[Bug rtl-optimization/59020] [4.9 Regression] internal compiler error: in maybe_add_or_update_dep_1, at sched-deps.c:933

2013-11-23 Thread antoine.balestrat at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59020

Antoine Balestrat antoine.balestrat at gmail dot com changed:

   What|Removed |Added

 CC||antoine.balestrat at gmail dot 
com

--- Comment #3 from Antoine Balestrat antoine.balestrat at gmail dot com ---
I've got a short C testcase if this is of any help.

$ cat fail.c
int a, b, d;
unsigned c;

void f()
{
  unsigned q;
  for(; a; a++)
if(((c %= d  1) ? : 1)  1)
  for(; b; q++);
}

$ xgcc -w -march=native -O2 -fmodulo-sched fail.c 
fail.c: In function 'f':
fail.c:10:1: internal compiler error: in maybe_add_or_update_dep_1, at
sched-deps.c:933
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.


Using gcc 4.9 as of 20131123.


[Bug rtl-optimization/59020] [4.9 Regression] internal compiler error: in maybe_add_or_update_dep_1, at sched-deps.c:933

2013-11-23 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59020

H.J. Lu hjl.tools at gmail dot com changed:

   What|Removed |Added

 CC||wmi at google dot com

--- Comment #4 from H.J. Lu hjl.tools at gmail dot com ---
It is caused by r204369.


[Bug rtl-optimization/59020] [4.9 Regression] internal compiler error: in maybe_add_or_update_dep_1, at sched-deps.c:933

2013-11-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59020

Richard Biener rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P1
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2013-11-19
  Known to work||4.8.2
 Ever confirmed|0   |1

--- Comment #2 from Richard Biener rguenth at gcc dot gnu.org ---
Confirmed with -O2 -fmodulo-sched -fno-inline -march=corei7.


[Bug rtl-optimization/59020] [4.9 Regression] internal compiler error: in maybe_add_or_update_dep_1, at sched-deps.c:933

2013-11-06 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59020

Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch changed:

   What|Removed |Added

 CC||Joost.VandeVondele at mat dot 
ethz
   ||.ch

--- Comment #1 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch 
---
output from -v 

 gfortran  -c -O2 -march=native -fmodulo-sched -ffast-math -ffree-form 
 -fno-inline  -v bug.f90
Using built-in specs.
COLLECT_GCC=gfortran
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc/configure --prefix=/data/vjoost/gnu/gcc_trunk/install
--enable-languages=c,c++,fortran --disable-multilib --enable-plugins
--enable-lto --disable-bootstrap
Thread model: posix
gcc version 4.9.0 20131106 (experimental) [trunk revision 204433] (GCC) 
COLLECT_GCC_OPTIONS='-c' '-O2' '-march=native' '-fmodulo-sched' '-ffast-math'
'-ffree-form' '-fno-inline' '-v'

/data/vjoost/gnu/gcc_trunk/install/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/f951
bug.f90 -march=corei7 -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a
-mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mpopcnt -mno-abm -mno-lwp
-mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2
-msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mno-f16c
-mno-fsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mno-xsave -mno-xsaveopt
-mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf --param l1-cache-size=32
--param l1-cache-line-size=64 --param l2-cache-size=24576 -mtune=corei7 -quiet
-dumpbase bug.f90 -auxbase bug -O2 -version -fmodulo-sched -ffast-math
-ffree-form -fno-inline -fintrinsic-modules-path
/data/vjoost/gnu/gcc_trunk/install/lib/gcc/x86_64-unknown-linux-gnu/4.9.0/finclude
-o /tmp/ccJiZWVg.s
GNU Fortran (GCC) version 4.9.0 20131106 (experimental) [trunk revision 204433]
(x86_64-unknown-linux-gnu)
compiled by GNU C version 4.7.2 20120816 (prerelease) [gcc-4_7-branch
revision 190437], GMP version 4.3.2, MPFR version 2.4.2, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU Fortran (GCC) version 4.9.0 20131106 (experimental) [trunk revision 204433]
(x86_64-unknown-linux-gnu)
compiled by GNU C version 4.7.2 20120816 (prerelease) [gcc-4_7-branch
revision 190437], GMP version 4.3.2, MPFR version 2.4.2, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
bug.f90: In function ‘write_forces’:
bug.f90:98:0: internal compiler error: in maybe_add_or_update_dep_1, at
sched-deps.c:933

[Bug rtl-optimization/59020] [4.9 Regression] internal compiler error: in maybe_add_or_update_dep_1, at sched-deps.c:933

2013-11-06 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59020

Richard Biener rguenth at gcc dot gnu.org changed:

   What|Removed |Added

 Target||x86_64-*-*
   Target Milestone|--- |4.9.0