public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug d/102185] New: d: STRING_CSTs converted back into StringExp include null pointer in length
@ 2021-09-03  7:20 ibuclaw at gdcproject dot org
  2021-09-12 15:46 ` [Bug d/102185] " cvs-commit at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: ibuclaw at gdcproject dot org @ 2021-09-03  7:20 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 102185
           Summary: d: STRING_CSTs converted back into StringExp include
                    null pointer in length
           Product: gcc
           Version: 11.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: ibuclaw at gdcproject dot org
  Target Milestone: ---

---
version (D_HardFloat)
{
    // prints 5LU instead of 4LU
    pragma(msg, __traits(getTargetInfo, "floatAbi").length);

    // static assert  ("hard\x00" == "hard") is false
    static assert(__traits(getTargetInfo, "floatAbi") == "hard");
}

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

end of thread, other threads:[~2022-04-21 20:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-03  7:20 [Bug d/102185] New: d: STRING_CSTs converted back into StringExp include null pointer in length ibuclaw at gdcproject dot org
2021-09-12 15:46 ` [Bug d/102185] " cvs-commit at gcc dot gnu.org
2021-09-12 15:47 ` cvs-commit at gcc dot gnu.org
2021-09-12 15:50 ` ibuclaw at gdcproject dot org
2022-04-21 20:19 ` schwab@linux-m68k.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).