This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81510

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Jul 25 11:02:32 2017
New Revision: 250504

URL: https://gcc.gnu.org/viewcvs?rev=250504&root=gcc&view=rev
Log:
2017-07-25  Richard Biener  <rguenther@suse.de>

        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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]