gcc-8-20180622 is now available

2018-06-22 Thread gccadmin
Snapshot gcc-8-20180622 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/8-20180622/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 8 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches/gcc-8

Re: [GSOC] LTO dump tool project

2018-06-22 Thread Martin Liška
On 06/18/2018 10:45 AM, Martin Jambor wrote: > Hi, > > On Sun, Jun 17 2018, Hrishikesh Kulkarni wrote: >> Hi, >> >> I am trying to isolate the dump tool into real lto-dump tool. I have >> started with the copy of lto.c into lto-dump.c and done the >> changes to Make-lang.in and config-lang.in

Re: How to get GCC on par with ICC?

2018-06-22 Thread Szabolcs Nagy
On 11/06/18 11:05, Martin Jambor wrote: The int rate numbers (running 1 copy only) were not too bad, GCC was only about 2% slower and only 525.x264_r seemed way slower with GCC. The fp rate numbers (again only 1 copy) showed a larger difference, around 20%.  521.wrf_r was more than twice as slow

[Bug tree-optimization/61247] vectorization fails for unsigned is used for IV but casted to int before using as the index (and then casted for internal type)

2018-06-22 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61247 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

Re: Do not emit unnecessary NOPs at -O0

2018-06-22 Thread Jeff Law
On 06/22/2018 02:39 AM, Richard Biener wrote: > On Thu, Jun 21, 2018 at 9:37 PM Jeff Law wrote: >> >> On 06/21/2018 11:04 AM, Eric Botcazou wrote: >>> When code is compiled at -O0, the RTL middle-end makes sure that location >>> information is preserved as much as possible by generating NOPs with

[Bug libstdc++/86138] [7/8 Regression] C++17: getline(istream, string) crashes on Cygwin because incompatible C++14 function is called

2018-06-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86138 --- Comment #21 from Jonathan Wakely --- Author: redi Date: Fri Jun 22 15:58:38 2018 New Revision: 261907 URL: https://gcc.gnu.org/viewcvs?rev=261907=gcc=rev Log: PR libstdc++/86138 prevent implicit instantiation of COW empty rep The explicit

[Bug libstdc++/86138] [7/8 Regression] C++17: getline(istream, string) crashes on Cygwin because incompatible C++14 function is called

2018-06-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86138 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

Re: [patch] improve entry/exit instrumentation wrt trampolines

2018-06-22 Thread Jeff Law
On 06/22/2018 09:47 AM, Olivier Hainque wrote: > > >> On 22 Jun 2018, at 17:44, Olivier Hainque wrote: > >> Receiving the actual function address would seem more >> useful for function-instrumentation purposes, and this >> patch adjusts the compiler to do that instead. >> >> 2018-06-22

Re: [PATCH 11/11] Increase MAX_MAX_OPERANDS limit

2018-06-22 Thread Jeff Law
On 06/13/2018 12:58 PM, Dimitar Dimitrov wrote: > The PRU load/store instructions can access memory with byte > granularity for all 30 of its 32-bit GP registers. Examples: > ># Load 17 bytes from address r0[0] into registers r10.b1-r14.b2 >lbbo r10.b1, r0, 0, 17 > ># Load 100 bytes

Re: [PATCH 11/11] Increase MAX_MAX_OPERANDS limit

2018-06-22 Thread Jakub Jelinek
On Fri, Jun 22, 2018 at 11:33:06AM -0600, Jeff Law wrote: > On 06/13/2018 12:58 PM, Dimitar Dimitrov wrote: > > The PRU load/store instructions can access memory with byte > > granularity for all 30 of its 32-bit GP registers. Examples: > > > ># Load 17 bytes from address r0[0] into registers

Re: [PATCH, rs6000] Backport Fix implementation of vec_packsu (vector unsigned long long, vector unsigned long long) built-in function

2018-06-22 Thread Segher Boessenkool
On Fri, Jun 22, 2018 at 08:30:12AM -0500, Kelvin Nilsen wrote: > This has been committed to trunk. > > Is this ok to backport to gcc6, gcc7, and gcc8? Yes, but wait a few days please. Thanks! Segher

[PATCH] [RFC] Higher-level reporting of vectorization problems

2018-06-22 Thread David Malcolm
NightStrike and I were chatting on IRC last week about issues with trying to vectorize the following code: #include std::size_t f(std::vector> const & v) { std::size_t ret = 0; for (auto const & w: v) ret += w.size(); return ret; } icc could vectorize it,

