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
29ced803
Commit
29ced803
authored
Nov 30, 2000
by
Alexandre Oliva
Committed by
Alexandre Oliva
Nov 30, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* c-common.c (status_warning) [! ANSI_PROTOTYPES]: Load status
from va_list before using it. From-SVN: r37900
parent
25e4379f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
gcc/ChangeLog
+5
-0
gcc/c-common.c
+5
-5
No files found.
gcc/ChangeLog
View file @
29ced803
2000-11-30 Alexandre Oliva <aoliva@redhat.com>
* c-common.c (status_warning) [! ANSI_PROTOTYPES]: Load status
from va_list before using it.
2000-11-30 Michael Matz <matzmich@cs.tu-berlin.de>
* flow.c (make_edge): Early out, if no flags to set.
...
...
gcc/c-common.c
View file @
29ced803
...
...
@@ -2021,10 +2021,6 @@ status_warning VPARAMS ((int *status, const char *msgid, ...))
va_list
ap
;
diagnostic_context
dc
;
if
(
status
)
*
status
=
1
;
else
{
VA_START
(
ap
,
msgid
);
#ifndef ANSI_PROTOTYPES
...
...
@@ -2032,13 +2028,17 @@ status_warning VPARAMS ((int *status, const char *msgid, ...))
msgid
=
va_arg
(
ap
,
const
char
*
);
#endif
if
(
status
)
*
status
=
1
;
else
{
/* This duplicates the warning function behavior. */
set_diagnostic_context
(
&
dc
,
msgid
,
&
ap
,
input_filename
,
lineno
,
/* warn = */
1
);
report_diagnostic
(
&
dc
);
}
va_end
(
ap
);
}
}
/* Variables used by the checking of $ operand number formats. */
...
...
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