g++-4.1 segfaults on simple cpp file

Bug #161087 reported by Kaleb Pederson
2
Affects Status Importance Assigned to Milestone
gcc-4.1 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: gcc-4.1

The following is reproduceable on an amd64 running Gutsy Gibbon up-to-date as of 11/8/2007:

$ cat test.cpp
#include <iostream>
int main() {
        return 0;
}

$ /usr/bin/g++-4.1 test.cpp -o test
g++-4.1: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
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.1/README.Bugs>.

// but g++-4.2 works fine
$ /usr/bin/g++-4.2 test.cpp -o test
$

Revision history for this message
Matthias Klose (doko) wrote :

works for me. can you reproduce this on another machine/hardware?

Changed in gcc-4.1:
status: New → Incomplete
Revision history for this message
Kaleb Pederson (kaleb-pederson) wrote : Re: [Bug 161087] Re: g++-4.1 segfaults on simple cpp file

I don't have another machine to test with, so I'm not sure.

--Kaleb

On Friday 23 November 2007, Matthias Klose wrote:
> works for me. can you reproduce this on another machine/hardware?
>
>
> ** Changed in: gcc-4.1 (Ubuntu)
> Status: New => Incomplete

Revision history for this message
Matthias Klose (doko) wrote :

closing, g++4.2 is the default g++ in hardy

Changed in gcc-4.1:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.