Commit a4e26206 by Eric Botcazou Committed by Eric Botcazou

c-ada-spec.c (dump_ada_double_name): Fix pasto.

	* c-ada-spec.c (dump_ada_double_name): Fix pasto.

Co-Authored-By: Jonathan Wakely <jwakely.gcc@gmail.com>

From-SVN: r221231
parent aeb41dc5
2015-03-06 Eric Botcazou <ebotcazou@adacore.com>
Jonathan Wakely <jwakely.gcc@gmail.com>
* c-ada-spec.c (dump_ada_double_name): Fix pasto.
2015-03-05 Eric Botcazou <ebotcazou@adacore.com> 2015-03-05 Eric Botcazou <ebotcazou@adacore.com>
PR ada/65319 PR ada/65319
......
...@@ -1390,7 +1390,7 @@ dump_ada_double_name (pretty_printer *buffer, tree t1, tree t2, const char *s) ...@@ -1390,7 +1390,7 @@ dump_ada_double_name (pretty_printer *buffer, tree t1, tree t2, const char *s)
pp_underscore (buffer); pp_underscore (buffer);
if (DECL_NAME (t1)) if (DECL_NAME (t2))
pp_ada_tree_identifier (buffer, DECL_NAME (t2), t2, false); pp_ada_tree_identifier (buffer, DECL_NAME (t2), t2, false);
else else
{ {
......
2015-03-06 Eric Botcazou <ebotcazou@adacore.com>
* g++.dg/other/dump-ada-spec-3.C: Remove include and adjust.
2015-03-05 Bernd Edlinger <bernd.edlinger@hotmail.de> 2015-03-05 Bernd Edlinger <bernd.edlinger@hotmail.de>
* gcc.target/arm/pr65067.c: New test. * gcc.target/arm/pr65067.c: New test.
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-fdump-ada-spec" } */ /* { dg-options "-fdump-ada-spec" } */
#include <iostream>
using namespace std; using namespace std;
class Base { class Base {
...@@ -14,7 +12,6 @@ class Base { ...@@ -14,7 +12,6 @@ class Base {
}; };
void Base::Primitive () { void Base::Primitive () {
cout << "C++ Primitive " << this->My_V << "\n";
} }
Base::Base () { Base::Base () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment