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 target/18078] New: Contradicting function attributes (cdecl vs stdcall)


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


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