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 #28 from gdr at cs dot tamu dot edu  2008-01-07 06:57 -------
Subject: Re:  [4.2/4.3 regression] ICE with incompatible types for ?: with
"complex type" conversion

"mark at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org> writes:

| Imagine that you're a user.  You read about GNU __complex__ types in the
| manual.  You write some code with them.  Then, you want to call some C++
| functions that expect std::complex.  You look at the libstdc++ source
| code, notice a constructor there that does what you want, and use it.
| You upgrade to a new version of G++ and your code breaks.  I'm sure you
| agree that this doesn't make you happy.

But, as that hypothetical user, I would not have any ground to be unhappy.
After all, it was code based on unfounded extrapolations.

-- Gaby


-- 


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]