utf_pretty.cxx is a C++ program, compiling with plain gcc might result in
undefined reference to `__gxx_personality_v0'.
set srcfile "$srcdir/$subdir/$test.cxx"
set stpfile "$srcdir/$subdir/$test.stp"
set exefile "[pwd]/$test.exe"
-set test_flags "additional_flags=-g additional_flags=-std=c++0x"
+set test_flags "compiler=g++ additional_flags=-g additional_flags=-std=c++0x"
set res [target_compile "$srcfile" "$exefile" executable "$test_flags"]
if { $res != "" } {
verbose "target_compile failed: $res" 2