aboutsummaryrefslogtreecommitdiff
path: root/gcc/multiple_target.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2017-12-01 00:43:10 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2017-12-01 00:43:10 +0100
commitcc6534d40136b8afb5dcd878e58d106f31b51dd2 (patch)
tree45bebb503a52bf8726cdc05432ea9875c8ef1bdd /gcc/multiple_target.c
parent5de73c050e4dbb3dfc8705bf20199aedb090df20 (diff)
downloadgcc-cc6534d40136b8afb5dcd878e58d106f31b51dd2.zip
gcc-cc6534d40136b8afb5dcd878e58d106f31b51dd2.tar.gz
gcc-cc6534d40136b8afb5dcd878e58d106f31b51dd2.tar.bz2
re PR c/83222 (Inconsistent "initializer element is not constant" error)
PR c/83222 * c-tree.h (decl_constant_value_1): Declare. * c-typeck.c (decl_constant_value_1): New function. (decl_constant_value): Use it. * c-fold.c (c_fully_fold_internal): If in_init, use decl_constant_value_1 instead of decl_constant_value. * gcc.c-torture/compile/pr83222.c: New test. From-SVN: r255285
Diffstat (limited to 'gcc/multiple_target.c')
0 files changed, 0 insertions, 0 deletions