[Bug c++/94067] [10 Regression] ICE on rotate with -Wconversion since r10-6527

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 9 20:57:59 GMT 2020


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
commit r10-7094-g81fa6d7321dd9b645d86de4a8a6967c603f176e3
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Mon Mar 9 21:52:18 2020 +0100

    c++: Readd [LR]ROTATE_EXPR support to constexpr.c [PR94067]

    Since r10-6527-gaaa26bf496a646778ac861aed124d960b5bf549f fold_for_warn
    will perform maybe_constant_value even on some cp_fold produced trees and
    so can include rotate exprs which were removed last fall from constexpr.c

    2020-03-09  Jakub Jelinek  <jakub@redhat.com>

            PR c++/94067
            Revert
            2019-10-11  Paolo Carlini  <paolo.carlini@oracle.com>

            * constexpr.c (cxx_eval_constant_expression): Do not handle
            RROTATE_EXPR and LROTATE_EXPR.

            * g++.dg/warn/Wconversion-pr94067.C: New test.


More information about the Gcc-bugs mailing list