Re: [wwwdocs] GCC 6 Release Notes for RTEMS

2015-09-16 Thread Sebastian Huber
I checked this in. On 15/09/15 09:49, Sebastian Huber wrote: I think there are some head lines missing: Index: htdocs/gcc-6/changes.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-6/changes.html,v retrieving revision 1.29 diff -u

[Bug target/67573] [SH] wrong code generated for libstdc++-v3/src/c++11/cxx11-shim_facets.cc at -mlra

2015-09-16 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67573 --- Comment #5 from Kazumoto Kojima --- (In reply to Oleg Endo from comment #4) > Maybe FPSCR_STAT_REG should be in the clobber list, too? Otherwise stores > of FP exception bits etc (get_fpscr builtin) could be wrongly CSE'd across > function

[patch] Fix wrong code on dynamic array slices

2015-09-16 Thread Eric Botcazou
Hi, the attached Ada testcase fails on x86/Linux (32-bit only) because the FRE pass wrongly deletes stores as redundant: Deleted redundant store VIEW_CONVERT_EXPR(*a.18_41)[0] {lb: 4294967292 sz: 4} = 100; Deleted redundant store

[Bug c++/67595] concepts code causes segfault

2015-09-16 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67595 --- Comment #2 from Markus Trippelsdorf --- template concept bool allocatable = requires{ { new X }->X * }; template concept bool semiregular = allocatable; template concept bool readable = requires{ requires semiregular }; template int

[PATCH] Refactor dwarf2out_late_global_decl

2015-09-16 Thread Richard Biener
This makes dwarf2out_late_global_decl only do late work, namely add location/value attributes. For current LTO we need to make it do early_global_decl as well (with LTO early debug this will be conditionalized on !flag_lto_early_debug). Bootstrapped and tested on x86_64-unknown-linux-gnu and

Re: Split Stack performance, signals

2015-09-16 Thread Anders Oleson
... >> Summary: >> prolog overhead, no call to __morestack : < 1 clock >> stock call to __morestack (hot): > 4000 clocks >> without signal blocking: < 60 clocks >> potential best case: < 6 clocks > > This sounds great. The data structure I was experimenting with ended up to be not very

Re: [PATCH] shrink-wrap: Fix up partitions (PR67587)

2015-09-16 Thread Bernd Schmidt
On 09/16/2015 02:17 AM, Segher Boessenkool wrote: With the new shrink-wrap algorithm, blocks reachable both with and without prologue are duplicated, and their incoming edges are then distributed accordingly. So we need to call fixup_partitions. Is this okay for trunk? I think so, given that

Re: [PATCH, i386]: Fix PR 67484, asan detects heap-use-after-free with target options

2015-09-16 Thread Uros Bizjak
On Wed, Sep 16, 2015 at 10:45 AM, Richard Biener wrote: >> As mentioned in the PR, ix86_valid_target_attribute_tree creates >> temporary copies of current options strings and saves *pointers* to >> these copies with build_target_option_node. A couple of lines below,

Re: [PATCH, i386]: Fix PR 67484, asan detects heap-use-after-free with target options

