re PR testsuite/47954 (gcc.dg/tree-ssa/ssa-ccp-33.c fails with link error on m68k-linux)
2011-03-08 Mikael Pettersson <mikpe@it.uu.se> PR testsuite/47954 * gcc.dg/tree-ssa/ssa-ccp-33.c: Use __alignof__ not sizeof to compute alignment. From-SVN: r170773
This commit is contained in:
parent
32bd240907
commit
370ef46b1a
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2011-03-08 Mikael Pettersson <mikpe@it.uu.se>
|
||||
|
||||
PR testsuite/47954
|
||||
* gcc.dg/tree-ssa/ssa-ccp-33.c: Use __alignof__ not
|
||||
sizeof to compute alignment.
|
||||
|
||||
2011-03-08 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR tree-optimization/48022
|
||||
|
|
|
@ -8,7 +8,7 @@ void foo(int n)
|
|||
int *p;
|
||||
for (p = a; n != 0; --n, ++p)
|
||||
;
|
||||
if ((__SIZE_TYPE__)p & (sizeof (int) - 1))
|
||||
if ((__SIZE_TYPE__)p & (__alignof__ (int) - 1))
|
||||
link_error ();
|
||||
}
|
||||
int main()
|
||||
|
|
Loading…
Add table
Reference in a new issue