RISC-V: Fix factor in dwarf_poly_indeterminate_value [PR116305]
[official-gcc.git] / gcc / testsuite / gcc.dg / ipa / pr110276.c
blob5a1e2f3fb1c9fd96280f5182a0664def6126a5f9
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 typedef long (*EFI_PCI_IO_PROTOCOL_CONFIG)();
5 typedef struct {
6 EFI_PCI_IO_PROTOCOL_CONFIG Read;
7 } EFI_PCI_IO_PROTOCOL_CONFIG_ACCESS;
8 typedef struct {
9 EFI_PCI_IO_PROTOCOL_CONFIG_ACCESS Pci;
10 } EFI_PCI_IO_PROTOCOL;
11 int init_regs_0;
12 static void __attribute__((constructor)) init(EFI_PCI_IO_PROTOCOL *pci_io) {
13 if (init_regs_0)
14 pci_io->Pci.Read();