[Bug tree-optimization/94775] [8/9/10 Regression] ICE in strip_typedefs, at cp/tree.c:1734 since r8-4668-g8a5ee94a082b3d48

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 27 17:24:43 GMT 2020


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

--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
The assertion was introduced in a fix for PR79900 by the commit below:

g:423aec8b5756 1734)       if (TYPE_USER_ALIGN (t) != TYPE_USER_ALIGN (result)
g:423aec8b5756 1735)        || TYPE_ALIGN (t) != TYPE_ALIGN (result))
g:b71983a5baee 1736)      {
g:423aec8b5756 1737)        gcc_assert (TYPE_USER_ALIGN (t));
g:423aec8b5756 1738)        if (remove_attributes)


More information about the Gcc-bugs mailing list