about -fpic/-fPIC if extra_warnings set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51034
138bc75d-0d04-0410-961f-
82ee72b054a4
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
TREE_STRING_POINTER.
}
}
- 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");