Re: MinGW compilation warnings in libiberty's xstrndup.c

2017-05-30 Thread DJ Delorie
Eli Zaretskii writes: > Seems to work fine, thanks. Checked into gcc trunk then :-)

Re: [PATCH rs6000] Addition fixes to BMI intrinsic tests, 2nd edition

2017-05-30 Thread Steven Munroe
On Tue, 2017-05-30 at 17:26 -0500, Segher Boessenkool wrote: > On Fri, May 26, 2017 at 10:32:54AM -0500, Steven Munroe wrote: > > * gcc.target/powerpc/bmi2-pdep32-1.c []: Add -mcpu=power7 to > > dg-options. Change dg-require-effective-target powerpc_vsx_ok > > to vsx_hw. > > Stray

Re: [PATCH] Add attribute((target_clone(...))) to PowerPC

2017-05-30 Thread Michael Meissner
On Tue, May 30, 2017 at 04:51:34PM -0500, Segher Boessenkool wrote: > Hi Mike, > > On Thu, May 25, 2017 at 04:05:39PM -0400, Michael Meissner wrote: > > +/* On PowerPC, we have a limited number of target clones that we care about > > + which means we can use an array to hold the options, rather

Re: [PATCH 9/13] D: D2 Testsuite Dejagnu files.

2017-05-30 Thread Mike Stump
On May 28, 2017, at 2:16 PM, Iain Buclaw wrote: > > This patch adds D language support to the GCC test suite. Ok. If you could ensure that gcc without D retains all it's goodness and that gcc with D works on 2 different systems, that will help ensure integration

Re: [PATCH v2, rs6000] gcc mainline, add builtin support for vec_doublee, vec_doubleo, vec_doublel builtins

2017-05-30 Thread Segher Boessenkool
Hi! On Fri, May 26, 2017 at 09:17:26AM -0700, Carl E. Love wrote: >* config/rs6000/altivec.md: Add code generator for doublee, unsdoublee >doubleov, unsdoubleov, doublehv, unsdoublehv, doublelv, unsdoublelv. Please mention the full name of the define_*, i.e. *

Re: [PATCH rs6000] Addition fixes to BMI intrinsic tests, 2nd edition

2017-05-30 Thread Segher Boessenkool
On Fri, May 26, 2017 at 10:32:54AM -0500, Steven Munroe wrote: > * gcc.target/powerpc/bmi2-pdep32-1.c []: Add -mcpu=power7 to > dg-options. Change dg-require-effective-target powerpc_vsx_ok > to vsx_hw. Stray "[]"? > --- gcc/testsuite/gcc.target/powerpc/bmi2-pdep32-1.c

Re: Optimisation of std::binary_search of the header

2017-05-30 Thread Mike Stump
On May 29, 2017, at 1:05 AM, jay pokarna wrote: > > Could you give me the contact of the standard committee? https://isocpp.org/std/the-committee

[testsuite, committed] Test if host compiler supports -std=c++11 in ms-sysv.exp

2017-05-30 Thread Tom de Vries
Hi, this patch adds a test to see if the host compiler supports -std=c++11 in ms-sysv.exp, and if not marks ms-sysv as unsupported. Committed. Thanks, - Tom Test if host compiler supports -std=c++11 in ms-sysv.exp 2017-05-30 Tom de Vries PR testsuite/80910 *

Re: [PATCH] Add attribute((target_clone(...))) to PowerPC

2017-05-30 Thread Segher Boessenkool
Hi Mike, On Thu, May 25, 2017 at 04:05:39PM -0400, Michael Meissner wrote: > +/* On PowerPC, we have a limited number of target clones that we care about > + which means we can use an array to hold the options, rather than having > more > + elaborate data structures to identify each possible

Re: [PATCH] add more detail to -Wconversion and -Woverflow (PR 80731)

2017-05-30 Thread Martin Sebor
On 05/29/2017 08:02 AM, Christophe Lyon wrote: On 25 May 2017 at 00:16, Martin Sebor wrote: On 05/24/2017 11:08 AM, Joseph Myers wrote: On Wed, 17 May 2017, Martin Sebor wrote: @@ -1036,31 +1079,76 @@ warnings_for_convert_and_check (location_t loc, tree type, tree expr,

C++ PATCH for c++/80856, ICE with local extern

2017-05-30 Thread Jason Merrill
My patch for 10200 caused finish_id_expression for Wrap to return the actual overload set rather than the plain identifier, and we stored that set in the template CALL_EXPR, but then at instantiation time we failed to go through and replace it with the instantiated overload set. This patch avoids

Re: [PATCH 0/3] v3 of C++ template type diffing

2017-05-30 Thread David Malcolm
On Wed, 2017-05-10 at 09:34 -0400, Nathan Sidwell wrote: > On 05/09/2017 09:41 PM, David Malcolm wrote: > > On Tue, 2017-05-09 at 10:52 -0400, Nathan Sidwell wrote: > > > I split out the non-c++ bits into a separate patch. > > > > v3 of the patch kit is thus three parts: > > > > [1/3] Non-C++

Re: MAINTAINERS update

2017-05-30 Thread Bernd Schmidt
On 05/30/2017 09:05 AM, Richard Biener wrote: > This leaves the nvptx and c6x ports without a maintainer. Do you have > any recommendations for a successor here? Not really. It would be a shame to lose the C6X port though. If I'm CC'd on any bug reports I'm prepared to keep it working - if

[PATCH] use the right conversion warning option (PR c/80892)

2017-05-30 Thread Martin Sebor
The conversion enhancements I committed in r248431 introduced an unintended change in which warning option is used to issue certain integer conversion warnings. Attached is a fix. Martin PR c/80892 - -Wfloat-conversion now warns about non-floats gcc/c-family/ChangeLog: PR c/80892 * c-warn.c

"nvptx" port (was: MAINTAINERS update)

2017-05-30 Thread Thomas Schwinge
Hi! On Tue, 30 May 2017 09:05:27 +0200, Richard Biener wrote: > This leaves the nvptx and c6x ports without a maintainer. Do you have > any recommendations for a successor here? > Otherwise we'll have to ask for volunteers or deprecate those ports. > > Jeff, maybe

[C++ PATCH] Kill IDENTIFIER_NAMESPACE_BINDINGS

2017-05-30 Thread Nathan Sidwell
At last, here's the final (for the moment) name-lookup data structure patch. It replaces IDENTIFIER_NAMESPACE_BINDINGS -- a list of ns/value tuples chained on each identifier -- with a per-namespace hash-map. nathan -- Nathan Sidwell 2017-05-30 Nathan Sidwell Kill

[C++ PATCH] Random cleanups

2017-05-30 Thread Nathan Sidwell
Some random cleanups. Mainly fixing stale comments and awkward whitespacing. Rename some name-lookup internal workers to the do_FOO form. natan -- Nathan Sidwell 2017-05-30 Nathan Sidwell * cp-tree.def (OVERLOAD): Fix comment. * cp-tree.h: Fix comments and whitespace. *

Re: [PATCH] PR c++/77306 - Unable to specify visibility for explicit template instantiations

2017-05-30 Thread Nathan Sidwell
On 05/21/2017 11:47 PM, James Abbatiello wrote: On Sat, Apr 22, 2017 at 4:46 PM, James Abbatiello wrote: This is my first time attempting a contribution here so please point out any mistakes. I've tested this on x86_64-pc-linux-gnu in a VM. Hello, It has been a few weeks.

[PATCH, i386]: Fix PR 80833, avoid partial memory stalls for double-mode inter-unit moves

2017-05-30 Thread Uros Bizjak
Hello! Attached patch implements splitting of double-mode inter-unit moves to movd/pinsrd and movd/pextrd (and their 64bit "q" variants for TImode moves) for SSE4 targets. This way, partial memory stalls are avoided. 2017-05-30 Uros Bizjak PR target/80833 *

Re: MinGW compilation warnings in libiberty's waitpid.c

2017-05-30 Thread Joel Brobecker
> This has been on my todo-list for a little while, as re-syncing is > something I normally do after pushing D language support updates into > libiberty. However I decided to give it a wait until I got all > pending patches in, the last of which I'm just pushing in now. That's very kind of you

Re: [PATCH 3/4 v3][PR 67328] Added bool conversion for wide_ints

2017-05-30 Thread Yuri Gribov
On Tue, May 30, 2017 at 4:35 PM, Richard Sandiford wrote: > Yuri Gribov writes: >> On Tue, May 30, 2017 at 11:35 AM, Richard Sandiford >> wrote: >>> Yuri Gribov writes: On Tue, May 30,

Re: [PATCH 2/2] DWARF: make it possible to emit debug info for declarations only

2017-05-30 Thread Pierre-Marie de Rodat
Thank you for your review, Richard. On 05/30/2017 01:59 PM, Richard Biener wrote: I think the issue is unfortunate in the C frontend as well. So I believe we can go without a new langhook and instead make sure dwarf2out_early_global_decl is not called for uninteresting decls (which means

Re: [PATCH 3/4 v3][PR 67328] Added bool conversion for wide_ints

2017-05-30 Thread Richard Sandiford
Yuri Gribov writes: > On Tue, May 30, 2017 at 11:35 AM, Richard Sandiford > wrote: >> Yuri Gribov writes: >>> On Tue, May 30, 2017 at 7:35 AM, Richard Sandiford >>> wrote: Yuri Gribov

Re: [PATCH 1/2] gimplify_modify_expr: avoid DECL_DEBUG_EXPR links across functions

2017-05-30 Thread Pierre-Marie de Rodat
On 05/30/2017 01:51 PM, Richard Biener wrote: Ok. Thank you! This one is committed, now. -- Pierre-Marie de Rodat

Re: [PATCH GCC][4/6]Relax minimal segment length of DR_B for merging alias check

2017-05-30 Thread Bin.Cheng
On Tue, May 30, 2017 at 12:27 PM, Richard Biener wrote: > On Thu, May 25, 2017 at 5:16 PM, Bin.Cheng wrote: >> On Tue, May 23, 2017 at 5:23 PM, Bin Cheng wrote: >>> Hi, >>> As commented in

[C++ PATCH] Fix PR 80913

2017-05-30 Thread Nathan Sidwell
This patch fixes the bootstrap breakage reported by Rainer and David. Thanks for giving this one a spin. We're somewhat overzealous about pushing artificial tags, and excessive cleverness in my creation of update_binding failed to cope with that. nathan -- Nathan Sidwell 2017-05-30 Nathan

[Committed][ARM] Fix ARM bootstrap failure

2017-05-30 Thread Wilco Dijkstra
Fix ARM bootstrap failure due to an odd warning: /src/gcc/gcc/config/arm/arm-builtins.c: In function 'rtx_def* arm_expand_builtin(tree, rtx, rtx, machine_mode, int)': /src/gcc/gcc/config/arm/arm-builtins.c:3056:46: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers]  

[PATCH][x86] Add missing mask intrinsics for MAX[SD,SS] and MIN[SD,SS]

2017-05-30 Thread Peryt, Sebastian
Hi, This patch adds missing intrinsics for MAX[SD,SS] and MIN[SD,SS] listed below: - _mm_mask_max_sd, - _mm_maskz_max_sd, - _mm_mask_max_ss, - _mm_maskz_max_ss, - _mm_mask_min_sd, - _mm_maskz_min_sd, - _mm_mask_min_ss, - _mm_maskz_min_ss. gcc/ * config/i386/avx512fintrin.h

Re: [gofrontend-dev] Re: Go patches committed: merge recent changes to gofrontend

2017-05-30 Thread Ian Lance Taylor
On Tue, May 30, 2017 at 3:46 AM, wrote: > > I am also facing a breaking build due to the sys.Goexperiment error > mentioned earlier: > > ... > ../../../gcc-svn-src/libgo/go/runtime/heapdump.go:379:14: error: reference > to undefined identifier ‘sys.Goexperiment’ >

Re: [PATCH][GRAPHITE] Fix PR80906, code-gen IVs in loop-closed position

2017-05-30 Thread Sebastian Pop
On Tue, May 30, 2017 at 7:56 AM, Richard Biener wrote: > > We currently ICE when code generating loop-closed PHIs that are after-loop > used IVs. I didn't manage to find the place during analysis that is > supposed to reject such SCOPs thus the following patch "simply" makes >

[v3] Fix cross compilation to Solaris

2017-05-30 Thread Rainer Orth
I recently tried a cross-build from sparc-sun-solaris2.12 to i386-pc-solaris2.12 (with cross-binutils and gas, but the native ld which has been a cross-linker for quite some time). The build failed in libstdc++-v3 like this: /vol/gcc/src/hg/trunk/local/libstdc++-v3/libsupc++/new_opa.cc:62:46:

[PATCH][GRAPHITE] Fix PR80906, code-gen IVs in loop-closed position

2017-05-30 Thread Richard Biener
We currently ICE when code generating loop-closed PHIs that are after-loop used IVs. I didn't manage to find the place during analysis that is supposed to reject such SCOPs thus the following patch "simply" makes us properly generate code for those (works fine on the testcase). Bootstrapped and

[PATCH][www] Amend bugs/management.html with worklist items

2017-05-30 Thread Richard Biener
This patch (in the attempt to find a place to put a link to http://gcc.opensuse.org/gcc_bugzilla/ to) adds a list of suggestions where to look for work in bugzilla. Ok? Thanks, Richard. 2017-05-30 Richard Biener * management.html: Add list of suggestions where to

[PATCH][www] Streamline Benchmarks/

2017-05-30 Thread Richard Biener
This groups all SPEC CPU (and properly naming them) as well as removes dead links (content) and adjusts what is run by SUSE. Our main landing-page at http://gcc.opensuse.org/ is now all new singing and dancing dynamic content (yay). Committed. Richard. 2017-05-30 Richard Biener

[PING] Make the OpenACC C++ acc_on_device wrapper "always inline"

2017-05-30 Thread Thomas Schwinge
Hi! Ping. On Tue, 23 May 2017 17:31:11 +0200, I wrote: > On Thu, 29 Oct 2015 17:22:46 -0700, Nathan Sidwell wrote: > > acc_on_device and it's builtin had a conflict. The function formally takes > > an > > enum argument, but the builtin takes an int -- primarily to avoid the

Re: [PATCH 3/4 v3][PR 67328] Added bool conversion for wide_ints

2017-05-30 Thread Yuri Gribov
On Tue, May 30, 2017 at 11:35 AM, Richard Sandiford wrote: > Yuri Gribov writes: >> On Tue, May 30, 2017 at 7:35 AM, Richard Sandiford >> wrote: >>> Yuri Gribov writes: From

fix libgcc build for VxWorks

2017-05-30 Thread Olivier Hainque
Hello, A build of the current mainline for e.g. powerpc-wrs-vxworks fails during the libgcc stage with something like: xgcc ... -I `case "/$(MULTIDIR)" in */mrtp*) echo .../target/usr/h ;; *) echo .../target/h ;; esac` ... /bin/bash: MULTIDIR: command not found The problem is the double

Re: [PING][PATCH, GCC/ARM] Only test tls-disable-literal-pool.c if target supports native TLS

2017-05-30 Thread Prakhar Bahuguna
On 30/05/2017 14:11:22, Christophe Lyon wrote: > On 30 May 2017 at 09:44, Prakhar Bahuguna wrote: > > On 29/05/2017 14:23:05, Christophe Lyon wrote: > >> On 19 May 2017 at 14:29, Prakhar Bahuguna wrote: > >> > On 11/05/2017 14:54:37, Prakhar

[committed] Improve OMP_PLACES=threads and OMP_PLACES=cores (PR libgomp/80822)

2017-05-30 Thread Jakub Jelinek
Hi! While the OpenMP specification leaves it completely in implementation-defined territory how OMP_PLACES=threads or OMP_PLACES=cores orders the individual places, for OMP_PROC_BIND=spread the order of the places is very important and Intel libomp as well as Cray runtime apparently choose an

Re: [PING][PATCH, GCC/ARM] Only test tls-disable-literal-pool.c if target supports native TLS

2017-05-30 Thread Christophe Lyon
On 30 May 2017 at 09:44, Prakhar Bahuguna wrote: > On 29/05/2017 14:23:05, Christophe Lyon wrote: >> On 19 May 2017 at 14:29, Prakhar Bahuguna wrote: >> > On 11/05/2017 14:54:37, Prakhar Bahuguna wrote: >> >> tls-disable-literal-pool.c should

Re: [PATCH 2/2] DWARF: make it possible to emit debug info for declarations only

2017-05-30 Thread Richard Biener
On Mon, May 29, 2017 at 9:50 AM, Pierre-Marie de Rodat wrote: > Hello, > > The DWARF back-end used to systematically ignore file-scope function and > variable declarations. While this is justified in language like C/C++, > where such declarations can appear in several

Re: [PATCH 1/2] gimplify_modify_expr: avoid DECL_DEBUG_EXPR links across functions

2017-05-30 Thread Richard Biener
On Mon, May 29, 2017 at 9:50 AM, Pierre-Marie de Rodat wrote: > Hello, > > An upcoming patch exposes a bug in gimplify_modify_expr. There, we try > not to create DECL_DEBUG_EXPR links across functions, however we don't > check that *FROM_P actually belongs to the current

Re: [PATCH 2/2] [MSP430] Fix issues handling .persistent attribute (PR 78818)

2017-05-30 Thread Nick Clifton
Hi Jozef, > Attached patch with the string wrapped in G_(). When I applied this patch to the sources and ran the new test, I encountered an internal compiler error: msp430-elf/gcc/xgcc [...] pr78818-auto-warn.c [...] [...] gcc/testsuite/gcc.target/msp430/pr78818-auto-warn.c: In function

Re: [PATCH 1/5][GIMPLE FE] PR testsuite/80580. Handle missing labels in goto statements

2017-05-30 Thread Richard Biener
On Tue, May 30, 2017 at 1:46 PM, Richard Biener wrote: > On Mon, May 29, 2017 at 6:38 AM, Mikhail Maltsev wrote: >> Hi. Sorry for a long delay. >> >> On 02.05.2017 17:16, Richard Biener wrote: >>> Certainly an improvement. I suppose we can do

Re: [PATCH 1/5][GIMPLE FE] PR testsuite/80580. Handle missing labels in goto statements

2017-05-30 Thread Richard Biener
On Mon, May 29, 2017 at 6:38 AM, Mikhail Maltsev wrote: > Hi. Sorry for a long delay. > > On 02.05.2017 17:16, Richard Biener wrote: >> Certainly an improvement. I suppose we can do better error recovery >> for cases like >> >> if (1) >>goto >> else >>goto bar; >>

Re: [PATCH v2 3/N] Transform TDF_{lang,tree,ipa,rtl} to dump_kind enum.

2017-05-30 Thread Richard Biener
On Fri, May 26, 2017 at 3:25 PM, Martin Liška wrote: > On 05/26/2017 02:31 PM, Richard Biener wrote: >> Well, then we have to go without the constructor. Runtime init isn't >> an option IMHO. >> Just use some macros for the eye candy, will you? >> >> Richard. > > Yep. I'm testing

Re: [PATCH GCC][6/6]Factor out code generating runtime alias checks

2017-05-30 Thread Richard Biener
On Tue, May 23, 2017 at 6:23 PM, Bin Cheng wrote: > Hi, > This patch factors out code generating runtime alias check from > tree-vect-data-refs.c > to tree-data-ref.c, as well as introduces new interface > create_runtime_alias_checks for > later use. > Bootstrap and test on

Re: [PATCH GCC][4/6]Relax minimal segment length of DR_B for merging alias check

2017-05-30 Thread Richard Biener
On Thu, May 25, 2017 at 5:16 PM, Bin.Cheng wrote: > On Tue, May 23, 2017 at 5:23 PM, Bin Cheng wrote: >> Hi, >> As commented in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80815#c1, >> We can relax minimal segment length of DR_B for merging. With this

[PATCH][1/n] Vectorizer reduction handling TLC

2017-05-30 Thread Richard Biener
The first patch of this series I'm working on goes away with re-doing reduction analysis in vectorizable_reduction and instead saves the bits that are missing from the analysis done during vect_analyze_scalar_cycles. Boostrap and regtest running on x86_64-unknown-linux-gnu. Richard.

Re: [RFC] [PATCH] Introduce configure flag --with-stage1-cflags.

2017-05-30 Thread Eric Botcazou
> That's why we decided to enable -O2 just with GCC 4.8+. IMO it's too dangerous on non-x86 platforms and -O1 would be much safer. -- Eric Botcazou

[PATCH] Fix PR80901

2017-05-30 Thread Richard Biener
Third time's a charm. Bootstrapped and tested on x86_64-unknown-linux-gnu, applied. Richard. 2017-05-30 Richard Biener PR middle-end/80901 * cfgexpand.c (expand_gimple_cond): Match up loop fixup with split_edge code. *

Re: [PATCH] [ARC] Fix tst_movb pattern.

2017-05-30 Thread Andrew Burgess
* Claudiu Zissulescu [2017-05-24 12:54:22 +0200]: > From: claziss > > The tst_movb pattern is missing guarding when spitting. > > gcc/ > 2017-05-24 Claudiu Zissulescu > > * config/arc/arc.md (tst_movb):

Re: [PATCH] [MSP430] PR78838: Do not add section name prefixes when section name is .lowtext

2017-05-30 Thread Nick Clifton
Hi Josef, Thanks for reporting this problem, and providing a patch to fix it. I have checked your patch in, along with one, very very minor change to the formatting of the comment in gen_prefix(). Cheers Nick

Re: [PATCH 3/4 v3][PR 67328] Added bool conversion for wide_ints

2017-05-30 Thread Richard Sandiford
Yuri Gribov writes: > On Tue, May 30, 2017 at 7:35 AM, Richard Sandiford > wrote: >> Yuri Gribov writes: >>> From 330209f721a598ec393dcb5d62de3457ee282153 Mon Sep 17 00:00:00 2001 >>> From: Yury Gribov

Re: [PATCH] Dump function on internal errors

2017-05-30 Thread Alexander Monakov
On Tue, 30 May 2017, Richard Biener wrote: > If you want to improve here I'd do > >if (current_pass) > fnotice (stderr, "during %s pass: %s\n", ... >if (dump_file && cfun) > { > fnotice (..); > execute_function_dump ... > } > > and I'd print the pass name

Re: [RFC] [PATCH] Introduce configure flag --with-stage1-cflags.

2017-05-30 Thread Martin Liška
On 05/30/2017 11:43 AM, Eric Botcazou wrote: >> Are you sure? In my experience -O2 gets the most test coverage during >> lifetime of a particular release. > > Yes, some older GCC releases have aliasing issues that are exposed at -O2 > only > because of -fstrict-aliasing and -fschedule-insns. >

Re: [RFC] [PATCH] Introduce configure flag --with-stage1-cflags.

2017-05-30 Thread Eric Botcazou
> Are you sure? In my experience -O2 gets the most test coverage during > lifetime of a particular release. Yes, some older GCC releases have aliasing issues that are exposed at -O2 only because of -fstrict-aliasing and -fschedule-insns. -- Eric Botcazou

[PATCH] gcov: Add block_info::block_info (PR gcov-profile/80911).

2017-05-30 Thread Martin Liška
Hello. Following patch adds default constructor that initializes all fields in block_info. Patch can bootstrap on ppc64le-redhat-linux and survives regression tests. Ready to be installed? Martin >From b4f7a624b25c7cf3ed3ccc6d59fb68d1dabb2873 Mon Sep 17 00:00:00 2001 From: marxin

Re: [Patch] Forward triviality in variant

2017-05-30 Thread Tim Shen via gcc-patches
On Mon, May 29, 2017 at 11:29 PM, Tim Shen wrote: > This patch implements > , but with more Actually, it didn't. The copy assign and move assign conditions are wrong in the patch. Fixed those. -- Regards, Tim Shen commit

[PATCH] DWARF: for variants, produce unsigned discr. when debug type is unsigned

2017-05-30 Thread Pierre-Marie de Rodat
Hello, In Ada, the Character type is supposed to be unsigned. However, depending on the sign of C char types, GNAT can materialize it as a signed type for code generation purposes. When this is the case, GNAT also attach a debug type to it so it is represented as an unsigned base type in the

RE: [PATCH][x86]Fix for false-positives results of runtime tests on machines not supporting AVX512F

2017-05-30 Thread Peryt, Sebastian
Thank you very much for clarification. Yes, you are right, it would be better if such test would be marked UNSUPPORTED. Sebastian -Original Message- From: Uros Bizjak [mailto:ubiz...@gmail.com] Sent: Tuesday, May 30, 2017 8:23 AM To: Peryt, Sebastian Cc:

Re: [PATCH 3/4 v3][PR 67328] Added bool conversion for wide_ints

2017-05-30 Thread Yuri Gribov
On Tue, May 30, 2017 at 7:35 AM, Richard Sandiford wrote: > Yuri Gribov writes: >> From 330209f721a598ec393dcb5d62de3457ee282153 Mon Sep 17 00:00:00 2001 >> From: Yury Gribov >> Date: Fri, 26 May 2017 07:53:10 +0100 >>

Re: Fix pessimistic DImode handling in combine.c:make_field_assignment

2017-05-30 Thread Richard Sandiford
Richard Sandiford writes: > The make_field_assignment code: > > src = force_to_mode (src, mode, > GET_MODE_PRECISION (mode) >= HOST_BITS_PER_WIDE_INT > ? HOST_WIDE_INT_M1U > : (HOST_WIDE_INT_1U <<

[OBVIOUS][PATCH] Fix parenthesis in auto-profile.c (PR other/80909).

2017-05-30 Thread Martin Liška
Hello. Installing obvious patch that has just finished bootstrap on ppc64le-redhat-linux and survives regression tests. Martin >From 657d83387abccd33b181445e3182fe4af0b10a9a Mon Sep 17 00:00:00 2001 From: marxin Date: Mon, 29 May 2017 14:05:35 +0200 Subject: [PATCH] Fix

[PATCH] Fix PR80876

2017-05-30 Thread Richard Biener
Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to trunk. Richard. 2017-05-30 Richard Biener PR middle-end/80876 * cfgexpand.c (expand_gimple_cond): Fixup preserving loops again. * gcc.dg/torture/pr80876.c: New testcase. Index:

Re: [PING][PATCH, GCC/ARM] Only test tls-disable-literal-pool.c if target supports native TLS

2017-05-30 Thread Prakhar Bahuguna
On 29/05/2017 14:23:05, Christophe Lyon wrote: > On 19 May 2017 at 14:29, Prakhar Bahuguna wrote: > > On 11/05/2017 14:54:37, Prakhar Bahuguna wrote: > >> tls-disable-literal-pool.c should only be run if the toolchain and target > >> support native thread-local storage

Re: [PATCH] Dump function on internal errors

2017-05-30 Thread Richard Biener
On Mon, May 29, 2017 at 8:10 PM, Alexander Monakov wrote: > On Mon, 29 May 2017, Alexander Monakov wrote: >> +/* This helper function is invoked from diagnostic routines prior to >> aborting >> + due to internal compiler error. If a dump file is set up, dump the >> +

Re: [PATCH][x86][PR73350][PR80862]

2017-05-30 Thread Uros Bizjak
On Fri, May 26, 2017 at 11:13 AM, Koval, Julia wrote: > Hi, > This patch fixes these PR's. Ok for trunk? > > gcc/ > * config/i386/subst.md (round): Fix round pattern. > * config/i386/i386.c (ix86_erase_embedded_rounding): > Fix erasing rounding for

[PATCH] Compare predictor values with these defined in predict.def.

2017-05-30 Thread Martin Liška
Hello. It's quite handy to compare numbers given by analyze_brprob.py script and these that live in predict.def. With the patch numbers are displayed: HEURISTICS BRANCHES (REL) BR. HITRATE HITRATE COVERAGE COVERAGE (REL) predict.def (REL)

[OBVIOUS][PATCH] Fix coding style in predict.def.

2017-05-30 Thread Martin Liška
Hello. I prepared patch in order to make parsing of the file easier for analyze_brprob.py. Martin >From a3f87f718ef82026af070df06ce83d72a2f6661d Mon Sep 17 00:00:00 2001 From: marxin Date: Mon, 29 May 2017 15:00:42 +0200 Subject: [PATCH 1/2] Fix coding style. gcc/ChangeLog:

Re: MAINTAINERS update

2017-05-30 Thread Richard Biener
On Mon, May 29, 2017 at 3:38 PM, Bernd Schmidt wrote: > On 05/27/2017 12:52 PM, Bernd Schmidt wrote: >> >> I am no longer working for Red Hat, so I've updated my email address. >> Also, I don't expect to be around very much in the near future, so I've >> removed myself as

Re: [PATCH, rs6000] Fold vector absolutes in GIMPLE

2017-05-30 Thread Richard Biener
On Mon, May 29, 2017 at 2:21 PM, Segher Boessenkool wrote: > On Mon, May 29, 2017 at 01:35:22PM +0200, Richard Biener wrote: >> >> What's the documented behavior for vec_abs with respect to an >> >argument >> >> of value INT_MIN? >> > >> >The documentation says: >> >

Re: [RFC] [PATCH] Introduce configure flag --with-stage1-cflags.

2017-05-30 Thread Richard Biener
On Mon, May 29, 2017 at 1:13 PM, Eric Botcazou wrote: >> After a discussion with Richi, using adding "-O2" to STAGE1 cflags with a >> recent enough compiler can significantly speed up bootstrap. Thus I'm >> suggesting to introduce --with-stage1-cflags where one can provide

Re: [PATCH 3/4 v3][PR 67328] Added bool conversion for wide_ints

2017-05-30 Thread Richard Sandiford
Yuri Gribov writes: > From 330209f721a598ec393dcb5d62de3457ee282153 Mon Sep 17 00:00:00 2001 > From: Yury Gribov > Date: Fri, 26 May 2017 07:53:10 +0100 > Subject: [PATCH 3/4] Added bool conversion for wide_ints. > > gcc/ > 2017-05-26 Yury Gribov

[Patch] Forward triviality in variant

2017-05-30 Thread Tim Shen via gcc-patches
This patch implements , but with more changes than the proposal's. It 1) Creates __detail::__variant::_Traits as a centralized place to hold common (but not all yet) compile-time conditions. 2) Changes the noexcept conditions for the (copy|move)

Re: [PATCH 1/4 v3][PR 67328] Generate bittests in range checks if possible

2017-05-30 Thread Richard Sandiford
Yuri Gribov writes: > Added special case to build_range_check. Fixed couple of existing > tests where it changed codegen. > > -I > > From b7819f341e2ffa0437be497024f61d0a4e1be588 Mon Sep 17 00:00:00 2001 > From: Yury Gribov > Date: Fri, 26 May 2017

Re: [PATCH][x86]Fix for false-positives results of runtime tests on machines not supporting AVX512F

2017-05-30 Thread Uros Bizjak
On Tue, May 30, 2017 at 7:59 AM, Peryt, Sebastian wrote: > Hi, > > The attached patch fixes the issue of tests' false-positive results > generation on machines not supporting AVX512F feature. Currently when any > runtime test intended for AVX512F feature will be run

Re: {PATCH] New C++ warning -Wcatch-value

2017-05-30 Thread Volker Reichelt
On 24 May, Jason Merrill wrote: > On Mon, May 15, 2017 at 3:58 PM, Martin Sebor wrote: >>> So how about the following then? I stayed with the catch part and added >>> a parameter to the warning to let the user decide on the warnings she/he >>> wants to get: -Wcatch-value=n. >>>

[PATCH][x86]Fix for false-positives results of runtime tests on machines not supporting AVX512F

2017-05-30 Thread Peryt, Sebastian
Hi, The attached patch fixes the issue of tests' false-positive results generation on machines not supporting AVX512F feature. Currently when any runtime test intended for AVX512F feature will be run on non-AVX512F machine the best it can produce to inform of such a case is print SKIPPED, if