Add AIX options from specs to aix64.opt

Message ID
State New
Headers show

Commit Message

Joseph Myers Feb. 3, 2011, 11:57 p.m.
In preparation for the driver only accepting options listed in .opt
files, and not other options that simply happen to match some spec,
this patch adds options from specs in various AIX headers to
rs6000/aix64.opt.  The -posix option is matched by specs in both aix.h
and the version-specific headers, while all the version-specific
headers have specs matching -pthread.

Note that aix64.opt is the correct header for this; though there is a
file aix.opt, it appears no target actually uses aix.opt and it was
only ever used for a period of less than two days in 2005.

Tested building cc1 and xgcc for cross to powerpc-ibm-aix6.1.  OK to

2011-02-03  Joseph Myers  <>

	* config/rs6000/aix64.opt (posix, pthread): New Driver options.


Joseph Myers Feb. 8, 2011, 8:38 p.m. | #1
I have committed this patch.  I have not done anything about the unused 


Index: gcc/config/rs6000/aix64.opt
--- gcc/config/rs6000/aix64.opt	(revision 169769)
+++ gcc/config/rs6000/aix64.opt	(working copy)
@@ -1,6 +1,6 @@ 
 ; Options for the 64-bit flavor of AIX.
-; Copyright (C) 2005, 2007, 2010 Free Software Foundation, Inc.
+; Copyright (C) 2005, 2007, 2010, 2011 Free Software Foundation, Inc.
 ; Contributed by Aldy Hernandez <>.
 ; This file is part of GCC.
@@ -30,3 +30,9 @@  Compile for 32-bit pointers
 Target Report RejectNegative Var(internal_nothing_1) Save
 Support message passing with the Parallel Environment