public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/16312] New: with -Wall ICE on valid code, without -Wall OK
@ 2004-07-01 10:26 salinger at sun dot felk dot cvut dot cz
2004-07-01 11:06 ` [Bug c++/16312] " reichelt at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: salinger at sun dot felk dot cvut dot cz @ 2004-07-01 10:26 UTC (permalink / raw)
To: gcc-bugs
GNU C++ version 3.5.0 20040627 (experimental) (i686-pc-linux-gnu)
Configured with: ../configure --prefix=/tmp --enable-threads=posix
--enable-languages=c++ --enable-version-specific-runtime-libs
The following code compiled with "g++ -Wall" qives:
x.cc: In destructor `aaa::~aaa()':
x.cc:14: internal compiler error: Segmentation fault
Wthout "-Wall" it compiles ok.
class xxx
{
public:
~xxx(){}
};
class aaa
{
public:
xxx* v;
~aaa()
{
delete[] v;
}
};
--
Summary: with -Wall ICE on valid code, without -Wall OK
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: salinger at sun dot felk dot cvut dot cz
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16312
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/16312] with -Wall ICE on valid code, without -Wall OK
2004-07-01 10:26 [Bug c++/16312] New: with -Wall ICE on valid code, without -Wall OK salinger at sun dot felk dot cvut dot cz
@ 2004-07-01 11:06 ` reichelt at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-07-01 11:06 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-07-01 11:06 -------
It's a duplicate of PR 16205 and PR 16247.
Fortunately the bug has been fixed on 2004-06-28.
*** This bug has been marked as a duplicate of 16205 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16312
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-07-01 11:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-01 10:26 [Bug c++/16312] New: with -Wall ICE on valid code, without -Wall OK salinger at sun dot felk dot cvut dot cz
2004-07-01 11:06 ` [Bug c++/16312] " reichelt 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).