* config/rs6000/rs6000.c (rs6000_override_options): Only warn
about -fpic/-fPIC if extra_warnings set.
From-SVN: r51034
+2002-03-19 David Edelsohn <edelsohn@gnu.org>
+
+ * config/rs6000/rs6000.c (rs6000_override_options): Only warn
+ about -fpic/-fPIC if extra_warnings set.
+
2002-03-19 David Edelsohn <edelsohn@gnu.org>
* expr.c (expand_expr): Sign-extend CONST_INT generated from
}
}
- if (flag_pic && DEFAULT_ABI == ABI_AIX)
+ if (flag_pic && DEFAULT_ABI == ABI_AIX && extra_warnings)
{
warning ("-f%s ignored (all code is position independent)",
(flag_pic > 1) ? "PIC" : "pic");