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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
> It is caused by 
> commit 88bbd5a94e06eb42a5ed84a3ff6da498bea229e9 (HEAD, refs/bisect/bad)

r274671, or r10-2655-g04e1749c557a5df14f8528efa451bb0e93afea80 in the new git.

The problem is that

 TREE_READONLY (e) = true;

ends up setting the flag on the variable 'f' because its initialization is not
actually constant.  Protecting that by checking one or both of *non_constant_p
and TREE_CODE (e) should fix the issue.  What do you think, Marek?

Reply via email to