https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65910
Bug ID: 65910 Summary: r222473 breaks x86_64 darwin bootstrap Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: howarth.at.gcc at gmail dot com Target Milestone: --- The commit... ------------------------------------------------------------------------ r222473 | ctice | 2015-04-27 12:44:35 -0400 (Mon, 27 Apr 2015) | 17 lines Give proper type and size to named cold partitions. 2015-04-27 Caroline Tice <cmt...@google.com> * final.c (final_scan_insn): Output cold_function_nmae as function type. * varasm.c (cold_function_name): Make gloval. (assemble_start_function): Re-set cold_function_name. (assemble_end_function): Output cold partition size. * varasm.h (cold_fun ction_name): Declare global. 2015-04-27 Caroline Tice <cmt...@google.com> * gcc.dg/tree-prof/cold_partition_label.c (main): Check for cold partition size. breaks the bootstrap of gcc trunk on x86_64-apple-darwin using the clang compilers from Xcode 6.3. The previous commit r222472 bootstraps fine. The bootstrap failure appears as... g++ -c -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc-6-20150427/gcc -I../../gcc-6-20150427/gcc/. -I../../gcc-6-20150427/gcc/../include -I../../gcc-6-20150427/gcc/../libcpp/include -I/sw/include -I/sw/include -I../../gcc-6-20150427/gcc/../libdecnumber -I../../gcc-6-20150427/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-6-20150427/gcc/../libbacktrace -I/sw/include -I/sw/include -o varasm.o -MT varasm.o -MMD -MP -MF ./.deps/varasm.TPo ../../gcc-6-20150427/gcc/varasm.c ... ../../gcc-6-20150427/gcc/varasm.c:1868:2: error: use of undeclared identifier 'ASM_DECLARE_FUNCTION_SIZE' ASM_DECLARE_FUNCTION_SIZE (asm_out_file, ^