This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/31780] [4.3 regression] ICE with incompatible types for ?: with "complex type" conversion



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]