summaryrefslogtreecommitdiff
path: root/gcc/ada/switch-m.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-02 09:31:07 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-02 09:31:07 +0000
commit4d793bd28971b32b643ff4fdb02d61d68c376648 (patch)
treed260c536f19e9090be2316aa878f77e6b69f7fa1 /gcc/ada/switch-m.adb
parent05fa10c2137acc8e8ab660176e0d54ff9db28205 (diff)
downloadgcc-4d793bd28971b32b643ff4fdb02d61d68c376648.tar.gz
2013-01-02 Vincent Celier <celier@adacore.com>
* switch-m.adb (Normalize_Compiler_Switches): Record the complete switch -fstack-check=specific instead of its shorter alias -fstack-check. 2013-01-02 Ed Schonberg <schonberg@adacore.com> * sem_ch3.adb (Derive_Subprogram): Enforce RM 6.3.1 (8): if the derived type is a tagged generic formal type with unknown discriminants, the inherited operation has convention Intrinsic. As such, the 'Access attribute cannot be applied to it. 2013-01-02 Thomas Quinot <quinot@adacore.com> * sem_attr.adb: Minor reformatting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194780 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/switch-m.adb')
-rw-r--r--gcc/ada/switch-m.adb6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ada/switch-m.adb b/gcc/ada/switch-m.adb
index 0d769dc09f1..4f18ec11c54 100644
--- a/gcc/ada/switch-m.adb
+++ b/gcc/ada/switch-m.adb
@@ -214,6 +214,12 @@ package body Switch.M is
then
Add_Switch_Component (Switch_Chars);
+ -- Special case for -fstack-check (alias for
+ -- -fstack-check=specific)
+
+ elsif Switch_Chars = "-fstack-check" then
+ Add_Switch_Component ("-fstack-check=specific");
+
-- Take only into account switches that are transmitted to
-- gnat1 by the gcc driver and stored by gnat1 in the ALI file.