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
10fe5cbe
Unverified
Commit
10fe5cbe
authored
Jan 27, 2020
by
Martin Liska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not print params in --help except --help=param.
* opts.c (print_help): Exclude params from all except --help=param.
parent
c2bd2b46
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
+8
-1
gcc/ChangeLog
+5
-0
gcc/opts.c
+3
-1
No files found.
gcc/ChangeLog
View file @
10fe5cbe
2020-01-27 Martin Liska <mliska@suse.cz>
* opts.c (print_help): Exclude params from
all except --help=param.
2020-01-27 Martin Liska <mliska@suse.cz>
PR target/93274
* config/i386/i386-features.c (make_resolver_func):
Align the code with ppc64 target implementation.
...
...
gcc/opts.c
View file @
10fe5cbe
...
...
@@ -2140,7 +2140,9 @@ print_help (struct gcc_options *opts, unsigned int lang_mask,
/* We started using PerFunction/Optimization for parameters and
a warning. We should exclude these from optimization options. */
if
(
include_flags
&
CL_OPTIMIZATION
)
exclude_flags
|=
CL_WARNING
|
CL_PARAMS
;
exclude_flags
|=
CL_WARNING
;
if
(
!
(
include_flags
&
CL_PARAMS
))
exclude_flags
|=
CL_PARAMS
;
if
(
include_flags
)
print_specific_help
(
include_flags
,
exclude_flags
,
0
,
opts
,
...
...
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