From 0eba3d300d165dd8161b289f21d955f1eb50478e Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Fri, 23 Feb 1996 09:23:13 -0700 Subject: [PATCH] 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 --- gcc/config/pa/pa.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 2c3e0140ae7..026821c37ab 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"); + } } -- 2.30.2