require allow_cplus_tests
+require is_c_compiler_gcc
+
if {[prepare_for_testing $testfile $testfile $srcfile \
{debug nowarnings c++}]} {
return -1
require allow_cplus_tests
+require is_c_compiler_gcc
+
if {[prepare_for_testing $testfile $testfile $srcfile \
{debug nowarnings c++ additional_flags=-std=c++11}]} {
return -1
require allow_cplus_tests
+require is_c_compiler_gcc
+
if {[prepare_for_testing $testfile $testfile $srcfile \
{debug nowarnings c++}]} {
return -1
require allow_cplus_tests
+require is_c_compiler_gcc
+
if {[prepare_for_testing $testfile $testfile $srcfile \
{debug nowarnings c++}]} {
return -1
require allow_cplus_tests
+require is_c_compiler_gcc
+
if {[prepare_for_testing $testfile $testfile $srcfile \
{debug nowarnings c++}]} {
return -1
require allow_cplus_tests
+require is_c_compiler_gcc
+
if {[prepare_for_testing $testfile $testfile $srcfile \
{debug nowarnings c++}]} {
return -1
require allow_cplus_tests
+require is_c_compiler_gcc
+
if {[prepare_for_testing $testfile $testfile $srcfile \
{debug nowarnings c++}]} {
return -1
standard_testfile
+require is_c_compiler_gcc
+
set options {}
if [test_compiler_info gcc*] {
lappend options additional_flags=-g3
require allow_cplus_tests
+require is_c_compiler_gcc
+
if {[prepare_for_testing $testfile $testfile $srcfile \
{debug nowarnings c++}]} {
return -1
standard_testfile .c compile-shlib.c compile-constvar.S compile-nodebug.c
+require is_c_compiler_gcc
+
set options {}
if { [test_compiler_info gcc*] || [test_compiler_info clang*] } {
lappend options additional_flags=-g3
standard_testfile
+require is_c_compiler_gcc
+
set flags ""
if [test_compiler_info gcc*] {
set flags additional_flags=-Wno-attribute-alias
# This test can only be run on targets which support DWARF-2 and use gas.
require dwarf2_support
+require is_c_compiler_gcc
+
standard_testfile .c -dbg.S
#
standard_testfile
+require is_c_compiler_gcc
+
if { [prepare_for_testing "failed to prepare" "$testfile"] } {
return -1
}
standard_testfile .c compile-setjmp-mod.c
+require is_c_compiler_gcc
+
if { [prepare_for_testing "failed to prepare" $testfile] } {
return -1
}
standard_testfile .c
+require is_c_compiler_gcc
+
if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
executable {debug}] != "" } {
return -1
standard_testfile .c compile-shlib.c compile-constvar.S compile-nodebug.c
-set options {}
-if [test_compiler_info gcc*] {
- lappend options additional_flags=-g3
-}
+require is_c_compiler_gcc
+set options {additional_flags=-g3}
if { ![is_x86_64_m64_target] } {
verbose "Skipping x86_64 LOC_CONST test."