This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/46438] New: xtensa-elf --enable-werror-always build fails
- From: "amylaar at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 11 Nov 2010 13:26:05 +0000
- Subject: [Bug target/46438] New: xtensa-elf --enable-werror-always build fails
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46438
Summary: xtensa-elf --enable-werror-always build fails
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Keywords: build
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: amylaar@gcc.gnu.org
Blocks: 44756
Target: xtensa-elf
../../../gcc/gcc/config/xtensa/xtensa.c: In function
âxtensa_expand_nonlocal_gotoâ:
../../../gcc/gcc/config/xtensa/xtensa.c:1310:8: error: enum conversion when
passing argument 2 of âemit_library_callâ is invalid in C++
[-Werror=c++-compat]
../../../gcc/gcc/rtl.h:2480:13: note: expected âenum libcall_typeâ but argument
is of type âintâ
../../../gcc/gcc/config/xtensa/xtensa.c: In function
âxtensa_setup_frame_addressesâ:
../../../gcc/gcc/config/xtensa/xtensa.c:1586:6: error: enum conversion when
passing argument 2 of âemit_library_callâ is invalid in C++
[-Werror=c++-compat]
../../../gcc/gcc/rtl.h:2480:13: note: expected âenum libcall_typeâ but argument
is of type âintâ
../../../gcc/gcc/config/xtensa/xtensa.c: In function âxtensa_function_arg_1â:
../../../gcc/gcc/config/xtensa/xtensa.c:2053:13: error: assignment discards
âconstâ qualifier from pointer target type [-Werror]
../../../gcc/gcc/config/xtensa/xtensa.c: In function âxtensa_expand_prologueâ:
../../../gcc/gcc/config/xtensa/xtensa.c:2640:3: error: enum conversion when
passing argument 2 of âgen_rtx_fmt_ee_statâ is invalid in C++
[-Werror=c++-compat]
./genrtl.h:24:1: note: expected âenum machine_modeâ but argument is of type
âintâ
../../../gcc/gcc/config/xtensa/xtensa.c: In function âxtensa_trampoline_initâ:
../../../gcc/gcc/config/xtensa/xtensa.c:3593:8: error: enum conversion when
passing argument 2 of âemit_library_callâ is invalid in C++
[-Werror=c++-compat]
../../../gcc/gcc/rtl.h:2480:13: note: expected âenum libcall_typeâ but argument
is of type âintâ