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/81249] [8 Regression] ICE: error: incompatible types in PHI argument 0


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

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Jun 30 08:08:33 2017
New Revision: 249831

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

        PR tree-optimization/81249
        * tree-vect-loop.c (vect_create_epilog_for_reduction): Convert
        condition reduction result to original scalar type.

        * g++.dg/torture/pr81249.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/torture/pr81249.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]