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
eec5428b
Commit
eec5428b
authored
Jan 22, 2017
by
Gerald Pfeifer
Committed by
Gerald Pfeifer
Jan 22, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* warn_summary: Remove the -java option.
From-SVN: r244766
parent
630f9893
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
contrib/ChangeLog
+4
-0
contrib/warn_summary
+5
-5
No files found.
contrib/ChangeLog
View file @
eec5428b
2017
-
01
-
22
Gerald
Pfeifer
<
gerald
@pfeifer
.
com
>
*
warn_summary
:
Remove
the
-
java
option
.
2017
-
01
-
20
Gerald
Pfeifer
<
gerald
@pfeifer
.
com
>
*
update
-
copyright
.
py
(
LibJavaFilter
)
:
Remove
.
...
...
contrib/warn_summary
View file @
eec5428b
...
...
@@ -3,7 +3,7 @@
# This script parses the output of a gcc bootstrap when using warning
# flags and determines various statistics.
#
# usage: warn_summary [-llf] [-s stage] [-nosub|-ch|-cp|-f|-fortran|-
java|-
ada|-intl|-fixinc]
# usage: warn_summary [-llf] [-s stage] [-nosub|-ch|-cp|-f|-fortran|-ada|-intl|-fixinc]
# [-pass|-wpass] [file(s)]
#
# -llf
...
...
@@ -19,7 +19,7 @@
#
# -nosub
# Only show warnings from the gcc top level directory.
# -ch|-cp|-f|-fortran|-
java|-
ada|-intl|-fixinc
# -ch|-cp|-f|-fortran|-ada|-intl|-fixinc
# Only show warnings from the specified gcc subdirectory.
# These override each other so only the last one passed takes effect.
#
...
...
@@ -57,7 +57,7 @@ subdirectoryFilter()
else
if
test
"
$filter
"
=
nosub
;
then
# Omit all subdirectories.
egrep
-v
'/gcc/(ch|cp|f|fortran|
java|
ada|intl|fixinc)/'
egrep
-v
'/gcc/(ch|cp|f|fortran|ada|intl|fixinc)/'
else
# Pass through only subdir $filter.
grep
"/gcc/
$filter
/"
...
...
@@ -136,7 +136,7 @@ s%^[^ ]*/\(lib[a-z23+-]*/\)%\1%;'
# Start the main section.
usage
=
"usage:
`
basename
$0
`
[-llf] [-s stage] [-nosub|-ch|-cp|-f|-fortran|-
java|-
ada|-intl|-fixinc] [-pass|-wpass] [file(s)]"
usage
=
"usage:
`
basename
$0
`
[-llf] [-s stage] [-nosub|-ch|-cp|-f|-fortran|-ada|-intl|-fixinc] [-pass|-wpass] [file(s)]"
stageN
=
3
tmpfile
=
/tmp/tmp-warn.
$$
...
...
@@ -162,7 +162,7 @@ while test -n "$1" ; do
-s
)
if
test
-z
"
$2
"
;
then
echo
$usage
1>&2
;
exit
1
;
fi
stageN
=
"
$2
"
;
shift
2
;;
-s
*
)
stageN
=
"
`
expr
$1
:
'-s\(.*\)'
`
"
;
shift
;;
-nosub
|
-ch
|
-cp
|
-f
|
-fortran
|
-
java
|
-
ada
|
-intl
|
-fixinc
)
filter
=
"
`
expr
$1
:
'-\(.*\)'
`
"
;
shift
;;
-nosub
|
-ch
|
-cp
|
-f
|
-fortran
|
-ada
|
-intl
|
-fixinc
)
filter
=
"
`
expr
$1
:
'-\(.*\)'
`
"
;
shift
;;
-pass
)
pass
=
1
;
shift
;;
-wpass
)
pass
=
w
;
shift
;;
-
*
)
echo
$usage
1>&2
;
exit
1
;;
...
...
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