projects
/
platform
/
upstream
/
linaro-gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
982803b
)
(dbxout_symbol): If it's C++, don't check the
author
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Nov 1993 05:01:22 +0000
(
05:01
+0000)
committer
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Nov 1993 05:01:22 +0000
(
05:01
+0000)
DECL_SOURCE_LINE of a typedef.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6065
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/dbxout.c
patch
|
blob
|
history
diff --git
a/gcc/dbxout.c
b/gcc/dbxout.c
index
c2adcb8
..
c08c4b1
100644
(file)
--- a/
gcc/dbxout.c
+++ b/
gcc/dbxout.c
@@
-1569,7
+1569,10
@@
dbxout_symbol (decl, local)
&& !TREE_ASM_WRITTEN (TYPE_NAME (type))
/* Distinguish the implicit typedefs of C++
from explicit ones that might be found in C. */
- && DECL_SOURCE_LINE (decl) == 0)
+ && (!strcmp (lang_identify (), "cplusplus")
+ /* The following line maybe unnecessary;
+ in 2.6, try removing it. */
+ || DECL_SOURCE_LINE (decl) == 0))
{
tree name = TYPE_NAME (type);
if (TREE_CODE (name) == TYPE_DECL)