[Bug c++/84076] [6/7 Regression] Warning about objects through POD mistakenly claims the object is a pointer

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84076 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:34:33 2018 New Revision: 261917 URL: https://gcc.gnu.org/viewcvs?rev=261917=gcc=rev Log: Backported from mainline 2018-03-09 Jason Merrill

Re: [PATCH] When using -fprofile-generate=/some/path mangle absolute path of file (PR lto/85759).

2018-06-22 Thread Jeff Law
On 05/16/2018 05:53 AM, Martin Liška wrote: > On 12/21/2017 10:13 AM, Martin Liška wrote: >> On 12/20/2017 06:45 PM, Jakub Jelinek wrote: >>> Another thing is that the "/" in there is wrong, so >>> const char dir_separator_str[] = { DIR_SEPARATOR, '\0' }; >>> char *b = concat

[Bug target/84772] powerpc-spe: Spurious "is used uninitialized" warning, or possibly incorrect codegen for va_arg(long double)

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84772 --- Comment #10 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:35:29 2018 New Revision: 261918 URL: https://gcc.gnu.org/viewcvs?rev=261918=gcc=rev Log: Backported from mainline 2018-03-09 Jakub Jelinek PR

[Bug tree-optimization/84841] [7 Regression] ICE: tree check: expected ssa_name, have real_cst in rewrite_expr_tree_parallel, at tree-ssa-reassoc.c:4624

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84841 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:46:37 2018 New Revision: 261927 URL: https://gcc.gnu.org/viewcvs?rev=261927=gcc=rev Log: Backported from mainline 2018-03-16 Jakub Jelinek PR

[PRs fortran/82972, fortran/83088, fortran/85851] Fix ICE with -finit-derived when using iso_c_binding

2018-06-22 Thread Fritz Reese
All, The attached patch generates special initializers for derived-type c_ptr and c_funptr symbols so they are handled correctly by the translation phase. Previously, an EXPR_STRUCTURE expression was generated for both types, as c_ptr and c_funptr are structure types with a c_address field. The

