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: r51858
This commit is contained in:
parent
9533ac1096
commit
12d4be42da
|
@ -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-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* gcc.misc-tests/linkage.exp: Update last change to handle
|
||||
|
|
|
@ -96,7 +96,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…
Reference in New Issue