Re: [libstdc++ testsuite] all_attributes.cc failures

2015-01-31 Thread Iain Sandoe
On 31 Jan 2015, at 15:38, David Edelsohn wrote: The new testcases are producing new failures on AIX /nasfarm/edelsohn/src/src/libstdc++-v3/testsuite/17_intro/headers/c++1998/all_attributes.cc:29:16: error: expected ')' before numeric constant

Re: [Patch, fortran] Cosmetics: Dup. code removal, indent fix, typo fix.

2015-01-31 Thread Jerry DeLisle
On 01/30/2015 04:10 AM, Andre Vehreschild wrote: Hi all, I fear this fix is not so obvious in one location, I therefore ask for a review. The attached patch fixes: - a duplicate code fragment (possibly due to merged twice), - the indentation in the trans-expr.c block (in my first patch), and -

[PATCH, i386] Fix PR64882, ICE on valid code at -O3 with -g enabled in simplify_subreg, at simplify-rtx.c:5681

2015-01-31 Thread Uros Bizjak
Hello! Attached patch fixes PR64882, where special predicate address_no_seg_operand allowed operands in DImode, as well as SImode. This resulted in invalid RTX, produced by *leamode: (insn 60 59 61 3 (set (reg:SI 2 cx [orig:103 D.1909 ] [103]) (plus:DI (reg:DI 0 ax [106])

Re: [PATCH] Add new target h8300-*-linux

2015-01-31 Thread Yoshinori Sato
Updated. copyright assignment process in progress. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0e1e8bb..5fd857c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2015-01-31 Yoshinori Sato ys...@users.sourceforge.jp + + * config.gcc: Add target h8300-linux. + *

[libstdc++ testsuite] all_attributes.cc failures

2015-01-31 Thread David Edelsohn
Jonathan, The new testcases are producing new failures on AIX /nasfarm/edelsohn/src/src/libstdc++-v3/testsuite/17_intro/headers/c++1998/all_attributes.cc:29:16: error: expected ')' before numeric constant

Re: [PATCH] Fix scheduling undeterminism from sorting with DEBUG_INSNs

2015-01-31 Thread Richard Biener
On January 31, 2015 9:01:02 AM CET, Maxim Kuvyrkov maxim.kuvyr...@linaro.org wrote: On Jan 31, 2015, at 7:33 AM, Jeff Law l...@redhat.com wrote: On 01/22/15 12:01, Maxim Kuvyrkov wrote: On Jan 22, 2015, at 8:11 PM, Jeff Law l...@redhat.com wrote: On 01/19/15 06:07, Maxim Kuvyrkov wrote:

Re: [PATCH] Fix scheduling undeterminism from sorting with DEBUG_INSNs

2015-01-31 Thread Maxim Kuvyrkov
On Jan 31, 2015, at 7:33 AM, Jeff Law l...@redhat.com wrote: On 01/22/15 12:01, Maxim Kuvyrkov wrote: On Jan 22, 2015, at 8:11 PM, Jeff Law l...@redhat.com wrote: On 01/19/15 06:07, Maxim Kuvyrkov wrote: The underlying problem is that the order in which elements of ready_list are

Re: [PATCH v2] libgcc: Use braces instead of macro's empty body to avoid xgcc warnings.

2015-01-31 Thread Andreas Schwab
Chen Gang S gang.c...@sunrus.com.cn writes: * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use braces instead of macro's empty body to avoid xgcc warnings. It's actually an empty loop now. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53

Re: lra incorrectly reloading scratch for a memory barrier?

2015-01-31 Thread Richard Biener
On January 31, 2015 4:07:23 AM CET, Segher Boessenkool seg...@kernel.crashing.org wrote: On Fri, Jan 30, 2015 at 12:50:01PM -0800, Richard Henderson wrote: Jakub, the current formation includes both a use and a set of all memory. Your clobber form would not imply a use. What do you

Re: [libstdc++ testsuite] all_attributes.cc failures

2015-01-31 Thread Jonathan Wakely
On 31 January 2015 at 15:45, Iain Sandoe i...@codesourcery.com wrote: On 31 Jan 2015, at 15:38, David Edelsohn wrote: The new testcases are producing new failures on AIX /nasfarm/edelsohn/src/src/libstdc++-v3/testsuite/17_intro/headers/c++1998/all_attributes.cc:29:16: error: expected ')'

Re: [PATCH, testsuite]: Cleanup dumps

2015-01-31 Thread Mike Stump
On Jan 31, 2015, at 11:50 AM, Bernhard Reutner-Fischer rep.dot@gmail.com wrote: On January 31, 2015 10:53:39 AM GMT+01:00, Uros Bizjak ubiz...@gmail.com wrote: Hello! Reminds me of just auto-wiping dump files: https://gcc.gnu.org/ml/gcc-patches/2013-10/msg02506.html Mike, WDYT? Ok.

Re: [PATCH, testsuite]: Cleanup dumps

2015-01-31 Thread Bernhard Reutner-Fischer
On January 31, 2015 10:53:39 AM GMT+01:00, Uros Bizjak ubiz...@gmail.com wrote: Hello! Reminds me of just auto-wiping dump files: https://gcc.gnu.org/ml/gcc-patches/2013-10/msg02506.html Mike, WDYT? Thanks, 2015-01-31 Uros Bizjak ubiz...@gmail.com * g++.dg/ipa/pr64146.C (dg-final):

[committed] Remove long long support from linux-atomic.c

2015-01-31 Thread John David Anglin
The attached patch removes long long support from config/pa/linux-atomic.c and corrects some issues found in trying to get the long long support working. There are a number of issues. On the 4.9 branch, webkitgtk fails to build with the current long long support because the

Re: [PATCH, testsuite]: Cleanup dumps

2015-01-31 Thread Bernhard Reutner-Fischer
On January 31, 2015 9:17:57 PM GMT+01:00, Mike Stump mikest...@comcast.net wrote: On Jan 31, 2015, at 11:50 AM, Bernhard Reutner-Fischer rep.dot@gmail.com wrote: On January 31, 2015 10:53:39 AM GMT+01:00, Uros Bizjak ubiz...@gmail.com wrote: Hello! Reminds me of just auto-wiping dump

Re: [PATCH, testsuite]: Cleanup dumps

2015-01-31 Thread Bernhard Reutner-Fischer
On January 31, 2015 10:10:27 PM GMT+01:00, Bernhard Reutner-Fischer rep.dot@gmail.com wrote: On January 31, 2015 9:17:57 PM GMT+01:00, Mike Stump mikest...@comcast.net wrote: On Jan 31, 2015, at 11:50 AM, Bernhard Reutner-Fischer rep.dot@gmail.com wrote: On January 31, 2015 10:53:39 AM

Re: [debug-early] C++ clones and limbo DIEs

2015-01-31 Thread Jason Merrill
On 01/30/2015 06:49 PM, Aldy Hernandez wrote: + FOR_EACH_FUNCTION_WITH_GIMPLE_BODY (node) +if (DECL_ABSTRACT_ORIGIN (node-decl)) If we do this for all functions, not just those with DECL_ABSTRACT_ORIGIN set... + /* FIXME: What does this do for templates? I think we don't want to +

[PATCH] Support disabling of sched autoprefetcher from command line

2015-01-31 Thread Maxim Kuvyrkov
Hi, It turned out that the values for PARAM_SCHED_AUTOPREF_QUEUE_DEPTH that I initially selected were unfortunate. The value of -1 is special in parameter handling code, and it can't be used on command line. This makes it impossible to disable scheduler autoprefetcher from command line (-1

Re: [PATCH] Add new target h8300-*-linux

2015-01-31 Thread Joseph Myers
On Sat, 31 Jan 2015, Yoshinori Sato wrote: + * config/h8300/linux.h: New file. + * config/h8300/t-linux: New file. These files don't appear to be included in the patch. +h8300-*-linux*) + tmake_file=t-linux h8300/t-linux t-fpbit + tm_file=$tm_file h8300/h8300-lib.h +

[PATCH] Fix debug output for sched autoprefetcher model

2015-01-31 Thread Maxim Kuvyrkov
Hi, This patch fixes a minor issue in scheduler debug output: statistics for rank_for_schedule autoprefetcher decisions are not being logged and printed out. OK for stage 1? Tested on arm-linux-gnueabihf, and I will bootstrap and test the patch on trunk before committing. Thank you, --

Re: [ping] Re: proper name of i386/x86-64/etc targets

2015-01-31 Thread Sandra Loosemore
On 01/27/2015 10:17 AM, Uros Bizjak wrote: -@node i386 and x86-64 Options -@subsection Intel 386 and AMD x86-64 Options +@node x86 Options +@subsection x86 Options @cindex i386 Options -@cindex x86-64 Options +@cindex x86 Options +@cindex IA-32 Options @cindex Intel 386 Options @cindex

Re: [RFC][PR target/39726 P4 regression] match.pd pattern to do type narrowing

2015-01-31 Thread Joseph Myers
On Fri, 30 Jan 2015, Jeff Law wrote: +/* If we are testing a single bit resulting from a binary + operation in precision P1 where the operands were widened + precision P2 and the tested bit is the sign bit for + precision P2. Rewrite so the binary operation is in + precision P2. */

Re: [RFC][PR target/39726 P4 regression] match.pd pattern to do type narrowing

2015-01-31 Thread Jeff Law
On 01/31/15 17:47, Joseph Myers wrote: On Fri, 30 Jan 2015, Jeff Law wrote: +/* If we are testing a single bit resulting from a binary + operation in precision P1 where the operands were widened + precision P2 and the tested bit is the sign bit for + precision P2. Rewrite so the binary

[doc, committed] re-alphabetize manual after i386-x86 renaming

2015-01-31 Thread Sandra Loosemore
I've checked in this patch to complete the changes for adopting x86 as the official name of that target by re-alphabetizing the relevant sections. The patch is very large due to the amount of material being moved around, but entirely cut-and-paste. I found that there were several other

[PATCH, testsuite]: Cleanup dumps

2015-01-31 Thread Uros Bizjak
Hello! 2015-01-31 Uros Bizjak ubiz...@gmail.com * g++.dg/ipa/pr64146.C (dg-final): Cleanup icf ipa dump. * gcc.target/i386/chkp-builtins-1.c (dg-final): Cleanup chkp tree dump. * gcc.target/i386/chkp-builtins-2.c (dg-final): Ditto. * gcc.target/i386/chkp-builtins-3.c

Re: [PATCH v2] libgcc: Use braces instead of macro's empty body to avoid xgcc warnings.

2015-01-31 Thread Chen Gang S
merging working flow. Now, for gcc master branch (20150131), __GTHREAD_MUTEX_INIT_FUNCTION is still as empty. Could you provide more details about it? Thanks. -- Chen Gang Open, share, and attitude like air, water, and life which God blessed

Re: [PATCH v2] libgcc: Use braces instead of macro's empty body to avoid xgcc warnings.

2015-01-31 Thread Prathamesh Kulkarni
working flow. Now, for gcc master branch (20150131), __GTHREAD_MUTEX_INIT_FUNCTION is still as empty. Could you provide more details about it? Thanks. -- Chen Gang Open, share, and attitude like air, water, and life which God blessed

Re: [PATCH MIPS RFA] Regression cleanup for nan2008 toolchain

2015-01-31 Thread Richard Sandiford
Robert Suchanek robert.sucha...@imgtec.com writes: diff --git a/gcc/testsuite/gcc.target/mips/loongson-simd.c b/gcc/testsuite/gcc.target/mips/loongson-simd.c index 160da6b..949632e 100644 --- a/gcc/testsuite/gcc.target/mips/loongson-simd.c +++ b/gcc/testsuite/gcc.target/mips/loongson-simd.c

Re: patch to fix PR64317

2015-01-31 Thread Richard Sandiford
Vladimir Makarov vmaka...@redhat.com writes: The following patch fixes https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64317 The patch was successfully bootstrapped on x86-64 and ppc64 and tested on x86-64. Committed as rev.220060. Sorry for picking on this again, because I realise

Re: [PATCH v2] libgcc: Use braces instead of macro's empty body to avoid xgcc warnings.

2015-01-31 Thread Chen Gang S
On 1/31/15 19:49, Marek Polacek wrote: On Sat, Jan 31, 2015 at 05:13:53PM +0530, Prathamesh Kulkarni wrote: On 31 January 2015 at 15:30, Chen Gang S gang.c...@sunrus.com.cn wrote: On 1/31/15 16:53, Andreas Schwab wrote: Chen Gang S gang.c...@sunrus.com.cn writes: * gthr-single.h

[PATCH v3] libgcc: Use braces instead of macro's empty body to avoid xgcc warnings.

2015-01-31 Thread Chen Gang S
The related warning (cross compile tile with --disable-threads): ../../../../gcc-tile-new/libgcc/libgcov-interface.c: In function '__gcov_fork': ../../../../gcc-tile-new/libgcc/libgcov-interface.c:182:53: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]