This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24439] ICE with invert conditional containing throw
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Nov 2005 11:24:26 -0000
- Subject: [Bug c++/24439] ICE with invert conditional containing throw
- References: <bug-24439-4066@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from reichelt at gcc dot gnu dot org 2005-11-17 11:24 -------
This is not really a regression, since evn with 2.95.3 we get an ICE
(with --enable-checking):
bug.cc: In function `int main()':
bug.cc:4: converting to `void' from `int'
bug.cc:4: void value not ignored as it ought to be
bug.cc:4: ../../gcc-2.95.3/gcc/fold-const.c:2095: Expect 't', have 'error_mark'
The last line is in fact an ICE. So 2.95.3 wrongly reports an error and
ICE's afterwards.
Since we don't have a regression, I'm closing the PR.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|NEW |RESOLVED
Resolution| |FIXED
Summary|[3.4/4.0 Regression] ICE |ICE with invert conditional
|with invert conditional |containing throw
|containing throw |
Target Milestone|4.0.3 |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24439