gcc-6-20180307 is now available

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

Re: Further for GSoC.

2018-03-07 Thread Tejas Joshi
On 6 March 2018 at 22:25, Martin Jambor wrote: > > You might have figured this out already but just in case something is > > not clear: > > > > 1. How to check out our sources using svn and git is described at > > https://gcc.gnu.org/svn.html and https://gcc.gnu.org/wiki/GitMirror > >

Re: Size and speed comparison of GCC 7 & 8

2018-03-07 Thread Martin Liška
On 03/07/2018 11:13 AM, Martin Liška wrote: > V2: fixed headers in the last table of the PDF. > > Martin > About the i386.ii -O2 -g, there's perf diff in between GCC 7 (base) and GCC 8: # Baseline Delta Abs Shared Object Symbol

Re: about the gsoc

2018-03-07 Thread Martin Jambor
Hello Jagmeet, On Wed, Mar 07 2018, Jagmeet Singh wrote: > Any one for help me > > I want to ask question about the ideas > > reply please please ask your question directly to this mailing list (gcc@gcc.gnu.org). Martin

Re: Further for GSoC.

2018-03-07 Thread Jonathan Wakely
On 6 March 2018 at 22:25, Martin Jambor wrote: > You might have figured this out already but just in case something is > not clear: > > 1. How to check out our sources using svn and git is described at > https://gcc.gnu.org/svn.html and https://gcc.gnu.org/wiki/GitMirror > respectively,

Re: BLKmode parameters are stored in unaligned stack slot when passed via registers.

2018-03-07 Thread Richard Biener
On Tue, Mar 6, 2018 at 9:02 PM, Renlin Li wrote: > Hi Richard, > > > On 06/03/18 16:04, Richard Biener wrote: >> >> On Tue, Mar 6, 2018 at 4:21 PM, Renlin Li wrote: >>> >>> Hi all, >>> >>> The problem described here probably only affects targets whose

Re: BLKmode parameters are stored in unaligned stack slot when passed via registers.

2018-03-07 Thread Jeff Law
On 03/06/2018 08:21 AM, Renlin Li wrote: > Hi all, > > The problem described here probably only affects targets whose ABI allow > to pass structured > arguments of certain size via registers. > > If the mode of the parameter type is BLKmode, in the callee, during RTL > expanding, > a stack slot

Re: GCC GSOC Participation

2018-03-07 Thread Andi Kleen
> I would suggest that you start with reading through Andi's email to > another student who expressed interest in that project which you can > find at: https://gcc.gnu.org/ml/gcc/2018-02/msg00216.html > > Andi, do you have any further suggestions what Prateek should check-out, > perhaps build,

Re: GCC GSOC Participation

2018-03-07 Thread Andi Kleen
On Wed, Mar 07, 2018 at 03:52:15AM +0530, Prathamesh Kulkarni wrote: > On 3 March 2018 at 16:22, Prateek Kalra wrote: > > Hello GCC Community, > > My name is Prateek Kalra.I am pursuing integrated dual > > degree(B.tech+M.tech) in Computer Science Software

[Bug target/84521] [8 Regression] aarch64: Frame-pointer corruption with __builtin_setjmp/__builtin_longjmp and -fomit-frame-pointer

2018-03-07 Thread sudi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84521 --- Comment #17 from sudi at gcc dot gnu.org --- I looked up what other targets were doing and one thing found to be interesting was that a lot of them are defining the target hook TARGET_BUILTIN_SETJMP_FRAME_VALUE. In AArch64 case I am

Re: [PATCH] Add a few new contrib.texi entries, especially for people who perform GCC fuzzy testing and report bugs (take 2)

2018-03-07 Thread Volker Reichelt
On 03/07/2018 03:24 PM, Jakub Jelinek wrote: On Wed, Mar 07, 2018 at 02:06:33PM +0100, Jakub Jelinek wrote: As appreciation of the hard work of people doing fuzzy testing of GCC and reporting high quality bugs, I'd like to list them in contrib.texi. This patch just lists them in the GCC

Re: [PATCH] fix ICE in generic_overlap (PR 84526)

