20020118-1.c: Force 128-bit stack alignment for EABI targets.

* gcc.target/powerpc/20020118-1.c: Force 128-bit stack alignment
	for EABI targets.
	* gcc.c-torture/execute/nest-align-1.x: New.

From-SVN: r200887
This commit is contained in:
Janis Johnson 2013-07-10 21:02:17 +00:00 committed by Janis Johnson
parent be1a0d71ea
commit 9a5be7f963
3 changed files with 13 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2013-07-10 Janis Johnson <janisjo@codesourcery.com>
* gcc.target/powerpc/20020118-1.c: Force 128-bit stack alignment
for EABI targets.
* gcc.c-torture/execute/nest-align-1.x: New.
2013-07-10 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/57874

View file

@ -0,0 +1,5 @@
# Force bigger stack alignment for PowerPC EABI targets.
if { [istarget "powerpc-*-eabi*"] } {
set additional_flags "-mno-eabi"
}
return 0

View file

@ -1,6 +1,8 @@
/* { dg-do run { target powerpc*-*-* } }*/
/* VxWorks only guarantees 64 bits of alignment (STACK_BOUNDARY == 64). */
/* { dg-skip-if "" { "powerpc*-*-vxworks*" } { "*" } { "" } } */
/* Force 128-bit stack alignment for eabi targets. */
/* { dg-options "-mno-eabi" { target powerpc*-*-eabi* } } */
/* Test local alignment. Test new target macro STARTING_FRAME_PHASE. */
/* Origin: Aldy Hernandez <aldyh@redhat.com>. */