[Bug target/46430] avr-elf --enable-werror-always build fails

amylaar at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 12 10:14:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46430

--- Comment #1 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> 2010-11-12 10:09:42 UTC ---
Author: amylaar
Date: Fri Nov 12 10:09:39 2010
New Revision: 166647

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166647
Log:
    PR target/46430
    * config/avr/avr-protos.h (avr_return_addr_rtx): Update prototype.
    * config/avr/driver-avr.c (avr_device_to_arch): Always return value.
    (avr_device_to_data_start, avr_device_to_startfiles): Likewise.
    (avr_device_to_devicelib): Likewise.
    * config/avr/avr.md (zero_extendqihi2): Put variable declarations
    into block.
    (zero_extendqisi2, zero_extendhisi2, zero_extendqidi2): Likewise.
    (zero_extendhidi2, zero_extendsidi2): Likewise.
    * config/avr/avr.c (avr_num_arg_regs): Constify type.
    (avr_return_addr_rtx): De-constify tem.
    (avr_rotate_bytes): Move declarations to start of block.
    Don't use variable length array.
    Put nested if/else into block.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/avr/avr-protos.h
    trunk/gcc/config/avr/avr.c
    trunk/gcc/config/avr/avr.md
    trunk/gcc/config/avr/driver-avr.c



More information about the Gcc-bugs mailing list