2018-03-07 Thread Jeff Law
On 02/23/2018 01:13 PM, Jakub Jelinek wrote: > On Fri, Feb 23, 2018 at 12:57:14PM -0700, Martin Sebor wrote: >> + /* get_inner_reference is not expected to return null. */ >> + gcc_assert (base != NULL); >> + >>poly_int64 bytepos = exact_div (bitpos, BITS_PER_UNIT); >> >> - HOST_WIDE_INT

[Bug target/82411] const is not always read-only

2018-03-07 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82411 Segher Boessenkool changed: What|Removed |Added Status|WAITING |NEW --- Comment #7 from Segher

[Bug c++/84745] internal compiler error: Segmentation fault (main_block_label())

2018-03-07 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84745 David Malcolm changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFIRMED

[Bug c++/84752] New: [8 Regression] ICE with constexpr array referenced in lambda

2018-03-07 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84752 Bug ID: 84752 Summary: [8 Regression] ICE with constexpr array referenced in lambda Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug ipa/84149] [8 Regression] SPEC CPU2017 505.mcf/605.mcf ~10% performance regression with r256888

2018-03-07 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84149 --- Comment #5 from Martin Jambor --- Created attachment 43588 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43588=edit Prototype patch I have to leave the office now but this is the (only very very lightly tested) prototype patch that

[Bug c++/59704] Wrong overload chosen, compiler errornously thinks non-constant zero expression is implicitly castable to null pointer

2018-03-07 Thread arthur.j.odwyer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59704 Arthur O'Dwyer changed: What|Removed |Added CC||arthur.j.odwyer at gmail dot com ---

[PATCH 1/2] tree-if-conv.c: fix ICE seen with -fno-tree-forwprop (PR tree-optimization/84178)

2018-03-07 Thread David Malcolm
PR tree-optimization/84178 reports a couple of source files that ICE inside ifcvt when compiled with -03 -fno-tree-forwprop (trunk and gcc 7). Both cases involve problems with ifcvt's per-BB gimplified predicates. Testcase 1 fails this assertion within release_bb_predicate during cleanup: 283

Re: [PATCH/RFC] tree-if-conv.c: fix two ICEs seen with -fno-tree-forwprop (PR tree-optimization/84178)

2018-03-07 Thread David Malcolm
On Fri, 2018-02-16 at 12:48 +0100, Richard Biener wrote: > On Thu, Feb 15, 2018 at 11:07 PM, David Malcolm > wrote: > > On Fri, 2018-02-09 at 12:02 +0100, Richard Biener wrote: > > > On Thu, Feb 8, 2018 at 11:23 PM, David Malcolm > > om> > > > wrote: > >

[Bug fortran/59093] Segfault in gfc_trans_pointer_assignment

2018-03-07 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59093 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[PATCH 2/2] ifcvt: unfixed testcase for 2nd issue within PR tree-optimization/84178

2018-03-07 Thread David Malcolm
Here's a testcase for the 2nd issue within PR tree-optimization/84178. With -03 -fno-tree-forwprop, trunk and gcc 7 segfault inside update_ssa when called from version_loop_for_if_conversion when a loop is versioned. During loop_version, some blocks are duplicated, and this can duplicate SSA

[Bug c++/84733] [8 Regression] internal compiler error: Segmentation fault (check_local_shadow())

2018-03-07 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84733 Nathan Sidwell changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/84209] [avr] Don't split SP in split2

2018-03-07 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84209 Georg-Johann Lay changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/84468] [8 Regression] bogus -Wstringop-truncation despite assignment after conditional strncpy

2018-03-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84468 --- Comment #17 from Martin Sebor --- Author: msebor Date: Wed Mar 7 19:30:31 2018 New Revision: 258339 URL: https://gcc.gnu.org/viewcvs?rev=258339=gcc=rev Log: PR tree-optimization/84468 - bogus -Wstringop-truncation despite assignment after

Re: [SFN+LVU+IEPM v4 9/9] [IEPM] Introduce inline entry point markers

2018-03-07 Thread Jeff Law
On 02/21/2018 03:11 AM, Alexandre Oliva wrote: > On Feb 15, 2018, Szabolcs Nagy wrote: > >> i see assembler slow downs with these location view patches >> i opened https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84408 > > > [LVU] reset view at function entry, omit views at

