Re: [PATCH] libjava/classpath/native/jni/java-lang/java_lang_VMProcess.c: Be sure 'errbuf' always be zero terminated.

2014-08-10 Thread Chen Gang
On 8/3/14 13:50, Chen Gang wrote: Excuse me, after tried, I still did not know hot to build the source code for x86_64-unknown-linux-gnu/32/libjava/classpath/native/jni. What I have done is: - ../gcc/configure --enable-core-jni --enable-languages=c,c++,java make all-target-libjava

Re: [C++ PATCH] Improve location info [1/many]

2014-08-10 Thread Marek Polacek
Ping. On Fri, Aug 01, 2014 at 01:59:42PM +0200, Marek Polacek wrote: This is the first patch in a series that strives to improve C++ location info. The following is more like a base for another improvements, thus it contains only one small test. It adds a location_t parameter and a vector

Re: [PATCH] gcc/gcc.c: XNEWVEC enough space for 'saved_suffix' using

2014-08-10 Thread Mike Stump
On Aug 9, 2014, at 9:55 AM, Chen Gang gang.chen.5...@gmail.com wrote: save various .sum files Excuse me, I can not find it with `find ./ | grep \.sum$”` Then you didn’t do a test suite run. make check will create .sum files. Try cd gcc make check. Then in testsuite/gcc/gcc.sum there will

RE: [PATCH mips] Pass -msoft-float/-mhard-float flags to GAS

2014-08-10 Thread Matthew Fortune
Matthew Fortune matthew.fort...@imgtec.com writes: Moore, Catherine catherine_mo...@mentor.com writes: -Original Message- From: Steve Ellcey [mailto:sell...@mips.com] Sent: Friday, August 08, 2014 3:42 PM To: Moore, Catherine; matthew.fort...@imgtec.com; echri...@gmail.com;

Re: [PATCH] gcc/gcc.c: XNEWVEC enough space for 'saved_suffix' using

2014-08-10 Thread Chen Gang
On 08/10/2014 04:03 PM, Mike Stump wrote: On Aug 9, 2014, at 9:55 AM, Chen Gang gang.chen.5...@gmail.com wrote: save various .sum files Excuse me, I can not find it with `find ./ | grep \.sum$”` Then you didn’t do a test suite run. make check will create .sum files. Try cd gcc make

Re: [PATCH] libjava/classpath/native/jni/java-lang/java_lang_VMProcess.c: Be sure 'errbuf' always be zero terminated.

2014-08-10 Thread Chen Gang
I guess, I find the root cause: In gcc/libjava/configure, --disable-core-jni is hardcoded manually for classpath with FIXME, then all related trying are useless. For me, if have parameter --enable-core-jni, need skip --disable-core-jni. The related information in gcc/libjava/configure: 6820 #

[PATCH, Fortran] PR fortran/60289 First try on: Fixing character array allocation for class(*) type variable

2014-08-10 Thread Andre Vehreschild
Hi, I am proposing another patch, this time to resolve PR60289. The issue in the bug reported is, that a code like: class(*), pointer :: P allocate(character(20)::P) is rejected by trunk's gfortran compiler. ja...@gcc.gnu.org proposed a first patch in the PR, which my patch

[C PATCH] Diagnose predefined identifiers in pedantic mode

2014-08-10 Thread Marek Polacek
We weren't properly diagnosing neither the __func__ (introduced in C99), nor the __FUNCTION__/__PRETTY_FUNCTION__ (GNU extension) predefined identifiers. I believe we should; the compiler ought to have a compile-time switch for turning off extensions. Bootstrapped/regtested on x86_64-linux, ok

Re: [C PATCH] Diagnose predefined identifiers in pedantic mode

2014-08-10 Thread Marek Polacek
On Sun, Aug 10, 2014 at 05:16:27PM +0200, Marek Polacek wrote: We weren't properly diagnosing neither the __func__ (introduced in C99), nor the __FUNCTION__/__PRETTY_FUNCTION__ (GNU extension) predefined identifiers. I believe we should; the compiler ought to have a compile-time switch for

RE: [PATCH mips] Pass -msoft-float/-mhard-float flags to GAS

2014-08-10 Thread Moore, Catherine
-Original Message- From: Matthew Fortune [mailto:matthew.fort...@imgtec.com] Sent: Saturday, August 09, 2014 3:00 PM To: Moore, Catherine; Steve Ellcey; echri...@gmail.com; GCC Patches Subject: RE: [PATCH mips] Pass -msoft-float/-mhard-float flags to GAS Moore, Catherine

Re: [PATCH mips] Remove fp64 multilibs from mips-mti-* targets.

2014-08-10 Thread Eric Christopher
OK. -eric On Fri, Aug 8, 2014 at 1:07 PM, Steve Ellcey sell...@mips.com wrote: Here is another MIPS patch. This removes the fp64 multilib from the mips-mti-* targets. With the new fpxx we no longer want special fp64 multilibs in the mti targets. Since it doesn't affect any other targets

Make lto-streamer.h consistent wrt. symtab_node

2014-08-10 Thread Gerald Pfeifer
Looking for something else, I noticed that the majority of references in lto-streamer.h were to symtab_node, whereas there were two left to symtab_node. This patch, tested for weeks on i386-unknown-freebsd10.0, makes things consistent. Applied as obvious. Gerald 2014-08-10 Gerald Pfeifer

Re: [PATCH, ARM] Keep constants in register when expanding

2014-08-10 Thread Zhenqiang Chen
On 8 August 2014 23:22, Ramana Radhakrishnan ramana@googlemail.com wrote: On Tue, Aug 5, 2014 at 10:31 AM, Zhenqiang Chen zhenqiang.c...@linaro.org wrote: Hi, For some large constants, ARM will split them during expanding, which makes impossible to hoist them out the loop or shared by