Commit 65a372f4 by Arnaud Charlet Committed by Eric Botcazou

* c-ada-spec.c (print_ada_declaration): Prevent accessing null asm name

From-SVN: r201625
parent 66adb8eb
2013-08-09 Arnaud Charlet <charlet@adacore.com>
* c-ada-spec.c (print_ada_declaration): Prevent accessing null asm name
2013-08-05 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/58080
......
......@@ -2900,7 +2900,7 @@ print_ada_declaration (pretty_printer *buffer, tree t, tree type,
pp_string (buffer, " -- ");
dump_sloc (buffer, t);
if (is_abstract)
if (is_abstract || !DECL_ASSEMBLER_NAME (t))
return 1;
newline_and_indent (buffer, spc);
......
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