aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/switch-c.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/switch-c.adb')
-rw-r--r--gcc/ada/switch-c.adb17
1 files changed, 0 insertions, 17 deletions
diff --git a/gcc/ada/switch-c.adb b/gcc/ada/switch-c.adb
index e2f7c2e..04a6fa1 100644
--- a/gcc/ada/switch-c.adb
+++ b/gcc/ada/switch-c.adb
@@ -310,15 +310,6 @@ package body Switch.C is
("-gnatc must be first if combined with other switches");
end if;
- -- Not allowed if previous -gnatR given
-
- if List_Representation_Info /= 0
- or else List_Representation_Info_Mechanisms
- then
- Osint.Fail
- ("-gnatc not allowed since -gnatR given previously");
- end if;
-
Ptr := Ptr + 1;
Operating_Mode := Check_Semantics;
@@ -1057,14 +1048,6 @@ package body Switch.C is
("-gnatR not permitted since -gnatD given previously");
end if;
- -- Not allowed if previous -gnatc was given, since we must
- -- call the code generator to determine rep information.
-
- if Operating_Mode = Check_Semantics then
- Osint.Fail
- ("-gnatR not permitted since -gnatc given previously");
- end if;
-
-- Set to annotate rep info, and set default -gnatR mode
Back_Annotate_Rep_Info := True;