This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/46779] wrong code generation for array access


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

--- Comment #11 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-07-08 17:38:43 UTC ---
Author: gjl
Date: Fri Jul  8 17:38:39 2011
New Revision: 176053

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176053
Log:

    PR target/46779
    * config/avr/avr.c (avr_hard_regno_mode_ok): Rewrite.
    In particular, allow 8-bit values in r28 and r29.
    (avr_hard_regno_scratch_ok): Disallow any register that might be
    part of the frame pointer.
    (avr_hard_regno_rename_ok): Same.
    (avr_legitimate_address_p): Don't allow SUBREGs.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/avr/avr.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]