[Bug c++/91416] [10 Regression] ICE in cp_check_const_attributes, at cp/decl2.c:1408

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Aug 10 20:28:00 GMT 2019


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

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
__attribute__ ((unused)) const struct S {
  S() { }
} s;

ICEs with --param ggc-min-expand=0 --param ggc-min-heapsize=0


More information about the Gcc-bugs mailing list