From: bonzini Date: Sun, 6 Sep 2015 14:05:00 +0000 (+0000) Subject: gcc: X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=956d69de43315a938beb07d8a379f2c558a87158;p=thirdparty%2Fgcc.git gcc: * config/i386/cygming.h (SUBTARGET_OVERRIDE_OPTIONS): Do not warn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227512 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 43154ea912d7..9e59992468d8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-09-04 Paolo Bonzini + + * config/i386/cygming.h (SUBTARGET_OVERRIDE_OPTIONS): Do + not warn. + 2015-09-04 Jakub Jelinek PR middle-end/67452 diff --git a/gcc/config/i386/cygming.h b/gcc/config/i386/cygming.h index fda59fb3c06b..71506ecbcd04 100644 --- a/gcc/config/i386/cygming.h +++ b/gcc/config/i386/cygming.h @@ -198,20 +198,7 @@ along with GCC; see the file COPYING3. If not see #undef SUBTARGET_OVERRIDE_OPTIONS #define SUBTARGET_OVERRIDE_OPTIONS \ do { \ - if (TARGET_64BIT && flag_pic != 1) \ - { \ - 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; \ - } \ + flag_pic = TARGET_64BIT ? 1 : 0; \ } while (0) /* Define this macro if references to a symbol must be treated