[Bug tree-optimization/82965] [8 regression] gcc.dg/vect/pr79347.c starts failing after r254379

2018-04-13 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82965

Jan Hubicka  changed:

   What|Removed |Added

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

--- Comment #16 from Jan Hubicka  ---
Fixed.

[Bug tree-optimization/82965] [8 regression] gcc.dg/vect/pr79347.c starts failing after r254379

2018-04-13 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82965

--- Comment #15 from Jan Hubicka  ---
Author: hubicka
Date: Fri Apr 13 08:59:05 2018
New Revision: 259368

URL: https://gcc.gnu.org/viewcvs?rev=259368=gcc=rev
Log:
PR tree-optimization/82965
PR tree-optimization/83991
* cfgloopanal.c (expected_loop_iterations_unbounded): Add
by_profile_only parameter.
* cfgloopmanip.c (scale_loop_profile): Further scale loop's profile
information if the loop was predicted to iterate too many times.
* cfgloop.h (expected_loop_iterations_unbounded): Update prototype

Modified:
trunk/gcc/ChangeLog
trunk/gcc/cfgloop.h
trunk/gcc/cfgloopanal.c
trunk/gcc/cfgloopmanip.c

[Bug tree-optimization/82965] [8 regression] gcc.dg/vect/pr79347.c starts failing after r254379

2018-04-09 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82965

Jan Hubicka  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |hubicka at gcc dot 
gnu.org

--- Comment #14 from Jan Hubicka  ---
I will take a look into this one today. Bin's patch needs bit more work.

[Bug tree-optimization/82965] [8 regression] gcc.dg/vect/pr79347.c starts failing after r254379

2018-03-19 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82965

--- Comment #13 from ro at CeBiTec dot Uni-Bielefeld.DE  ---
> --- Comment #10 from bin.cheng  ---
> a proposed patch @https://gcc.gnu.org/ml/gcc-patches/2018-01/msg02419.html

I've regtested the patch on sparc-sun-solaris2.11 and
i386-pc-solaris2.11: the gcc.dg/vect/pr79347.c failures are gone on the
former, no change on the latter.

Thanks.
Rainer

[Bug tree-optimization/82965] [8 regression] gcc.dg/vect/pr79347.c starts failing after r254379

2018-03-09 Thread paul.hua.gm at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82965

Paul Hua  changed:

   What|Removed |Added

 CC||paul.hua.gm at gmail dot com

--- Comment #12 from Paul Hua  ---

On mips64el target there are same fail for now (r258364).

FAIL: gcc.dg/vect/pr79347.c  -mmsa  scan-tree-dump-not vect "Invalid sum of "
FAIL: gcc.dg/vect/pr79347.c -flto -ffat-lto-objects -mmsa  scan-tree-dump-not
vect "Invalid sum of "

After bisected, it's started with r249872.

cross-compile config with:

../configure MISSING=texinfo MAKEINFO=missing --with-mpc=/opt/cfarm/mpc-latest/
--target=mips64el-linux-gnu --enable-languages=c,c++

build cmd:
build/gcc/cc1 -mel -quiet -dumpbase pr79347.c -mmsa -march=mips64r2 -mabi=64
-mllsc -mips64r2 -mno-shared -auxbase-strip pr79347.s -O2 -version
-fdiagnostics-color=never -fno-diagnostics-show-caret -ftree-vectorize
-fvect-cost-model=unlimited -fno-common -fdump-tree-vect-details
-fdump-tree-vect-all -o pr79347.s -fpreprocessed pr79347.i

cat pr79347.i:

...

short *a;
int c;
void n(void)
{
  for (int i = 0; i