Module Name:    src
Committed By:   apb
Date:           Fri Oct 18 13:24:40 UTC 2013

Modified Files:
        src/external/gpl3/gcc/dist/gcc: output.h

Log Message:
When building gcc using clang, avoid trying to use
__attribute__((__format__(__asm_fprintf__, ...)))
because clang doesn't support that.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/gcc/dist/gcc/output.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/dist/gcc/output.h
diff -u src/external/gpl3/gcc/dist/gcc/output.h:1.1.1.1 src/external/gpl3/gcc/dist/gcc/output.h:1.2
--- src/external/gpl3/gcc/dist/gcc/output.h:1.1.1.1	Tue Jun 21 01:20:04 2011
+++ src/external/gpl3/gcc/dist/gcc/output.h	Fri Oct 18 13:24:40 2013
@@ -115,7 +115,7 @@ extern void output_addr_const (FILE *, r
 
 /* Output a string of assembler code, substituting numbers, strings
    and fixed syntactic prefixes.  */
-#if GCC_VERSION >= 3004
+#if GCC_VERSION >= 3004 && !defined(__clang__)
 #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m)
 /* This is a magic identifier which allows GCC to figure out the type
    of HOST_WIDE_INT for %wd specifier checks.  You must issue this

Reply via email to