diff options
author | Olivier Hainque <hainque@adacore.com> | 2009-05-27 16:06:44 +0000 |
---|---|---|
committer | Olivier Hainque <hainque@gcc.gnu.org> | 2009-05-27 16:06:44 +0000 |
commit | ceadb728b046622ad72dcd5df7fc8cba2767c09b (patch) | |
tree | f0363ecd3a5e0d7186fb53caf50d4ad1fd624591 /gcc/tree-flow.h | |
parent | c1df0e1ac5fa4fae5dabbace846c1aefeca3e4a9 (diff) | |
download | gcc-ceadb728b046622ad72dcd5df7fc8cba2767c09b.zip gcc-ceadb728b046622ad72dcd5df7fc8cba2767c09b.tar.gz gcc-ceadb728b046622ad72dcd5df7fc8cba2767c09b.tar.bz2 |
expr.c (target_align): New function.
* expr.c (target_align): New function. Alignment the TARGET of an
assignment may be assume to have.
(highest_pow2_factor_for_target): Use it instead of relying on
immediate tree attributes of TARGET, not necessarily honored when
intermediate bitfields are involved.
testsuite/
* gcc.c-torture/execute/align-nest.c: New testcase.
* gnat.dg/misaligned_nest.adb: New testcase.
Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com>
From-SVN: r147916
Diffstat (limited to 'gcc/tree-flow.h')
0 files changed, 0 insertions, 0 deletions