2015-09-16 Thread Richard Biener
I see in gtype-desc.c: void gt_ggc_mx_cl_target_option (void *x_p) { struct cl_target_option * const x = (struct cl_target_option *)x_p; if (ggc_test_and_set_mark (x)) { gt_ggc_m_S ((*x).x_ix86_arch_string); gt_ggc_m_S ((*x).x_ix86_recip_name); gt_ggc_m_S

[Bug tree-optimization/67253] [6 Regression] ICE at -O3 on x86_64-linux-gnu (verify_gimple failed)

2015-09-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67253 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[AArch64] Implement copysign[ds]f3

2015-09-16 Thread James Greenhalgh
Hi, This patch adds expanders for copysigndf3 and copysignsf3 to the AArch64 backend. These use the BSL/BIT/BIF insn to save us from the default expansion pattern. Bootstrapped on aarch64-none-linux-gnu with no issues, and checked the performance to show a slight improvement to FP routines

[Bug fortran/67588] module.c heap use after free

2015-09-16 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67588 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org ---

Re: Git conversion: disposition of old branches and tags

2015-09-16 Thread Richard Biener
On Tue, Sep 15, 2015 at 7:09 PM, Florian Weimer wrote: > * Jason Merrill: > >> There are lots of ancient branches and tags in the SVN repository that >> are no longer interesting, and it would be nice not to have them >> cluttering up the lists and default fetch set. > > Just

Re: [PATCH, i386]: Fix PR 67484, asan detects heap-use-after-free with target options

2015-09-16 Thread Richard Biener
And it is initialized via void cl_target_option_save (struct cl_target_option *ptr, struct gcc_options *opts) { if (targetm.target_option.save) targetm.target_option.save (ptr, opts); ptr->x_recip_mask = opts->x_recip_mask; ptr->x_ix86_isa_flags = opts->x_ix86_isa_flags;

[Bug tree-optimization/67253] [6 Regression] ICE at -O3 on x86_64-linux-gnu (verify_gimple failed)

2015-09-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67253 --- Comment #4 from Richard Biener --- Ok... so the issue is we have "invalid" tree sharing of in both fn4.constprop and fn2.constprop. Correctly without BLOCK on the location. But then we expand fn4.constprop and do expand_gimple_stmt_1

[PATCH] Fix PR67442

2015-09-16 Thread Richard Biener
This fixes PR67442, wide_int_to_tree used for type extension from a different signed value (which doesn't work). Bootstrapped and tested on x86_64-unknown-linux-gnu, applied on trunk. Richard. 2015-09-16 Richard Biener PR middle-end/67442 * fold-const.c

Re: [PATCH][C++] Avoid PCH dependent mangling

2015-09-16 Thread Richard Biener
On Tue, 15 Sep 2015, Richard Biener wrote: > On September 15, 2015 4:25:37 PM GMT+02:00, Jason Merrill > wrote: > >On 08/27/2015 09:36 AM, Richard Biener wrote: > >> > >> With the passes.c hunk in the patch below we FAIL assembly comparison > >> of g++.dg/pch/system-[12].C

Re: [patch] Fix wrong code on dynamic array slices

2015-09-16 Thread Richard Biener
Ok. Thanks, Richard. On Wed, Sep 16, 2015 at 9:07 AM, Eric Botcazou wrote: > Hi, > > the attached Ada testcase fails on x86/Linux (32-bit only) because the FRE > pass wrongly deletes stores as redundant: > > Deleted redundant store

Re: dejagnu version update?

2015-09-16 Thread Andreas Schwab
Mike Stump writes: > The software presently works with 1.4.4 and there aren’t any changes > that require anything newer. SLES 12 has 1.4.4. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7

Re: dejagnu version update?

2015-09-16 Thread Andreas Schwab
Mike Stump writes: > The software presently works with 1.4.4 and there aren’t any changes > that require anything newer. SLES 12 has 1.4.4. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7

[Bug middle-end/59812] Missing aggressive loop optimization warning

2015-09-16 Thread developm...@faf-ltd.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59812 Peter VARGA changed: What|Removed |Added CC|

Re: [PATCH WIP] Use Levenshtein distance for various misspellings in C frontend v2

2015-09-16 Thread Richard Biener
On Tue, Sep 15, 2015 at 5:38 PM, David Malcolm wrote: > Updated patch attached, which is now independent of the rest of the > patch kit; see below. Various other comments inline. > > On Fri, 2015-09-11 at 17:30 +0200, Manuel López-Ibáñez wrote: > On 10/09/15 22:28, David

Re: [PATCH][ARM] Fix arm bootstrap failure due to -Werror=shift-negative-value

2015-09-16 Thread Richard Earnshaw
On 15/09/15 15:59, Kyrill Tkachov wrote: > Hi all, > > After Marek's patch I see the bootstrap failure on arm: > gcc/config/arm/arm.c:4601:46: error: left shift of negative value > [-Werror=shift-negative-value] > && (val & (-1 << (32 - set_sign_bit_copies))) == val) > > I believe this is

Re: [PATCH v5][aarch64] Implemented reciprocal square root (rsqrt) estimation in -ffast-math

2015-09-16 Thread Benedikt Huber
ping patch is in: https://gcc.gnu.org/ml/gcc-patches/2015-09/msg00417.html Thank you > On 07 Sep 2015, at 12:40, Benedikt Huber > wrote: > > This fifth revision of the patch: > * Moves a function declaration to a header. > * Adds comments to functions. >

[Bug c++/67596] /usr/include/c++/4.7/bits/stl_list.h error

2015-09-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67596 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

Re: Git conversion: disposition of old branches and tags

2015-09-16 Thread Richard Biener
On Tue, Sep 15, 2015 at 7:09 PM, Florian Weimer wrote: > * Jason Merrill: > >> There are lots of ancient branches and tags in the SVN repository that >> are no longer interesting, and it would be nice not to have them >> cluttering up the lists and default fetch set. > > Just

[Bug libfortran/67585] Retry system calls failing with EINTR

2015-09-16 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67585 Janne Blomqvist changed: What|Removed |Added Status|WAITING |NEW --- Comment #2 from Janne

[Bug middle-end/67442] [5 Regression] GCC 5.2.0 on x86_64 creates invalid address on specific array index calculation through pointer

2015-09-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67442 Richard Biener changed: What|Removed |Added Known to work||6.0 Summary|[5/6

[Bug c++/67595] concepts code causes segfault

2015-09-16 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67595 --- Comment #3 from Markus Trippelsdorf --- Or even more: template concept bool allocatable = requires{{new X}->X * }; template concept bool semiregular = allocatable; template concept bool readable = requires{requires semiregular}; template

Re: [patch match.pd c c++]: Ignore results of 'shorten_compare' and move missing patterns in match.pd

2015-09-16 Thread Richard Biener
On Tue, Sep 15, 2015 at 2:54 PM, Kai Tietz wrote: > Hi Richi, > > thanks for the review. > > 2015-09-15 12:06 GMT+02:00 Richard Biener : >> On Tue, Sep 8, 2015 at 1:17 PM, Kai Tietz wrote: >>> Hi, >>> >>> This patch is

[Bug bootstrap/67598] New: [6 Regression] Target powerpc-e500v2-linux-gnuspe failed to bootstrap

2015-09-16 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67598 Bug ID: 67598 Summary: [6 Regression] Target powerpc-e500v2-linux-gnuspe failed to bootstrap Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

RE: RFC: Support x86 interrupt and exception handlers

2015-09-16 Thread Matthew Fortune
H.J. Lu writes: > On Tue, Sep 15, 2015 at 2:45 PM, Matthew Fortune > wrote: > > H.J. Lu writes: > >> On Thu, Sep 3, 2015 at 10:37 AM, H.J. Lu wrote: > >> > The interrupt and exception handlers are called

[Bug middle-end/67442] [5/6 Regression] GCC 5.2.0 on x86_64 creates invalid address on specific array index calculation through pointer

2015-09-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67442 --- Comment #12 from Richard Biener --- Author: rguenth Date: Wed Sep 16 07:25:15 2015 New Revision: 227818 URL: https://gcc.gnu.org/viewcvs?rev=227818=gcc=rev Log: 2015-09-16 Richard Biener PR middle-end/67442

Re: [PATCH, i386]: Fix PR 67484, asan detects heap-use-after-free with target options

2015-09-16 Thread Richard Biener
On Tue, Sep 15, 2015 at 8:13 PM, Uros Bizjak wrote: > Hello! > > As mentioned in the PR, ix86_valid_target_attribute_tree creates > temporary copies of current options strings and saves *pointers* to > these copies with build_target_option_node. A couple of lines below, > these

Re: [C++ Patch] PR 53184 ("Unnecessary anonymous namespace warnings")

2015-09-16 Thread Paolo Carlini
Hi, On 09/15/2015 03:11 AM, Jason Merrill wrote: On 09/14/2015 06:17 PM, Paolo Carlini wrote: Hi Florian, On 09/14/2015 09:41 PM, Florian Weimer wrote: This warning is +enabled by default. Maybe add a sentence why this is bad? I can only guess, but I suspect the reason is this: Such types

[Bug bootstrap/67597] [6 Regression] profiledbootstrap failure on ppc64le

2015-09-16 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67597 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/66785] internal compiler error in record_operand_use

2015-09-16 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66785 James Greenhalgh changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug target/66785] internal compiler error in record_operand_use

2015-09-16 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66785 James Greenhalgh changed: What|Removed |Added Attachment #35920|0 |1 is obsolete|

[Bug middle-end/67241] [6 Regression] FAIL: 23_containers/unordered_set/insert/hash_policy.cc execution test

2015-09-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67241 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/67239] [6 Regression] FAIL: 23_containers/unordered_set/insert/hash_policy.cc execution test

2015-09-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67239 --- Comment #2 from Richard Biener --- *** Bug 67241 has been marked as a duplicate of this bug. ***

[Bug libstdc++/59603] std::random_shuffle tries to swap element with itself

2015-09-16 Thread TonyELewis at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59603 Tony E Lewis changed: What|Removed |Added CC||TonyELewis at hotmail dot com ---

[Bug ipa/67600] [5/6 Regression] Segfault when assigning only one char to ostreambuf_iterator compiled with -O2 or -O3

2015-09-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67600 --- Comment #2 from Richard Biener --- It must conclude that : std::basic_ostringstream::basic_ostringstream (, 16); _52 = MEM[(char_type * *) + 48B]; _53 = MEM[(char_type * *) + 56B]; if (_52 < _53) goto ; else goto ; :

[Bug bootstrap/67598] [6 Regression] Target powerpc-e500v2-linux-gnuspe failed to bootstrap

2015-09-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67598 Richard Biener changed: What|Removed |Added Target Milestone|--- |6.0

Re: [RFC] Masking vectorized loops with bound not aligned to VF.

2015-09-16 Thread Richard Biener
On Mon, 14 Sep 2015, Kirill Yukhin wrote: > Hello, > I'd like to initiate discussion on vectorization of loops which > boundaries are not aligned to VF. Main target for this optimization > right now is x86's AVX-512, which features per-element embedded masking > for all instructions. The main

Re: Fix 61441

2015-09-16 Thread Sujoy Saraswati
Hi, >> I'll leave the correctness part of the patch to Joseph who knows FP >> arithmetic better than me, >> implementation-wise this is ok if you fix the REAL_CST sharing issue. Ok, will change this. > Changing fold_abs_const is wrong - abs of sNaN is sNaN, no exceptions > raised. Changing

[Bug c/67599] New: linux build fails for openrisc compiler

2015-09-16 Thread sudipm.mukherjee at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67599 Bug ID: 67599 Summary: linux build fails for openrisc compiler Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: c

[Bug c/67570] comparison rules fails

2015-09-16 Thread ka_bena at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67570 --- Comment #2 from BENAÏSSA --- Thank you for your reply.   A.BENAÏSSA Post scriptum: Please can you confirm if you have time that the following positive floating point values are correct. --  

[Bug tree-optimization/67601] Vectorization of loop causes aligned access to possibly unaligned address

2015-09-16 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67601 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[PATCH] Fix Cygwin bootstrap failing to find win32 libraries

2015-09-16 Thread JonY
libgcc is failing to find kerne32 etc during the 2nd stage when bootstraping, explicitly add w32api directory to search path. Patch OK? diff --git a/gcc/config/i386/cygwin.h b/gcc/config/i386/cygwin.h index 2a2a0bf..fd3bc0a 100644 --- a/gcc/config/i386/cygwin.h +++ b/gcc/config/i386/cygwin.h @@

Re: [C++] Coding rule enforcement

2015-09-16 Thread Nathan Sidwell
On 09/15/15 09:33, Jason Merrill wrote: On 09/15/2015 09:26 AM, Richard Biener wrote: Wouldn't warning flags be better so you can decide whether it's an error or a warning via -Werror=virtual-inheritance vs. -Wvirtual-inheritance? Yep. That also handles the system header exemption (unless

Re: [PATCH] Move language dependend DIE annotations early

2015-09-16 Thread Richard Biener
On Wed, 16 Sep 2015, Richard Biener wrote: > > This moves gen_scheduled_generic_parms_dies and > gen_remaining_tmpl_value_param_die_attribute to early finish as we > are never populating them after that (the patch adds asserts to that > fact). I left handling "leftovers" of >

Re: [PATCH GCC][rework]Improve loop bound info by simplifying conversions in iv base

2015-09-16 Thread Richard Biener
On Tue, Sep 15, 2015 at 7:57 AM, Bin.Cheng wrote: > Ping. Ok. Thanks, Richard. > On Thu, Aug 27, 2015 at 5:41 PM, Bin Cheng wrote: >> Hi, >> This is a rework for >> https://gcc.gnu.org/ml/gcc-patches/2015-07/msg02335.html, with review >> comments

PR67588: module.c heap use after free and some submodule tidying up

2015-09-16 Thread Paul Richard Thomas
Dear All, The attached patch fixes a memory leak, prevents writing of smod files, when there are no submodules and adds a paragraph to the gfortran documentation on submodules. After this, PR66762, which is the -flto problem, is the last one to sort out in order to complete the implementation of

[Bug bootstrap/67597] [6 Regression] profiledbootstrap failure on ppc64le

2015-09-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67597 Richard Biener changed: What|Removed |Added Target Milestone|--- |6.0

[Bug tree-optimization/67601] Vectorization of loop causes aligned access to possibly unaligned address

2015-09-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67601 --- Comment #2 from Richard Biener --- You are invoking undefined behavior because you are dereferencing table in table[i]+=fTracksPointer; and table is not aligned according to its type (Long64_t).

[Bug rtl-optimization/66790] Invalid uninitialized register handling in REE

2015-09-16 Thread bernds at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66790 Bernd Schmidt changed: What|Removed |Added CC||bernds at gcc dot gnu.org --- Comment

[gomp4] Break out dimension checking

2015-09-16 Thread Nathan Sidwell
I've applied this patch, which breaks out the offload function dimension checking to a separate function. I'll be making use of that shortly, and execute_oacc_transform was getting unnecessarily large. nathan 2015-09-16 Nathan Sidwell * omp-low.c

[Bug target/67599] linux build fails for openrisc compiler

2015-09-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67599 --- Comment #1 from Andrew Pinski --- 4.5 is no longer supported, try a newer version like 4.9.

[Bug libstdc++/67600] New: [5/6] Segfault when assigning only one char to ostreambuf_iterator compiled with -O2 or -O3

2015-09-16 Thread cctsai57 at gmail dot com
= 'x'" statement, but -O0, -O1 or -Os are O.K. If I add the "*iter++ = 'Y'" statement and compile it with -O2 or -O3, it can print "XY" successfully. gcc versions: Fails on gcc-5 (x86_64-redhat-linux on Fedora-22) and gcc-6.0.0 (20150916 (experimental)). Pass on gcc-4.8 and gcc-4.9

[Bug fortran/67170] PRE can't hoist out a readonly argument

2015-09-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67170 --- Comment #7 from Richard Biener --- We can do what the FE should do at gimplification time as well I guess.

[Bug ipa/67600] [5/6 Regression] Segfault when assigning only one char to ostreambuf_iterator compiled with -O2 or -O3

2015-09-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67600 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug tree-optimization/67601] New: Vectorization of loop causes aligned access to possibly unaligned address

2015-09-16 Thread drohr at jwdt dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67601 Bug ID: 67601 Summary: Vectorization of loop causes aligned access to possibly unaligned address Product: gcc Version: 4.8.5 Status: UNCONFIRMED Severity:

[gomp4] reduction cleanup

2015-09-16 Thread Nathan Sidwell
I noticed some unreachable code. Committed this. 2015-09-16 Nathan Sidwell * omp-low.c (lower_oacc_reductions): Remove dead initialization and unreachable code. Index: gcc/omp-low.c === ---

[Bug target/67599] linux build fails for openrisc compiler

2015-09-16 Thread sudipm.mukherjee at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67599 --- Comment #2 from Sudip --- (In reply to Andrew Pinski from comment #1) > 4.5 is no longer supported, try a newer version like 4.9. I download from https://www.kernel.org/pub/tools/crosstool/files/bin , can you please guide me where can i get

[Bug bootstrap/67597] [6 Regression] profiledbootstrap failure on ppc64le

2015-09-16 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67597 --- Comment #2 from Markus Trippelsdorf --- Can be reproduced with: % CC="/home/trippels/gcc_test/usr/local/bin/gcc -fprofile-generate" CXX="/home/trippels/gcc_test/usr/local/bin/g++ -fprofile-generate" ../gcc/configure --with-cpu=power8

Re: [PATCH] New attribute to create target clones

2015-09-16 Thread Evgeny Stupachenko
PING 2. On Tue, Sep 8, 2015 at 2:27 PM, Evgeny Stupachenko wrote: > Ping. > > On Thu, Aug 27, 2015 at 2:18 PM, Evgeny Stupachenko > wrote: >> Hi All, >> >> Based on RFC: >> https://gcc.gnu.org/ml/gcc-patches/2015-08/msg01322.html >> >> The patch

Re: [PATCH PR66388]Add sizetype cand for BIV of smaller type if it's used as index of memory ref

2015-09-16 Thread Richard Biener
Ok. Thanks, Richard. On Tue, Sep 15, 2015 at 7:56 AM, Bin.Cheng wrote: > Just realized that I missed the updated patch before. Here it is... > > Thanks, > bin > > On Tue, Sep 8, 2015 at 6:07 PM, Bin.Cheng wrote: >> On Tue, Sep 8, 2015 at 6:06 PM,

[PATCH, RFC] Implement N4230, Nested namespace definition

2015-09-16 Thread Ville Voutilainen
This is the first stab, I haven't written the tests yet. Feedback would be most welcome; should I put this code into a separate function? Is the minor code duplication with the regular namespace definition ok? diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 3a68dd7..00f18fb 100644 ---

[PATCH] Move language dependend DIE annotations early

2015-09-16 Thread Richard Biener
This moves gen_scheduled_generic_parms_dies and gen_remaining_tmpl_value_param_die_attribute to early finish as we are never populating them after that (the patch adds asserts to that fact). I left handling "leftovers" of gen_remaining_tmpl_value_param_die_attribute in late finish as well as

Re: dejagnu version update?

2015-09-16 Thread Matthias Klose
On 09/15/2015 09:23 PM, Bernhard Reutner-Fischer wrote: > On September 15, 2015 7:39:39 PM GMT+02:00, Mike Stump > wrote: >> On Sep 14, 2015, at 3:37 PM, Jeff Law wrote: Maybe GCC-6 can bump the required dejagnu version to allow for getting rid

Re: [PATCH WIP] Use Levenshtein distance for various misspellings in C frontend v2

2015-09-16 Thread Richard Biener
On Wed, Sep 16, 2015 at 3:22 PM, Michael Matz wrote: > Hi, > > On Wed, 16 Sep 2015, Richard Biener wrote: > >> Btw, this looks quite expensive - I'm sure we want to limit the effort >> here a bit. > > I'm not so sure. It's only used for printing an error, so walking all > available

Re: RFC: Support x86 interrupt and exception handlers

2015-09-16 Thread H.J. Lu
On Wed, Sep 16, 2015 at 12:07 AM, Matthew Fortune wrote: > H.J. Lu writes: >> On Tue, Sep 15, 2015 at 2:45 PM, Matthew Fortune >> wrote: >> > H.J. Lu writes: >> >> On Thu, Sep 3, 2015 at 10:37 AM,

Re: Split Stack performance, signals

2015-09-16 Thread Ian Lance Taylor
On Wed, Sep 16, 2015 at 1:18 AM, Anders Oleson wrote: > > How difficult is it to modify the prologs that get generated? I think > I found the code that does that in i386.c and i386.md, but it is > pretty cryptic to me. Any pointers? I know exactly what I want the > assembler

[Bug bootstrap/67597] [6 Regression] profiledbootstrap failure on ppc64le

2015-09-16 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67597 Markus Trippelsdorf changed: What|Removed |Added Keywords||wrong-code CC|

Re: [PATCH WIP] Use Levenshtein distance for various misspellings in C frontend v2

2015-09-16 Thread Michael Matz
Hi, On Wed, 16 Sep 2015, Richard Biener wrote: > Btw, this looks quite expensive - I'm sure we want to limit the effort > here a bit. I'm not so sure. It's only used for printing an error, so walking all available decls is expensive but IMHO not too much so. > I don't want us to suggest

Re: (patch,rfc) s/gimple/gimple */

2015-09-16 Thread Richard Biener
On Wed, Sep 16, 2015 at 3:16 PM, Trevor Saunders wrote: > Hi, > > I gave changing from gimple to gimple * a shot last week. It turned out > to be not too hard. As you might expect the patch is huge so its > attached compressed. A quick skim over it makes it look good. >

[PATCH] Fix PR67271

2015-09-16 Thread Richard Biener
Bootstrapped / tested on x86_64-unknown-linux-gnu, applied. Richard. 2015-09-16 Richard Biener PR middle-end/67271 * fold-const.c (native_encode_expr): Bail out on bogus offsets. * gcc.dg/pr67271.c: New testcase. Index: gcc/fold-const.c

Re: [C++] Coding rule enforcement

2015-09-16 Thread Jason Merrill
On 09/16/2015 08:02 AM, Nathan Sidwell wrote: + else if (warn_multiple_inheritance) + warning (OPT_Wmultiple_inheritance, +"%qT defined with multiple direct bases", ref); You don't need to guard the warning with a check of the warning flag; warning will only give

[Bug tree-optimization/67253] [6 Regression] ICE at -O3 on x86_64-linux-gnu (verify_gimple failed)

2015-09-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67253 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

Re: [C++] Coding rule enforcement

2015-09-16 Thread Nathan Sidwell
On 09/16/15 10:23, Jason Merrill wrote: On 09/16/2015 08:02 AM, Nathan Sidwell wrote: + else if (warn_multiple_inheritance) +warning (OPT_Wmultiple_inheritance, + "%qT defined with multiple direct bases", ref); You don't need to guard the warning with a check of the warning

[Bug bootstrap/67587] [6 Regression] profiledbootstrap failure with --with-build-config=bootstrap-lto

2015-09-16 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67587 --- Comment #13 from Segher Boessenkool --- Author: segher Date: Wed Sep 16 15:02:32 2015 New Revision: 227827 URL: https://gcc.gnu.org/viewcvs?rev=227827=gcc=rev Log: shrink-wrap: Fix up partitions (PR67587) With the new shrink-wrap

[Bug c++/67064] Register asm variable broken

2015-09-16 Thread andres.tiraboschi at tallertechnologies dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #27 from Andrés Agustín Tiraboschi --- I forgot to say that the patch is for gcc 5.2

[Bug tree-optimization/67253] [6 Regression] ICE at -O3 on x86_64-linux-gnu (verify_gimple failed)

2015-09-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67253 --- Comment #5 from Richard Biener --- Author: rguenth Date: Wed Sep 16 14:27:52 2015 New Revision: 227826 URL: https://gcc.gnu.org/viewcvs?rev=227826=gcc=rev Log: 2015-09-16 Richard Biener PR middle-end/67253

[Bug middle-end/67271] [5 Regression] ICE with -O1,2,3 on darwin14.5 x86_64

2015-09-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67271 Richard Biener changed: What|Removed |Added Known to work||6.0 Summary|[5/6

[PATCH] Fix PR67253

2015-09-16 Thread Richard Biener
Bootstrapped / tested on x86_64-unknown-linux-gnu, applied. Richard. 2015-09-16 Richard Biener PR middle-end/67253 * cfgexpand.c (expand_gimple_stmt_1): Do not clobber location of possibly shared trees. * gcc.dg/torture/pr67253.c: New

Re: [PATCH, rs6000] Add expansions for min/max vector reductions

2015-09-16 Thread David Edelsohn
On Wed, Sep 16, 2015 at 10:28 AM, Bill Schmidt wrote: > Hi, > > A recent patch proposal from Alan Hayward > (https://gcc.gnu.org/ml/gcc-patches/2015-09/msg00690.html) uncovered > that the PowerPC back end doesn't have expansions for > reduc_{smax,smin,umax,umin}_ and

Re: [PATCH v2][GCC] Algorithmic optimization in match and simplify

2015-09-16 Thread Andre Vieira
On 03/09/15 12:11, Andre Vieira wrote: On 01/09/15 15:01, Richard Biener wrote: On Tue, Sep 1, 2015 at 3:40 PM, Andre Vieira wrote: Hi Marc, On 28/08/15 19:07, Marc Glisse wrote: (not a review, I haven't even read the whole patch) On Fri, 28 Aug 2015, Andre

[PATCH] Fix 67064 - Register asm variable broken

2015-09-16 Thread Andres Tiraboschi
Hi, this patch fix the following bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 for gcc 5.2 It passes all the gcc tests except for this: FAIL: g++.dg/cpp1y/auto-fn15.C -std=gnu++14 (test for excess errors) but this also happens without the patch. This patch was implemented for gcc 5.2

[PATCH, rs6000] Add expansions for min/max vector reductions

2015-09-16 Thread Bill Schmidt
Hi, A recent patch proposal from Alan Hayward (https://gcc.gnu.org/ml/gcc-patches/2015-09/msg00690.html) uncovered that the PowerPC back end doesn't have expansions for reduc_{smax,smin,umax,umin}_ and reduc_{smax,smin,umax,umin}_scal_ for the integer modes. This prevents vectorization of

Re: [PATCH, rs6000] Add expansions for min/max vector reductions

2015-09-16 Thread Ramana Radhakrishnan
On Wed, Sep 16, 2015 at 3:34 PM, David Edelsohn wrote: > On Wed, Sep 16, 2015 at 10:28 AM, Bill Schmidt > > This is okay. > > I don't think that I have seen iterators for UNSPECs, but maybe > someone else is aware of the right idiom.

Re: [patch] libstdc++/67173 Fix filesystem::canonical for Solaris 10.

2015-09-16 Thread Jonathan Wakely
On 12/09/15 12:07 -0600, Martin Sebor wrote: On 09/12/2015 04:09 AM, Jonathan Wakely wrote: On 11 September 2015 at 18:39, Martin Sebor wrote: On 09/11/2015 08:21 AM, Jonathan Wakely wrote: Solaris 10 doesn't follow POSIX in accepting a null pointer as the second argument to realpath(), so

Re: [PATCH, rs6000] Add expansions for min/max vector reductions

2015-09-16 Thread Bill Schmidt
On Wed, 2015-09-16 at 15:37 +0100, Ramana Radhakrishnan wrote: > On Wed, Sep 16, 2015 at 3:34 PM, David Edelsohn wrote: > > On Wed, Sep 16, 2015 at 10:28 AM, Bill Schmidt > > > > > This is okay. > > > > I don't think that I have seen iterators for UNSPECs, but maybe > >

[Bug middle-end/67271] [5/6 Regression] ICE with -O1,2,3 on darwin14.5 x86_64

2015-09-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67271 --- Comment #5 from Richard Biener --- Author: rguenth Date: Wed Sep 16 14:26:04 2015 New Revision: 227825 URL: https://gcc.gnu.org/viewcvs?rev=227825=gcc=rev Log: 2015-09-16 Richard Biener PR middle-end/67271

Re: [AArch64] Implement copysign[ds]f3

2015-09-16 Thread Marcus Shawcroft
On 16 September 2015 at 08:40, James Greenhalgh wrote: > > Hi, > > This patch adds expanders for copysigndf3 and copysignsf3 to the AArch64 > backend. These use the BSL/BIT/BIF insn to save us from the default > expansion pattern. > > Bootstrapped on

Re: [PATCH, rs6000] Add expansions for min/max vector reductions

2015-09-16 Thread Segher Boessenkool
On Wed, Sep 16, 2015 at 09:28:09AM -0500, Bill Schmidt wrote: > I was able to use iterators for the sub-doubleword ...scal_ > expansions, but that's all. I experimented with trying to use > code_iterators to generate the {smax,smin,umax,umin} expansions, but > couldn't find a way to make that

[Bug c++/67571] Error: open CFI at the end of file; missing .cfi_endproc directive

2015-09-16 Thread werner at beroux dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67571 --- Comment #9 from werner at beroux dot com --- (In reply to Markus Trippelsdorf from comment #7) > Can you please attach the preprocessed JSBindingsAllInOne.ii file (by > adding -save-temps to the compiler invocation)? I added that flag (at

Re: Repository for the conversion machinery

2015-09-16 Thread Jeff Law
On 09/16/2015 09:26 AM, Andrew Cagney wrote: On 15 September 2015 at 21:36, Frank Ch. Eigler wrote: cagney = Andrew Cagney cag...@gnu.org? Good point. The email identities of people change over time; forcing a single arbitrary one to label all

[PATCH] start of rewrite of unordered_{set,map}

2015-09-16 Thread Geoff Pike
This change is the start of a rewrite of unordered_set and unordered_map. (By the way, I am new to GCC and do not have SVN write access.) SUMMARY OF MOTIVATION FOR THE CHANGE 1. Speed. Linked lists are slow. Without them, we save memory, allowing us to default to a lower load factor; or, the

[Bug c++/67064] Register asm variable broken

2015-09-16 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #28 from Manuel López-Ibáñez --- (In reply to Andrés Agustín Tiraboschi from comment #26) > Hi, I've read the bug report and I've made a patch in order to fix it. > I've ran all the gcc tests and I have only one fail, but that fail

[C/C++ PATCH] RFC: Implement -Wduplicated-cond (PR c/64249)

2015-09-16 Thread Marek Polacek
This patch implements a new warning, -Wduplicated-cond. It warns for code such as if (x) // ... else if (x) // ... This happened in the GCC codebase as well: . The approach I took for this was to create vectors of conditions

  1   2   3   >