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.2/4.3 regression] ICE with incompatible types for ?: with "complex type" conversion



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


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