Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
606145e4
Commit
606145e4
authored
Dec 22, 2004
by
Janis Johnson
Committed by
Janis Johnson
Dec 22, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lib/gcc-dg.exp (dg-xfail-if): Fix the flags compared against.
From-SVN: r92490
parent
e90f1b9d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
3 deletions
+28
-3
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/lib/gcc-dg.exp
+24
-3
No files found.
gcc/testsuite/ChangeLog
View file @
606145e4
2004
-
12
-
22
Janis
Johnson
<
janis187
@us
.
ibm
.
com
>
*
lib
/
gcc
-
dg
.
exp
(
dg
-
xfail
-
if
)
:
Fix
the
flags
compared
against
.
2004
-
12
-
22
Jan
Beulich
<
jbeulich
@novell
.
com
>
*
gcc
.
dg
/
20040813
-
1
.
c
:
Skip
for
*-*-
netware
*
.
...
...
gcc/testsuite/lib/gcc-dg.exp
View file @
606145e4
...
...
@@ -426,19 +426,40 @@ proc dg-require-effective-target { args } {
# The first argument is the line number of the dg-skip-if directive
# within the test file. Remaining arguments are as for xfail lists:
# message { targets } { include } { exclude }
#
# This tests against multilib flags plus either the default flags for this
# group of tests or flags specified with a previous dg-options command.
proc dg-skip-if { args } {
set args [lreplace $args 0 0]
# The target list might be an effective-target keyword, so replace
# the original list with "*-*-*" if it is matched.
set selector "target [join [lindex $args 1]]"
if { [dg-process-target $selector] == "S" } {
# The target list matched; now check the flags.
# The target list matched; now check the flags. The DejaGnu proc
# check_conditional_xfail will look at the options in compiler_flags,
# so set that up for this test based on flags we know about. Start
# the list with a dummy tool name so the list will match "*" if
# there are no flags.
global compiler_flags
upvar dg-extra-tool-flags extra_tool_flags
set compiler_flags " toolname "
append compiler_flags $extra_tool_flags
set dest [target_info name]
if [board_info $dest exists multilib_flags] {
append compiler_flags "[board_info $dest multilib_flags] "
}
# The target list might be an effective-target keyword, so replace
# the original list with "*-*-*".
if [check_conditional_xfail [lreplace $args 1 1 "*-*-*"]] {
upvar dg-do-what dg-do-what
skip_test_and_clear_xfail
}
# Any value in this variable was left over from an earlier test.
set compiler_flags ""
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment