public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug d/105942] New: [12 Regression] d: internal compiler error: in visit, at d/expr.cc:945
@ 2022-06-13 12:07 ibuclaw at gdcproject dot org
  2022-06-14  8:09 ` [Bug d/105942] [12/13 " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ibuclaw at gdcproject dot org @ 2022-06-13 12:07 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105942
           Summary: [12 Regression] d: internal compiler error: in visit,
                    at d/expr.cc:945
           Product: gcc
           Version: 12.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 ice()
{   
    struct hasDtor
    {
        int i;
        ~this() { }
    }
    hasDtor[4] arr = hasDtor(4);
}
---

0x9baaa0 ExprVisitor::visit(AssignExp*)
        ../../src/gcc/d/expr.cc:945
0x9b6a23 build_expr(Expression*, bool, bool)
        ../../src/gcc/d/expr.cc:3040
0x9b65e8 DeclVisitor::visit(VarDeclaration*)
        ../../src/gcc/d/decl.cc:735
0x9b06ba DeclVisitor::build_dsymbol(Dsymbol*)
        ../../src/gcc/d/decl.cc:146
0x9b06ba build_decl_tree(Dsymbol*)
        ../../src/gcc/d/decl.cc:1010
0x9b6ddd ExprVisitor::visit(DeclarationExp*)
        ../../src/gcc/d/expr.cc:2008
0x9b6a23 build_expr(Expression*, bool, bool)
        ../../src/gcc/d/expr.cc:3040
0x9b6abf build_expr_dtor(Expression*)
        ../../src/gcc/d/expr.cc:3063
0x9c31e5 IRVisitor::visit(ExpStatement*)
        ../../src/gcc/d/toir.cc:1052
0x9c3157 IRVisitor::build_stmt(Statement*)
        ../../src/gcc/d/toir.cc:274
0x9c3157 IRVisitor::visit(CompoundStatement*)
        ../../src/gcc/d/toir.cc:1069
0x9c3157 IRVisitor::visit(CompoundStatement*)
        ../../src/gcc/d/toir.cc:1059
0x9c3157 IRVisitor::build_stmt(Statement*)
        ../../src/gcc/d/toir.cc:274
0x9c3157 IRVisitor::visit(CompoundStatement*)
        ../../src/gcc/d/toir.cc:1069
0x9c3157 IRVisitor::visit(CompoundStatement*)
        ../../src/gcc/d/toir.cc:1059
0x9c2842 IRVisitor::build_stmt(Statement*)
        ../../src/gcc/d/toir.cc:274
0x9c2842 build_function_body(FuncDeclaration*)
        ../../src/gcc/d/toir.cc:1481
0x9b5b72 DeclVisitor::visit(FuncDeclaration*)
        ../../src/gcc/d/decl.cc:969
0x9b06ba DeclVisitor::build_dsymbol(Dsymbol*)
        ../../src/gcc/d/decl.cc:146
0x9b06ba build_decl_tree(Dsymbol*)
        ../../src/gcc/d/decl.cc:1010

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug d/105942] [12/13 Regression] d: internal compiler error: in visit, at d/expr.cc:945
  2022-06-13 12:07 [Bug d/105942] New: [12 Regression] d: internal compiler error: in visit, at d/expr.cc:945 ibuclaw at gdcproject dot org
@ 2022-06-14  8:09 ` rguenth at gcc dot gnu.org
  2022-06-14  8:25 ` ibuclaw at gdcproject dot org
  2022-08-08 10:45 ` ibuclaw at gdcproject dot org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-06-14  8:09 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.2
           Priority|P3                          |P4
            Summary|[12 Regression] d: internal |[12/13 Regression] d:
                   |compiler error: in visit,   |internal compiler error: in
                   |at d/expr.cc:945            |visit, at d/expr.cc:945

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug d/105942] [12/13 Regression] d: internal compiler error: in visit, at d/expr.cc:945
  2022-06-13 12:07 [Bug d/105942] New: [12 Regression] d: internal compiler error: in visit, at d/expr.cc:945 ibuclaw at gdcproject dot org
  2022-06-14  8:09 ` [Bug d/105942] [12/13 " rguenth at gcc dot gnu.org
@ 2022-06-14  8:25 ` ibuclaw at gdcproject dot org
  2022-08-08 10:45 ` ibuclaw at gdcproject dot org
  2 siblings, 0 replies; 4+ messages in thread
From: ibuclaw at gdcproject dot org @ 2022-06-14  8:25 UTC (permalink / raw)
  To: gcc-bugs

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

Iain Buclaw <ibuclaw at gdcproject dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://github.com/dlang/dm
                   |                            |d/pull/14210

--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
Fix landed in upstream.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug d/105942] [12/13 Regression] d: internal compiler error: in visit, at d/expr.cc:945
  2022-06-13 12:07 [Bug d/105942] New: [12 Regression] d: internal compiler error: in visit, at d/expr.cc:945 ibuclaw at gdcproject dot org
  2022-06-14  8:09 ` [Bug d/105942] [12/13 " rguenth at gcc dot gnu.org
  2022-06-14  8:25 ` ibuclaw at gdcproject dot org
@ 2022-08-08 10:45 ` ibuclaw at gdcproject dot org
  2 siblings, 0 replies; 4+ messages in thread
From: ibuclaw at gdcproject dot org @ 2022-08-08 10:45 UTC (permalink / raw)
  To: gcc-bugs

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

Iain Buclaw <ibuclaw at gdcproject dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
Downstreamed in r13-1949 and r12-8621.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-08 10:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-13 12:07 [Bug d/105942] New: [12 Regression] d: internal compiler error: in visit, at d/expr.cc:945 ibuclaw at gdcproject dot org
2022-06-14  8:09 ` [Bug d/105942] [12/13 " rguenth at gcc dot gnu.org
2022-06-14  8:25 ` ibuclaw at gdcproject dot org
2022-08-08 10:45 ` ibuclaw at gdcproject dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).