[Bug debug/84875] [6/7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2348 on s390x

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84875 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:53:41 2018 New Revision: 261932 URL: https://gcc.gnu.org/viewcvs?rev=261932=gcc=rev Log: Backported from mainline 2018-03-20 Jakub Jelinek PR

[Bug c++/85140] [6/7 Regression] ICE with invalid use of alignas

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85140 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 21:03:38 2018 New Revision: 261944 URL: https://gcc.gnu.org/viewcvs?rev=261944=gcc=rev Log: Backported from mainline 2018-04-03 Jakub Jelinek PR

[Bug c++/84791] ICE with broken OpenMP reduction clause

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84791 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 21:02:52 2018 New Revision: 261943 URL: https://gcc.gnu.org/viewcvs?rev=261943=gcc=rev Log: Backported from mainline 2018-03-30 Jakub Jelinek PR

[Bug debug/85252] [6/7 Regression] ICE with -g for static zero-length array initialization

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85252 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 21:08:00 2018 New Revision: 261950 URL: https://gcc.gnu.org/viewcvs?rev=261950=gcc=rev Log: Backported from mainline 2018-04-06 Jakub Jelinek PR

[Bug c++/85659] [6/7 Regression] ICE with inline assembly inside virtual function

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85659 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 21:20:53 2018 New Revision: 261961 URL: https://gcc.gnu.org/viewcvs?rev=261961=gcc=rev Log: Backported from mainline 2018-05-06 Jakub Jelinek PR

[PATCH] Remove stale doc notes about netbsd and openbsd

2018-06-22 Thread Maya Rashish
That isn't a default any more because the default is 80486 with FPU. --- gcc/doc/invoke.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 9bb1a4910b2..f231da3cde2 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi

[Bug c++/86210] [6/7 Regression] Missing -Wnonnull warning for function defined in the same TU

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86210 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 21:33:58 2018 New Revision: 261970 URL: https://gcc.gnu.org/viewcvs?rev=261970=gcc=rev Log: Backported from mainline 2018-06-20 Jakub Jelinek PR

[Bug tree-optimization/86231] [6/7 Regression] vrp_meet causes wrong-code

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86231 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 21:33:07 2018 New Revision: 261969 URL: https://gcc.gnu.org/viewcvs?rev=261969=gcc=rev Log: Backported from mainline 2018-06-20 Jakub Jelinek PR

Backports to 7.x branch

2018-06-22 Thread Jakub Jelinek
Hi! I've backported following 61 trunk commits to 7.x branch (2 patches contain more than one commit), bootstrapped/regtested them on x86_64-linux and i686-linux and committed to 7.x branch. Jakub 2018-06-22 Jakub Jelinek Backported from mainline 2018-03-02 Jakub

Re: [PATCH v2, rs6000] Backport Fix implementation of vec_pack (vector double, vector double) built-in function

2018-06-22 Thread Kelvin Nilsen
Hi Segher, After waiting a few days for this newly committed patch to settle, is it ok to backport to gcc 6, gcc 7, and gcc 8? Thanks. On 6/22/18 5:34 PM, Kelvin Nilsen wrote: > Thanks for feedback. It turns out that the vmrgew and vmrgow instructions > require power 8. > > After

[Bug fortran/86281] [9 regression] SEGV in fortran/resolve.c:resolve_function

2018-06-22 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86281 --- Comment #6 from Paul Thomas --- Hi Rainer and Steve, I don't know how this got past my regtesting... The regression on assumed_charlen_function_7.f90 was entirely my fault. I found the failure, corrected on my tree after saving the diff

Re: [PATCH v2, rs6000] Fix implementation of vec_pack (vector double, vector double) built-in function

2018-06-22 Thread Kelvin Nilsen
Thanks for feedback. It turns out that the vmrgew and vmrgow instructions require power 8. After coordinating with Segher on minor refinements to the test cases, I have committed the patch as quoted below to the trunk. On 6/19/18 5:37 PM, Segher Boessenkool wrote: > Hi! > > On Tue, Jun 19,

Re: [PATCH] Fix clustering algorithm in switch expansion.

2018-06-22 Thread Jeff Law
On 06/22/2018 03:23 AM, Martin Liška wrote: > Hi. > > For correctness of clustering algorithm: > https://www.semanticscholar.org/paper/Short-Communication%3A-Correction-to-'Producing-Good-Kannan-Proebsting/311091fb9fb9d38f7b76e768a603c02acc799fe0 > > one needs to allow single case clusters as

Re: [PATCH 04/11] testsuite: Add check for overflowed IMEM region to testsuite

2018-06-22 Thread Jeff Law
On 06/13/2018 12:57 PM, Dimitar Dimitrov wrote: > PRU architecture supports maximum 256k program memory (IMEM). Some GCC > test cases manage to produce executables bigger than that. > > gcc/testsuite/ChangeLog: > > 2018-06-13 Dimitar Dimitrov > > * lib/gcc-dg.exp: Bail on region

Re: [PATCH 02/11] Initial TI PRU libgcc port

2018-06-22 Thread Jeff Law
On 06/13/2018 12:57 PM, Dimitar Dimitrov wrote: > The floating point support has been borrowed from C6X libgcc port > to help with TI PRU toolchain ABI compatibility. > > libgcc/ChangeLog: > > 2018-06-13 Dimitar Dimitrov > > * config.host: Add PRU target. > * config/pru/asri.c:

[Bug target/86285] We don't mangle __ieee128 correctly using -mlong-double-64 -mabi=ieeelongdouble

2018-06-22 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86285 --- Comment #2 from Peter Bergner --- When we compile using -mlong-double-64 -mabi=ibmlongdouble, we get what I'd expect: (gdb) ptree type constant 128> unit-size constant 16> align:128 warn_if_not_align:0 symtab:0 alias-set -1

[Bug fortran/86206] ICE in gfc_resolve_forall, at fortran/resolve.c:9989

2018-06-22 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86206 --- Comment #3 from Harald Anlauf --- No ICE if the module is split into two parts: ! No ICE module zero_mod implicit none contains pure function zero_vec(xx) result(ret) real, intent(in) :: xx(:) real :: ret(size(xx))

[Bug c++/86286] New: Could __attribute__ ((nothrow)) on a noexcept function turn off EH codegen?

2018-06-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86286 Bug ID: 86286 Summary: Could __attribute__ ((nothrow)) on a noexcept function turn off EH codegen? Product: gcc Version: 9.0 Status: UNCONFIRMED Severity:

[Bug c++/84767] [6/7 Regression] ICE with pointer to VLA

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84767 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:33:38 2018 New Revision: 261916 URL: https://gcc.gnu.org/viewcvs?rev=261916=gcc=rev Log: Backported from mainline 2018-03-09 Jakub Jelinek PR

[Bug c/86287] New: AddressSanitizer: heap-use-after-free on bootstrap with -O3

2018-06-22 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86287 Bug ID: 86287 Summary: AddressSanitizer: heap-use-after-free on bootstrap with -O3 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/84834] [7 Regression] ICE: tree check: expected integer_cst, have complex_cst in to_wide, at tree.h:5527

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84834 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:38:25 2018 New Revision: 261921 URL: https://gcc.gnu.org/viewcvs?rev=261921=gcc=rev Log: Backported from mainline 2018-03-13 Jakub Jelinek PR

