Support dg-add-options in profopt.exp

2017-06-21  Tom de Vries  <tom@codesourcery.com>

	* lib/profopt.exp (profopt-get-options): Support dg-add-options.

From-SVN: r249453
This commit is contained in:
Tom de Vries 2017-06-21 14:14:31 +00:00 committed by Tom de Vries
parent 5433db459e
commit 27d33d3ef0
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2017-06-21 Tom de Vries <tom@codesourcery.com>
* lib/profopt.exp (profopt-get-options): Support dg-add-options.
2017-06-21 Tom de Vries <tom@codesourcery.com>
* gcc.dg/tree-prof/comp-goto-1.c: Fix 'return type defaults to int'

View File

@ -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] \