public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "euloanty at live dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/97620] New: -fexec-charset=IBM16804 triggers ICE Date: Wed, 28 Oct 2020 18:36:10 +0000 [thread overview] Message-ID: <bug-97620-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97620 Bug ID: 97620 Summary: -fexec-charset=IBM16804 triggers ICE Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: euloanty at live dot com Target Milestone: --- gcc -o stdio stdio.c -s -O2 -fexec-charset=IBM16804 during GIMPLE pass: strlen stdio.c: In function 'main': stdio.c:7: internal compiler error: converting to execution character set: Invalid or incomplete multibyte or wide character 0x8f21da c_cpp_diagnostic(cpp_reader*, cpp_diagnostic_level, cpp_warning_reason, rich_location*, char const*, __va_list_tag (*) [1]) ../../gcc/gcc/c-family/c-common.c:6366 0x192798d cpp_diagnostic_at ../../gcc/libcpp/errors.c:42 0x192798d cpp_diagnostic ../../gcc/libcpp/errors.c:75 0x1927a79 cpp_error(cpp_reader*, cpp_diagnostic_level, char const*, ...) ../../gcc/libcpp/errors.c:89 0x1921214 cpp_host_to_exec_charset(cpp_reader*, unsigned int) ../../gcc/libcpp/charset.c:798 0x8f22e3 c_common_to_target_charset(long) ../../gcc/gcc/c-family/c-common.c:6384 0x178f119 init_target_to_host_charmap ../../gcc/gcc/gimple-ssa-sprintf.c:199 0x178f119 handle_printf_call(gimple_stmt_iterator*, range_query*) ../../gcc/gcc/gimple-ssa-sprintf.c:4301 0xfdabfb strlen_check_and_optimize_call ../../gcc/gcc/tree-ssa-strlen.c:5473 0xfdabfb check_and_optimize_stmt ../../gcc/gcc/tree-ssa-strlen.c:5641 0xfdabfb strlen_dom_walker::before_dom_children(basic_block_def*) ../../gcc/gcc/tree-ssa-strlen.c:5874 0x1737467 dom_walker::walk(basic_block_def*) ../../gcc/gcc/domwalk.c:309 0xfcfd91 printf_strlen_execute ../../gcc/gcc/tree-ssa-strlen.c:5940 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.
next reply other threads:[~2020-10-28 18:36 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-10-28 18:36 euloanty at live dot com [this message] 2020-10-28 19:00 ` [Bug analyzer/97620] " euloanty at live dot com 2020-10-28 19:09 ` [Bug tree-optimization/97620] " msebor at gcc dot gnu.org 2020-10-28 19:22 ` euloanty at live dot com 2020-10-29 0:20 ` msebor 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-97620-4@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).