[Bug tree-optimization/84737] [8 Regression] 20% degradation in CPU2000 172.mgrid starting with r256888

2018-03-07 Thread pthaugen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84737 --- Comment #3 from Pat Haugen --- (In reply to Martin Liška from comment #1) > Isn't that dup of 84149? Can you please tweak --param ipa-cp-eval-threshold > to value to 200, 300, 400? Can you please attach -fdump-ipa-cp-details file? I tried

Re: [C++ Patch/RFC] PR 71169 ("[7/8 Regression] ICE on invalid C++ code in pop_nested_class"), PR 71832 and more

2018-03-07 Thread Jason Merrill
On Wed, Mar 7, 2018 at 12:18 PM, Paolo Carlini wrote: > Hi, > > [snip the various clarifications] > > Il 7 Marzo 2018 17:57:07 CET, Jason Merrill ha scritto: >>My thought was that this patch adds a lot of managing of the flag in >>different places in

[PATCH] rs6000: -mreadonly-in-sdata (PR82411)

2018-03-07 Thread Segher Boessenkool
This adds a new option -mreadonly-in-sdata (on by default) that controls whether readonly data can be put in sdata. (For EABI this does nothing, readonly data is put in sdata2 as usual). Tested etc.; committing. Segher 2018-03-07 Segher Boessenkool *

[Bug middle-end/84747] alias analysis reports may-conflict for references to disjoint address spaces

2018-03-07 Thread stefan at reservoir dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84747 --- Comment #3 from Stefan M Freudenberger --- In this case I would have expected that TARGET_ADDR_SPACE_SUBSET_P will return TRUE, as appropriate. Granted, it would render my example invalid for x86.

Re: [PATCH] fix ICE in generic_overlap (PR 84526)

2018-03-07 Thread Jeff Law
On 02/23/2018 02:46 PM, Martin Sebor wrote: >> This doesn't address any of my concerns that it is completely random >> what {dst,src}ref->base is, apples and oranges; sometimes it is a pointer >> (e.g. the argument of the function), sometimes the ADDR_EXPR operand, >> sometimes the base of the

[Bug tree-optimization/84737] [8 Regression] 20% degradation in CPU2000 172.mgrid starting with r256888

2018-03-07 Thread pthaugen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84737 --- Comment #2 from Pat Haugen --- Created attachment 43589 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43589=edit ipa-cp dump

[Bug c++/84733] [8 Regression] internal compiler error: Segmentation fault (check_local_shadow())

2018-03-07 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84733 David Malcolm changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFIRMED

[Bug fortran/66128] ICE for some intrinsics with zero sized array parameter

2018-03-07 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66128 --- Comment #17 from Thomas Koenig --- Here's a problem with maxval: $ cat maxval_parameter_2.f90 ! { dg-do run } program main integer, dimension(0,3), parameter :: i = 0 integer, dimension(0,3) :: j = 0 print *,maxval(i,dim=1) print

Re: [PATCH] fix ICE in generic_overlap (PR 84526)

2018-03-07 Thread Jeff Law
On 02/26/2018 10:32 AM, Martin Sebor wrote: > > PR tree-optimization/84526 - ICE in generic_overlap at > gcc/gimple-ssa-warn-restrict.c:927 since r257860 > > gcc/ChangeLog: > > PR tree-optimization/84526 > * gimple-ssa-warn-restrict.c (builtin_memref::set_base_and_offset): >

[Bug c++/84744] cannot use glibc 2.27 with gcc 7.3

2018-03-07 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84744 Jim Wilson changed: What|Removed |Added CC||wilson at gcc dot gnu.org --- Comment #9

[Bug target/82411] const is not always read-only

2018-03-07 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82411 --- Comment #6 from Segher Boessenkool --- Author: segher Date: Wed Mar 7 20:27:11 2018 New Revision: 258340 URL: https://gcc.gnu.org/viewcvs?rev=258340=gcc=rev Log: rs6000: -mreadonly-in-sdata (PR82411) This adds a new option

[Bug rtl-optimization/84753] New: GCC does not fold xxswapd followed by vperm

