RE: [PATCH][i386,AVX] Enable VBMI2 support [5/7]

2017-12-03 Thread Koval, Julia
Hi Gerald, Do you think it is ok to copypaste it from GCC-6? GCC now supports the Intel CPU, named Cannonlake through -march=cannonlake. The switch enables the following ISA extensions: AVX512VBMI, AVX512IFMA, SHA. GCC now supports the Intel CPU, named and Icelake through -march=icelake. The

[testsuite, committed] Require effective target alloca for pr82875.c

2017-12-03 Thread Tom de Vries
[ was: Re: [PATCH] Fix mult expansion ICE (PR middle-end/82875) ] On 11/22/2017 10:17 AM, Jakub Jelinek wrote: --- gcc/testsuite/gcc.dg/pr82875.c.jj 2017-11-21 17:50:16.022274628 +0100 +++ gcc/testsuite/gcc.dg/pr82875.c 2017-11-21 17:49:46.0 +0100 @@ -0,0 +1,11 @@ +/* PR

[RFA][PATCH][tree-optimization/78496] 03/03 Embed and exploit EVRP analysis within DOM

2017-12-03 Thread Jeff Law
And finally, the meat of the fix for pr78496. This is largely the patch that was posed right when stage1 closed with just minor updates. This patch embeds evrp analysis into DOM and exploits it in the minimal way necessary to fix pr78496 without regressing other tests in the testsuite. The key

[RFA][PATCH][tree-optimization/78496] 02/03 Do not exploit __builtin_unreachable if -fsanitize=unreachable

2017-12-03 Thread Jeff Law
As I brought my patches for pr78496 up to the tip of the trunk I noticed a couple testsuite regressions with -fsanitize=unreachable tests. The problem is VRP and EVRP analysis/optimization could exploit __builtin_unreachable to narrow the range of an object, then use that narrowed range to

[RFA][PATCH][tree-optimization/78496] 01/03 Do not lose range information from earlier VRP passes

2017-12-03 Thread Jeff Law
As we touched on in IRC, the EVRP analyzer was doing something stupid which caused it to not merge in existing range information under certain circumstances. Consider this fragment: x_1 = foo () if (x_1 > 2) __builtin_unreachable (); if (x_1 < 0) __builtin_unreachable ();

Re: [PATCH] lra: Clobbers in a parallel are earlyclobbers (PR83245)

2017-12-03 Thread Vladimir Makarov
On 12/02/2017 01:59 PM, Segher Boessenkool wrote: The documentation (rtl.texi) says: When a @code{clobber} expression for a register appears inside a @code{parallel} with other side effects, the register allocator guarantees that the register is unoccupied both before and after that

[PATCH] enhance documentation of -Wstringop-truncation

2017-12-03 Thread Martin Sebor
It was suggested to me that it might be helpful to mention attribute nonstring as a solution to -Wstringop-truncation warnings. I think it's a good idea to add a reference to the attribute to the manual. The attached patch does that. Since the attribute is suitable only under rare conditions

Re: [Patch, fortran] PR83076 - [8 Regression] ICE in gfc_deallocate_scalar_with_status, at fortran/trans.c:1598

2017-12-03 Thread Dominique d'Humières
Dear Paul, > Bootstrapped and regtested on FC23/x86_64 - OK for trunk? See my comment 7 in the PR. Dominique

Re: [committed] hppa: Fix bootstrap on hppa-hpux

2017-12-03 Thread John David Anglin
Sorry, hit wrong button. The attached patch fixes gcc bootstrap on hppa-hpux. Revision r254585 changed the handling of scaled-index addresses. We weren't checking the base operand to ensure that the REG_POINTER flag was set prior to load. As a result, we accepted invalid base register

[committed] hppa: Fix bootstrap on hppa-hpux

2017-12-03 Thread John David Anglin
-- John David Anglin dave.ang...@bell.net

[v3 PATCH] Implement LWG 2221, No formatted output operator for nullptr

2017-12-03 Thread Ville Voutilainen
Tested on Linux-x64. 2017-11-14 Ville Voutilainen Implement LWG 2221 * include/std/ostream (operator<<(nullptr_t)): New. * testsuite/27_io/basic_ostream/inserters_other/char/lwg2221.cc: New. diff --git a/libstdc++-v3/include/std/ostream

Re: Ping**(5./7.) [patch, fortran] Implement maxval for characters

2017-12-03 Thread Thomas Koenig
Am 03.12.2017 um 20:59 schrieb Jerry DeLisle: On 12/03/2017 01:48 AM, Thomas Koenig wrote: Am 28.11.2017 um 19:40 schrieb Thomas Koenig: Hello world, the attached patch implements maxval for characters, an F2003 feature that we were missing up to now. Regression-tested on

Re: Ping**(5./7.) [patch, fortran] Implement maxval for characters

2017-12-03 Thread Jerry DeLisle
On 12/03/2017 01:48 AM, Thomas Koenig wrote: > Am 28.11.2017 um 19:40 schrieb Thomas Koenig: >> Hello world, >> >> the attached patch implements maxval for characters, an F2003 feature >> that we were missing up to now. >> >> Regression-tested on x86_64-pc-linux-gnu. >> >> OK for trunk? > > Ping?

[wwwdocs] Remove a final reference to libjava in bugs/

2017-12-03 Thread Gerald Pfeifer
Applied. Gerald Index: bugs/reghunt.html === RCS file: /cvs/gcc/wwwdocs/htdocs/bugs/reghunt.html,v retrieving revision 1.20 diff -u -r1.20 reghunt.html --- bugs/reghunt.html 9 Jul 2014 00:03:06 - 1.20 +++

Re: [PATCH][i386,AVX] Enable VBMI2 support [5/7]

2017-12-03 Thread Gerald Pfeifer
Hi Julia, hi Kirill, On Tue, 24 Oct 2017, Koval, Julia wrote: > This patch enables VPSHRD instruction. packing a "random" of your contributions. Can you please also think how to best document this in http://gcc.gnu.org/gcc-8/changes.html ? Let me know if you need any help with the web side of

Re: [patch, wwwdocs, committed]

2017-12-03 Thread Gerald Pfeifer
On Fri, 6 Oct 2017, Thomas Koenig wrote: > I just committed the change below. Gerald's bot had no > complaints, so I guess this must be OK :-) Yes, and generally when it comes to the web pages, better change than sorry (of missing something). :-) Well, don't break the main page I guess, but,

[patch, libgfortran] Bug 83191 - [7/8 Regression] Writing a namelist with repeated complex numbers

2017-12-03 Thread Jerry DeLisle
Hi all, I plan to commit the attached patch with a test case shortly. It is relatively simple. Thanks to Dominique for pinpointing the location right away. Regression tested on x86_64-pc-linux-gnu. Regards, Jerry 2017-12-03 Jerry DeLisle Dominique

Re: [PATCH 5/3] C++ bits to improve detection of attribute conflicts (PR 81544)

2017-12-03 Thread Martin Sebor
Ping: https://gcc.gnu.org/ml/gcc-patches/2017-08/msg01034.html The attached C++ only patch is rebased on the top of trunk. The remaining patches in the series (C FE and the back ends) have been approved. Martin On 08/23/2017 08:36 AM, Martin Sebor wrote: On 08/22/2017 09:51 PM, Jason Merrill

Re: [committed] Avoid -Wsurprising warning on OpenMP min/max array reductions (PR fortran/81304)

2017-12-03 Thread Jakub Jelinek
On Sat, Dec 02, 2017 at 03:14:31PM +0100, Janus Weil wrote: > thanks a lot for fixing this. Since it's a regression and the fix is > so trivial, I hope you're willing to backport it to the 6 and 7 > branches as well? (If not, I can also take care of that.) Yes, I'll be backporting lots of fixes

Ping**(5./7.) [patch, fortran] Implement maxval for characters

2017-12-03 Thread Thomas Koenig
Am 28.11.2017 um 19:40 schrieb Thomas Koenig: Hello world, the attached patch implements maxval for characters, an F2003 feature that we were missing up to now. Regression-tested on x86_64-pc-linux-gnu. OK for trunk? Ping?