[Bug c++/103518] New: g++ hangs on invalid code
egor.pugin at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Dec 1 12:09:51 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103518
Bug ID: 103518
Summary: g++ hangs on invalid code
Product: gcc
Version: 11.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: egor.pugin at gmail dot com
Target Milestone: ---
Preprocessed file (315KB):
https://www.dropbox.com/s/tey8z9mfi123uon/gcc_hang.tar.xz?dl=1
Command:
g++ -std=c++2b -c 1.cpp
Replace line 114821 from (invalid)
title_link title_{.title_{""}, .link{""}};
to (valid)
title_link title_{.title_{""}, .link_{""}};
and build completes within 5-6 s.
More information about the Gcc-bugs
mailing list