re PR target/6123 (__pic__/__PIC__ not defined when -fpic/-fPIC is specified)
PR c/6123 * gcc.dg/20020312-2.c: Do not declare global register variable if __PIC__ or __pic__ is defined. From-SVN: r51859
This commit is contained in:
parent
8b156b3e87
commit
a4fa73f359
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2002-04-04 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR c/6123
|
||||
* gcc.dg/20020312-2.c: Do not declare global register variable
|
||||
if __PIC__ or __pic__ is defined.
|
||||
|
||||
2002-04-04 Richard Earnshaw <rearnsha@arm.com>
|
||||
|
||||
* gcc.dg/arm-asm.c: Run this test on ARM chips, not SPARC. Use
|
||||
|
|
|
@ -98,7 +98,7 @@
|
|||
# error "Modify the test for your target."
|
||||
#endif
|
||||
|
||||
#ifdef PIC_REG
|
||||
#if defined PIC_REG && !defined __PIC__ && !defined __pic__
|
||||
register void *reg __asm__(PIC_REG);
|
||||
#else
|
||||
/* We really need a global register variable set to the PIC register
|
||||
|
|
Loading…
Add table
Reference in a new issue