This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/23388] New: Internal compiler error when -frepo is specified
- From: "g dot u dot g dot i at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Aug 2005 19:07:48 -0000
- Subject: [Bug c++/23388] New: Internal compiler error when -frepo is specified
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Compiling the following short test code with '-frepo' switch on triggers a
segfault in Debian Sid's current gcc-4.0.
------test.cpp-----------------------------------------
class A
{
};
void foo()
{
do
{
throw new A;
} while (0);
}
-------------------------------------------------------
jan@elessar:~/tmp/gccbug$ g++ -c -Wall -frepo test.cpp
test.cpp:10: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.
Without -frepo there's no error.
Output of g++ -v follows. As it should be trivial to check for anyone with a
newer release/snapshot installed I haven't checked if this bug persists in newer
versions.
--
Summary: Internal compiler error when -frepo is specified
Product: gcc
Version: 4.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: g dot u dot g dot i at gmx dot de
CC: g dot u dot g dot i at gmx dot de,gcc-bugs at gcc dot
gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23388