[Bug c/105972] [12/13 Regression] ICE in lower_stmt, at gimple-low.cc:312 since r12-4608-gb4702276615ff8d4

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 11 12:05:15 GMT 2023


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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW
           Assignee|marxin at gcc dot gnu.org          |unassigned at gcc dot gnu.org

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #1)
> Confirmed.  Somehow we get in .original
> 
> ;; Function f (null)
> ;; enabled by -tree-original
> 
> 
> {
>   static int g ();
> 
>   # DEBUG BEGIN STMT;
>     static int g ();
> }

Hm, here we end up with a nested function whose parsing is probably skipped and
we end up with the wrong options.
Dunno why.


More information about the Gcc-bugs mailing list