Re: [patch] add -nolibc option

2018-06-22 Thread Jeff Law
On 06/21/2018 11:06 AM, Olivier Hainque wrote: > Hello Joseph, > > Thanks for getting back to me on this! > >> On 19 Jun 2018, at 17:50, Joseph Myers wrote: >> >> On Thu, 7 Jun 2018, Olivier Hainque wrote: >> >>> An updated version of the patch is attached, accounting for >>> your two comments

[Bug target/84899] [6/7 Regression] ICE: in final_scan_insn_1, at final.c:3139 (error: could not split insn)

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84899 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:48:57 2018 New Revision: 261929 URL: https://gcc.gnu.org/viewcvs?rev=261929=gcc=rev Log: Backported from mainline 2018-03-16 Jakub Jelinek PR

[Bug target/85994] Comparison failure in 64-bit libgcc *_{sav,res}ms64*.o on Solaris/x86

2018-06-22 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85994 --- Comment #11 from Daniel Santos --- Thank you Rainer!

[Bug c++/84874] [6/7 Regression] internal compiler error: in reshape_init_class, at cp/decl.c:5800

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84874 --- Comment #10 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:47:57 2018 New Revision: 261928 URL: https://gcc.gnu.org/viewcvs?rev=261928=gcc=rev Log: Backported from mainline 2018-03-16 Jakub Jelinek PR

[Bug c++/84961] [7 Regression] ICE error: SSA_NAME_DEF_STMT is wrong

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84961 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:54:44 2018 New Revision: 261933 URL: https://gcc.gnu.org/viewcvs?rev=261933=gcc=rev Log: Backported from mainline 2018-03-21 Jakub Jelinek PR

[Bug c/84999] [7 Regression] ICE in make_vector_type, at tree.c:9561

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84999 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:55:40 2018 New Revision: 261934 URL: https://gcc.gnu.org/viewcvs?rev=261934=gcc=rev Log: Backported from mainline 2018-03-21 Jakub Jelinek PR

[Bug inline-asm/85172] internal compiler error: unexpected expression '' of kind asm_expr

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85172 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 21:05:52 2018 New Revision: 261947 URL: https://gcc.gnu.org/viewcvs?rev=261947=gcc=rev Log: Backported from mainline 2018-04-04 Jakub Jelinek PR

[Bug rtl-optimization/85167] [6/7 Regression] shrink-wrap.c:333:15: runtime error with UBSAN

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85167 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 21:05:08 2018 New Revision: 261946 URL: https://gcc.gnu.org/viewcvs?rev=261946=gcc=rev Log: Backported from mainline 2018-04-03 Jakub Jelinek PR

[Bug c++/86288] New: Recognize __gnu and/or __gnu__ as attribute-namespace

2018-06-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86288 Bug ID: 86288 Summary: Recognize __gnu and/or __gnu__ as attribute-namespace Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: enhancement Priority: P3

[PATCH] Fix up AVX512F 128/256-bit shifts from using EVEX counts (PR target/84786)

2018-06-22 Thread Jakub Jelinek
Hi! The following testcase got fixed in 8/trunk with r253924 part of PR82370 enhancements, but that is not IMHO something we should backport. So instead the following patch adds something simpler, use Yv constraint for the DImode shift count in instructions that need AVX512VL when EVEX encoded if

C++ PATCHes for c++/86219, ICE with erroneous init in template

2018-06-22 Thread Jason Merrill
The problem in this testcase was that the initializer looked constant to is_nondependent_constant_expression, but instantiating it found the conversion error, but because fold_non_dependent_expr passed tf_none to the instantiation, we didn't give an error. store_init_value then happily stuck the

