[Bug tree-optimization/81510] [8 Regression] ice in operator[], at vec.h:749

2017-07-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81510

--- Comment #7 from Richard Biener  ---
Author: rguenth
Date: Tue Jul 25 11:02:32 2017
New Revision: 250504

URL: https://gcc.gnu.org/viewcvs?rev=250504=gcc=rev
Log:
2017-07-25  Richard Biener  

PR tree-optimization/81510
* tree-vect-loop.c (vect_is_simple_reduction): When the
reduction stmt is not inside the loop bail out.

* gcc.dg/torture/pr81510.c: New testcase.
* gcc.dg/torture/pr81510-2.c: Likewise.

Added:
trunk/gcc/testsuite/gcc.dg/torture/pr81510-2.c
trunk/gcc/testsuite/gcc.dg/torture/pr81510.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-vect-loop.c

[Bug tree-optimization/81510] [8 Regression] ice in operator[], at vec.h:749

2017-07-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81510

Richard Biener  changed:

   What|Removed |Added

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

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

[Bug tree-optimization/81510] [8 Regression] ice in operator[], at vec.h:749

2017-07-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81510

--- Comment #5 from Richard Biener  ---
*** Bug 81537 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/81510] [8 Regression] ice in operator[], at vec.h:749

2017-07-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81510

Richard Biener  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2017-07-25
   Assignee|unassigned at gcc dot gnu.org  |rguenth at gcc dot 
gnu.org
 Ever confirmed|0   |1

--- Comment #4 from Richard Biener  ---
Mine.

[Bug tree-optimization/81510] [8 Regression] ice in operator[], at vec.h:749

2017-07-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81510

Martin Liška  changed:

   What|Removed |Added

 CC||helloqirun at gmail dot com

--- Comment #3 from Martin Liška  ---
*** Bug 81511 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/81510] [8 Regression] ice in operator[], at vec.h:749

2017-07-22 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81510

David Binderman  changed:

   What|Removed |Added

 CC||rguenther at suse dot de

--- Comment #2 from David Binderman  ---
Bug seems to be between revision 250378 and 250382.

Richard's revision 250382 looks a hot candidate.

[Bug tree-optimization/81510] [8 Regression] ice in operator[], at vec.h:749

2017-07-22 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81510

--- Comment #1 from David Binderman  ---
Fault seems to between revision 250378 and 250387.

[Bug tree-optimization/81510] [8 Regression] ice in operator[], at vec.h:749

2017-07-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81510

Andrew Pinski  changed:

   What|Removed |Added

   Keywords||ice-on-valid-code
  Component|c   |tree-optimization
Version|7.0 |8.0
   Target Milestone|--- |8.0
Summary|ice in operator[],  at  |[8 Regression] ice in
   |vec.h:749   |operator[],  at vec.h:749