c++: Fix ICE with #embed/RAW_DATA_CST after list conversion [PR118671]
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr89430-3.c
blob00166373267b504bdd63e15ac6d08f2492071420
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-cselim -fdump-tree-cselim-details" } */
4 unsigned a[2];
5 unsigned test(unsigned k, unsigned b) {
6 if (b < a[k]) {
7 a[k] = b;
9 return a[0]+a[1];
12 /* { dg-final { scan-tree-dump-not "Conditional store replacement" "cselim" } } */