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
bfee926b
Commit
bfee926b
authored
Jan 04, 2005
by
Richard Henderson
Committed by
Richard Henderson
Jan 04, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree-mudflap.c (mf_varname_tree): Fix thinko setting declname.
From-SVN: r92901
parent
21e5076a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
gcc/ChangeLog
+4
-0
gcc/tree-mudflap.c
+4
-2
No files found.
gcc/ChangeLog
View file @
bfee926b
2005-01-04 Richard Henderson <rth@redhat.com>
* tree-mudflap.c (mf_varname_tree): Fix thinko setting declname.
2005-01-04 Uros Bizjak <uros@kss-loka.si>
2005-01-04 Uros Bizjak <uros@kss-loka.si>
PR middle-end/17767
PR middle-end/17767
...
...
gcc/tree-mudflap.c
View file @
bfee926b
/* Mudflap: narrow-pointer bounds-checking by tree rewriting.
/* Mudflap: narrow-pointer bounds-checking by tree rewriting.
Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
Copyright (C) 2002, 2003, 2004
, 2005
Free Software Foundation, Inc.
Contributed by Frank Ch. Eigler <fche@redhat.com>
Contributed by Frank Ch. Eigler <fche@redhat.com>
and Graydon Hoare <graydon@redhat.com>
and Graydon Hoare <graydon@redhat.com>
...
@@ -161,7 +161,7 @@ mf_varname_tree (tree decl)
...
@@ -161,7 +161,7 @@ mf_varname_tree (tree decl)
/* Add <variable-declaration>, possibly demangled. */
/* Add <variable-declaration>, possibly demangled. */
{
{
const
char
*
declname
=
"<unnamed variable>"
;
const
char
*
declname
=
NULL
;
if
(
DECL_NAME
(
decl
)
!=
NULL
)
if
(
DECL_NAME
(
decl
)
!=
NULL
)
{
{
...
@@ -175,6 +175,8 @@ mf_varname_tree (tree decl)
...
@@ -175,6 +175,8 @@ mf_varname_tree (tree decl)
if
(
declname
==
NULL
)
if
(
declname
==
NULL
)
declname
=
lang_hooks
.
decl_printable_name
(
decl
,
3
);
declname
=
lang_hooks
.
decl_printable_name
(
decl
,
3
);
}
}
if
(
declname
==
NULL
)
declname
=
"<unnamed variable>"
;
pp_string
(
buf
,
declname
);
pp_string
(
buf
,
declname
);
}
}
...
...
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