This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/44849] New: r161876 breaks bootstrap on darwin.
- From: "howarth at nitro dot med dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jul 2010 22:25:10 -0000
- Subject: [Bug bootstrap/44849] New: r161876 breaks bootstrap on darwin.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Author: ktietz
Date: Tue Jul 6 18:27:41 2010
New Revision: 161876
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161876
Log:
2010-07-06 Kai Tietz <kai.tietz@onevision.com>
* config/i386/i386.c (ix86_function_ms_hook_prologue): Enable x64
support.
(ix86_expand_prologue): Likewise.
(ix86_handle_fndecl_attribute): Likewise.
(ix86_asm_declare_function_name): New function for
ASM_DECLARE_FUNCTION_NAME.
* config/i386/i386.h (ASM_DECLARE_FUNCTION_NAME): New macro.
* config/i386/cygming.h (ASM_DECLARE_FUNCTION_NAME): Removed.
(SUBTARGET_ASM_DECLARE_FUNCTION_NAME): New macro.
* config/i386/i386-protos.h (ix86_asm_declare_function_name): New.
* doc/extend.texi: Adjust documentation about ms_hook_prologue
attribute.
breaks the bootstrap of gcc trunk on *-apple-darwin* with
ASM_DECLARE_FUNCTION_NAME being redefined in gcc/config/darwin.h now. Using....
Index: gcc/config/darwin.h
===================================================================
--- gcc/config/darwin.h (revision 161889)
+++ gcc/config/darwin.h (working copy)
@@ -635,7 +635,8 @@
assemble_zeros (1); \
} while (0)
-#define ASM_DECLARE_FUNCTION_NAME(FILE, NAME, DECL) \
+#undef SUBTARGET_ASM_DECLARE_FUNCTION_NAME
+#define SUBTARGET_ASM_DECLARE_FUNCTION_NAME(FILE, NAME, DECL)
\
do { \
const char *xname = NAME; \
if (GET_CODE (XEXP (DECL_RTL (DECL), 0)) != SYMBOL_REF) \
@@ -649,7 +650,6 @@
&& (!DECL_COMMON (DECL) || !TREE_PUBLIC (DECL))) \
|| DECL_INITIAL (DECL))
\
(* targetm.encode_section_info) (DECL, DECL_RTL (DECL), false); \
- ASM_OUTPUT_LABEL (FILE, xname); \
} while (0)
#undef TARGET_ASM_DECLARE_CONSTANT_NAME
produces a different bootstrap failure of...
/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./prev-gcc/xgcc
-B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./prev-gcc/
-B/sw/lib/gcc4.6/x86_64-apple-darwin10.4.0/bin/
-B/sw/lib/gcc4.6/x86_64-apple-darwin10.4.0/bin/
-B/sw/lib/gcc4.6/x86_64-apple-darwin10.4.0/lib/ -isystem
/sw/lib/gcc4.6/x86_64-apple-darwin10.4.0/include -isystem
/sw/lib/gcc4.6/x86_64-apple-darwin10.4.0/sys-include -c -g -O2 -gtoggle
-DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition
-Wc++-compat -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6-20100706/gcc
-I../../gcc-4.6-20100706/gcc/. -I../../gcc-4.6-20100706/gcc/../include
-I../../gcc-4.6-20100706/gcc/../libcpp/include -I/sw/include -I/sw/include
-I../../gcc-4.6-20100706/gcc/../libdecnumber
-I../../gcc-4.6-20100706/gcc/../libdecnumber/dpd -I../libdecnumber
-I/sw/include -I/sw/include -DCLOOG_PPL_BACKEND -I/sw/include -I. -I.
-I../../gcc-4.6-20100706/gcc -I../../gcc-4.6-20100706/gcc/.
-I../../gcc-4.6-20100706/gcc/../include
-I../../gcc-4.6-20100706/gcc/../libcpp/include -I/sw/include -I/sw/include
-I../../gcc-4.6-20100706/gcc/../libdecnumber
-I../../gcc-4.6-20100706/gcc/../libdecnumber/dpd -I../libdecnumber
-I/sw/include -I/sw/include -DCLOOG_PPL_BACKEND
../../gcc-4.6-20100706/gcc/config/host-darwin.c
../../gcc-4.6-20100706/gcc/config/i386/i386.c: In function
'ix86_asm_declare_function_name':
../../gcc-4.6-20100706/gcc/config/i386/i386.c:5121:3: error: variable 'xname'
set but not used [-Werror=unused-but-set-variable]
--
Summary: r161876 breaks bootstrap on darwin.
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: howarth at nitro dot med dot uc dot edu
GCC build triplet: *-apple-darwin*
GCC host triplet: *-apple-darwin*
GCC target triplet: *-apple-darwin*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44849