public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/106580] New: ICE with UBSan and -fsanitize-undefined-trap-on-error
@ 2022-08-10 19:21 muecker at gwdg dot de
  2022-08-10 19:25 ` [Bug sanitizer/106580] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: muecker at gwdg dot de @ 2022-08-10 19:21 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 106580
           Summary: ICE with UBSan and -fsanitize-undefined-trap-on-error
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: muecker at gwdg dot de
                CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
                    jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at gcc dot gnu.org
  Target Milestone: ---

Created attachment 53432
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53432&action=edit
debug output

The following reduced test case produces an ICE on turnk with:

-O1 -fsanitize=undefined -fsanitize-undefined-trap-on-error


extern void f(void);
static void g(int typ)
{
        switch (typ) {

        case 1:
                f();
        }
}

extern void e(void)
{
        return g(0);
}

extern void h(void)
{
        return g(1);
}

https://godbolt.org/z/YdKTEfovY

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

* [Bug sanitizer/106580] ICE with UBSan and -fsanitize-undefined-trap-on-error
  2022-08-10 19:21 [Bug sanitizer/106580] New: ICE with UBSan and -fsanitize-undefined-trap-on-error muecker at gwdg dot de
@ 2022-08-10 19:25 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-08-10 19:25 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 106061

*** This bug has been marked as a duplicate of bug 106061 ***

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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-10 19:21 [Bug sanitizer/106580] New: ICE with UBSan and -fsanitize-undefined-trap-on-error muecker at gwdg dot de
2022-08-10 19:25 ` [Bug sanitizer/106580] " pinskia 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).