diff options
author | Joseph Myers <jsm28@cam.ac.uk> | 2000-10-20 16:59:07 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2000-10-20 16:59:07 +0100 |
commit | 2f74f7e928e72c7382cc5a72a7440657175fc2d2 (patch) | |
tree | ff7e2b47546c45c64b35f3cf895f47da04cf520d /libjava/java/sql/Connection.java | |
parent | 971774bbc15f4c0e411a921bace1fda1471433fc (diff) | |
download | gcc-2f74f7e928e72c7382cc5a72a7440657175fc2d2.zip gcc-2f74f7e928e72c7382cc5a72a7440657175fc2d2.tar.gz gcc-2f74f7e928e72c7382cc5a72a7440657175fc2d2.tar.bz2 |
c-common.c (check_format_info_recurse): Extract string constant initializers from non-volatile constant arrays and...
* c-common.c (check_format_info_recurse): Extract string constant
initializers from non-volatile constant arrays and check them as
formats.
* c-typeck.c (decl_constant_value): Don't check pedantic or check
for DECL_MODE (decl) != BLKmode.
(decl_constant_value_for_broken_optimization): New function which
includes these checks.
(default_conversion, convert_for_assignment, digest_init): Use
decl_constant_value_for_broken_optimization instead of
decl_constant_value.
testsuite:
* gcc.dg/format-array-1.c: New test.
From-SVN: r36965
Diffstat (limited to 'libjava/java/sql/Connection.java')
0 files changed, 0 insertions, 0 deletions