[PATCH, rs6000] Fix AIX test case failures

2018-06-22 Thread Carl Love
GCC Maintainers: The following patch addresses test failures on AIX. The patch has been tested on powerpc64le-unknown-linux-gnu (Power 8 LE)   powerpc64-unknown-linux-gnu (Power 8 BE) AIX 7200-00-01-1543 (Power 8 BE) With no regressions. Please let me know if the patch looks OK

Re: [PATCH] Let env var CLICOLOR_FORCE set -fdiagnostics-color=always.

2018-06-22 Thread Adam Borowski
On Fri, Jun 22, 2018 at 02:08:27PM -0600, Jeff Law wrote: > On 06/12/2018 04:46 PM, Adam Borowski wrote: > > Here's a patch for Bugzilla 80271, to add support for env CLICOLOR_FORCE. > > > > Automated build environments -- and even some which you run by hand -- > > redirect the output somewhere

[Bug c++/84662] [6/7 Regression] internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in is_bitfield_expr_with_lowered_type, at cp/typeck.c:1944

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84662 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:28:04 2018 New Revision: 261912 URL: https://gcc.gnu.org/viewcvs?rev=261912=gcc=rev Log: Backported from mainline 2018-03-02 Jakub Jelinek PR

Re: [PATCH] c/55976 -Werror=return-type should error on returning a value from a void function

2018-06-22 Thread Jeff Law
On 06/19/2018 09:13 AM, dave.pa...@oracle.com wrote: > This patch fixes spurious failure for C test added with original patch > for bug 55976. > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55976 > > Added dg-prune-output for extraneous message causing unexpected test > failure for test 

[Bug target/84827] [7 Regression] ICE in extract_insn, at recog.c:2311

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84827 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:37:40 2018 New Revision: 261920 URL: https://gcc.gnu.org/viewcvs?rev=261920=gcc=rev Log: Backported from mainline 2018-03-13 Jakub Jelinek PR

[Bug target/84786] [miscompilation] vunpcklpd accessing xmm16-22 targeting KNL

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84786 --- Comment #17 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:36:31 2018 New Revision: 261919 URL: https://gcc.gnu.org/viewcvs?rev=261919=gcc=rev Log: Backported from mainline 2018-03-13 Jakub Jelinek PR

Re: [x86] Do not omit the frame pointer at -O0

2018-06-22 Thread Jeff Law
On 06/20/2018 07:56 AM, Eric Botcazou wrote: > Hi, > > the fix for PR target/81736 unconditionally overrules > -fno-omit-frame-pointer, > including at -O0 where it is implicit. That seems brutal and unnecessary so > the attached patch reverts it at -O0 and thus fixes 135 failures in the GDB

[Bug target/84860] ICE in emit_move_insn, at expr.c:3717

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84860 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:41:55 2018 New Revision: 261923 URL: https://gcc.gnu.org/viewcvs?rev=261923=gcc=rev Log: Backported from mainline 2018-03-15 Jakub Jelinek PR

[Bug c++/84874] [6/7 Regression] internal compiler error: in reshape_init_class, at cp/decl.c:5800

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84874 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:44:39 2018 New Revision: 261926 URL: https://gcc.gnu.org/viewcvs?rev=261926=gcc=rev Log: Backported from mainline 2018-03-16 Jakub Jelinek PR

[Bug target/85095] [6/7 Regression] worse code generated

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85095 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 21:02:07 2018 New Revision: 261942 URL: https://gcc.gnu.org/viewcvs?rev=261942=gcc=rev Log: Backported from mainline 2018-03-28 Jakub Jelinek PR

[Bug c++/85068] [6/7 Regression] ICE with invalid covariant return type hierarchy

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85068 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:59:31 2018 New Revision: 261940 URL: https://gcc.gnu.org/viewcvs?rev=261940=gcc=rev Log: Backported from mainline 2018-03-27 Jakub Jelinek PR

[Bug c++/85076] [6/7 Regression] ICE with invalid template used as lambda argument

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85076 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 21:01:00 2018 New Revision: 261941 URL: https://gcc.gnu.org/viewcvs?rev=261941=gcc=rev Log: Backported from mainline 2018-03-27 Jakub Jelinek PR

