From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30474 invoked by alias); 21 Jan 2012 23:58:34 -0000 Received: (qmail 30464 invoked by uid 22791); 21 Jan 2012 23:58:33 -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; Sat, 21 Jan 2012 23:58:20 +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) on powerpc*-*-* Date: Sun, 22 Jan 2012 00:54: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: 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-01/txt/msg02494.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51934 --- Comment #8 from Dominique d'Humieres 2012-01-21 23:58:19 UTC --- > You mean errors out? format attribute must have 3 arguments. > Try leaf, or nothrow etc. attributes instead, format is a bad idea for a method > that isn't printf/scanf like. Well, format was the first attribute I have found with your requirements: common to all platforms, hangs before the commit and passes after it (aligned, cold, flatten, malloc, noclone, noinline, nothrow, pure don't work; ifunc , no_instrument_function, noreturn, no_split_stack give warnings or errors). nonnull meets also the above criteria, but is also supposed to use arguments. If someone has more patience than me, be my guest! Now if its use without arguments should yields an error, it is another bug.