testsuite/small/attr-14.c
raw| 1 | /* { dg-options "-DCE_EXTRACT_FUNCTIONS=f -DCE_NO_EXTERNALIZATION" }*/ |
| 2 | |
| 3 | struct iwl_mvm_reorder_buf_entry { |
| 4 | int frames; |
| 5 | } |
| 6 | #ifndef __CHECKER__ |
| 7 | /* sparse doesn't like this construct: "bad integer constant expression" */ |
| 8 | __attribute__((aligned(32))) |
| 9 | #endif |
| 10 | ; |
| 11 | |
| 12 | int f(struct iwl_mvm_reorder_buf_entry x) |
| 13 | { |
| 14 | return x.frames; |
| 15 | } |
| 16 | |
| 17 | /* { dg-final { scan-tree-dump "__attribute__\(\(aligned\(32\)\)\)" } } */ |