[Bug target/70333] [5 Regression] Test miscompiled with -O0.

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

--- Comment #11 from Richard Biener  ---
Author: rguenth
Date: Wed Apr  6 07:45:34 2016
New Revision: 234772

URL: https://gcc.gnu.org/viewcvs?rev=234772=gcc=rev
Log:
2016-04-06  Richard Biener  

Backport from mainline
2016-03-30  Richard Biener  

PR middle-end/70450
* fold-const.c (extract_muldiv_1): Fix thinko in wide_int::from
usage.

* gcc.dg/torture/pr70450.c: New testcase.

2016-03-22  Richard Biener  

PR middle-end/70333
* fold-const.c (extract_muldiv_1): Properly perform multiplication
in the wide type.

* gcc.dg/torture/pr70333.c: New testcase.

2016-04-04  Richard Biener  

PR rtl-optimization/70484
* rtl.h (canon_output_dependence): Declare.
* alias.c (canon_output_dependence): New function.
* dse.c (record_store): Use canon_output_dependence rather
than canon_true_dependence.

* gcc.dg/torture/pr70484.c: New testcase.

2016-03-31  Richard Biener  

PR c++/70430
* typeck.c (cp_build_binary_op): Fix operand order of vector
conditional in truth op handling.

* g++.dg/ext/vector30.C: New testcase.

Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/ext/vector30.C
branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/pr70333.c
branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/pr70450.c
branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/pr70484.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/alias.c
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/typeck.c
branches/gcc-5-branch/gcc/dse.c
branches/gcc-5-branch/gcc/fold-const.c
branches/gcc-5-branch/gcc/rtl.h
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug target/70333] [5 Regression] Test miscompiled with -O0.

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

Richard Biener  changed:

   What|Removed |Added

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

--- Comment #10 from Richard Biener  ---
Fixed.

[Bug target/70333] [5 Regression] Test miscompiled with -O0.

2016-03-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70333
Bug 70333 depends on bug 70450, which changed state.

Bug 70450 Summary: [6 Regression] Wrong code with -O0 and -O1.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70450

   What|Removed |Added

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

[Bug target/70333] [5 Regression] Test miscompiled with -O0.

2016-03-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70333

Richard Biener  changed:

   What|Removed |Added

  Known to work||6.0
Summary|[5/6 Regression] Test   |[5 Regression] Test
   |miscompiled with -O0.   |miscompiled with -O0.
  Known to fail||5.3.0

--- Comment #9 from Richard Biener  ---
Fixed on trunk sofar.