aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2015-09-06 14:05:00 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2015-09-06 14:05:00 +0000
commit0a1d992e0491c51f08d1bb1de4d01b65d43e8b0a (patch)
treed7ed3e57fbf02c04ea425cf4d64f359af3581884 /gcc
parentc1b3c9a5896d6f27c95b14f675e3774b04173ae1 (diff)
downloadgcc-0a1d992e0491c51f08d1bb1de4d01b65d43e8b0a.zip
gcc-0a1d992e0491c51f08d1bb1de4d01b65d43e8b0a.tar.gz
gcc-0a1d992e0491c51f08d1bb1de4d01b65d43e8b0a.tar.bz2
cygming.h (SUBTARGET_OVERRIDE_OPTIONS): Do not warn.
gcc: * config/i386/cygming.h (SUBTARGET_OVERRIDE_OPTIONS): Do not warn. From-SVN: r227512
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/cygming.h15
2 files changed, 6 insertions, 14 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 43154ea..9e59992 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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>
PR middle-end/67452
diff --git a/gcc/config/i386/cygming.h b/gcc/config/i386/cygming.h
index fda59fb..71506ec 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