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
33002945
Commit
33002945
authored
Jun 17, 2000
by
Bruce Korb
Committed by
Bruce Korb
Jun 17, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
finish the implementation of multiple tests per fix
From-SVN: r34581
parent
c19bd6c0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
5 deletions
+20
-5
gcc/ChangeLog
+8
-0
gcc/fixinc/check.tpl
+3
-3
gcc/fixinc/inclhack.def
+9
-2
No files found.
gcc/ChangeLog
View file @
33002945
2000-06-17 Bruce Korb <bkorb@gnu.org>
* fixinc/check.tpl: finish the implementation of multiple tests
for a single fix
* fixinc/inclhack.def(ctrl_quotes_def): add a second test
(io_quotes_def): add a second test
* fixinc/tests/base/*: update the testing output
Sat Jun 17 10:33:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* gcc.texi: Remove reference to stupid.c.
...
...
gcc/fixinc/check.tpl
View file @
33002945
...
...
@@ -54,10 +54,9 @@ sfile=[=
_IF files _exist =][=
files[0] =][=
_ELSE =]testing.h[=
_ENDIF =]
dfile=`dirname $sfile`/[=hackname "_A-Z" "-a-z" _tr=]-[=_EVAL _index=].h
fixnum=[=_EVAL _index=][=
_ENDIF =][=
_FOR test_text FROM 1 =]
dfile=`dirname $sfile`/[=hackname "#_A-Z" "#-a-z" _tr=]-[=_EVAL _index=].h
cat >> $sfile
<
<
_HACK_EOF_
...
...
@@ -66,6 +65,7 @@ cat >> $sfile <<_HACK_EOF_
#
endif
/*
[=
hackname
_up=
]_CHECK_[=_EVAL
_index=
]
*/
_HACK_EOF_
echo
$
sfile
|
../../
fixincl
mv
-f
$
sfile
$
dfile
[
-f
$
{
DESTDIR
}
/$
sfile
]
&&
mv
$
{
DESTDIR
}
/$
sfile
$
{
DESTDIR
}
/$
dfile
[=
/
test_text =
][=
_ENDIF =
][=
...
...
gcc/fixinc/inclhack.def
View file @
33002945
...
...
@@ -891,8 +891,13 @@ fix = {
select = "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
c_fix = char_macro_def;
c_fix_arg = "CTRL";
test_text = "#define BSD43_CTRL(n, x) (('n'<<8)+x)\n"
"#define _CTRL(c) ('c'&037)";
/*
* This is two tests in order to ensure that the "CTRL(c)" can
* be selected in isolation from the multi-arg format
*/
test_text = "#define BSD43_CTRL(n, x) (('n'<<8)+x)\n";
test_text = "#define _CTRL(c) ('c'&037)";
};
fix = {
...
...
@@ -1149,6 +1154,8 @@ fix = {
"#define BSD43__IOWR(n, x) (('n'<<8)+x)\n"
"#define _IOWN(x,y,t) (_IOC_IN|(((t)&_IOCPARM_MASK)<<16)|('x'<<8)|y)\n"
"#define _IO(x,y) ('x'<<8|y)";
test_text =
"#define XX_IO(x) ('x'<<8|256)";
};
fix = {
...
...
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