2018-03-07 Thread noloader at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84753 Bug ID: 84753 Summary: GCC does not fold xxswapd followed by vperm Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/84752] [8 Regression] ICE with constexpr array referenced in lambda

2018-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84752 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

Re: [C++ Patch/RFC] PR 71169 ("[7/8 Regression] ICE on invalid C++ code in pop_nested_class"), PR 71832 and more

2018-03-07 Thread Paolo Carlini
Hi, On 07/03/2018 21:23, Jason Merrill wrote: On Wed, Mar 7, 2018 at 12:18 PM, Paolo Carlini wrote: Hi, [snip the various clarifications] Il 7 Marzo 2018 17:57:07 CET, Jason Merrill ha scritto: My thought was that this patch adds a lot of

[Bug fortran/66128] ICE for some intrinsics with zero sized array parameter

2018-03-07 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66128 Thomas Koenig changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug ipa/84149] [8 Regression] SPEC CPU2017 505.mcf/605.mcf ~10% performance regression with r256888

2018-03-07 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84149 Martin Jambor changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment

[Bug tree-optimization/84468] [8 Regression] bogus -Wstringop-truncation despite assignment after conditional strncpy

2018-03-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84468 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

Re: C++ PATCH for c++/84036, ICE with variadic lambda capture

2018-03-07 Thread Jason Merrill
On Sun, Feb 11, 2018 at 8:21 PM, Jason Merrill wrote: > The old lambda model handled variadic capture by focusing on the > FIELD_DECL rather than trying to map between capture proxies. The new > model relies more on capture proxies, so it makes sense to use them > more for

[Bug tree-optimization/83456] -Wrestrict false positive on a non-overlapping memcpy in an inline function

2018-03-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83456 Martin Sebor changed: What|Removed |Added Keywords||patch Status|NEW

[PATCH] avoid warning for memcpy to self (PR 83456)

2018-03-07 Thread Martin Sebor
I have become convinced that issuing -Wrestrict in gimple-fold for calls to memcpy() where the source pointer is the same as the destination causes more trouble than it's worth, especially when inlining is involved, as in: inline void bar (void *d, void *s, unsigned N) { if (s != d)

Re: Fix some _GLIBCXX_DEBUG pretty printer errors

2018-03-07 Thread Jonathan Wakely
On 7 March 2018 at 17:39, François Dumont wrote: > On 06/03/2018 22:21, Jonathan Wakely wrote: >> >> >>> @@ -575,10 +586,12 @@ class StdDebugIteratorPrinter: >>> # and return the wrapped iterator value. >>> def to_string (self): >>> base_type =

[Bug rtl-optimization/84753] GCC does not fold xxswapd followed by vperm

2018-03-07 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84753 --- Comment #5 from Bill Schmidt --- s/this loop/this function

[Bug fortran/70409] Silent truncation of character parameters with len=huge()

2018-03-07 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70409 --- Comment #3 from kargl at gcc dot gnu.org --- Author: kargl Date: Thu Mar 8 00:42:41 2018 New Revision: 258347 URL: https://gcc.gnu.org/viewcvs?rev=258347=gcc=rev Log: 2018-03-07 Steven G. Kargl PR

[Bug fortran/64124] [F95] Valid constant expr rejected

2018-03-07 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64124 --- Comment #3 from kargl at gcc dot gnu.org --- Author: kargl Date: Thu Mar 8 00:42:41 2018 New Revision: 258347 URL: https://gcc.gnu.org/viewcvs?rev=258347=gcc=rev Log: 2018-03-07 Steven G. Kargl PR

[Bug tree-optimization/83519] missing -Wrestrict on an overlapping strcpy to a non-member array

2018-03-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83519 --- Comment #1 from Martin Sebor --- Author: msebor Date: Thu Mar 8 00:56:07 2018 New Revision: 258348 URL: https://gcc.gnu.org/viewcvs?rev=258348=gcc=rev Log: PR tree-optimization/83519 - missing -Wrestrict on an overlapping strcpy to a

[Bug tree-optimization/83519] missing -Wrestrict on an overlapping strcpy to a non-member array

