Debian Codegraph @

gcc/testsuite/gcc.target/loongarch/pr119127.c

raw
1 /* PR target/119127: ICE caused by operating DImode const in SImode */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -march=loongarch64 -mabi=lp64d" } */
4
5 int x;
6 struct Type {
7 unsigned SubclassData : 24;
8 } y;
9
10 void
11 test (void)
12 {
13 x = y.SubclassData * 37;
14 }