http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46407
Summary: rx-elf --enable-werror-all build failure Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: amyl...@gcc.gnu.org Depends on: 44764 Blocks: 44756 Target: rx-elf Beyond PR44764, these is an excess SEMICOLON on REGISTER_NAMES, and then: ../../gcc/gcc/config/rx/rx.c: In function ‘rx_promote_function_mode’: ../../gcc/gcc/config/rx/rx.c:849:12: error: unused parameter ‘punsignedp’ [-Werror=unused-parameter] ../../gcc/gcc/config/rx/rx.c: In function ‘rx_expand_builtin’: ../../gcc/gcc/config/rx/rx.c:2043:7: error: passing argument 2 of ‘valid_psw_flag’ discards ‘const’ qualifier from pointer target type [-Werror] ../../gcc/gcc/config/rx/rx.c:2003:1: note: expected ‘char *’ but argument is of type ‘const char *’ ../../gcc/gcc/config/rx/rx.c:2047:7: error: passing argument 2 of ‘valid_psw_flag’ discards ‘const’ qualifier from pointer target type [-Werror] ../../gcc/gcc/config/rx/rx.c:2003:1: note: expected ‘char *’ but argument is of type ‘const char *’ ../../gcc/gcc/config/rx/rx.c: At top level: ../../gcc/gcc/config/rx/rx.c:2872:8: error: initialization from incompatible pointer type [-Werror] ../../gcc/gcc/config/rx/rx.c:2872:8: error: (near initialization for ‘targetm.memory_move_cost’) [-Werror]