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

2014-08-02 Thread Chen Gang
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 - also try "../gcc/configure && make", bu

Re: [PATCH] add hash_set

2014-08-02 Thread Andrew Pinski
On Tue, Jul 29, 2014 at 5:50 AM, wrote: > From: Trevor Saunders > > Hi, > > this adds a hash_set wrapper around hash_table, and then replaces usage of > pointer_set with it. > > bootstrapped +regtested on x86_64-unknown-linux-gnu, ok? > > Trev > > ada/ > > * gcc-interface/trans.c: Use h

Re: [PATCH] Keep patch file permissions in mklog

2014-08-02 Thread Tom de Vries
On 01-08-14 09:18, Yury Gribov wrote: On 08/01/2014 10:52 AM, Tom de Vries wrote: This patch adds a script contrib/mklog-in-patch, which uses mklog to generate the skeleton log, but generates the log at the start of the patch as mklog did before (which is how I like to use it). Yeah, we had so

[GSoC][match-and-simplify] use dt_simplify::capture_max

2014-08-02 Thread Prathamesh Kulkarni
* genmatch.c (dt_simplify::gen_gimple): Use dt_simplify::capture_max. (dt_simplify::gen_generic): Likewise. Thanks, Prathamesh Index: genmatch.c === --- genmatch.c (revision 213343) +++ genmatch.c (working copy) @@ -1473,7 +1473

Re: [PATCH] convert many pointer_map to hash_map

2014-08-02 Thread Oleg Endo
On 02 Aug 2014, at 17:58, Trevor Saunders wrote: > On Sat, Aug 02, 2014 at 05:38:42PM +0200, Oleg Endo wrote: >> On Sat, 2014-08-02 at 07:34 -0400, Trevor Saunders wrote: >>> On Fri, Aug 01, 2014 at 12:52:08PM +0200, Richard Biener wrote: On Fri, Aug 1, 2014 at 12:34 PM, wrote: > From

Re: [PATCH][testsuite] Don't run cproj-fails-with-broken-glibc.c for broken glibc

2014-08-02 Thread Tom de Vries
On 01-08-14 12:35, Rainer Orth wrote: Hi Tom, The test-case cproj-fails-with-broken-glibc.c does not work with broken glibcs, as the header comment mentions: ... Check the runtime behavior of the C library's cproj() function and whether it follows the standard. Versions of GLIBC throug

Re: [PATCH] convert many pointer_map to hash_map

2014-08-02 Thread Trevor Saunders
On Sat, Aug 02, 2014 at 05:38:42PM +0200, Oleg Endo wrote: > On Sat, 2014-08-02 at 07:34 -0400, Trevor Saunders wrote: > > On Fri, Aug 01, 2014 at 12:52:08PM +0200, Richard Biener wrote: > > > On Fri, Aug 1, 2014 at 12:34 PM, wrote: > > > > From: Trevor Saunders > > > > > > > > Hi, > > > > > > >

Re: [C++ Patch] PR 15339

2014-08-02 Thread Jason Merrill
OK. Jason

Re: [PATCH] convert many pointer_map to hash_map

2014-08-02 Thread Oleg Endo
On Sat, 2014-08-02 at 07:34 -0400, Trevor Saunders wrote: > On Fri, Aug 01, 2014 at 12:52:08PM +0200, Richard Biener wrote: > > On Fri, Aug 1, 2014 at 12:34 PM, wrote: > > > From: Trevor Saunders > > > > > > Hi, > > > > > > This patch replaces a bunch of usage of pointer_map with hash_map. It

Re: [PATCH] convert many pointer_map to hash_map

2014-08-02 Thread Trevor Saunders
On Fri, Aug 01, 2014 at 12:52:08PM +0200, Richard Biener wrote: > On Fri, Aug 1, 2014 at 12:34 PM, wrote: > > From: Trevor Saunders > > > > Hi, > > > > This patch replaces a bunch of usage of pointer_map with hash_map. It also > > adds an overload to hash_map::traverse that allows modifying the

Re: [GSoC] checking for the loop parallelism

2014-08-02 Thread Tobias Grosser
On 02/08/2014 11:49, Roman Gareev wrote: Hi Roman, > >you can get this information from the isl_ast_build that was used when >generating a certain loop (you can access this isl_ast_build from the >callbacks isl_ast_build_set_before_each_for and >isl_ast_build_set_after_each_for). With isl_ast_bui

Add -Wsuggest-final-warnings and -Wsuggest-final-methods warnings

2014-08-02 Thread Jan Hubicka
Hi, this patch adds warnings -Wsuggest-final-types and -Wsuggest-final-methods that output warnings when adding C++ final keyword would enable devirtualizations. This warning is expected to be taken as a hint by the developers who can annotate sources where it makes sense from design standpoint.

Re: [GSoC] checking for the loop parallelism

2014-08-02 Thread Roman Gareev
> Hi Roman, > > you can get this information from the isl_ast_build that was used when > generating a certain loop (you can access this isl_ast_build from the > callbacks isl_ast_build_set_before_each_for and > isl_ast_build_set_after_each_for). With isl_ast_build_get_schedule, you can > get an inc

Re: [RFC, PATCH 3/n] IPA C++ refactoring

2014-08-02 Thread Martin Liška
On 08/01/2014 08:19 PM, Jeff Law wrote: > On 08/01/14 05:35, Martin Liška wrote: >> 2014-07-31 Martin Liska >> >> * cgraph.h (cgraph_node_set, varpool_node_set): Removed structs and all >> related functions that manipulated these data structures. >> (cgraph_new_nodes): vec replaces cg