mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-03 21:51:45 +08:00
re PR target/60034 ("invalid expression as operand" in aarch64 inline asm)
PR target/60034 * aarch64/aarch64.c (aarch64_classify_address): Fix alignment for section anchor. PR target/60034 * gcc.target/aarch64/pr60034.c: New file. From-SVN: r208949
This commit is contained in:
parent
429749e23b
commit
6c031d8dfd
@ -1,3 +1,9 @@
|
||||
2014-03-31 Kugan Vivekanandarajah <kuganv@linaro.org>
|
||||
|
||||
PR target/60034
|
||||
* aarch64/aarch64.c (aarch64_classify_address): Fix alignment for
|
||||
section anchor.
|
||||
|
||||
2014-03-30 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
* config/i386/sse.md (FMAMODE_NOVF512): New mode iterator.
|
||||
|
@ -3196,6 +3196,9 @@ aarch64_classify_address (struct aarch64_address_info *info,
|
||||
}
|
||||
else if (SYMBOL_REF_DECL (sym))
|
||||
align = DECL_ALIGN (SYMBOL_REF_DECL (sym));
|
||||
else if (SYMBOL_REF_HAS_BLOCK_INFO_P (sym)
|
||||
&& SYMBOL_REF_BLOCK (sym) != NULL)
|
||||
align = SYMBOL_REF_BLOCK (sym)->alignment;
|
||||
else
|
||||
align = BITS_PER_UNIT;
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
2014-03-31 Kugan Vivekanandarajah <kuganv@linaro.org>
|
||||
|
||||
PR target/60034
|
||||
* gcc.target/aarch64/pr60034.c: New file.
|
||||
|
||||
2014-03-29 Adam Butcher <adam@jessamine.co.uk>
|
||||
|
||||
PR c++/60626
|
||||
|
10
gcc/testsuite/gcc.target/aarch64/pr60034.c
Normal file
10
gcc/testsuite/gcc.target/aarch64/pr60034.c
Normal file
@ -0,0 +1,10 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-std=gnu99 -O" } */
|
||||
|
||||
static unsigned long global_max_fast;
|
||||
|
||||
void __libc_mallopt (int param_number, int value)
|
||||
{
|
||||
__asm__ __volatile__ ("# %[_SDT_A21]" :: [_SDT_A21] "nor" ((global_max_fast)));
|
||||
global_max_fast = 1;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user