PR target/56564 * varasm.c (align_variable): Don't use DATA_ALIGNMENT or CONSTANT_ALIGNMENT if !decl_binds_to_current_def_p (decl). Use DATA_ABI_ALIGNMENT for that case instead if defined. (get_variable_align): New function. (get_variable_section, emit_bss, emit_common, assemble_variable_contents, place_block_symbol): Use get_variable_align instead of DECL_ALIGN. (assemble_noswitch_variable): Add align argument, use it instead of DECL_ALIGN. (assemble_variable): Adjust caller. Use get_variable_align instead of DECL_ALIGN. * config/i386/i386.h (DATA_ALIGNMENT): Adjust x86_data_alignment caller. (DATA_ABI_ALIGNMENT): Define. * config/i386/i386-protos.h (x86_data_alignment): Adjust prototype. * config/i386/i386.c (x86_data_alignment): Add opt argument. If opt is false, only return the psABI mandated alignment increase. * config/c6x/c6x.h (DATA_ALIGNMENT): Renamed to... (DATA_ABI_ALIGNMENT): ... this. * config/mmix/mmix.h (DATA_ALIGNMENT): Renamed to... (DATA_ABI_ALIGNMENT): ... this. * config/mmix/mmix.c (mmix_data_alignment): Adjust function comment. * config/s390/s390.h (DATA_ALIGNMENT): Renamed to... (DATA_ABI_ALIGNMENT): ... this. * doc/tm.texi.in (DATA_ABI_ALIGNMENT): Document. * doc/tm.texi: Regenerated. * gcc.target/i386/pr56564-1.c: New test. * gcc.target/i386/pr56564-2.c: New test. * gcc.target/i386/pr56564-3.c: New test. * gcc.target/i386/pr56564-4.c: New test. * gcc.target/i386/avx256-unaligned-load-4.c: Add -fno-common. * gcc.target/i386/avx256-unaligned-store-1.c: Likewise. * gcc.target/i386/avx256-unaligned-store-3.c: Likewise. * gcc.target/i386/avx256-unaligned-store-4.c: Likewise. * gcc.target/i386/vect-sizes-1.c: Likewise. * gcc.target/i386/memcpy-1.c: Likewise. * gcc.dg/vect/costmodel/i386/costmodel-vect-31.c (tmp): Initialize. * gcc.dg/vect/costmodel/x86_64/costmodel-vect-31.c (tmp): Likewise. From-SVN: r199898
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
c6x-isas.def | Loading commit data... | |
c6x-modes.def | Loading commit data... | |
c6x-mult.md | Loading commit data... | |
c6x-mult.md.in | Loading commit data... | |
c6x-opts.h | Loading commit data... | |
c6x-protos.h | Loading commit data... | |
c6x-sched.md | Loading commit data... | |
c6x-sched.md.in | Loading commit data... | |
c6x-tables.opt | Loading commit data... | |
c6x.c | Loading commit data... | |
c6x.h | Loading commit data... | |
c6x.md | Loading commit data... | |
c6x.opt | Loading commit data... | |
c6x_intrinsics.h | Loading commit data... | |
constraints.md | Loading commit data... | |
elf-common.h | Loading commit data... | |
elf.h | Loading commit data... | |
genmult.sh | Loading commit data... | |
genopt.sh | Loading commit data... | |
gensched.sh | Loading commit data... | |
predicates.md | Loading commit data... | |
sync.md | Loading commit data... | |
t-c6x | Loading commit data... | |
t-c6x-elf | Loading commit data... | |
t-c6x-uclinux | Loading commit data... | |
uclinux-elf.h | Loading commit data... |