This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/46450] New: xstormy16-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: Fri, 12 Nov 2010 12:48:12 +0000
- Subject: [Bug target/46450] New: xstormy16-elf --enable-werror-always build fails
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46450
Summary: xstormy16-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: 44433,44756
Target: xstormy16-elf
Beyond PR46433, there are target-specific reasons why xstormy16-elf doesn't
build configured with --enable-werror-always:
../../../gcc/gcc/config/stormy16/stormy16.c: In function
âxstormy16_expand_prologueâ:
../../../gcc/gcc/config/stormy16/stormy16.c:1112:2: 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/stormy16/stormy16.c:1137:2: 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/stormy16/stormy16.c: In function
âxstormy16_function_argâ:
../../../gcc/gcc/config/stormy16/stormy16.c:1282:49: error: comparison between
pointer and integer [-Werror]
../../../gcc/gcc/config/stormy16/stormy16.c:1284:3: error: passing argument 2
of âgen_rtx_REGâ makes integer from pointer without a cast [-Werror]
../../../gcc/gcc/rtl.h:2165:12: note: expected âunsigned intâ but argument is
of type âint *â
../../../gcc/gcc/config/stormy16/stormy16.c: In function
âxstormy16_expand_builtinâ:
../../../gcc/gcc/config/stormy16/stormy16.c:2335:30: error: enum conversion
when passing argument 4 of âexpand_exprâ is invalid in C++ [-Werror=c++-compat]
../../../gcc/gcc/expr.h:419:1: note: expected âenum expand_modifierâ but
argument is of type âintâ
../../../gcc/gcc/config/stormy16/stormy16.c:2349:2: error: enum conversion when
passing argument 1 of âgen_reg_rtxâ is invalid in C++ [-Werror=c++-compat]
../../../gcc/gcc/rtl.h:1630:12: note: expected âenum machine_modeâ but argument
is of type âintâ
../../../gcc/gcc/config/stormy16/stormy16.c:2351:2: error: enum conversion when
passing argument 1 of âgen_reg_rtxâ is invalid in C++ [-Werror=c++-compat]
../../../gcc/gcc/rtl.h:1630:12: note: expected âenum machine_modeâ but argument
is of type âintâ
../../../gcc/gcc/config/stormy16/stormy16.c:2360:8: error: enum conversion when
passing argument 1 of âgen_reg_rtxâ is invalid in C++ [-Werror=c++-compat]
../../../gcc/gcc/rtl.h:1630:12: note: expected âenum machine_modeâ but argument
is of type âintâ
../../../gcc/gcc/config/stormy16/stormy16.c:2363:6: error: enum conversion when
passing argument 1 of âcopy_to_mode_regâ is invalid in C++ [-Werror=c++-compat]
../../../gcc/gcc/expr.h:599:12: note: expected âenum machine_modeâ but argument
is of type âintâ
../../../gcc/gcc/config/stormy16/stormy16.c: In function âcombine_bnpâ:
../../../gcc/gcc/config/stormy16/stormy16.c:2394:18: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2435:12: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2435:41: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2435:46: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2435:68: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2437:35: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2440:43: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2441:48: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2445:43: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2448:8: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2452:30: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2455:18: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2456:21: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2463:12: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2463:41: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2463:46: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2463:68: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2465:24: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2466:43: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2467:48: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2470:30: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2473:18: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2474:21: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2478:11: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2489:33: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2506:8: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2509:64: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2565:66: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2568:52: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2594:7: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2595:18: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]