diff options
author | Andreas Krebbel <krebbel1@de.ibm.com> | 2005-10-19 11:00:03 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@gcc.gnu.org> | 2005-10-19 11:00:03 +0000 |
commit | f695eccf71367a91aa87a4ff5a61d365da305d94 (patch) | |
tree | 8bf9f0bec953868197c70df044f850d5f8d177c9 /gcc/config/s390/s390.c | |
parent | d1f36c51be6d9560caa7931e970bd1905da2ebe5 (diff) | |
download | gcc-f695eccf71367a91aa87a4ff5a61d365da305d94.zip gcc-f695eccf71367a91aa87a4ff5a61d365da305d94.tar.gz gcc-f695eccf71367a91aa87a4ff5a61d365da305d94.tar.bz2 |
s390.c (override_options): Added check for -mstack-size 64k limitation.
2005-10-19 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.c (override_options): Added check for -mstack-size
64k limitation.
* doc/invoke.texi: Mention that limit in the documenation.
From-SVN: r105609
Diffstat (limited to 'gcc/config/s390/s390.c')
-rw-r--r-- | gcc/config/s390/s390.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 5284db1..7c0d984 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -1385,6 +1385,8 @@ override_options (void) error ("-mstack-size implies use of -mstack-guard"); else if (s390_stack_guard >= s390_stack_size) error ("stack size must be greater than the stack guard value"); + else if (s390_stack_size > 1 << 16) + error ("stack size must not be greater than 64k"); } else if (s390_stack_guard) error ("-mstack-guard implies use of -mstack-size"); |