This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16698] [3.3/3.4/3.5 Regression] ICE with exceptions and declaration of __cxa_throw
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jul 2004 00:06:25 -0000
- Subject: [Bug c++/16698] [3.3/3.4/3.5 Regression] ICE with exceptions and declaration of __cxa_throw
- References: <20040724043117.16698.gkajmowi@tbaytel.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-07-26 00:06 -------
Indeed, this is a regression over 2.95 introduced with the new ABI.
The ICE can be reduced to this:
-------------------
extern "C" void __cxa_throw (void *, void *, void (*) (void *) );
void foo(){
throw 1;
}
-------------------
This ICEs everything since 3.2.3 and including mainline:
x/gg> /home/bangerth/bin/gcc-3.5*/bin/c++ -c x.ii
x.ii: In function `void foo()':
x.ii:4: 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.
It has something to do with the actual name of the function declaration,
since if I change it the ICE goes away.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |rejects-valid
Last reconfirmed|0000-00-00 00:00:00 |2004-07-26 00:06:23
date| |
Summary|[3.3/3.4/3.5 Regression] |[3.3/3.4/3.5 Regression] ICE
|Segmentation Fault when |with exceptions and
|trying to compile code using|declaration of __cxa_throw
|exceptions |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16698