public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug d/108962] New: d: Don't generate code that throws exceptions when compiling with `-fno-exceptions'
@ 2023-02-28  6:06 ibuclaw at gcc dot gnu.org
  2023-07-02 13:54 ` [Bug d/108962] " cvs-commit at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ibuclaw at gcc dot gnu.org @ 2023-02-28  6:06 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108962
           Summary: d: Don't generate code that throws exceptions when
                    compiling with `-fno-exceptions'
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: ibuclaw at gcc dot gnu.org
  Target Milestone: ---

There are a few constructs that implicitly raise an Error exception, for
example, `final switch`.

```
void main()
{
    final switch (0)
    {
        case 1:
            return;
    }
}
```

It might be more desirable to instead abort the runtime, optionally creating a
trace before exiting.

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

end of thread, other threads:[~2023-07-02 13:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-28  6:06 [Bug d/108962] New: d: Don't generate code that throws exceptions when compiling with `-fno-exceptions' ibuclaw at gcc dot gnu.org
2023-07-02 13:54 ` [Bug d/108962] " cvs-commit at gcc dot gnu.org
2023-07-02 13:55 ` cvs-commit at gcc dot gnu.org
2023-07-02 13:56 ` ibuclaw at gcc dot gnu.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).