aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/pa/pa.c
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1996-02-23 09:23:13 -0700
committerJeff Law <law@gcc.gnu.org>1996-02-23 09:23:13 -0700
commit0eba3d300d165dd8161b289f21d955f1eb50478e (patch)
tree1c4fa128c6932ffe66696b5d6d002aee3b8d574a /gcc/config/pa/pa.c
parente6e68157d3ff41c37a736656e4f093a41d7c3e28 (diff)
downloadgcc-0eba3d300d165dd8161b289f21d955f1eb50478e.zip
gcc-0eba3d300d165dd8161b289f21d955f1eb50478e.tar.gz
gcc-0eba3d300d165dd8161b289f21d955f1eb50478e.tar.bz2
pa.c (override_options): Warn if both PIC code generation and profiling are requested.
* pa.c (override_options): Warn if both PIC code generation and profiling are requested. From-SVN: r11343
Diffstat (limited to 'gcc/config/pa/pa.c')
-rw-r--r--gcc/config/pa/pa.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index 2c3e014..026821c 100644
--- a/gcc/config/pa/pa.c
+++ b/gcc/config/pa/pa.c
@@ -108,6 +108,11 @@ override_options ()
{
warning ("PIC code generation is not compatable with fast indirect calls\n");
}
+
+ if (flag_pic && profile_flag)
+ {
+ warning ("PIC code generation is not compatable with profiling\n");
+ }
}