commit 69f01ca2de4a42f336f2656379b90d9a8b6894af Author: David Blaikie Date: Fri Apr 11 12:45:37 2014 -0700 Compile inline test with -std=gnu89 explicitly to override Clang's default (-std=c99) gdb/testsuite/ * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to override Clang's default. diff --git gdb/testsuite/ChangeLog gdb/testsuite/ChangeLog index ed448c5..f7a4b8e 100644 --- gdb/testsuite/ChangeLog +++ gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-04-11 David Blaikie + + * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to + override Clang's default. + 2014-04-11 Joel Brobecker Revert the following changes (regressions): diff --git gdb/testsuite/gdb.opt/inline-break.exp gdb/testsuite/gdb.opt/inline-break.exp index 21c958a..7eef10a 100644 --- gdb/testsuite/gdb.opt/inline-break.exp +++ gdb/testsuite/gdb.opt/inline-break.exp @@ -20,7 +20,7 @@ standard_testfile if { [prepare_for_testing $testfile.exp $testfile $srcfile \ - {debug optimize=-O2 additional_flags=-Winline}] } { + {debug optimize=-O2 additional_flags=-Winline additional_flags=-std=gnu89}] } { return -1 }