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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:a477f1445b3093d01e68cd4c096c5776ad769e11

commit r11-6295-ga477f1445b3093d01e68cd4c096c5776ad769e11
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Tue Dec 22 00:01:34 2020 +0100

    gimplify: Gimplify value in gimplify_init_ctor_eval_range [PR98353]

    gimplify_init_ctor_eval_range wasn't gimplifying value, so if it wasn't
    a gimple val, verification at the end of gimplification would ICE (or with
    release checking some random pass later on would ICE or misbehave).

    2020-12-21  Jakub Jelinek  <ja...@redhat.com>

            PR c++/98353
            * gimplify.c (gimplify_init_ctor_eval_range): Gimplify value before
            storing it into cref.

            * g++.dg/opt/pr98353.C: New test.

Reply via email to