diff options
author | Jakub Jelinek <jakub@redhat.com> | 2008-10-15 08:43:19 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2008-10-15 08:43:19 +0200 |
commit | f6e6e9904cd32cc78873a33f0a3839812b0d0f57 (patch) | |
tree | 29214d79594ce43e6efb4c36998eb8577cdb8070 /gcc/java/constants.c | |
parent | e3bc2fa7e63a75f1a31057aa9c77451f1263488a (diff) | |
download | gcc-f6e6e9904cd32cc78873a33f0a3839812b0d0f57.zip gcc-f6e6e9904cd32cc78873a33f0a3839812b0d0f57.tar.gz gcc-f6e6e9904cd32cc78873a33f0a3839812b0d0f57.tar.bz2 |
re PR tree-optimization/36881 (Creating runtime relocations for code which does not need it)
PR tree-optimization/36881
* tree-switch-conversion.c (check_final_bb): For flag_pic, check
that each value doesn't need runtime relocations, for !flag_pic
check that each value is just a valid initializer constant.
* gcc.dg/tree-ssa/pr36881.c: New test.
From-SVN: r141129
Diffstat (limited to 'gcc/java/constants.c')
0 files changed, 0 insertions, 0 deletions