aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/expr.cc
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2022-05-24 16:01:12 -0600
committerMartin Sebor <msebor@redhat.com>2022-05-24 16:05:50 -0600
commit10d1986aee47c592f903527bb68546efc557735d (patch)
tree15f3867b7b4e5891c79a8c132f9d68bf949249d5 /gcc/d/expr.cc
parent1189c03859cefef4fc4fd44d57eb3d4d3348b562 (diff)
downloadgcc-10d1986aee47c592f903527bb68546efc557735d.zip
gcc-10d1986aee47c592f903527bb68546efc557735d.tar.gz
gcc-10d1986aee47c592f903527bb68546efc557735d.tar.bz2
PR middle-end/105604 - ICE: in tree_to_shwi with vla in struct and sprintf
gcc/ChangeLog: PR middle-end/105604 * gimple-ssa-sprintf.cc (set_aggregate_size_and_offset): Add comments. (get_origin_and_offset_r): Remove null handling. Handle variable array sizes. (get_origin_and_offset): Handle null argument here. Simplify. (alias_offset): Update comment. * pointer-query.cc (field_at_offset): Update comment. Handle members of variable-length types. gcc/testsuite/ChangeLog: PR middle-end/105604 * gcc.dg/Wrestrict-24.c: New test. * gcc.dg/Wrestrict-25.c: New test. * gcc.dg/Wrestrict-26.c: New test. Co-authored-by: Richard Biener <rguenther@suse.de>
Diffstat (limited to 'gcc/d/expr.cc')
0 files changed, 0 insertions, 0 deletions