PR tree-optimization/83369 - Missing diagnostics during inlining
[official-gcc.git] / gcc / testsuite / gcc.dg / pr57518.c
blob4c84f30baef30432450d01159eb4b9c919ac9ab1
1 /* PR rtl-optimization/57518 */
3 /* { dg-do compile } */
4 /* { dg-options "-O2 -fdump-rtl-ira" } */
6 char ip[10];
7 int total;
9 void foo() {
10 int t;
12 t = ip[2];
13 total = t & 0x3;
16 /* { dg-final { scan-rtl-dump-not "REG_EQUIV\[^\n\]*mem\[^\n\]*\"ip\".*subreg" "ira" } } */