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
3c8cd8bd
Commit
3c8cd8bd
authored
Apr 09, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(unitialized_vars_warning, setjmp_args_warning): Reword warning to be
less ambiguous. From-SVN: r7005
parent
053da6b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gcc/function.c
+3
-3
No files found.
gcc/function.c
View file @
3c8cd8bd
...
...
@@ -4078,13 +4078,13 @@ uninitialized_vars_warning (block)
&&
GET_CODE
(
DECL_RTL
(
decl
))
==
REG
&&
regno_uninitialized
(
REGNO
(
DECL_RTL
(
decl
))))
warning_with_decl
(
decl
,
"`%s' m
ay
be used uninitialized in this function"
);
"`%s' m
ight
be used uninitialized in this function"
);
if
(
TREE_CODE
(
decl
)
==
VAR_DECL
&&
DECL_RTL
(
decl
)
!=
0
&&
GET_CODE
(
DECL_RTL
(
decl
))
==
REG
&&
regno_clobbered_at_setjmp
(
REGNO
(
DECL_RTL
(
decl
))))
warning_with_decl
(
decl
,
"variable `%s' m
ay
be clobbered by `longjmp' or `vfork'"
);
"variable `%s' m
ight
be clobbered by `longjmp' or `vfork'"
);
}
for
(
sub
=
BLOCK_SUBBLOCKS
(
block
);
sub
;
sub
=
TREE_CHAIN
(
sub
))
uninitialized_vars_warning
(
sub
);
...
...
@@ -4103,7 +4103,7 @@ setjmp_args_warning (block)
if
(
DECL_RTL
(
decl
)
!=
0
&&
GET_CODE
(
DECL_RTL
(
decl
))
==
REG
&&
regno_clobbered_at_setjmp
(
REGNO
(
DECL_RTL
(
decl
))))
warning_with_decl
(
decl
,
"argument `%s' m
ay
be clobbered by `longjmp' or `vfork'"
);
warning_with_decl
(
decl
,
"argument `%s' m
ight
be clobbered by `longjmp' or `vfork'"
);
}
/* If this function call setjmp, put all vars into the stack
...
...
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