public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/103518] New: g++ hangs on invalid code @ 2021-12-01 12:09 egor.pugin at gmail dot com 2021-12-01 12:16 ` [Bug c++/103518] " egor.pugin at gmail dot com ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: egor.pugin at gmail dot com @ 2021-12-01 12:09 UTC (permalink / raw) To: gcc-bugs 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. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/103518] g++ hangs on invalid code 2021-12-01 12:09 [Bug c++/103518] New: g++ hangs on invalid code egor.pugin at gmail dot com @ 2021-12-01 12:16 ` egor.pugin at gmail dot com 2021-12-01 13:32 ` egor.pugin at gmail dot com ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: egor.pugin at gmail dot com @ 2021-12-01 12:16 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103518 Egor Pugin <egor.pugin at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egor.pugin at gmail dot com --- Comment #1 from Egor Pugin <egor.pugin at gmail dot com> --- Created attachment 51912 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51912&action=edit Original file Original file. You need boost.hana, boost.pfr and emweb.wt (https://webtoolkit.eu/ https://github.com/emweb/wt) to build it. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/103518] g++ hangs on invalid code 2021-12-01 12:09 [Bug c++/103518] New: g++ hangs on invalid code egor.pugin at gmail dot com 2021-12-01 12:16 ` [Bug c++/103518] " egor.pugin at gmail dot com @ 2021-12-01 13:32 ` egor.pugin at gmail dot com 2021-12-02 2:20 ` pinskia at gcc dot gnu.org 2021-12-02 5:20 ` egor.pugin at gmail dot com 3 siblings, 0 replies; 5+ messages in thread From: egor.pugin at gmail dot com @ 2021-12-01 13:32 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103518 --- Comment #2 from Egor Pugin <egor.pugin at gmail dot com> --- Callgrind https://www.dropbox.com/s/3ro2ulrfp6jma8f/callgrind.out.39995?dl=1 Interestingly, clang++-13 hangs for 50 s. while gcc for 150 s. Probably, clang also does something wrong here. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/103518] g++ hangs on invalid code 2021-12-01 12:09 [Bug c++/103518] New: g++ hangs on invalid code egor.pugin at gmail dot com 2021-12-01 12:16 ` [Bug c++/103518] " egor.pugin at gmail dot com 2021-12-01 13:32 ` egor.pugin at gmail dot com @ 2021-12-02 2:20 ` pinskia at gcc dot gnu.org 2021-12-02 5:20 ` egor.pugin at gmail dot com 3 siblings, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu.org @ 2021-12-02 2:20 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103518 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Egor Pugin from comment #0) > Preprocessed file (315KB): > https://www.dropbox.com/s/tey8z9mfi123uon/gcc_hang.tar.xz?dl=1 Can you attach this? It should be under the size limit. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/103518] g++ hangs on invalid code 2021-12-01 12:09 [Bug c++/103518] New: g++ hangs on invalid code egor.pugin at gmail dot com ` (2 preceding siblings ...) 2021-12-02 2:20 ` pinskia at gcc dot gnu.org @ 2021-12-02 5:20 ` egor.pugin at gmail dot com 3 siblings, 0 replies; 5+ messages in thread From: egor.pugin at gmail dot com @ 2021-12-02 5:20 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103518 --- Comment #4 from Egor Pugin <egor.pugin at gmail dot com> --- Created attachment 51916 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51916&action=edit preprocessed file ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-12-02 5:20 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-12-01 12:09 [Bug c++/103518] New: g++ hangs on invalid code egor.pugin at gmail dot com 2021-12-01 12:16 ` [Bug c++/103518] " egor.pugin at gmail dot com 2021-12-01 13:32 ` egor.pugin at gmail dot com 2021-12-02 2:20 ` pinskia at gcc dot gnu.org 2021-12-02 5:20 ` egor.pugin at gmail dot com
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).