mve: Fix vsetq_lane for 64-bit elements with lane 1 [PR 115611]
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pta-callused-1.c
blob36cf02feeae44b6b943b5790987fb75750277524
1 /* { dg-do run } */
2 /* { dg-options "-fdump-tree-alias-details" } */
3 /* { dg-skip-if "" { *-*-* } { "-O0" "-fno-fat-lto-objects" } { "" } } */
5 volatile int i;
6 int ** __attribute__((noinline,pure)) foo(int **p) { i; return p; }
7 int bar(void)
9 int i = 0, j = 1;
10 int *p, **q;
11 p = &i;
12 q = foo(&p);
13 *q = &j;
14 return *p;
16 extern void abort (void);
17 int main()
19 if (bar() != 1)
20 abort ();
21 return 0;
24 /* { dg-final { scan-tree-dump "p.\?.._. = { i j }" "alias" } } */