From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20154 invoked by alias); 12 Sep 2014 05:22:55 -0000 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 Received: (qmail 20107 invoked by uid 48); 12 Sep 2014 05:22:49 -0000 From: "andi-gcc at firstfloor dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/63236] New: building fails with --disable-bootstrap Date: Fri, 12 Sep 2014 05:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: andi-gcc at firstfloor dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-09/txt/msg01477.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63236 Bug ID: 63236 Summary: building fails with --disable-bootstrap Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: andi-gcc at firstfloor dot org When I build with --disable-bootstrap i now always get Host compiler gcc version 4.8.1 20130909 [gcc-4_8-branch revision 202388] (SUSE Linux) Is the new C++ tree code getting miscompiled? libtool: compile: /home/ak/gcc/obj/./gcc/xgcc -B/home/ak/gcc/obj/./gcc/ -B/usr/local/x86_64-unknown-linux-gnu/bin/ -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/x86_64-unknown-linux-gnu/include -isystem /usr/local/x86_64-unknown-linux-gnu/sys-include "-DPACKAGE_NAME=\"Cilk Runtime Library\"" -DPACKAGE_TARNAME=\"cilk-runtime-library\" -DPACKAGE_VERSION=\"2.0\" "-DPACKAGE_STRING=\"Cilk Runtime Library 2.0\"" -DPACKAGE_BUGREPORT=\"cilk@intel.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cilk-runtime-library\" -DVERSION=\"2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_ATTRIBUTE_VISIBILITY=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_AFFINITY_NP=1 -I. -I../../../gcc/libcilkrts -I../../../gcc/libcilkrts/include -I../../../gcc/libcilkrts/runtime -I../../../gcc/libcilkrts/runtime/config/x86 -DIN_CILK_RUNTIME=1 -pthread -fcilkplus -I../../../gcc/libcilkrts/include -I../../../gcc/libcilkrts/runtime -I../../../gcc/libcilkrts/runtime/config/x86 -DIN_CILK_RUNTIME=1 -fcilkplus -std=c99 -g -O2 -MT os-unix-sysdep.lo -MD -MP -MF .deps/os-unix-sysdep.Tpo -c ../../../gcc/libcilkrts/runtime/config/x86/os-unix-sysdep.c -fPIC -DPIC -o .libs/os-unix-sysdep.o ../../../gcc/libcilkrts/runtime/config/x86/os-unix-sysdep.c: In function 'restore_x86_fp_state': ../../../gcc/libcilkrts/runtime/config/x86/os-unix-sysdep.c:114:5: internal compiler error: tree check: expected tree_list, have var_decl in get_attribute_name, at attribs.c:679 if (__builtin_cpu_supports("sse")) ^ 0xc814f4 tree_check_failed(tree_node const*, char const*, int, char const*, ...) ../../gcc/gcc/tree.c:9160 0x574a45 tree_check ../../gcc/gcc/tree.h:2967 0x574a45 get_attribute_name(tree_node const*) ../../gcc/gcc/attribs.c:679 0xc84605 private_lookup_attribute(char const*, unsigned long, tree_node*) ../../gcc/gcc/tree.c:5746 0xcdbf78 lookup_attribute ../../gcc/gcc/tree.h:3773 0xcdbf78 varpool_node::add(tree_node*) ../../gcc/gcc/varpool.c:452 0xcf9942 fold_builtin_cpu ../../gcc/gcc/config/i386/i386.c:32484 0x69017f fold_builtin_call_array(unsigned int, tree_node*, tree_node*, int, tree_node**) ../../gcc/gcc/builtins.c:10565 0x5acca4 build_function_call_vec(unsigned int, vec, tree_node*, vec*, vec*)