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/86159] [6/7/8 Regression] g++ ICE at -O1 and above on valid code: incorrect type of vector CONSTRUCTOR elements


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needs-bisection             |

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Jun 15 11:08:30 2018
New Revision: 261622

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

        PR middle-end/86159
        * tree-cfg.c (gimplify_build3): Do not strip sign conversions,
        leave useless conversion stripping to force_gimple_operand_gsi.
        (gimplify_build2): Likewise.
        (gimplify_build1): Likewise.

        * g++.dg/pr86159.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/pr86159.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-cfg.c

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