2018-03-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83519 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[PATCH] Fix switchconv ICE (PR tree-optimization/84740)

2018-03-07 Thread Jakub Jelinek
Hi! On the following testcase info.final_bb has only one PHI, the virtual one, so info.phi_count is 0. For info.phi_count == 0, we don't really create any arrays etc.; just returning early (before create_temp_arrays) would work, but would leave the useless GIMPLE_SWITCH in the IL and it would

[PATCH] __builtin_early_constant_p (PR c++/78420)

2018-03-07 Thread Jakub Jelinek
Hi! This is the implementation of __builtin_early_constant_p builtin which is at all optimization levels quite similar to __builtin_constant_p at -O0, except that the FE folding might be slightly different between -O0 and -O1+. In any case, the builtin is folded to 0 already during the FEs if

Re: [PATCH] Fix ICE for static vars in offloaded functions

2018-03-07 Thread Jakub Jelinek
On Wed, Mar 07, 2018 at 02:20:26PM +0100, Tom de Vries wrote: > Fix ICE for static vars in offloaded functions > > 2018-03-06 Tom de Vries > > PR lto/84592 > * varpool.c (varpool_node::get_create): Mark static variables in > offloaded functions as

Re: [PATCH] fix ICE in generic_overlap (PR 84526)

2018-03-07 Thread Richard Sandiford
Martin Sebor writes: > @@ -409,23 +412,33 @@ builtin_memref::set_base_and_offset (tree expr) >base = get_inner_reference (expr, , , _off, > , , , ); > > + /* get_inner_reference is not expected to return null. */ > + gcc_assert (base !=

[PATCH, rs6000] Fix PR83969: ICE in final_scan_insn, at final.c:2997

2018-03-07 Thread Peter Bergner
PR83969 shows another bug in mem_operand_gpr() (which implements the "Y" constraint) accepting reg+reg addresses.  This was fixed by adding a call to rs6000_offsettable_memref_p() to verify the address is a valid offsettable address.  Fixing that exposed a problem in the *movdi_internal64 pattern

[Bug c/60256] No -Wuninitialized warning for strcpy copying to self

2018-03-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60256 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug fortran/49278] ICE (segfault) when combining DATA with default initialization

2018-03-07 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49278 Jürgen Reuter changed: What|Removed |Added CC||juergen.reuter at desy dot de ---

[Bug rtl-optimization/84753] GCC does not fold xxswapd followed by vperm

2018-03-07 Thread noloader at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84753 --- Comment #2 from Jeffrey Walton --- (In reply to Bill Schmidt from comment #1) > GCC 4.8.5 is out of service. This is fixed in all in-service versions of > GCC (6.4 and later). Interesting. I'm seeing it in GCC 7.2.0. Are you certain of

[Bug fortran/49278] ICE (segfault) when combining DATA with default initialization

2018-03-07 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49278 --- Comment #16 from Jürgen Reuter --- In addition to what Tobias remarked, NAG now gives a clear error message: NAG Fortran Compiler Release 6.1(Tozai) Build 6138 Error: data.f90, line 13: Object TRLKOLD of type ACTIVE is default-initialised,

[Bug rtl-optimization/84753] GCC does not fold xxswapd followed by vperm

2018-03-07 Thread noloader at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84753 --- Comment #3 from Jeffrey Walton --- (In reply to Jeffrey Walton from comment #2) > (In reply to Bill Schmidt from comment #1) > > GCC 4.8.5 is out of service. This is fixed in all in-service versions of > > GCC (6.4 and later). > >

[PATCH] Fix tail recursion (PR tree-optimization/84739)

2018-03-07 Thread Jakub Jelinek
Hi! Before Honza introduced recursive_call_p, this tree-tailcall.c snipped has been guarded with if (func == current_function_decl), so what we used for DECL_ARGUMENTS didn't really matter. But as it can now be some alias to it, we really want to check that the current function's arguments match

Re: [PATCH] fix ICE in generic_overlap (PR 84526)

