Ada testcase triggering this.
Index: llvm/test/AdaFrontend/emit_var.ads
===
--- /dev/null 1970-01-01 00:00:00.0 +
+++ llvm/test/AdaFrontend/emit_var.ads 2007-03-02 12:50:25.0 +0100
@@ -0,0 +1,5 @@
+-- RUN: %llvmgcc
On Feb 28, 2007, at 3:09 AM, Duncan Sands wrote:
The variable expansion part of EmitBIND_EXPR is clearly based on
expand_var in expr.c, however unlike expand_var it doesn't check
for VAR_DECL before calling rest_of_decl_compilation. This patch
adds the check. Without it, the Ada run-time
The variable expansion part of EmitBIND_EXPR is clearly based on
expand_var in expr.c, however unlike expand_var it doesn't check
for VAR_DECL before calling rest_of_decl_compilation. This patch
adds the check. Without it, the Ada run-time fails to build due to
rest_of_decl_compilation getting