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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |14.0
                 CC|                            |jason at gcc dot gnu.org,
                   |                            |ppalka at gcc dot gnu.org
           Priority|P3                          |P1
            Summary|ICE after adding novector   |[14 Regression] ICE after
                   |pragmas (internal compiler  |adding novector pragmas
                   |error: in tsubst_expr, at   |(internal compiler error:
                   |cp/pt.cc:21794)             |in tsubst_expr, at
                   |                            |cp/pt.cc:21794)

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r14-4229-g9c62af101e11e1cce573c2b3d2e18b403412dbc8
The ANNOTATE_EXPR has a COMPOUND_EXPR with DECL_EXPR inside of it and
tsubst_copy_and_build doesn't handle that.
Wonder if the DECL_EXPR shouldn't be before the ANNOTATE_EXPR instead, at least
without templates I see in original dump
        int y;
    <<cleanup_point <<< Unknown tree: expr_stmt
      (void) (y = foo<int> (x)) >>>>>;
    if (!ANNOTATE_EXPR <y != 0, no-vector>) goto <D.2804>;

Reply via email to