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
28e08d3c
Commit
28e08d3c
authored
Mar 27, 2007
by
Janis Johnson
Committed by
Janis Johnson
Mar 27, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lib/compat.exp (compat-execute): Fix processing of file names.
From-SVN: r123270
parent
c97d6ac3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/lib/compat.exp
+7
-4
No files found.
gcc/testsuite/ChangeLog
View file @
28e08d3c
2007
-
03
-
27
Janis
Johnson
<
janis187
@us
.
ibm
.
com
>
*
lib
/
compat
.
exp
(
compat
-
execute
)
:
Fix
processing
of
file
names
.
2007
-
03
-
27
Daniel
Jacobowitz
<
dan
@codesourcery
.
com
>
2007
-
03
-
27
Daniel
Jacobowitz
<
dan
@codesourcery
.
com
>
*
gcc
.
target
/
powerpc
/
ppc
-
stackalign
-
1
.
c
:
Run
for
powerpc
-
eabi
.
*
gcc
.
target
/
powerpc
/
ppc
-
stackalign
-
1
.
c
:
Run
for
powerpc
-
eabi
.
gcc/testsuite/lib/compat.exp
View file @
28e08d3c
...
@@ -259,10 +259,13 @@ proc compat-execute { src1 sid use_alt } {
...
@@ -259,10 +259,13 @@ proc compat-execute { src1 sid use_alt } {
}
}
# Set up the names of the other source files.
# Set up the names of the other source files.
regsub "_main.*" $src1 "" base
set dir [file dirname $src1]
regsub ".*/" $base "" base
set ext [file extension $src1]
regsub "_main" $src1 "_x" src2
set base [file rootname $src1]
regsub "_main" $src1 "_y" src3
set base [string range $base [string length $dir] end]
regsub "_main" $base "" base
set src2 "${dir}/${base}_x${ext}"
set src3 "${dir}/${base}_y${ext}"
# Use the dg-options mechanism to specify extra flags for this test.
# Use the dg-options mechanism to specify extra flags for this test.
# The extra flags in each file are used to compile that file, and the
# The extra flags in each file are used to compile that file, and the
...
...
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