/* contradicting - should be an error */
static
__attribute__((cdecl))
__attribute__((stdcall))
    int test_cdecl_03(int r) { return r << 3; }


/* contradicting - should be an error */
static
__attribute__((stdcall))
__attribute__((cdecl))
    int test_cdecl_04(int r) { return r << 4; }

-- 
           Summary: Contradicting function attributes (cdecl vs stdcall)
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: accepts-invalid
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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

Reply via email to