[Bug c/100529] [11/12 Regression] ICE at -O3: in force_constant_size, at gimplify.c:733 since r11-4494-ga4223abb3deb24e8

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 17 14:55:32 GMT 2022


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
          Component|ipa                         |c

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
I can confirm the testcase from comment#3 on trunk but not the earlier two
(those also not on the branch).  So those were different cases now fixed.

Re-confirmed for the comment#3 case, but that eventually looks like a C
frontend issue to me accepting invalid code?  We gimplify from

;; Function foo (null)
;; enabled by -tree-original


{
  typedef union C unionunion C;
  extern int map ();
  extern int bar ();

    typedef union C unionunion C;
  bar ({.e=&a});
}


More information about the Gcc-bugs mailing list