comparison gcc/testsuite/g++.target/i386/mv11.C @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 // { dg-do compile }
2 // { dg-options "-msse2" }
3
4 int foo () __attribute__ ((target("default")));
5 int foo () __attribute__ ((target("sse2")));
6
7 int
8 main ()
9 {
10 return foo ();
11 }
12
13 int __attribute__ ((target("default")))
14 foo ()
15 {
16 return 0;
17 }
18
19 int __attribute__ ((target("sse2")))
20 foo ()
21 {
22 return 0;
23 }