This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/31780] [4.2/4.3 regression] ICE with incompatible types for ?: with "complex type" conversion
- From: "mark at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jan 2008 07:44:44 -0000
- Subject: [Bug c++/31780] [4.2/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 #30 from mark at codesourcery dot com 2008-01-07 07:44 -------
Subject: Re: [4.2/4.3 regression] ICE with incompatible types
for ?: with "complex type" conversion
gdr at cs dot tamu dot edu wrote:
> | Is it conceivable that ISO C++ will ever add a
> | complex<double>::complex(int) constructor that doesn't set the real part
> | to the value of the argument (converted to double), and the imaginary
> | part to zero?
>
> That isn't the issue. My concern is whether ISO C++ will ever
> change conversion rules, say from integers to floats or doubles. The
> answer is likely.
What's the likely change?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31780