gcc/testsuite/g++.dg/pr90773-1d.C
raw| 1 | // { dg-do run } |
| 2 | // { dg-options "-O2" } |
| 3 | // { dg-additional-options "-march=native" { target { i?86-*-* x86_64-*-* } } } |
| 4 | // { dg-additional-sources "pr90773-1a.C" } |
| 5 | |
| 6 | #include "pr90773-1.h" |
| 7 | |
| 8 | void |
| 9 | foo (fixed_wide_int_storage x) |
| 10 | { |
| 11 | for (int i = 0; i < x.len; i++) |
| 12 | if (x.val[i] != i) |
| 13 | __builtin_abort (); |
| 14 | } |
| 15 | |
| 16 | int main () |
| 17 | { |
| 18 | return record_increment (); |
| 19 | } |