public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug d/102094] New: d: ICE in gimple_register_canonical_type_1, at lto/lto-common.c:430
@ 2021-08-27 11:15 ibuclaw at gcc dot gnu.org
  2021-08-28 14:46 ` [Bug d/102094] " ibuclaw at gdcproject dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ibuclaw at gcc dot gnu.org @ 2021-08-27 11:15 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 102094
           Summary: d: ICE in gimple_register_canonical_type_1, at
                    lto/lto-common.c:430
           Product: gcc
           Version: 11.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: ibuclaw at gcc dot gnu.org
  Target Milestone: ---

Looks like there's a TYPE_CXX_ODR_P mismatch between D closure frames and user
defined types.

---
extern(C) int printf(char* s, ...);

struct Wow
{
    int a;
}
void formatValue()
{
    Wow x;
    void nested()
    {
        printf(cast(char*)0, x);
    }
}

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

end of thread, other threads:[~2021-08-29 16:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-27 11:15 [Bug d/102094] New: d: ICE in gimple_register_canonical_type_1, at lto/lto-common.c:430 ibuclaw at gcc dot gnu.org
2021-08-28 14:46 ` [Bug d/102094] " ibuclaw at gdcproject dot org
2021-08-29 16:31 ` cvs-commit at gcc dot gnu.org
2021-08-29 16:32 ` 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).