blob: 27862316f88f983451c56180a4f3262c1510aaf8 [file] [log] [blame]
Sebastian Pop9ec60df2012-01-20 22:01:23 +00001// RUN: %clang -target i386-apple-darwin9 -### -S -msoft-float %s 2> %t.log
Daniel Dunbar66861e02009-11-20 22:21:36 +00002// RUN: grep '"-no-implicit-float"' %t.log
Daniel Dunbar776dbd82009-03-30 18:13:26 +00003
Sebastian Pop9ec60df2012-01-20 22:01:23 +00004// RUN: %clang -target i386-apple-darwin9 -### -S -msoft-float -mno-soft-float %s 2> %t.log
Daniel Dunbar66861e02009-11-20 22:21:36 +00005// RUN: grep '"-no-implicit-float"' %t.log | count 0
Daniel Dunbar776dbd82009-03-30 18:13:26 +00006
Sebastian Pop9ec60df2012-01-20 22:01:23 +00007// RUN: %clang -target i386-apple-darwin9 -### -S -mno-soft-float %s -msoft-float 2> %t.log
Daniel Dunbar66861e02009-11-20 22:21:36 +00008// RUN: grep '"-no-implicit-float"' %t.log
Daniel Dunbar776dbd82009-03-30 18:13:26 +00009
Bob Wilson7a9e91a2013-02-10 15:25:44 +000010// RUN: %clang -target i386-apple-darwin9 -### -S -mno-implicit-float %s 2> %t.log
11// RUN: grep '"-no-implicit-float"' %t.log
12
Bob Wilsonf0c54562013-02-10 16:01:41 +000013// RUN: %clang -target i386-apple-darwin9 -### -S -mkernel %s 2> %t.log
14// RUN: grep '"-no-implicit-float"' %t.log
15
16// RUN: %clang -target i386-apple-darwin9 -### -S -mkernel -mno-soft-float %s 2> %t.log
17// RUN: grep '"-no-implicit-float"' %t.log | count 0
18
Chad Rosier005af272012-05-16 21:19:55 +000019// RUN: %clang -target armv7-apple-darwin10 -### -S -mno-implicit-float %s 2> %t.log
Bob Wilson7a9e91a2013-02-10 15:25:44 +000020// RUN: grep '"-no-implicit-float"' %t.log