1 /* { dg-do compile } */
2 /* { dg-options "-march=rv32gc -mabi=ilp32 -O2 -fno-section-anchors" } */
4 /* Check for %lo overflow. Adding an offset larger than the alignment can
5 overflow if the data is allocated to an address mod 4KB that is between
6 2KB-offset+1 and 2KB-1. */
7 typedef long long int int64_t;
13 const volatile int64_t f1
;
14 volatile signed f2
: 1;
22 struct S0 g_3030
= {0,-9L,-0,-22553,7,-841,1};
29 /* { dg-final { scan-assembler-not "%lo\\(g_3030\\+4\\)" } } */