[Bug d/96140] New: internal compiler error: in expand_intrinsic_vaarg

ibuclaw at gdcproject dot org gcc-bugzilla@gcc.gnu.org
Thu Jul 9 20:22:58 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96140

            Bug ID: 96140
           Summary: internal compiler error: in expand_intrinsic_vaarg
           Product: gcc
           Version: 10.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: ibuclaw at gdcproject dot org
  Target Milestone: ---

void test_va_arg(ref int a, ...) { return va_arg!int(_argptr, a); }
---
0x6231bc expand_intrinsic_vaarg
        ../../gcc/d/intrinsics.cc:514
0x6231bc maybe_expand_intrinsic(tree_node*)
        ../../gcc/d/intrinsics.cc:845
0x7a1381 d_build_call(TypeFunction*, tree_node*, tree_node*,
Array<Expression*>*)
        ../../gcc/d/d-codegen.cc:1947
0x7b3153 ExprVisitor::visit(CallExp*)
        ../../gcc/d/expr.cc:1843
0x7b131a build_expr(Expression*, bool)
        ../../gcc/d/expr.cc:3085
0x7b13c1 build_expr_dtor(Expression*)
        ../../gcc/d/expr.cc:3108
0x7bd411 IRVisitor::visit(ExpStatement*)
        ../../gcc/d/toir.cc:1040
0x7bd11c IRVisitor::build_stmt(Statement*)
        ../../gcc/d/toir.cc:273
0x7bd11c IRVisitor::visit(CompoundStatement*)
        ../../gcc/d/toir.cc:1057
0x7bd11c IRVisitor::visit(CompoundStatement*)
        ../../gcc/d/toir.cc:1047
0x7bd11c IRVisitor::build_stmt(Statement*)
        ../../gcc/d/toir.cc:273
0x7bd11c IRVisitor::visit(CompoundStatement*)
        ../../gcc/d/toir.cc:1057
0x7bd11c IRVisitor::visit(CompoundStatement*)
        ../../gcc/d/toir.cc:1047
0x7bcfed IRVisitor::build_stmt(Statement*)
        ../../gcc/d/toir.cc:273
0x7bcfed build_function_body(FuncDeclaration*)
        ../../gcc/d/toir.cc:1469
0x7b08bf DeclVisitor::visit(FuncDeclaration*)
        ../../gcc/d/decl.cc:1006
0x7ad36f build_decl_tree(Dsymbol*)
        ../../gcc/d/decl.cc:1047
0x7bad80 build_module_tree(Module*)
        ../../gcc/d/modules.cc:728
0x7afa5b DeclVisitor::visit(Module*)
        ../../gcc/d/decl.cc:147
0x7ad36f build_decl_tree(Dsymbol*)
        ../../gcc/d/decl.cc:1047
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.


More information about the Gcc-bugs mailing list