common.opt (fPIC, [...]): Create a Negative loop such that any of these options disab...
authorIan Lance Taylor <iant@google.com>
Tue, 13 Nov 2012 23:03:56 +0000 (23:03 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 13 Nov 2012 23:03:56 +0000 (23:03 +0000)
* common.opt (fPIC, fPIE, fpic, fpie): Create a Negative loop such
that any of these options disables the others.

From-SVN: r193489

gcc/ChangeLog
gcc/common.opt

index 4966b5dc1bc15d617677ea914f68a094c2b3543f..2aa741dca62715db0a83d5c5597ca22c1f9f7a2a 100644 (file)
@@ -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
index 9ad7df98b51ab388d0a856ade303c4d161c3c08e..f33b3b7eac325c75ea9b949f97d56c264d8bfc12 100644 (file)
@@ -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=