Some "issues":

  __real accepts a struct argument, __imag doesn't.
  __real and __imag both accept pointer arguments.
  both accept vectors.  What does a complex vector mean?

They should all reject all of them.  Though it seems questionable to accept a
scalar argument at all to real/imag, they certainly shouldn't accept pointers
or aggregates.

-Chris


-- 
           Summary: slopiness in __real/__imag
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sabre at nondot dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33193

Reply via email to