From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18800 invoked by alias); 23 Jan 2012 15:51:30 -0000 Received: (qmail 18786 invoked by uid 22791); 23 Jan 2012 15:51:28 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 23 Jan 2012 15:51:15 +0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/51934] FAIL: g++.dg/torture/pr51344.C -O0 (test for excess errors) due to "cdecl attribute ignored" warning Date: Mon, 23 Jan 2012 16:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: RESOLVED 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-01/txt/msg02663.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51934 --- Comment #17 from Dominique d'Humieres 2012-01-23 15:50:16 UTC --- > g++.dg/torture/pr51344.C: Limit to x86. Note that using 'format' instead of 'cdecl' hangs also on powerpc-apple-darwin9: [karma] f90/bug% time g++-fsf-4.6 pr51344_db.C ^C0.002u 0.006s 1:35.05 0.0% 0+0k 2+7io 46pf+0w ^ | interrupted [karma] f90/bug% time /opt/gcc/gcc4.7w/bin/g++ -c pr51344_db.C 0.036u 0.071s 0:01.50 6.6% 0+0k 16+10io 792pf+0w [karma] f90/bug% /opt/gcc/gcc4.7w/bin/g++ -v Using built-in specs. COLLECT_GCC=/opt/gcc/gcc4.7w/bin/g++ COLLECT_LTO_WRAPPER=/opt/gcc/gcc4.7w/libexec/gcc/powerpc-apple-darwin9.8.0/4.7.0/lto-wrapper Target: powerpc-apple-darwin9.8.0 Configured with: ../work/configure --prefix=/opt/gcc/gcc4.7w --enable-languages=c,c++,fortran,objc,obj-c++,java,ada,lto --with-gmp=/opt/mp --with-system-zlib --with-cloog=/opt/mp --enable-lto --enable-cloog-backend=isl Thread model: posix gcc version 4.7.0 20120121 (experimental) [trunk revision 183381p3] (GCC) If 'format' is invalid in this context, g++ should probably emit an error instead of hanging.