Commit 0eba3d30 by Jeff Law

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
parent e6e68157
...@@ -108,6 +108,11 @@ override_options () ...@@ -108,6 +108,11 @@ override_options ()
{ {
warning ("PIC code generation is not compatable with fast indirect calls\n"); 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");
}
} }
......
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