[Bug tree-optimization/85257] [6/7 Regression] wrong code with -O -fno-tree-ccp and reading zeroed vector member

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85257 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 21:08:47 2018 New Revision: 261951 URL: https://gcc.gnu.org/viewcvs?rev=261951=gcc=rev Log: Backported from mainline 2018-04-07 Jakub Jelinek PR

[Bug fortran/85313] gcc/fortran/openmp.c: 2 * confused logic ?

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85313 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 21:09:32 2018 New Revision: 261952 URL: https://gcc.gnu.org/viewcvs?rev=261952=gcc=rev Log: Backported from mainline 2018-04-10 Jakub Jelinek PR

[Bug tree-optimization/85446] [7 Regression] wrong-code on riscv64

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85446 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 21:18:32 2018 New Revision: 261958 URL: https://gcc.gnu.org/viewcvs?rev=261958=gcc=rev Log: Backported from mainline 2018-04-19 Jakub Jelinek PR

[Bug jit/85384] libgccjit does not work if --with-gcc-major-version is used

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85384 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 21:16:41 2018 New Revision: 261957 URL: https://gcc.gnu.org/viewcvs?rev=261957=gcc=rev Log: 2018-06-22 Jakub Jelinek Backported from mainline 2018-04-18

[Bug c/85696] OpenMP with variably modified and default(none) won't compile

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85696 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 21:27:25 2018 New Revision: 261964 URL: https://gcc.gnu.org/viewcvs?rev=261964=gcc=rev Log: Backported from mainline 2018-05-11 Jakub Jelinek PR

[Bug c++/85952] Bogus -Wunused-but-set-variable warning with array structured binding

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85952 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 21:27:41 2018 New Revision: 261965 URL: https://gcc.gnu.org/viewcvs?rev=261965=gcc=rev Log: Backported from mainline 2018-05-29 Jakub Jelinek PR

[Bug c++/86025] ICE with -Wduplicated-branches and OpenMP critical

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86025 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 21:28:36 2018 New Revision: 261966 URL: https://gcc.gnu.org/viewcvs?rev=261966=gcc=rev Log: Backported from mainline 2018-06-04 Jakub Jelinek PR

[Bug target/85358] PowerPC: Using -mabi=ieeelongdouble -mcpu=power9 breaks __ibm128

2018-06-22 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85358 Michael Meissner changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/85657] Make __ibm128 a separate type, even if long double uses the IBM double-double format

2018-06-22 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85657 Michael Meissner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

Re: [PATCH] libiberty: fix memory usage explosion for invalid templates (PR demangler/84668)

2018-06-22 Thread Jeff Law
On 03/03/2018 05:48 AM, David Malcolm wrote: > PR demangler/84668 reports this failure of c++filt (found by fuzzing): > > $ c++filt '__H5z55_H5z555' > c++filt: out of memory allocating 18446744071696285694 bytes after a total of > 135168 bytes > >

[Bug c++/86219] [8/9 Regression] ICE in coerce_template_parms, at cp/pt.c:8515

2018-06-22 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86219 --- Comment #3 from Jason Merrill --- Author: jason Date: Fri Jun 22 21:57:07 2018 New Revision: 261972 URL: https://gcc.gnu.org/viewcvs?rev=261972=gcc=rev Log: PR c++/86219 - ICE with erroneous initializer in template. *

[Bug c++/86219] [8/9 Regression] ICE in coerce_template_parms, at cp/pt.c:8515

2018-06-22 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86219 --- Comment #4 from Jason Merrill --- Author: jason Date: Fri Jun 22 21:57:32 2018 New Revision: 261973 URL: https://gcc.gnu.org/viewcvs?rev=261973=gcc=rev Log: PR c++/86219 - ICE with erroneous initializer in template. *

[Bug fortran/86281] [9 regression] SEGV in fortran/resolve.c:resolve_function

2018-06-22 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86281 --- Comment #7 from Steve Kargl --- On Fri, Jun 22, 2018 at 10:36:04PM +, pault at gcc dot gnu.org wrote: > > I don't know how this got past my regtesting... > > The regression on assumed_charlen_function_7.f90 was entirely my > fault. I

Re: [PATCH] Let env var CLICOLOR_FORCE set -fdiagnostics-color=always.

2018-06-22 Thread Jeff Law
On 06/12/2018 04:46 PM, Adam Borowski wrote: > Hi! > Here's a patch for Bugzilla 80271, to add support for env CLICOLOR_FORCE. > > Automated build environments -- and even some which you run by hand -- > redirect the output somewhere to save a log, even if they tee it to the > terminal anyway.