2018-03-07 Thread Martin Sebor
On 03/07/2018 04:04 PM, Richard Sandiford wrote: Martin Sebor writes: @@ -409,23 +412,33 @@ builtin_memref::set_base_and_offset (tree expr) base = get_inner_reference (expr, , , _off, , , , ); + /* get_inner_reference is not expected to

Re: [PATCH] Fix tail recursion (PR tree-optimization/84739)

2018-03-07 Thread Jeff Law
On 03/07/2018 02:42 PM, Jakub Jelinek wrote: > Hi! > > Before Honza introduced recursive_call_p, this tree-tailcall.c snipped > has been guarded with if (func == current_function_decl), so what we used > for DECL_ARGUMENTS didn't really matter. But as it can now be some alias > to it, we really

[Bug c/60256] No -Wuninitialized warning for strcpy copying to self

2018-03-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60256 Martin Sebor changed: What|Removed |Added Known to fail|7.0 |7.3.0, 8.0 --- Comment #10 from Martin

[Bug target/83712] [6/7/8 Regression] "Unable to find a register to spill" when compiling for thumb1

2018-03-07 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83712 --- Comment #6 from Vladimir Makarov --- I've decided to fix it in RA because it could help to fix analogous bugs when existing hard reg splitting code fails. This particular bug is more complicated because it happens for non-small reg class.

Re: [RFA][PATCH][PR middle-end/61118] Improve tree CFG accuracy for setjmp/longjmp

2018-03-07 Thread Peter Bergner
On 3/7/18 12:01 AM, Jeff Law wrote: > I believe so by nature that the setjmp dominates the longjmp sites and > thus also dominates the dispatcher. But it's something I want to > explicitly check before resubmitting. Are we sure a setjmp has to dominate its longjmp sites? Couldn't you have

[Bug c/81269] wrong color highlighting in -Wrestrict warnings

2018-03-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81269 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/84753] GCC does not fold xxswapd followed by vperm

2018-03-07 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84753 Bill Schmidt changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

Re: [PATCH] fix ICE in generic_overlap (PR 84526)

2018-03-07 Thread Martin Sebor
On 03/07/2018 12:37 PM, Jeff Law wrote: On 02/26/2018 10:32 AM, Martin Sebor wrote: PR tree-optimization/84526 - ICE in generic_overlap at gcc/gimple-ssa-warn-restrict.c:927 since r257860 gcc/ChangeLog: PR tree-optimization/84526 * gimple-ssa-warn-restrict.c

[Bug rtl-optimization/84753] GCC does not fold xxswapd followed by vperm

2018-03-07 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84753 Bill Schmidt changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug tree-optimization/84754] New: missing -Wrestrict on a possible strcpy overlap with constant offset

2018-03-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84754 Bug ID: 84754 Summary: missing -Wrestrict on a possible strcpy overlap with constant offset Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/34516] trivial sentinels

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

[Bug bootstrap/21547] GMP/MPFR shared libraries not in LD_LIBRARY_PATH: failure to build libgfortran

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

[Bug driver/84749] -w does not work with option property Warn

2018-03-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84749 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/84698] ICE when using noexcept(noexcept()) declaration on global friend function of template class

2018-03-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84698 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug inline-asm/84677] [6/7/8 Regression] internal compiler error: in extract_constrain_insn, at recog.c:2205

2018-03-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84677 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug target/84751] ICE with debug build of gcc GIMPLE pass: store-merging or IPA pass: cp

2018-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84751 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug c/84755] GCC 4.6.0 build error with GCC-4.8.5 in Ubuntu 16.04 LTS

2018-03-07 Thread lux1075 at naver dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84755 --- Comment #1 from June,Lim --- Created attachment 43591 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43591=edit make all-gcc log

[Bug c/84755] GCC 4.6.0 build error with GCC-4.8.5 in Ubuntu 16.04 LTS

2018-03-07 Thread lux1075 at naver dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84755 --- Comment #2 from June,Lim --- Created attachment 43592 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43592=edit GCC-4.6.0 configure log

[Bug target/34452] Multiply-by-constant pessimation

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

[Bug target/35365] dlopen fails because of missing _Jv_RegisterClasses under HP-UX 11.11

2018-03-07 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35365 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug other/44035] internals documentation cannot be fixed without new GFDL license grants

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

[Bug inline-asm/84680] [6/7/8 Regression] internal compiler error: Max. number of generated reload insns per insn is achieved (90)

2018-03-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84680 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/84756] New: Multiplication done twice just to get upper and lower parts of product

2018-03-07 Thread b7.10110111 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84756 Bug ID: 84756 Summary: Multiplication done twice just to get upper and lower parts of product Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/26061] error and warning count

2018-03-07 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26061 Eric Gallager changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org,

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

2018-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84739 Jakub Jelinek changed: What|Removed |Added Summary|[6/7/8 Regression] ICE in |[6/7 Regression] ICE in

[Bug target/20802] mmix-knuth-mmixware testsuite failure: gcc.dg/builtin-apply4.c execution

2018-03-07 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20802 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org Known

[Bug c/84755] New: GCC 4.6.0 build error with GCC-4.8.5 in Ubuntu 16.04 LTS

2018-03-07 Thread lux1075 at naver dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84755 Bug ID: 84755 Summary: GCC 4.6.0 build error with GCC-4.8.5 in Ubuntu 16.04 LTS Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal

[Bug inline-asm/84679] [6/7/8 Regression] internal compiler error: in lra_eliminate_reg_if_possible, at lra-eliminations.c:1382

2018-03-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84679 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/84582] [8 Regression] Rejected valid C++ code since r257961

2018-03-07 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84582 Bug 84582 depends on bug 84596, which changed state. Bug 84596 Summary: [8 Regression] internal compiler error: unexpected expression '(bool)c' of kind implicit_conv_expr (cxx_eval_constant_expression)

[Bug fortran/77296] [F03] Compiler Error with allocatable string and associate

2018-03-07 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77296 janus at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |8.0 --- Comment #7 from janus

[Bug libgomp/35614] libgomp info documentation file is in the wrong category

2018-03-07 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35614 Eric Gallager changed: What|Removed |Added Keywords||documentation, easyhack,

[Bug inline-asm/84742] internal compiler error: in process_alt_operands, at lra-constraints.c:2112

2018-03-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84742 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/84596] [8 Regression] internal compiler error: unexpected expression '(bool)c' of kind implicit_conv_expr (cxx_eval_constant_expression)

2018-03-07 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84596 Alexandre Oliva changed: What|Removed |Added Priority|P4 |P3 Status|RESOLVED

[Bug driver/83206] -mfpu=auto does not work on ARM (armv7l-unknown-linux-gnueabihf)

2018-03-07 Thread andrewm.roberts at sky dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206 --- Comment #23 from Andrew Roberts --- RPI Zero still looks ok with latest snapshot. /usr/local/gcc/bin/gcc -mfpu=auto -O3 -o matrix matrix.c cc1: error: -mfloat-abi=hard: selected processor lacks an FPU /usr/local/gcc/bin/gcc -mcpu=native

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

2018-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84739 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Thu Mar 8 06:56:59 2018 New Revision: 258351 URL: https://gcc.gnu.org/viewcvs?rev=258351=gcc=rev Log: PR tree-optimization/84739 * tree-tailcall.c (find_tail_calls):

[Bug c/84755] GCC 4.6.0 build error with GCC-4.8.5 in Ubuntu 16.04 LTS

2018-03-07 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84755 --- Comment #3 from Marc Glisse --- gcc 4.6 and 4.8 branches are old and not supported anymore. Besides, trying 4.6.0 (with unidentified patches!) instead of 4.6.N with the largest possible N is just asking for trouble (the problem may already

Re: [PATCH] Fix switchconv ICE (PR tree-optimization/84740)

2018-03-07 Thread Richard Biener
On March 7, 2018 10:51:08 PM GMT+01:00, Jakub Jelinek wrote: >Hi! > >On the following testcase info.final_bb has only one PHI, the virtual >one, >so info.phi_count is 0. For info.phi_count == 0, we don't really >create any >arrays etc.; just returning early (before

[Bug target/28508] Assembler Error: operand out of range (145 not between -128 and 127) form m32r-target

2018-03-07 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28508 Eric Gallager changed: What|Removed |Added Status|NEW |RESOLVED CC|

  1   2   3   >