From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24861 invoked by alias); 22 Nov 2012 19:11:26 -0000 Received: (qmail 24813 invoked by uid 48); 22 Nov 2012 19:11:13 -0000 From: "ktietz at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/54895] the compiler treats '__cdecl' & '__stdcall' as the same. Date: Thu, 22 Nov 2012 19:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ktietz at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-11/txt/msg02157.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54895 --- Comment #9 from Kai Tietz 2012-11-22 19:11:12 UTC --- (In reply to comment #8) > So it works everywhere? ;) Well, it doesn't work for all targets providing different calling-conventions for functions. Eg functions with regparm, stdcall, etc That the sample is architecture specific, doesn't make it there for target specific, isn't it? ;)