aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2015-03-26 14:19:59 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2015-03-26 14:19:59 +0100
commit672ff0b6fd7f43aa5415bff60ab212b893b9f474 (patch)
tree103331a842bf4bd31af5f4ef2d0b06f0304344e3 /libgo
parentd00dce2749c652a0d63b646695249a9c5a820b94 (diff)
downloadgcc-672ff0b6fd7f43aa5415bff60ab212b893b9f474.zip
gcc-672ff0b6fd7f43aa5415bff60ab212b893b9f474.tar.gz
gcc-672ff0b6fd7f43aa5415bff60ab212b893b9f474.tar.bz2
re PR tree-optimization/64715 (__builtin_object_size (..., 1) fails to locate subobject)
PR tree-optimization/64715 * passes.def: Add another instance of pass_object_sizes before ccp1. * tree-object-size.c (pass_object_sizes::execute): In first_pass_instance, only handle __bos (, 1) and __bos (, 3) calls, and keep the call in the IL, as {MIN,MAX}_EXPR of the __bos result and the computed constant. Remove redundant checks, obsoleted by gimple_call_builtin_p test. * gcc.dg/builtin-object-size-15.c: New test. * gcc.dg/pr64715-1.c: New test. * gcc.dg/pr64715-2.c: New test. From-SVN: r221694
Diffstat (limited to 'libgo')
0 files changed, 0 insertions, 0 deletions