[Bug target/48896] New: avr.o warnings
amylaar at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu May 5 23:50:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48896
Summary: avr.o warnings
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Keywords: build
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: amylaar@gcc.gnu.org
CC: eric.weddington@atmel.com, aesok@pautinka.net
Blocks: 44756
Target: avr-elf, avr-rtems
gcc -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror
-Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -I. -I.
-I../../../gcc/gcc -I../../../gcc/gcc/. -I../../../gcc/gcc/../include
-I../../../gcc/gcc/../libcpp/include -I/opt/cfarm/mpc/include
-I../../../gcc/gcc/../libdecnumber -I../../../gcc/gcc/../libdecnumber/dpd
-I../libdecnumber \
../../../gcc/gcc/config/avr/avr.c -o avr.o
../../../gcc/gcc/config/avr/avr.c: In function ‘avr_function_value_regno_p’:
../../../gcc/gcc/config/avr/avr.c:6190:17: error: comparison between signed and
unsigned integer expressions [-Werror=sign-compare]
../../../gcc/gcc/config/avr/avr.c: In function ‘avr_function_value’:
../../../gcc/gcc/config/avr/avr.c:6214:20: error: initialization from
incompatible pointer type [-Werror]
../../../gcc/gcc/config/avr/avr.c: In function ‘avr_expand_unop_builtin’:
../../../gcc/gcc/config/avr/avr.c:6712:3: error: enum conversion when passing
argument 4 of ‘expand_expr’ is invalid in C++ [-Werror=c++-compat]
../../../gcc/gcc/expr.h:416:1: note: expected ‘enum expand_modifier’ but
argument is of type ‘int’
../../../gcc/gcc/config/avr/avr.c: In function ‘avr_expand_binop_builtin’:
../../../gcc/gcc/config/avr/avr.c:6753:3: error: enum conversion when passing
argument 4 of ‘expand_expr’ is invalid in C++ [-Werror=c++-compat]
../../../gcc/gcc/expr.h:416:1: note: expected ‘enum expand_modifier’ but
argument is of type ‘int’
../../../gcc/gcc/config/avr/avr.c:6754:3: error: enum conversion when passing
argument 4 of ‘expand_expr’ is invalid in C++ [-Werror=c++-compat]
../../../gcc/gcc/expr.h:416:1: note: expected ‘enum expand_modifier’ but
argument is of type ‘int’
../../../gcc/gcc/config/avr/avr.c: In function ‘avr_expand_builtin’:
../../../gcc/gcc/config/avr/avr.c:6846:9: error: enum conversion when passing
argument 4 of ‘expand_expr’ is invalid in C++ [-Werror=c++-compat]
../../../gcc/gcc/expr.h:416:1: note: expected ‘enum expand_modifier’ but
argument is of type ‘int’
cc1: all warnings being treated as errors
More information about the Gcc-bugs
mailing list