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

--- Comment #4 from Alan Modra <amodra at gcc dot gnu.org> 2011-03-15 12:57:42 
UTC ---
Author: amodra
Date: Tue Mar 15 12:57:37 2011
New Revision: 170990

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170990
Log:
    PR target/48032
    * config/rs6000/rs6000.c (offsettable_ok_by_alignment): Do not
    presume symbol_refs without a symbol_ref_decl are suitably
    aligned, nor other trees we may see here.  Handle anchor symbols.
    (legitimate_constant_pool_address_p): Comment.  Add mode param.
    Check cmodel=medium addresses.  Adjust all calls.
    (rs6000_emit_move): Don't call offsettable_ok_by_alignment on
    creating cmodel=medium optimized access to locals.
    * config/rs6000/constraints.md (R): Pass QImode to
    legitimate_constant_pool_address_p.
    * config/rs6000/predicates.md (input_operand): Pass mode to
    legitimate_constant_pool_address_p.
    * config/rs6000/rs6000-protos.h (legitimate_constant_pool_address_p):
    Update prototype.


Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/config/rs6000/constraints.md
    branches/gcc-4_6-branch/gcc/config/rs6000/predicates.md
    branches/gcc-4_6-branch/gcc/config/rs6000/rs6000-protos.h
    branches/gcc-4_6-branch/gcc/config/rs6000/rs6000.c

Reply via email to