On Fri, Jun 24, 2016 at 06:34:11PM +0200, Uros Bizjak wrote: > 2016-06-24 18:14 GMT+02:00 Christophe Lyon <christophe.l...@linaro.org>: > > 2016-06-24 17:50 GMT+02:00 Uros Bizjak <ubiz...@gmail.com>: > >> Hello! > >> > >> - Remove harmful "dg-do run" directives (run vs. compile is handled > >> automatically by the vect.exp infrastructure) > > > > I thought Jakub disagreed on that :-) > > Please see this snippet from check_vect_support_and_set_flags, > lib/target-supports.exp: > > } elseif { [istarget i?86-*-*] || [istarget x86_64-*-*] } { > lappend DEFAULT_VECTCFLAGS "-msse2" > if { [check_effective_target_sse2_runtime] } { > set dg-do-what-default run > } else { > set dg-do-what-default compile > }
What is the point of check_vect () if you want to do it purely using the default dg-do? Shall we just remove it? Jakub