public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/56260] New: GCC hangs/crashes on potentially invalid source @ 2013-02-08 23:10 novulae at hotmail dot com 2013-08-14 9:41 ` [Bug c++/56260] [C++11] " paolo.carlini at oracle dot com ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: novulae at hotmail dot com @ 2013-02-08 23:10 UTC (permalink / raw) To: gcc-bugs 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. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/56260] [C++11] GCC hangs/crashes on potentially invalid source 2013-02-08 23:10 [Bug c++/56260] New: GCC hangs/crashes on potentially invalid source novulae at hotmail dot com @ 2013-08-14 9:41 ` 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 2 siblings, 0 replies; 4+ messages in thread From: paolo.carlini at oracle dot com @ 2013-08-14 9:41 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56260 Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code Status|UNCONFIRMED |NEW Last reconfirmed| |2013-08-14 Ever confirmed|0 |1 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/56260] [C++11] GCC hangs/crashes on invalid source 2013-02-08 23:10 [Bug c++/56260] New: GCC hangs/crashes on potentially invalid source novulae at hotmail dot com 2013-08-14 9:41 ` [Bug c++/56260] [C++11] " paolo.carlini at oracle dot com @ 2024-03-07 16:47 ` pinskia at gcc dot gnu.org 2024-03-07 16:50 ` pinskia at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu.org @ 2024-03-07 16:47 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56260 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egor.pugin at gmail dot com --- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- *** Bug 114271 has been marked as a duplicate of this bug. *** ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/56260] [C++11] GCC hangs/crashes on invalid source 2013-02-08 23:10 [Bug c++/56260] New: GCC hangs/crashes on potentially invalid source novulae at hotmail dot com 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 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu.org @ 2024-03-07 16:50 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56260 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vegard.nossum at gmail dot com --- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- *** Bug 84576 has been marked as a duplicate of this bug. *** ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-03-07 16:50 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2013-02-08 23:10 [Bug c++/56260] New: GCC hangs/crashes on potentially invalid source novulae at hotmail dot com 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
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).