From: Tom de Vries Date: Wed, 21 Jun 2017 14:14:31 +0000 (+0000) Subject: Support dg-add-options in profopt.exp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=27d33d3ef065fd94ec004bf87380e122e9dfebb8;p=gcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c527d1cbf1c..e05fb26737b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +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' diff --git a/gcc/testsuite/lib/profopt.exp b/gcc/testsuite/lib/profopt.exp index 6519c44ce33..0ea8e7a048e 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] \