aboutsummaryrefslogtreecommitdiff
path: root/gcc/m2/gm2-compiler/P3SymBuild.mod
diff options
context:
space:
mode:
authorLinsen Zhou <i@lin.moe>2025-10-17 11:05:04 +0800
committerSiddhesh Poyarekar <siddhesh@gotplt.org>2025-10-17 20:58:33 -0500
commit82cefc4898d4ccabe76e28d6626b91ca9e998923 (patch)
tree79c4d3e4ecec082241e0f6dbf4f5f14ac64cdfdd /gcc/m2/gm2-compiler/P3SymBuild.mod
parentfa8ca9554d5c52f3f45551e5eefa1541231ec891 (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
tree-object-size.cc: Fix assert constant offset in check_for_plus_in_loops [PR122012]HEADtrunkmaster
After commit 51b85dfeb19652bf3e0aaec08828ba7cee1e641c, when the pointer offset is a variable in the loop, the object size of the pointer may also need to be reexamined. Which make gcc_assert in the check_for_plus_in_loops failed. gcc/ChangeLog: PR tree-optimization/122012 * tree-object-size.cc (check_for_plus_in_loops): Skip check for the variable offset gcc/testsuite/ChangeLog: PR tree-optimization/122012 * gcc.dg/torture/pr122012.c: New test. Signed-off-by: Linsen Zhou <i@lin.moe>
Diffstat (limited to 'gcc/m2/gm2-compiler/P3SymBuild.mod')
0 files changed, 0 insertions, 0 deletions