mirror of git://gcc.gnu.org/git/gcc.git
cygming.h (SUBTARGET_OVERRIDE_OPTIONS): Do not warn.
gcc: * config/i386/cygming.h (SUBTARGET_OVERRIDE_OPTIONS): Do not warn. From-SVN: r227512
This commit is contained in:
parent
c1b3c9a589
commit
0a1d992e04
|
|
@ -1,3 +1,8 @@
|
||||||
|
2015-09-04 Paolo Bonzini <bonzini@gnu.org>
|
||||||
|
|
||||||
|
* config/i386/cygming.h (SUBTARGET_OVERRIDE_OPTIONS): Do
|
||||||
|
not warn.
|
||||||
|
|
||||||
2015-09-04 Jakub Jelinek <jakub@redhat.com>
|
2015-09-04 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
PR middle-end/67452
|
PR middle-end/67452
|
||||||
|
|
|
||||||
|
|
@ -198,20 +198,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
#undef SUBTARGET_OVERRIDE_OPTIONS
|
#undef SUBTARGET_OVERRIDE_OPTIONS
|
||||||
#define SUBTARGET_OVERRIDE_OPTIONS \
|
#define SUBTARGET_OVERRIDE_OPTIONS \
|
||||||
do { \
|
do { \
|
||||||
if (TARGET_64BIT && flag_pic != 1) \
|
flag_pic = TARGET_64BIT ? 1 : 0; \
|
||||||
{ \
|
|
||||||
if (flag_pic > 1) \
|
|
||||||
warning (0, \
|
|
||||||
"-fPIC ignored for target (all code is position independent)"\
|
|
||||||
); \
|
|
||||||
flag_pic = 1; \
|
|
||||||
} \
|
|
||||||
else if (!TARGET_64BIT && flag_pic) \
|
|
||||||
{ \
|
|
||||||
warning (0, "-f%s ignored for target (all code is position independent)",\
|
|
||||||
(flag_pic > 1) ? "PIC" : "pic"); \
|
|
||||||
flag_pic = 0; \
|
|
||||||
} \
|
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
/* Define this macro if references to a symbol must be treated
|
/* Define this macro if references to a symbol must be treated
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue