Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/store_merging_17.c @ 157:dafe684d005c
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:08:54 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line source
/* PR tree-optimization/83241 */ /* { dg-do compile { target store_merge } } */ /* { dg-options "-O2" } */ struct S { int a; short b[32]; } e; struct T { volatile int c; int d; } f; void foo () { struct T g = f; e.b[0] = 6; e.b[1] = 6; e.b[4] = g.d; e.b[5] = g.d >> 16; e.a = 1; }