public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/50192] Wrong character comparision with wide strings Date: Mon, 29 Aug 2011 10:05:00 -0000 [thread overview] Message-ID: <bug-50192-4-10RRNG2g2p@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-50192-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50192 --- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2011-08-29 09:05:18 UTC --- Author: tkoenig Date: Mon Aug 29 09:05:11 2011 New Revision: 178173 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178173 Log: 2011-08-29 Thomas Koenig <tkoenig@gcc.gnu.org> PR libfortran/50192 * intrinsics/string_intrinsics.c (memcmp_char4): New function. * intrinsics/string_intrinsics_inc.c: New macro MEMCMP, either set to memcmp or memcmp_char4. (compare_string): Use MEMCMP, with correct size for it. * libgfortran.h: Add prototype for memcmp_char4. 2011-08-29 Thomas Koenig <tkoenig@gcc.gnu.org> PR libfortran/50192 * gfortran.dg/widechar_compare_1.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/widechar_compare_1.f90 Modified: trunk/gcc/testsuite/ChangeLog trunk/libgfortran/ChangeLog trunk/libgfortran/intrinsics/string_intrinsics.c trunk/libgfortran/intrinsics/string_intrinsics_inc.c trunk/libgfortran/libgfortran.h
next prev parent reply other threads:[~2011-08-29 9:05 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-08-25 21:02 [Bug libfortran/50192] New: " tkoenig at gcc dot gnu.org 2011-08-26 9:27 ` [Bug libfortran/50192] " dominiq at lps dot ens.fr 2011-08-26 11:47 ` tkoenig at gcc dot gnu.org 2011-08-29 10:05 ` tkoenig at gcc dot gnu.org [this message] 2011-08-29 14:33 ` tkoenig at gcc dot gnu.org 2011-08-30 21:48 ` tkoenig at gcc dot gnu.org 2011-09-01 16:42 ` tkoenig 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-50192-4-10RRNG2g2p@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).