[Bug c/100545] ICE with -g: in gen_typedef_die with mode attribute and aligned attribute

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 12 06:56:49 GMT 2021


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|debug                       |c

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
  if (DECL_ORIGINAL_TYPE (decl))
    {
      type = DECL_ORIGINAL_TYPE (decl);
      if (type == error_mark_node)
        return;

      gcc_assert (type != TREE_TYPE (decl));

I suspect an error in attribute processing / type setup.


More information about the Gcc-bugs mailing list