[Bug tree-optimization/84739] [6/7 Regression] ICE in get_value_for_expr, at tree-ssa-ccp.c:649

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84739 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:31:10 2018 New Revision: 261914 URL: https://gcc.gnu.org/viewcvs?rev=261914=gcc=rev Log: Backported from mainline 2018-03-08 Jakub Jelinek PR

Re: [PATCH] [PR86064] split single cross-partition range with nonzero locviews

2018-06-22 Thread Jeff Law
On 06/12/2018 08:02 PM, Alexandre Oliva wrote: > > We didn't split cross-partition ranges in loclists to output a > whole-function location expression, but with nonzero locviews, we > force loclists, and then we have to split to avoid cross-partition > list entries. > > From: Alexandre Oliva >

[Bug c++/80598] [7 regression] -Wunused triggers for functions used in uninstantiated templates

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80598 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:32:15 2018 New Revision: 261915 URL: https://gcc.gnu.org/viewcvs?rev=261915=gcc=rev Log: Backported from mainline 2018-03-08 Jason Merrill

[Bug c/84853] [7 Regression] ICE: verify_gimple failed (expand_shift_1)

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84853 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:40:45 2018 New Revision: 261922 URL: https://gcc.gnu.org/viewcvs?rev=261922=gcc=rev Log: Backported from mainline 2018-03-15 Jakub Jelinek PR

[Bug c/84953] [6/7 Regression] misleading warning from strpbrk(x,"")

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84953 --- Comment #10 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:52:44 2018 New Revision: 261931 URL: https://gcc.gnu.org/viewcvs?rev=261931=gcc=rev Log: Backported from mainline 2018-03-20 Jakub Jelinek PR

[Bug sanitizer/85018] [8 Regression] Many sanitizer tests ICE since r258681

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85018 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:51:42 2018 New Revision: 261930 URL: https://gcc.gnu.org/viewcvs?rev=261930=gcc=rev Log: Backported from mainline 2018-03-22 Jakub Jelinek PR

[Bug sanitizer/78651] Incorrect exception handling when catch clause uses local class and PIC and sanitizer are active

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78651 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:51:42 2018 New Revision: 261930 URL: https://gcc.gnu.org/viewcvs?rev=261930=gcc=rev Log: Backported from mainline 2018-03-22 Jakub Jelinek PR

[Bug c++/85147] [6/7 Regression] ICE with invalid variadic template-template parameter

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85147 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 21:04:25 2018 New Revision: 261945 URL: https://gcc.gnu.org/viewcvs?rev=261945=gcc=rev Log: Backported from mainline 2018-04-03 Jakub Jelinek PR

[Bug inline-asm/85022] [6/7 Regression] internal compiler error: in write_dependence_p, at alias.c:3003

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85022 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:57:15 2018 New Revision: 261937 URL: https://gcc.gnu.org/viewcvs?rev=261937=gcc=rev Log: Backported from mainline 2018-03-23 Jakub Jelinek PR

Re: [PATCH], PowerPC long double transition patches, v2, Patch #1 (disable long double multilib)

2018-06-22 Thread Michael Meissner
On Thu, Jun 21, 2018 at 02:22:50PM -0500, Segher Boessenkool wrote: > On Thu, Jun 21, 2018 at 01:26:19PM -0400, Michael Meissner wrote: > > On Thu, Jun 21, 2018 at 12:09:12PM -0500, Segher Boessenkool wrote: > > > > * config.gcc (powerpc64le*): Remove multilib support for IEEE > > > > and

[Bug c++/84463] [6/7 Regression] Supposedly-incompliant "error: '* key0' is not a constant expression"

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84463 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 21:12:32 2018 New Revision: 261956 URL: https://gcc.gnu.org/viewcvs?rev=261956=gcc=rev Log: Backported from mainline 2018-04-18 Jakub Jelinek PR

[Bug c/85696] OpenMP with variably modified and default(none) won't compile

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85696 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 21:25:04 2018 New Revision: 261963 URL: https://gcc.gnu.org/viewcvs?rev=261963=gcc=rev Log: Backported from mainline 2018-05-11 Jakub Jelinek PR

