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
23fb21ff
Commit
23fb21ff
authored
Sep 15, 1999
by
Kaveh R. Ghazi
Committed by
Kaveh Ghazi
Sep 15, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* actions.c (warn_unhandled): Use xstrdup, not xmalloc/strcpy.
From-SVN: r29435
parent
c1b59dce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
gcc/ch/ChangeLog
+4
-0
gcc/ch/actions.c
+1
-2
No files found.
gcc/ch/ChangeLog
View file @
23fb21ff
1999-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* actions.c (warn_unhandled): Use xstrdup, not xmalloc/strcpy.
Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
* ch-tree.h: Delete declarations for all tree nodes now moved to
* ch-tree.h: Delete declarations for all tree nodes now moved to
...
...
gcc/ch/actions.c
View file @
23fb21ff
...
@@ -293,8 +293,7 @@ warn_unhandled (ex)
...
@@ -293,8 +293,7 @@ warn_unhandled (ex)
/* not yet warned */
/* not yet warned */
p
=
(
struct
already_type
*
)
xmalloc
(
sizeof
(
struct
already_type
));
p
=
(
struct
already_type
*
)
xmalloc
(
sizeof
(
struct
already_type
));
p
->
next
=
already_warned
;
p
->
next
=
already_warned
;
p
->
name
=
(
char
*
)
xmalloc
(
strlen
(
ex
)
+
1
);
p
->
name
=
xstrdup
(
ex
);
strcpy
(
p
->
name
,
ex
);
already_warned
=
p
;
already_warned
=
p
;
pedwarn
(
"causing unhandled exception `%s' (this is flaged only once)"
,
ex
);
pedwarn
(
"causing unhandled exception `%s' (this is flaged only once)"
,
ex
);
}
}
...
...
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