From 27d33d3ef065fd94ec004bf87380e122e9dfebb8 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Wed, 21 Jun 2017 14:14:31 +0000 Subject: Support dg-add-options in profopt.exp 2017-06-21 Tom de Vries * lib/profopt.exp (profopt-get-options): Support dg-add-options. From-SVN: r249453 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/lib/profopt.exp | 1 + 2 files changed, 5 insertions(+) (limited to 'gcc') diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c527d1c..e05fb26 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2017-06-21 Tom de Vries + * lib/profopt.exp (profopt-get-options): Support dg-add-options. + +2017-06-21 Tom de Vries + * gcc.dg/tree-prof/comp-goto-1.c: Fix 'return type defaults to int' warning. diff --git a/gcc/testsuite/lib/profopt.exp b/gcc/testsuite/lib/profopt.exp index 6519c44..0ea8e7a 100644 --- a/gcc/testsuite/lib/profopt.exp +++ b/gcc/testsuite/lib/profopt.exp @@ -249,6 +249,7 @@ proc profopt-get-options { src } { set cmd [lindex $op 0] if { ![string compare "dg-options" $cmd] \ || ![string compare "dg-additional-options" $cmd] \ + || ![string compare "dg-add-options" $cmd] \ || ![string compare "dg-skip-if" $cmd] \ || ![string compare "dg-final-generate" $cmd] \ || ![string compare "dg-final-use" $cmd] \ -- cgit v1.1