Commit ee2ca2a2 by David Edelsohn Committed by David Edelsohn

rs6000.c (rs6000_override_options): Correct style and formatting of previous patch.

        * config/rs6000/rs6000.c (rs6000_override_options): Correct
        style and formatting of previous patch.

From-SVN: r52593
parent 894bdff6
2002-04-22 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.c (rs6000_override_options): Correct
style and formatting of previous patch.
2002-04-22 Alan Modra <amodra@bigpond.net.au> 2002-04-22 Alan Modra <amodra@bigpond.net.au>
* config/rs6000/rs6000.c (rs6000_override_options): Always clear * config/rs6000/rs6000.c (rs6000_override_options): Always clear
......
...@@ -483,12 +483,13 @@ rs6000_override_options (default_cpu) ...@@ -483,12 +483,13 @@ rs6000_override_options (default_cpu)
} }
} }
if (flag_pic && DEFAULT_ABI == ABI_AIX) if (flag_pic != 0 && DEFAULT_ABI == ABI_AIX)
{ {
flag_pic = 0;
if (extra_warnings) if (extra_warnings)
warning ("-f%s ignored (all code is position independent)", warning ("-f%s ignored (all code is position independent)",
(flag_pic > 1) ? "PIC" : "pic"); (flag_pic > 1) ? "PIC" : "pic");
flag_pic = 0;
} }
#ifdef XCOFF_DEBUGGING_INFO #ifdef XCOFF_DEBUGGING_INFO
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment