Debian Codegraph @

gcc/testsuite/gcc.target/riscv/zfa-fmovh-fmovp-bug.c

raw
1 /* Test that we do not have ice when compile */
2 /* { dg-do compile } */
3 /* { dg-options "-march=rv32gc_zfa -mabi=ilp32d -O2 -g" } */
4
5 unsigned int
6 foo (double a) {
7 unsigned int tt = *(unsigned long long *)&a & 0xffff;
8 return tt;
9 }