diff options
Diffstat (limited to 'gcc/ada/exp_attr.adb')
-rw-r--r-- | gcc/ada/exp_attr.adb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ada/exp_attr.adb b/gcc/ada/exp_attr.adb index 0b0a395..cfbba77 100644 --- a/gcc/ada/exp_attr.adb +++ b/gcc/ada/exp_attr.adb @@ -7988,7 +7988,9 @@ package body Exp_Attr is function Is_GCC_Target return Boolean is begin - return not CodePeer_Mode and then not AAMP_On_Target; + return not CodePeer_Mode + and then not AAMP_On_Target + and then not Generate_C_Code; end Is_GCC_Target; -- Start of processing for Exp_Attr |