This is the mail archive of the gcc-patches@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]

Re: [PATCH, C++] Fix PR63366: __complex not equivalent to __complex double in C++


On 10/09/2014 09:30 AM, Nathan Sidwell wrote:
+  return typeid (__complex) != typeid (__complex double);

Don't we want this to be '=='?

I think it wants to check for _complex being __complex double, not not
being _complex int  (other failure modes exist!)

Right, I was forgetting about returning nonzero for failure.

Jason


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