diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-02-12 08:34:30 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-02-12 08:34:30 +0000 |
commit | 7f72883586420782b3acb9d86b9de1b26713dbb7 (patch) | |
tree | 0b7df8968036ccd7157ea67cb1f4b25c98fab59a /gcc/testsuite/gcc.c-torture | |
parent | 1281920d8125800fa0b42862576cbacd30a880c0 (diff) | |
download | gcc-7f72883586420782b3acb9d86b9de1b26713dbb7.tar.gz |
* c-common.c (constant_fits_type_p): New function.
(convert_and_check): Use it.
* gcc.c-torture/compile/20010209-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39596 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.c-torture')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/20010209-1.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/20010209-1.c b/gcc/testsuite/gcc.c-torture/compile/20010209-1.c new file mode 100644 index 00000000000..20434644be6 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/20010209-1.c @@ -0,0 +1,7 @@ +short int a; + +int main (void) +{ + a = 65535.0; + return 0; +} |