aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath
diff options
context:
space:
mode:
authorChristoph Müllner <christoph.muellner@vrull.eu>2025-01-15 17:53:47 +0100
committerChristoph Müllner <christoph.muellner@vrull.eu>2025-01-16 09:51:12 +0100
commitb42eeef63a7e88f90e6ecab9c541b96146759b8c (patch)
tree9afdd388e15fe6c18bcabe57564f1fb6dcf8763b /libjava/classpath
parent57de373426e27395c0ef581c8a8300ec74c1bb59 (diff)
downloadgcc-b42eeef63a7e88f90e6ecab9c541b96146759b8c.zip
gcc-b42eeef63a7e88f90e6ecab9c541b96146759b8c.tar.gz
gcc-b42eeef63a7e88f90e6ecab9c541b96146759b8c.tar.bz2
forwprop: Ensure that shuffle masks are VECTOR_CSTs
As reported in PR118487, it is possible that the mask parameter of a __builtin_shuffle() is not a VECTOR_CST. If this is the case and checking is enabled then an ICE is triggered. Let's add a check to fix this issue. PR tree-optimization/118487 gcc/ChangeLog: * tree-ssa-forwprop.cc (recognise_vec_perm_simplify_seq): Ensure that shuffle masks are VECTOR_CSTs. gcc/testsuite/ChangeLog: * gcc.dg/tree-ssa/pr118487.c: New test. Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
Diffstat (limited to 'libjava/classpath')
0 files changed, 0 insertions, 0 deletions