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/78060] [7 Regression] -O3 causes "error: type mismatch in binary expression"


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

--- Comment #7 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> ---
Author: rsandifo
Date: Fri Dec 16 15:14:47 2016
New Revision: 243752

URL: https://gcc.gnu.org/viewcvs?rev=243752&root=gcc&view=rev
Log:
[sve-branch] Backport fix pr78060 pr78061 pr78088

Backport Michael Matz's fix in r241551.

        PR tree-optimization/78060
        PR tree-optimization/78061
        PR tree-optimization/78088
        * tree-ssa-loop-split.c (easy_exit_values): New function.
        (tree_ssa_split_loops): Use it.
        (compute_new_first_bound): Change order of operations,
        fix invalid use of types.

testsuite/
        * g++.dg/pr78060.C: New test.
        * gfortran.dg/pr78061.f: New test.
        * g++.dg/pr78088.C: New test.

Added:
    branches/ARM/sve-branch/gcc/testsuite/g++.dg/pr78060.C
    branches/ARM/sve-branch/gcc/testsuite/g++.dg/pr78088.C
    branches/ARM/sve-branch/gcc/testsuite/gfortran.dg/pr78061.f
Modified:
    branches/ARM/sve-branch/gcc/tree-ssa-loop-split.c

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