aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/switch-c.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2015-02-20 14:52:31 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2015-02-20 14:52:31 +0100
commitb534f49ed624fc05812c551dac997bd0db78dcb4 (patch)
tree20bc25364bc62770280cbf378c2b583fc42214ad /gcc/ada/switch-c.adb
parent9816367c7c84a6b7b533a5aee44b40fa456d28a7 (diff)
downloadgcc-b534f49ed624fc05812c551dac997bd0db78dcb4.zip
gcc-b534f49ed624fc05812c551dac997bd0db78dcb4.tar.gz
gcc-b534f49ed624fc05812c551dac997bd0db78dcb4.tar.bz2
[multiple changes]
2015-02-20 Robert Dewar <dewar@adacore.com> * switch-c.adb, bindgen.adb: Minor reformatting. 2015-02-20 Ed Schonberg <schonberg@adacore.com> * sem_prag.adb (Analyze_Pragma, case Type_Invariant): Invariant'class is allowed on an abstract type. 2015-02-20 Ed Schonberg <schonberg@adacore.com> * sem_ch3.adb (Access_Definition): If the access definition is for a protected component and defines an access to protected subprogram, do not create an itype reference for it because a full type declaration will be built in order to generate the proper equivalent type. (Analyze_Subtype_Declaration): Add information of incomplete subtypes, for Ada 2012 extended uses of incomplete types. From-SVN: r220856
Diffstat (limited to 'gcc/ada/switch-c.adb')
-rw-r--r--gcc/ada/switch-c.adb6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/ada/switch-c.adb b/gcc/ada/switch-c.adb
index b431081..4f2f06e 100644
--- a/gcc/ada/switch-c.adb
+++ b/gcc/ada/switch-c.adb
@@ -219,10 +219,8 @@ package body Switch.C is
(Switch_Chars (Ptr + 4 .. Max))
then
Runtime_Dir :=
- new String'
- (System.OS_Lib.Normalize_Pathname
- (Switch_Chars (Ptr + 4 .. Max)));
-
+ new String'(System.OS_Lib.Normalize_Pathname
+ (Switch_Chars (Ptr + 4 .. Max)));
else
Runtime_Dir :=
new String'(Switch_Chars (Ptr + 4 .. Max));