[Bug tree-optimization/59121] [4.8/4.9 Regression] endless loop with -O2 -floop-parallelize-all

2014-03-25 Thread mircea.namolaru at inria dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59121 --- Comment #17 from Mircea Namolaru --- Yes, data dependencies computation is expensive in the polyehdral model and it could take considerable time - but it is worrying that in too many cases fails to provide (after a few hours left running, when

[Bug tree-optimization/55022] [4.8/4.9 Regression] air.f90 is miscompliled with -m64 -O2 -fgraphite-identity after revision 190619

2014-04-10 Thread mircea.namolaru at inria dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55022 Mircea Namolaru changed: What|Removed |Added CC||mircea.namolaru at inria dot fr

[Bug tree-optimization/59121] [4.8/4.9 Regression] endless loop with -O2 -floop-parallelize-all

2014-04-10 Thread mircea.namolaru at inria dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59121 --- Comment #19 from Mircea Namolaru --- The problem for many of these simple cases is with Graphite formulation of memory accesses constraints. For Fortran, or C (if arrays are declared as pointers), a memory access is not constrained enough (ba

[Bug tree-optimization/59586] [4.8/4.9/4.10 Regression] [graphite] Segmentation fault with -Ofast -floop-parallelize-all -ftree-parallelize-loops

2014-04-14 Thread mircea.namolaru at inria dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59586 Mircea Namolaru changed: What|Removed |Added CC||mircea.namolaru at inria dot fr

[Bug tree-optimization/55022] [4.8 Regression] air.f90 is miscompliled with -m64 -O2 -fgraphite-identity after revision 190619

2014-04-23 Thread mircea.namolaru at inria dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55022 --- Comment #27 from Mircea Namolaru --- Hi, Many thanks. I've passed over the meta-bug opened by you for Graphite, http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59859 and seems to me that many of the problem have been already solved (some by you

[Bug tree-optimization/60997] -fopenmp conflicts with -floop-interchange

2014-04-29 Thread mircea.namolaru at inria dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60997 --- Comment #3 from Mircea Namolaru --- It is not that -floop-interchange is disabled, but the code received by graphite is different if the option -fopenmp is enabled. In this case the check for data dependencies required by loop-interchange fail

[Bug tree-optimization/61000] No loop interchange for inner loop along the slow index

2014-04-29 Thread mircea.namolaru at inria dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61000 --- Comment #1 from Mircea Namolaru --- The built-in heuristics assess that loop interchange is not profitable. Indeed there is a problem, I would expected that the second loop to be found profitable. Need to look more in depth at this.

[Bug tree-optimization/61000] No loop interchange for inner loop along the slow index

2014-04-30 Thread mircea.namolaru at inria dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61000 --- Comment #2 from Mircea Namolaru --- Again, the problem is due to representation of arrays in Fortran as array with a single dimnesion (for similar code in C profitability check work as expected). It is a recurring problem that may lead to comp

[Bug tree-optimization/61000] No loop interchange for inner loop along the slow index

2014-04-30 Thread mircea.namolaru at inria dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61000 --- Comment #4 from Mircea Namolaru --- Right, C arrays expressed as pointers suffers from the same problem. But for C at least there is a way to avoid this. Many thanks for your suggestion of how to de-linearize arrays in middle-end, it seems t

[Bug tree-optimization/59121] [4.8/4.9 Regression] endless loop with -O2 -floop-parallelize-all

2014-02-03 Thread mircea.namolaru at inria dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59121 Mircea Namolaru changed: What|Removed |Added CC||mircea.namolaru at inria dot fr

[Bug tree-optimization/59121] [4.8/4.9 Regression] endless loop with -O2 -floop-parallelize-all

2014-03-10 Thread mircea.namolaru at inria dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59121 --- Comment #14 from Mircea Namolaru --- Confirmed. Start looking at it. This test also enters in an endless loop with the options -fgraphite-identiy -floop-nest-optimize -O2 -c.

[Bug tree-optimization/62630] [5 regression] gcc.dg/graphite/vect-pr43423.c FAILs

2015-02-17 Thread mircea.namolaru at inria dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62630 Mircea Namolaru changed: What|Removed |Added CC||mircea.namolaru at inria dot fr

[Bug tree-optimization/62630] [5 regression] gcc.dg/graphite/vect-pr43423.c FAILs

2015-02-18 Thread mircea.namolaru at inria dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62630 --- Comment #10 from Mircea Namolaru --- On my Intel x86-64 platform changed in graphite-isl-ast-to-gimple.c: - static int graphite_expression_type_precision = 128 <= max_mode_int_precision ? - 128 : max_mode_int_precisi

[Bug tree-optimization/62630] [5 regression] gcc.dg/graphite/vect-pr43423.c FAILs

2015-02-18 Thread mircea.namolaru at inria dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62630 --- Comment #14 from Mircea Namolaru --- It seems to me that scalar evolution succeeds to determine the number of iterations for the case of signed longs. Looking in vectorization dump, first a symbolic expression for the number of iterations of

[Bug tree-optimization/62630] [5 regression] gcc.dg/graphite/vect-pr43423.c FAILs

2015-02-19 Thread mircea.namolaru at inria dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62630 --- Comment #16 from Mircea Namolaru --- Yes, but it seems to me that the cast (not in the original code) should not be generated at all if it could not be guaranteed that the casted-to type is larger enough to accommodate it. Otherwise you intr

[Bug tree-optimization/62630] [5 regression] gcc.dg/graphite/vect-pr43423.c FAILs

2015-02-23 Thread mircea.namolaru at inria dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62630 --- Comment #18 from Mircea Namolaru --- I've succeeded to explain why these casts are generated, and they seem correct. Graphite introduces new induction variables with a larger size type (then the type of original induction variable), to make s

[Bug tree-optimization/56145] [4.8/4.9/5 Regression] Use of too much optimizations -O2 -ffast-math -floop-parallelize-all

2015-02-24 Thread mircea.namolaru at inria dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56145 Mircea Namolaru changed: What|Removed |Added CC||mircea.namolaru at inria dot fr

[Bug tree-optimization/56145] [4.8/4.9 Regression] Use of too much optimizations -O2 -ffast-math -floop-parallelize-all

2015-02-24 Thread mircea.namolaru at inria dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56145 --- Comment #16 from Mircea Namolaru --- Right, the NULL check fixed this for previous versions of GCC. For the current version, it works without these NULL checks (the NULL paths are not followed). The relevant scop fields are always initialize

[Bug tree-optimization/64098] ICE isl_ctx.c:172: isl_ctx freed, but some objects still referenced

2014-11-29 Thread mircea.namolaru at inria dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64098 --- Comment #1 from Mircea Namolaru --- Bug confirmed. The error message points to a problem in the way in which the unroll-and-jam code manage the isl objects (the space is not freed properly). I pinned down the function causing the problem,