comparison gcc/testsuite/gcc.dg/pr57980.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* PR tree-optimization/57980 */
2 /* { dg-do compile } */
3 /* { dg-options "-O -foptimize-sibling-calls -w" } */
4
5 typedef int V __attribute__ ((vector_size (2 * sizeof (int))));
6 extern V f (void);
7
8 V
9 bar (void)
10 {
11 return -f ();
12 }
13
14 V
15 foo (void)
16 {
17 V v = { };
18 return v - f ();
19 }