diff options
author | Jakub Jelinek <jakub@gcc.gnu.org> | 2002-02-20 23:54:35 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2002-02-20 23:54:35 +0100 |
commit | 4636c87e232d7df60478859d9a15556d5bc3c0c8 (patch) | |
tree | 92091a1ae9884506ec5a5bd1f121978289726ebf /gcc/java/jcf-path.c | |
parent | c98b201bd9e49891ff049835c3ae79897a885071 (diff) | |
download | gcc-4636c87e232d7df60478859d9a15556d5bc3c0c8.zip gcc-4636c87e232d7df60478859d9a15556d5bc3c0c8.tar.gz gcc-4636c87e232d7df60478859d9a15556d5bc3c0c8.tar.bz2 |
re PR c/4389 (Improper constant folding)
PR c/4389
* tree.c (host_integerp): Ensure that the constant integer is
representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT
when pos is zero or non-zero respectively. Clarify comment.
* c-format.c (check_format_info_recurse): Fix host_integerp
usage; the pos argument should be zero when assigning to a
signed HOST_WIDE_INT.
* gcc.dg/20020219-1.c: New test.
From-SVN: r49914
Diffstat (limited to 'gcc/java/jcf-path.c')
0 files changed, 0 insertions, 0 deletions