Skip to content

Commit

Permalink
2013-10-11 Paul Pluzhnikov <ppluzhnikov@google.com>
Browse files Browse the repository at this point in the history
	* cp-demangle.c (d_name): Demangle local-source-names.
	* testsuite/demangle-expected: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203476 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
ppluzhnikov committed Oct 12, 2013
1 parent afeabb6 commit 9a00b35
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions libiberty/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2013-10-11 Paul Pluzhnikov <ppluzhnikov@google.com>

* cp-demangle.c (d_name): Demangle local-source-names.
* testsuite/demangle-expected: New test.

2013-09-10 Paolo Carlini <paolo.carlini@oracle.com>

PR bootstrap/58386
Expand Down
2 changes: 1 addition & 1 deletion libiberty/cp-demangle.c
Original file line number Diff line number Diff line change
Expand Up @@ -1276,7 +1276,6 @@ d_name (struct d_info *di)
case 'Z':
return d_local_name (di);

case 'L':
case 'U':
return d_unqualified_name (di);

Expand Down Expand Up @@ -1323,6 +1322,7 @@ d_name (struct d_info *di)
return dc;
}

case 'L':
default:
dc = d_unqualified_name (di);
if (d_peek_char (di) == 'I')
Expand Down
3 changes: 3 additions & 0 deletions libiberty/testsuite/demangle-expected
Original file line number Diff line number Diff line change
Expand Up @@ -4291,3 +4291,6 @@ void m<void () &&>(void (A::*)() &&)
--format=gnu-v3
_Z1nIM1AKFvvREEvT_
void n<void (A::*)() const &>(void (A::*)() const &)
--format=gnu-v3
_ZL1fIiEvv
void f<int>()

0 comments on commit 9a00b35

Please sign in to comment.