aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2012-11-13 23:03:56 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2012-11-13 23:03:56 +0000
commitda0aa2ccc08ee6947dac615e2a85a292afd700db (patch)
treec3cc682a6eb8569995b37d1539701eb8999a60bb
parent93bf539055e8ad7972ff3de821b81df3c097001f (diff)
downloadgcc-da0aa2ccc08ee6947dac615e2a85a292afd700db.zip
gcc-da0aa2ccc08ee6947dac615e2a85a292afd700db.tar.gz
gcc-da0aa2ccc08ee6947dac615e2a85a292afd700db.tar.bz2
common.opt (fPIC, [...]): Create a Negative loop such that any of these options disables the others.
* common.opt (fPIC, fPIE, fpic, fpie): Create a Negative loop such that any of these options disables the others. From-SVN: r193489
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/common.opt8
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4966b5dc..2aa741d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2012-11-13 Ian Lance Taylor <iant@google.com>
+
+ * common.opt (fPIC, fPIE, fpic, fpie): Create a Negative loop such
+ that any of these options disables the others.
+
2012-11-13 Sriraman Tallam <tmsriram@google.com>
* cgraph.c (insert_new_cgraph_node_version): Use cgraph_get_node
diff --git a/gcc/common.opt b/gcc/common.opt
index 9ad7df9..f33b3b7 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -1583,19 +1583,19 @@ Common Report Var(flag_peephole2) Optimization
Enable an RTL peephole pass before sched2
fPIC
-Common Report Var(flag_pic,2)
+Common Report Var(flag_pic,2) Negative(fPIE)
Generate position-independent code if possible (large mode)
fPIE
-Common Report Var(flag_pie,2)
+Common Report Var(flag_pie,2) Negative(fpic)
Generate position-independent code for executables if possible (large mode)
fpic
-Common Report Var(flag_pic,1)
+Common Report Var(flag_pic,1) Negative(fpie)
Generate position-independent code if possible (small mode)
fpie
-Common Report Var(flag_pie,1)
+Common Report Var(flag_pie,1) Negative(fPIC)
Generate position-independent code for executables if possible (small mode)
fplugin=