public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug d/95173] New: [D] ICE on some architecture targets when trying to use unknown attribute
@ 2020-05-17 11:35 witold.baryluk+gcc at gmail dot com
  2020-06-25 15:37 ` [Bug d/95173] " cvs-commit at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: witold.baryluk+gcc at gmail dot com @ 2020-05-17 11:35 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95173
           Summary: [D] ICE on some architecture targets when trying to
                    use unknown attribute
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: witold.baryluk+gcc at gmail dot com
  Target Milestone: ---

https://explore.dgnu.org/z/bseyKQ


```
import gcc.attribute;

@attribute("foo")
void f() {}
```

This code crashes the compiler when compiling for alpha-linux-gnu, sparc64-elf,
hppa-linux-gnu, mmix-knuth-mmixware, pdp11-aout, lm32-elf and possibly more
with variations. (But sparc64-sun-solaris2.11 for examples works fine).

The code compiles correctly for known attributes.

Other targets do compile without a crash, just with a warning about unknown
attribute. That is correct behaviour.

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

end of thread, other threads:[~2020-06-26 14:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-17 11:35 [Bug d/95173] New: [D] ICE on some architecture targets when trying to use unknown attribute witold.baryluk+gcc at gmail dot com
2020-06-25 15:37 ` [Bug d/95173] " cvs-commit at gcc dot gnu.org
2020-06-26 13:46 ` cvs-commit at gcc dot gnu.org
2020-06-26 13:50 ` cvs-commit at gcc dot gnu.org
2020-06-26 14:09 ` 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).