URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [ppc-sdata-1.c] - Rev 708
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile { target { { powerpc*-*-linux* && ilp32 } || { powerpc-*-eabi* } } } } */ /* { dg-options "-O2 -fno-common -G 8 -meabi -msdata=eabi" } */ /* { dg-require-effective-target nonpic } */ /* { dg-final { scan-assembler "\\.section\[ \t\]\\.sdata," } } */ /* { dg-final { scan-assembler "\\.section\[ \t\]\\.sdata2," } } */ /* { dg-final { scan-assembler "sdat@sda21\\((13|0)\\)" } } */ /* { dg-final { scan-assembler "sdat2@sda21\\((2|0)\\)" } } */ int sdat = 2; const char sdat2[] = "1234"; const char * test (void) { return sdat ? sdat2 : 0; }
Go to most recent revision | Compare with Previous | Blame | View Log