]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR target/42448 (Wrong code with _Complex char in structure)
authorUros Bizjak <ubizjak@gmail.com>
Sat, 2 Jan 2010 14:32:23 +0000 (15:32 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Sat, 2 Jan 2010 14:32:23 +0000 (15:32 +0100)
commite4a943eb06af58bfb490b305ffab5e156f1dae00
tree6a38b81403b6bf68cac1e34fc71525d0e0bd99b7
parent21c0be5281be1133b6188f48d2cac8a000e3f764
re PR target/42448 (Wrong code with _Complex char in structure)

PR target/42448
* config/alpha/predicates.md (aligned_memory_operand): Return false
for CQImode.
(unaligned_memory_operand): Return true for CQImode.
* config/alpha/alpha.c (get_aligned_mem): Assert that location
doesn not cross aligned SImode word boundary.

testsuite/ChangeLog:

PR target/42448
* gcc.target/alpha/pr42448-1.c: New test.
* gcc.target/alpha/pr42448-2.c: Ditto.

From-SVN: r155568
gcc/ChangeLog
gcc/config/alpha/alpha.c
gcc/config/alpha/predicates.md
gcc/testsuite/gcc.target/alpha/pr42448-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/alpha/pr42448-2.c [new file with mode: 0644]