[Bug c++/98972] internal compiler error: Segmentation fault signal terminated program cc1plus

zhan3299 at purdue dot edu gcc-bugzilla@gcc.gnu.org
Fri Feb 5 16:31:16 GMT 2021


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

--- Comment #3 from Zhuo Zhang <zhan3299 at purdue dot edu> ---
I reduced the test-case, and the simplest test-case should be:

--- crash1.cc starts ---
constexpr p([](register const signed struct s;
--- crash1.cc ends ---

The bug is also reproduced on the commit
8d0737d8f4b10bffe0411507ad2dc21ba7679883.

Hope it can help. Thanks.


More information about the Gcc-bugs mailing list