From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5603 invoked by alias); 27 Apr 2014 12:48:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 5562 invoked by uid 48); 27 Apr 2014 12:48:40 -0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/52539] I/O: Wrong result for UTF-8/UCS-4 list-directed and namelist read and nml write Date: Sun, 27 Apr 2014 12:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jvdelisle at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-04/txt/msg02008.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D52539 --- Comment #15 from Tobias Burnus --- (In reply to Andreas Schwab from comment #14) > Run it. First, Jerry, I think you really should also compare the results against the original string. Secondly, with the modification, I get for the original string, str and str2 (and 'open(6, encoding=3D"UTF-8")'): 1a=E4=BD=A0=E5=A5=BDb 5 1a=E4=BD=A0=E5=A5=BDb 5 =E6=84=B1=E4=BD=A0=E5=A5=BDb 5 Thus, the namelist read is fine - but the list-directed read is not. >>From gcc-bugs-return-449989-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 27 13:08:15 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22945 invoked by alias); 27 Apr 2014 13:08:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22881 invoked by uid 48); 27 Apr 2014 13:08:09 -0000 From: "sebastian.huber@embedded-brains.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/60102] powerpc fp-bit ices at dwf_regno Date: Sun, 27 Apr 2014 13:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sebastian.huber@embedded-brains.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-04/txt/msg02009.txt.bz2 Content-length: 3373 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60102 Sebastian Huber changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hjl at gcc dot gnu.org --- Comment #5 from Sebastian Huber --- With different starting points I found another commit that leads to a similar failure: 561af01c2c9ba4c5df95348d8252896088147e32 is the first bad commit commit 561af01c2c9ba4c5df95348d8252896088147e32 Author: hjl Date: Wed Nov 27 23:54:26 2013 +0000 Also handle REG_XXX notes in spill_pseudos PR rtl-optimization/59311 * dwarf2cfi.c (dwf_regno): Assert reg isn't pseudo register. * lra-spills.c (spill_pseudos): Handle REG_XXX notes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205468 138bc75d-0d04-0410-961f-82ee72b054a4 :040000 040000 518275c5696e814bd8f7970a5914e09f0fa7f5aa 16da683b4720ab0b343b910718ad7969b0713c2d M gcc This is the error message in this case: /home/sh/git-build/b-gcc-git-powerpc-eabispe/./gcc/xgcc -B/home/sh/git-build/b-gcc-git-powerpc-eabispe/./gcc/ -nostdinc -B/home/sh/git-build/b-gcc-git-powerpc-eabispe/powerpc-eabispe/newlib/ -isystem /home/sh/git-build/b-gcc-git-powerpc-eabispe/powerpc-eabispe/newlib/targ-include -isystem /home/sh/archive/gcc-git/newlib/libc/include -B/home/sh/install-gcc-git/powerpc-eabispe/bin/ -B/home/sh/install-gcc-git/powerpc-eabispe/lib/ -isystem /home/sh/install-gcc-git/powerpc-eabispe/include -isystem /home/sh/install-gcc-git/powerpc-eabispe/sys-include -g -O2 -msoft-float -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc -I. -I. -I../../.././gcc -I/home/sh/archive/gcc-git/libgcc -I/home/sh/archive/gcc-git/libgcc/. -I/home/sh/archive/gcc-git/libgcc/../gcc -I/home/sh/archive/gcc-git/libgcc/../include -DHAVE_CC_TLS -o _divxc3.o -MT _divxc3.o -MD -MP -MF _divxc3.dep -DL_divxc3 -c /home/sh/archive/gcc-git/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS 0x406285 dwf_regno /home/sh/archive/gcc-git/gcc/dwarf2cfi.c:909 0x534aa4 vec::truncate(unsigned int) /home/sh/archive/gcc-git/gcc/vec.h:892 0x534aa4 vec::truncate(unsigned int) /home/sh/archive/gcc-git/gcc/vec.h:1559 0x534aa4 dwarf2out_flush_queued_reg_saves /home/sh/archive/gcc-git/gcc/dwarf2cfi.c:996 0x53616f scan_trace /home/sh/archive/gcc-git/gcc/dwarf2cfi.c:2522 0x536b1e create_cfi_notes /home/sh/archive/gcc-git/gcc/dwarf2cfi.c:2565 0x536b1e execute_dwarf2_frame /home/sh/archive/gcc-git/gcc/dwarf2cfi.c:2925 0x536b1e execute /home/sh/archive/gcc-git/gcc/dwarf2cfi.c:3421 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions In case I revert this patch on the current 4.9 branch (5935f964089edccd96efa7f0bda85800dc0ee31d) I am able to build the powerpc-eabispe target.