public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "novulae at hotmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/56260] New: GCC hangs/crashes on potentially invalid source Date: Fri, 08 Feb 2013 23:10:00 -0000 [thread overview] Message-ID: <bug-56260-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56260 Bug #: 56260 Summary: GCC hangs/crashes on potentially invalid source Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned@gcc.gnu.org ReportedBy: novulae@hotmail.com This came from http://www.glenmccl.com/cpp11.htm, and was part of the free sample of tests. Originally this hung for me. Now it just causes a ICE/segfault. This was with GCC 4.7.2, on Ubuntu 12 x86_64. $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/data00/opt/pkg/gcc-4.7.2/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.7.2/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc-4.7.2/configure --prefix=/opt/pkg/gcc-4.7.2 --program-suffix=-4.7.2 --enable-languages=c,c++ --disable-multilib Thread model: posix gcc version 4.7.2 (GCC) $ cat test.cpp // [dcl.fct.def] // autogenerated crash test // Copyright (C) 2009 Glen McCluskey & Associates LLC. All Rights Reserved. void f() { [ ] ( struct A { A ( ) = default ; A(const A&) = delete; } * ) { return 0 ; } ( 0 ) ; } $ g++ -c -std=c++11 test.cpp test.cpp: In function ‘void f()’: test.cpp:7:16: error: types may not be defined in parameter types g++: internal compiler error: Segmentation fault (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.
next reply other threads:[~2013-02-08 23:10 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-02-08 23:10 novulae at hotmail dot com [this message] 2013-08-14 9:41 ` [Bug c++/56260] [C++11] " paolo.carlini at oracle dot com 2024-03-07 16:47 ` [Bug c++/56260] [C++11] GCC hangs/crashes on " pinskia at gcc dot gnu.org 2024-03-07 16:50 ` pinskia at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-56260-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).