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 #12 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-07-08 17:46:42 UTC ---
Author: gjl
Date: Fri Jul  8 17:46:38 2011
New Revision: 176055

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

    PR target/46779
    Backport from mainline SVN 176053.
    2011-07-08  Georg-Johann Lay
    * 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:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/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]