public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libquadmath/99203] Undefined behaviour in libquadmath file print_fp.c function __quadmath_printf_fp Date: Tue, 23 Feb 2021 08:59:54 +0000 [thread overview] Message-ID: <bug-99203-4-5n8gClMLgs@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-99203-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99203 Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |63426 Ever confirmed|0 |1 CC| |jakub at gcc dot gnu.org, | |marxin at gcc dot gnu.org Status|UNCONFIRMED |NEW Last reconfirmed| |2021-02-23 --- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> --- Confirmed, full backtrace: /home/marxin/Programming/gcc2/libquadmath/printf/printf_fp.c:762:4: runtime error: passing zero to ctz(), which is not a valid argument #0 0x7ffff719692b in __quadmath_printf_fp /home/marxin/Programming/gcc2/libquadmath/printf/printf_fp.c:762 #1 0x7ffff71d6884 in quadmath_snprintf /home/marxin/Programming/gcc2/libquadmath/printf/quadmath-printf.c:266 #2 0x7ffff75ccbab (/usr/lib64/libgfortran.so.5+0x252bab) #3 0x7ffff75d07df (/usr/lib64/libgfortran.so.5+0x2567df) #4 0x7ffff75c72b4 (/usr/lib64/libgfortran.so.5+0x24d2b4) #5 0x7ffff75c7973 (/usr/lib64/libgfortran.so.5+0x24d973) #6 0x400d85 in checkfmt.0 (/home/marxin/Programming/testcases/a.out+0x400d85) #7 0x40160e in MAIN__ (/home/marxin/Programming/testcases/a.out+0x40160e) #8 0x4024e6 in main (/home/marxin/Programming/testcases/a.out+0x4024e6) #9 0x7ffff6fc9b24 in __libc_start_main (/lib64/libc.so.6+0x27b24) #10 0x40096d in _start (/home/marxin/Programming/testcases/a.out+0x40096d) Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 [Bug 63426] [meta-bug] Issues found with -fsanitize=undefined
next prev parent reply other threads:[~2021-02-23 8:59 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-02-22 15:57 [Bug libquadmath/99203] New: " zeccav at gmail dot com 2021-02-23 8:59 ` marxin at gcc dot gnu.org [this message] 2021-12-17 9:33 ` [Bug libquadmath/99203] " fxcoudert at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-99203-4-5n8gClMLgs@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).