[Bug middle-end/85878] [6/7 Regression] ICE in convert_mode_scalar, at expr.c:287

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85878 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 21:30:06 2018 New Revision: 261968 URL: https://gcc.gnu.org/viewcvs?rev=261968=gcc=rev Log: Backported from mainline 2018-06-15 Jakub Jelinek PR

[Bug c++/86219] [8/9 Regression] ICE in coerce_template_parms, at cp/pt.c:8515

2018-06-22 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86219 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

Re: [PATCH] avoid using strnlen result for late calls to strlen (PR 82604)

2018-06-22 Thread Jeff Law
On 06/18/2018 01:15 PM, Martin Sebor wrote: > While looking into opportunities to detect strnlen/strlen coding > mistakes (pr86199) I noticed a bug in the strnlen implementation > I committed earlier today that lets a strnlen() result be saved > and used in subsequent calls to strlen() with the 

[Bug fortran/86281] [9 regression] SEGV in fortran/resolve.c:resolve_function

2018-06-22 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86281 --- Comment #5 from Paul Thomas --- Author: pault Date: Fri Jun 22 22:31:17 2018 New Revision: 261975 URL: https://gcc.gnu.org/viewcvs?rev=261975=gcc=rev Log: 2018-06-22 Paul Thomas Rainer Orth PR fortran/86281

Re: [PRs fortran/82972, fortran/83088, fortran/85851] Fix ICE with -finit-derived when using iso_c_binding

2018-06-22 Thread Steve Kargl
On Fri, Jun 22, 2018 at 04:46:19PM -0400, Fritz Reese wrote: > > With the patch, the trunk compiler does not exhibit the bugs in the > mentioned PRs (82972, 83088, 85851). I did encounter some issues > building and regression testing the trunk compiler which I am certain > are unrelated. The

[Bug target/84700] [6/7 Regression] ICE on 32-bit BE powerpc targets w/ -misel -O1

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84700 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:29:34 2018 New Revision: 261913 URL: https://gcc.gnu.org/viewcvs?rev=261913=gcc=rev Log: Backported from mainline 2018-03-05 Jakub Jelinek PR

[Bug c++/79085] [6/7 Regression] ICE with placement new to unaligned location

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79085 --- Comment #12 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:43:53 2018 New Revision: 261925 URL: https://gcc.gnu.org/viewcvs?rev=261925=gcc=rev Log: Backported from mainline 2018-03-15 Jakub Jelinek PR

[Bug c++/84222] [6/7 Regression] [[deprecated]] class complains about internal class usage

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84222 --- Comment #11 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:43:09 2018 New Revision: 261924 URL: https://gcc.gnu.org/viewcvs?rev=261924=gcc=rev Log: Backported from mainline 2018-03-15 Jakub Jelinek PR

[Bug target/84990] [8 Regression] Boostrap broken with --enable-checking=release and Ada

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84990 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:51:42 2018 New Revision: 261930 URL: https://gcc.gnu.org/viewcvs?rev=261930=gcc=rev Log: Backported from mainline 2018-03-22 Jakub Jelinek PR

[Bug inline-asm/84941] [6/7 Regression] internal compiler error: in reg_overlap_mentioned_p, at rtlanal.c:1870 (reg_overlap_mentioned_p()/match_asm_constraints_1())

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84941 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:56:25 2018 New Revision: 261936 URL: https://gcc.gnu.org/viewcvs?rev=261936=gcc=rev Log: Backported from mainline 2018-03-22 Jakub Jelinek PR

[Bug inline-asm/85034] [6/7 Regression] -O1 internal compiler error: in elimination_costs_in_insn, at reload1.c:3633

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85034 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:58:02 2018 New Revision: 261938 URL: https://gcc.gnu.org/viewcvs?rev=261938=gcc=rev Log: Backported from mainline 2018-03-23 Jakub Jelinek PR

[Bug c++/85210] [7 Regression] ICE with broken structured binding in template

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85210 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 21:07:16 2018 New Revision: 261949 URL: https://gcc.gnu.org/viewcvs?rev=261949=gcc=rev Log: Backported from mainline 2018-04-06 Jakub Jelinek PR

[Bug inline-asm/85022] [6/7 Regression] internal compiler error: in write_dependence_p, at alias.c:3003

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85022 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 20:58:44 2018 New Revision: 261939 URL: https://gcc.gnu.org/viewcvs?rev=261939=gcc=rev Log: Backported from mainline 2018-03-23 Jakub Jelinek PR

  1   2   3   4   >