public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/23645] New: internal compiler error
@ 2005-08-30 23:55 xiaoyi_wu at yahoo dot com
2005-08-31 0:02 ` [Bug c++/23645] " pinskia at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: xiaoyi_wu at yahoo dot com @ 2005-08-30 23:55 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1374 bytes --]
$ uname -a
Linux rathercry.corp.yahoo.com 2.6.9-11.EL #1 Fri May 20 18:17:57 EDT 2005 i686
i686 i386 GNU/Linux
$ g++ -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.0.1/configure --prefix=/exp/opt/gcc401
--enable-languages=c++
Thread model: posix
gcc version 4.0.1
$ cat main.cc
namespace z {
class A {
public:
A(int);
~A();
};
#ifdef _IMPL
A::A(int) {}
A::~A() {}
#endif
}
using namespace z;
int main() {
A a(0), b(0);
}
$ g++ -Wall -O3 main.cc
main.cc: In function int main():
main.cc:15: 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.
/* g++ -Wall -O3 -D_IMPL main.cc
compiles fine, and
g++ -Wall main.cc
compiles fine, but linking complains about undefined A(int) and ~A(), as
expected.
*/
--
Summary: internal compiler error
Product: gcc
Version: 4.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: xiaoyi_wu at yahoo dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: Linux
GCC host triplet: Linux
GCC target triplet: Linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23645
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/23645] internal compiler error
2005-08-30 23:55 [Bug c++/23645] New: internal compiler error xiaoyi_wu at yahoo dot com
@ 2005-08-31 0:02 ` pinskia at gcc dot gnu dot org
2005-08-31 8:56 ` rguenth at gcc dot gnu dot org
2005-08-31 11:07 ` rguenth at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-31 0:02 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Known to work| |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23645
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/23645] internal compiler error
2005-08-30 23:55 [Bug c++/23645] New: internal compiler error xiaoyi_wu at yahoo dot com
2005-08-31 0:02 ` [Bug c++/23645] " pinskia at gcc dot gnu dot org
@ 2005-08-31 8:56 ` rguenth at gcc dot gnu dot org
2005-08-31 11:07 ` rguenth at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-08-31 8:56 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rguenth at gcc dot gnu dot org 2005-08-31 08:55 -------
I cannot reproduce this with a checking enabled 4.0.2 20050826 (prerelease)
on i686-pc-linux-gnu.
--
What |Removed |Added
----------------------------------------------------------------------------
Known to work|4.1.0 |4.1.0 4.0.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23645
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/23645] internal compiler error
2005-08-30 23:55 [Bug c++/23645] New: internal compiler error xiaoyi_wu at yahoo dot com
2005-08-31 0:02 ` [Bug c++/23645] " pinskia at gcc dot gnu dot org
2005-08-31 8:56 ` rguenth at gcc dot gnu dot org
@ 2005-08-31 11:07 ` rguenth at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-08-31 11:07 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rguenth at gcc dot gnu dot org 2005-08-31 11:04 -------
None of 4.0.0, 4.0.1 or current 4.0.2 shows this problem. Please at least try
again with a recent 4.0.2 snapshot.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Known to work|4.1.0 4.0.2 |4.1.0 4.0.2 4.0.0 4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23645
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-08-31 11:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-30 23:55 [Bug c++/23645] New: internal compiler error xiaoyi_wu at yahoo dot com
2005-08-31 0:02 ` [Bug c++/23645] " pinskia at gcc dot gnu dot org
2005-08-31 8:56 ` rguenth at gcc dot gnu dot org
2005-08-31 11:07 ` rguenth at gcc dot gnu dot 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).