This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/31780] [4.3 regression] ICE with incompatible types for ?: with "complex type" conversion
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 May 2007 00:46:45 -0000
- Subject: [Bug c++/31780] [4.3 regression] ICE with incompatible types for ?: with "complex type" conversion
- References: <bug-31780-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-05-02 01:46 -------
> bug.cc:5: error: could not convert '0' to 'int __complex__'
Actually it should be able to convert that and I think this is the same reason
why we are rejecting PR 30209.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Keywords|error-recovery, ice-on- |ice-on-valid-code
|invalid-code |
Summary|[4.3 regression] ICE with |[4.3 regression] ICE with
|incompatible types for ?: |incompatible types for ?:
| |with "complex type"
| |conversion
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31780