pa.c (override_options): Warn if both PIC code generation and profiling are requested.
authorJeff Law <law@gcc.gnu.org>
Fri, 23 Feb 1996 16:23:13 +0000 (09:23 -0700)
committerJeff Law <law@gcc.gnu.org>
Fri, 23 Feb 1996 16:23:13 +0000 (09:23 -0700)
        * pa.c (override_options): Warn if both PIC code generation and
        profiling are requested.

From-SVN: r11343

gcc/config/pa/pa.c

index 2c3e014..026821c 100644 (file)
@@ -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");
+    }
 }