public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/66499] Letters with accents change format behavior for X and T descriptors. Date: Sat, 24 Feb 2024 02:21:53 +0000 [thread overview] Message-ID: <bug-66499-4-CEddNKmsfE@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-66499-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66499 --- Comment #6 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- This is an interesting puzzle. I took the -fdump-tree-original output of compiling the test case and edited out all except the initialization of the two variables char1 and char2. I lined these up so we could see what each 4-byte character looks like. The last two characters should be two characters of c383. We are generating c300 8300 for each character. ------------------- __builtin_memmove ((void *) &char1, (void *) &" T\x00\x00\x00 e\x00\x00\x00 s\x00\x00\x00 t\x00\x00\x00 \x00\x00\x00 w\x00\x00\x00 i\x00\x00\x00 t\x00\x00\x00 h\x00\x00\x00 o\x00\x00\x00 u\x00\x00\x00 t\x00\x00\x00 \x00\x00\x00 l\x00\x00\x00 o\x00\x00\x00 c\x00\x00\x00 a\x00\x00\x00 l\x00\x00\x00 \x00\x00\x00 c\x00\x00\x00 h\x00\x00\x00 a\x00\x00\x00 r\x00\x00"[1]{lb: 1 sz: 4}, 92); __builtin_memmove ((void *) &char2, (void *) &" T\x00\x00\x00 e\x00\x00\x00 s\x00\x00\x00 t\x00\x00\x00 \x00\x00\x00 w\x00\x00\x00 i\x00\x00\x00 t\x00\x00\x00 h\x00\x00\x00 \x00\x00\x00 l\x00\x00\x00 o\x00\x00\x00 c\x00\x00\x00 a\x00\x00\x00 l\x00\x00\x00 \x00\x00\x00 c\x00\x00\x00 h\x00\x00\x00 a\x00\x00\x00 r\x00\x00\x00 \x00\x00\x00 \xc3\x00\x00\x00 \x83\x00\x00\x00 \xc3\x00\x00\x00 \x83\x00\x00"[1]{lb: 1 sz: 4}, 100);
next prev parent reply other threads:[~2024-02-24 2:21 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-06-11 1:56 [Bug fortran/66499] New: " tbrego at gmail dot com 2015-06-11 9:20 ` [Bug fortran/66499] " dominiq at lps dot ens.fr 2015-06-11 22:52 ` jvdelisle at gcc dot gnu.org 2021-02-28 16:26 ` jvdelisle at gcc dot gnu.org 2021-04-17 3:25 ` jvdelisle at gcc dot gnu.org 2023-10-13 20:26 ` jvdelisle at gcc dot gnu.org 2024-02-24 2:21 ` jvdelisle at gcc dot gnu.org [this message] 2024-02-24 18:26 ` jvdelisle 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-66499-4-CEddNKmsfE@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).