Re: Status of m32c target?

2018-01-15 Thread Segher Boessenkool
On Mon, Jan 15, 2018 at 01:39:43PM +0100, Sebastian Huber wrote: > On 13/01/18 00:16, Jeff Law wrote: > >On 01/12/2018 04:07 PM, Joseph Myers wrote: > >>On Fri, 12 Jan 2018, Jeff Law wrote: > >> > >>>I was going to suggest deprecation for gcc-8 given how badly it was > >>>broken in gcc-7 and the

Re: Status of m32c target?

2018-01-15 Thread Sandra Loosemore
On 01/15/2018 05:46 AM, Joseph Myers wrote: On Mon, 15 Jan 2018, Sebastian Huber wrote: On 13/01/18 00:16, Jeff Law wrote: On 01/12/2018 04:07 PM, Joseph Myers wrote: On Fri, 12 Jan 2018, Jeff Law wrote: I was going to suggest deprecation for gcc-8 given how badly it was broken in gcc-7

Re: Bugzilla timing out

2018-01-15 Thread Joseph Myers
On Mon, 15 Jan 2018, Martin Sebor wrote: > I'm having trouble bringing up bugs or updating them. Has > anyone else noticed Bugzilla (and/or other services running > on gcc.gnu.org) being very slow or timing out? I'm presuming this comes from the read errors on sdi that I just reported to

Re: Status of m32c target?

2018-01-15 Thread Segher Boessenkool
On Mon, Jan 15, 2018 at 11:28:25AM -0700, Jeff Law wrote: > > Is cc0 conversion enough to get m68k off the chopping block? > I would think so for this round. I suspect there'd be another round in > the future to convert to LRA, but I suspect that'd be *much* smaller. Yeah. And converting to LRA

Re: Status of m32c target?

2018-01-15 Thread Joel Sherrill
On 1/15/2018 11:31 AM, Segher Boessenkool wrote: On Mon, Jan 15, 2018 at 01:39:43PM +0100, Sebastian Huber wrote: On 13/01/18 00:16, Jeff Law wrote: On 01/12/2018 04:07 PM, Joseph Myers wrote: On Fri, 12 Jan 2018, Jeff Law wrote: I was going to suggest deprecation for gcc-8 given how

Re: Status of m32c target?

2018-01-15 Thread Jeff Law
On 01/15/2018 11:11 AM, Joel Sherrill wrote: > > > On 1/15/2018 11:31 AM, Segher Boessenkool wrote: >> On Mon, Jan 15, 2018 at 01:39:43PM +0100, Sebastian Huber wrote: >>> On 13/01/18 00:16, Jeff Law wrote: On 01/12/2018 04:07 PM, Joseph Myers wrote: > On Fri, 12 Jan 2018, Jeff Law

Bugzilla timing out

2018-01-15 Thread Martin Sebor
I'm having trouble bringing up bugs or updating them. Has anyone else noticed Bugzilla (and/or other services running on gcc.gnu.org) being very slow or timing out? Thanks Martin

Re: Status of m32c target?

2018-01-15 Thread DJ Delorie
Jeff Law writes: > A change in reload back in 2016 (IIRC) has effectively made m32c > unusable. The limits of the register file create horrible problems for > reload. > > I was going to suggest deprecation for gcc-8 given how badly it was > broken in gcc-7 and the lack of

Re: Local class name conflict

2018-01-15 Thread Andrew Pinski
On Mon, Jan 15, 2018 at 10:35 PM, chenzhelu wrote: > Hello all, > I encountered a problem on "local class name conflict", > I searched on net and found that years ago, some people also encoutered this > kind of problem. The correct name for this is One Definition Rule (or

Re:Re: Local class name conflict

2018-01-15 Thread chenzhelu
On 2018-01-16 14:45, Andrew Pinski wrote: On Mon, Jan 15, 2018 at 10:35 PM, chenzhelu wrote: Hello all, I encountered a problem on "local class name conflict", I searched on net and found that years ago, some people also encoutered this kind of problem. The correct name

Local class name conflict

2018-01-15 Thread chenzhelu
Hello all, I encountered a problem on "local class name conflict", I searched on net and found that years ago, some people also encoutered this kind of problem. https://stackoverflow.com/questions/10671956/same-class-name-in-different-c-files http://www.cplusplus.com/forum/general/32010/

Copyright assignment form

2018-01-15 Thread Shahid Khan
Hello GCC maintainer, Our team at Qualcomm Datacenter Technologies, Inc. is interested in contributing patches to the upstream GCC compiler project. To get the process started, we'd like to request a copyright assignment form as per contribution guidelines outlined at

Re: Bugzilla timing out

2018-01-15 Thread H.J. Lu
On Mon, Jan 15, 2018 at 12:58 PM, Joseph Myers wrote: > On Mon, 15 Jan 2018, Martin Sebor wrote: > >> I'm having trouble bringing up bugs or updating them. Has >> anyone else noticed Bugzilla (and/or other services running >> on gcc.gnu.org) being very slow or timing

Re: Status of m32c target?

2018-01-15 Thread Joseph Myers
On Mon, 15 Jan 2018, Sebastian Huber wrote: > On 13/01/18 00:16, Jeff Law wrote: > > On 01/12/2018 04:07 PM, Joseph Myers wrote: > > > On Fri, 12 Jan 2018, Jeff Law wrote: > > > > > > > I was going to suggest deprecation for gcc-8 given how badly it was > > > > broken in gcc-7 and the lack of

Re: Status of m32c target?

2018-01-15 Thread Sebastian Huber
On 13/01/18 00:16, Jeff Law wrote: On 01/12/2018 04:07 PM, Joseph Myers wrote: On Fri, 12 Jan 2018, Jeff Law wrote: I was going to suggest deprecation for gcc-8 given how badly it was broken in gcc-7 and the lack of maintenance on the target. While we're considering deprecations, what

GCC 8.0.0 Status Report (2018-01-15), Trunk in Regression and Documentation fixes only mode

2018-01-15 Thread Richard Biener
Status == GCC 8 is in regression and documentation fixes stage now similar as if trunk was a release branch. We're still in pretty bad shape regression-wise. Please also take the opportunity to check the state of your favorite host/target combination to make sure building and testing works

[Bug target/83851] [8 regression] gcc.dg/vect/pr53185-2.c fails on armeb after r256634

2018-01-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83851 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug target/83850] [8 Regression] Spills on vector extract, gcc.target/i386/pr80846-1.c FAILs

2018-01-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83850 --- Comment #5 from Richard Biener --- Author: rguenth Date: Mon Jan 15 14:43:52 2018 New Revision: 256700 URL: https://gcc.gnu.org/viewcvs?rev=256700=gcc=rev Log: 2018-01-15 Richard Biener PR middle-end/83850

[Bug c/83859] New: Please add new attribute which will establish relation between parameters for buffer and its size

2018-01-15 Thread bugzi...@poradnik-webmastera.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83859 Bug ID: 83859 Summary: Please add new attribute which will establish relation between parameters for buffer and its size Product: gcc Version: 8.0 Status: UNCONFIRMED

[Bug target/83862] New: powerpc: ICE in signbit testcase

2018-01-15 Thread raji at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83862 Bug ID: 83862 Summary: powerpc: ICE in signbit testcase Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/83863] New: i386.md:16739:36: warning: logical ‘or’ of collectively exhaustive tests is always true [-Wlogical-op]

2018-01-15 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83863 Bug ID: 83863 Summary: i386.md:16739:36: warning: logical ‘or’ of collectively exhaustive tests is always true [-Wlogical-op] Product: gcc Version: 8.0

[Bug fortran/83865] ICE in wide_int_to_tree_1, at tree.c:1567

2018-01-15 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83865 --- Comment #1 from G. Steinmetz --- A similar pair : ICE with 7/8 for z4.f90, z5.f90 works. $ cat z4.f90 program p associate (x => f()) if ( x(1) /= '' ) call abort end associate contains function f()

[Bug c++/83817] [7/8 Regression] internal compiler error: tree check: expected call_expr, have aggr_init_expr in tsubst_copy_and_build, at cp/pt.c:17822

2018-01-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83817 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/57503] [6/7/8 Regression] Expand uses wrong multiply routine

2018-01-15 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57503 Georg-Johann Lay changed: What|Removed |Added Priority|P4 |P3

[Bug target/83845] [8 regression] new failures after r256620

2018-01-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83845 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/83847] [8 Regression] ICE in vectorizable_load, at tree-vect-stmts.c:7365

2018-01-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83847 Richard Biener changed: What|Removed |Added Target||x86_64-*-* Priority|P3

Don't group gather loads (PR83847)

2018-01-15 Thread Richard Sandiford
In the testcase we were trying to group two gather loads, even though that isn't supported. Fixed by explicitly disallowing grouping of gathers and scatters. This problem didn't show up on SVE because there we convert to IFN_GATHER_LOAD/IFN_SCATTER_STORE pattern statements, which fail the

[Bug middle-end/83653] [6/7/8 Regression] GCC fails to remove a can't-happen call on ia64

2018-01-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83653 --- Comment #16 from Jakub Jelinek --- Actually, there is no need to use the __COUNTER__ stuff, just use static const int __ia64_asr_p = ...; in the scope. It is just important __OPTIMIZE__ is on, because at -O0 the compiler wouldn't optimize

[Bug libstdc++/83853] conditional_variable induces data_race

2018-01-15 Thread rene.r...@fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83853 --- Comment #2 from rene.r...@fu-berlin.de --- Hi, sorry I submitted accidentally before writing the text. I am investigating some use cases for condition_variables using c++11 thread support library. In my use case I have the following setup.

[Bug lto/83816] [7 Regression] lto1: internal compiler error: compressed stream: data error

2018-01-15 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83816 --- Comment #6 from Oleg Endo --- I can reproduce it on a different machine. One of the object files in the whole app build seems to be written bad. I could isolate the pre-processed .ii file. Compiling that .ii file and trying to link it

[Bug libstdc++/83834] [6/7/8 Regression] FAIL: libstdc++-abi/abi_check

2018-01-15 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83834 --- Comment #6 from H.J. Lu --- This may be due to binutils 2.30: https://sourceware.org/ml/binutils/2018-01/msg00236.html

[Bug lto/83816] [7 Regression] lto1: internal compiler error: compressed stream: data error

2018-01-15 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83816 --- Comment #8 from Oleg Endo --- (In reply to rguent...@suse.de from comment #7) > > If you can produce a testcase and attach that that would be nice. I'm trying. But it's gonna take ages. Have to hand-strip the .ii file line by line ... or

[Bug target/83862] powerpc: ICE in signbit testcase

2018-01-15 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83862 Bill Schmidt changed: What|Removed |Added Target||powerpc*-*-* Target Milestone|---

[Bug c/83861] sscanf %lg conversion bug

2018-01-15 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83861 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/83770] [8 Regression] ICE in create_preheader, at cfgloopmanip.c:1536

2018-01-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83770 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug rtl-optimization/83771] [8 Regression] ICE: verify_flow_info failed (error: non-cold basic block 3 reachable only by paths crossing the cold partition)

2018-01-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83771 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/83776] [6/7/8 Regression] missing -Warray-bounds indexing past the end of a string literal

2018-01-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83776 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[PATCH][ARM] Use utxb rN, rM, ror #8 to implement zero_extract on armv6.

2018-01-15 Thread Roger Sayle
I was hoping I could ask an ARM backend maintainer to look over the following patch. I was examining the code generated for the following C snippet on a raspberry pi, static inline int popcount_lut8(unsigned *buf, int n) { int cnt=0; unsigned int i; do { i = *buf; cnt +=

[Bug middle-end/83858] New: [8 Regression] error: invalid cast from type 'poly_uint16' to type 'long long int'

2018-01-15 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83858 Bug ID: 83858 Summary: [8 Regression] error: invalid cast from type 'poly_uint16' to type 'long long int' Product: gcc Version: 8.0 Status: UNCONFIRMED

[Bug tree-optimization/57503] [6/7/8 Regression] Wrong extension of multiply operand

2018-01-15 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57503 --- Comment #17 from Georg-Johann Lay --- Obervation that -fno-wrapv also leads to correct code, hence there is somewhere a wrong assumption that signed overflow occurs (which doesn't).

[Bug middle-end/83858] [8 Regression] error: invalid cast from type 'poly_uint16' to type 'long long int'

2018-01-15 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83858 --- Comment #1 from John David Anglin --- In varasm.ii, we have inline __attribute__ ((always_inline)) poly_uint16 GET_MODE_SIZE (machine_mode mode) { return mode_to_bytes (mode); } template inline __attribute__ ((always_inline)) typename

[Bug libstdc++/83833] chi_squared_distribution::param() forgot to change the member gamma_distribution

2018-01-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83833 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug fortran/83864] ICE in gfc_apply_init, at fortran/expr.c:4271

2018-01-15 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83864 --- Comment #1 from G. Steinmetz --- Works outside of a type : $ cat z2.f90 program p character :: c(3) = transfer('abc','z',3) print *, c end $ gfortran-8-20180114 z2.f90 -static-libgfortran $ a.out abc

[Bug libstdc++/83833] chi_squared_distribution::param() forgot to change the member gamma_distribution

2018-01-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83833 --- Comment #2 from Jonathan Wakely --- Oh, we multiply by two in operator() instead. But is that equivalent?

[Bug target/80870] [7 Regression] ICE building 7.1.0 sh-elf crosscompiler on macOS

2018-01-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80870 Richard Biener changed: What|Removed |Added Target Milestone|--- |7.3

[Bug c++/83806] [6/7/8 Regression] Spurious -Wunused-but-set-parameter with nullptr

2018-01-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83806 Richard Biener changed: What|Removed |Added Target Milestone|--- |6.5

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

2018-01-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83712 Richard Biener changed: What|Removed |Added Target Milestone|--- |6.5

[Bug target/82096] [6/7 Regression] ICE in int_mode_for_mode, at stor-layout.c:403 with arm-linux-gnueabi

2018-01-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82096 Richard Biener changed: What|Removed |Added Target Milestone|--- |6.5

[Bug lto/83816] [7 Regression] lto1: internal compiler error: compressed stream: data error

2018-01-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83816 Richard Biener changed: What|Removed |Added Target Milestone|--- |7.3

[Bug c++/83808] [7/8 Regression] "internal compiler error" for invalid input

2018-01-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83808 Richard Biener changed: What|Removed |Added Target Milestone|--- |7.3

[PATCH] PR libstdc++/83830 Define std::has_unique_object_representations_v

2018-01-15 Thread Jonathan Wakely
Add this missing C++17 variable template. PR libstdc++/83830 * include/std/type_traits (has_unique_object_representations_v): Add variable template. * testsuite/20_util/has_unique_object_representations/value.cc: Check variable template. Tested

Re: [PATCH] C/C++: Add -Waddress-of-packed-member

2018-01-15 Thread H.J. Lu
On Mon, Jan 15, 2018 at 1:42 AM, Jakub Jelinek wrote: > On Sun, Jan 14, 2018 at 06:29:54AM -0800, H.J. Lu wrote: >> + if (TREE_CODE (field) == FIELD_DECL && DECL_PACKED (field)) >> + { >> + tree field_type = TREE_TYPE (field); >> + unsigned int

[Bug c/83859] Please add new attribute which will establish relation between parameters for buffer and its size

2018-01-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83859 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #1

[Bug tree-optimization/83857] [8 Regression] internal compiler error: in exact_div, at poly-int.h:2139

2018-01-15 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83857 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last

[Bug middle-end/83837] [8 regression] libgomp.fortran/pointer[12].f90 FAIL

2018-01-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83837 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/83588] [6/7/8 Regression] struct with two flexible arrays causes an internal compiler error

2018-01-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83588 Richard Biener changed: What|Removed |Added Target Milestone|--- |6.5

[Bug c++/83796] [6/7/8 Regression] Abstract classes allowed to be instantiated when initialised as default parameter to function or constructor

2018-01-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83796 Richard Biener changed: What|Removed |Added Target Milestone|--- |6.5

[Bug middle-end/57503] [6/7/8 Regression] Expand uses wrong multiply routine

2018-01-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57503 Richard Biener changed: What|Removed |Added Target Milestone|--- |6.5

[Bug bootstrap/83839] [8 Regression] bootstrap fails in gcc/config/i386/i386.c on darwin

2018-01-15 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83839 H.J. Lu changed: What|Removed |Added Attachment #43124|0 |1 is obsolete|

[Bug libstdc++/83860] New: valarray replacement type breaks with auto and more than one operation

2018-01-15 Thread bruno.manga95 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83860 Bug ID: 83860 Summary: valarray replacement type breaks with auto and more than one operation Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/83858] [8 Regression] error: invalid cast from type 'poly_uint16' to type 'long long int'

2018-01-15 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83858 --- Comment #2 from John David Anglin --- It looks to me like FUNCTION_ARG_SIZE needs to me to pa.c...

Re: [PATCH 0/5] x86: CVE-2017-5715, aka Spectre

2018-01-15 Thread H.J. Lu
On Mon, Jan 15, 2018 at 3:38 AM, H.J. Lu wrote: > On Mon, Jan 15, 2018 at 12:31 AM, Richard Biener > wrote: >> On Sun, Jan 14, 2018 at 4:08 PM, H.J. Lu wrote: >>> Now my patch set has been checked into trunk. Here is a patch

[Bug rtl-optimization/83620] [8 Regression] ICE: in assign_by_spills, at lra-assigns.c:1470: unable to find a register to spill with -flive-range-shrinkage --param=max-sched-ready-insns=0

2018-01-15 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83620 --- Comment #6 from Vladimir Makarov --- (In reply to Jakub Jelinek from comment #4) > Or, alternatively, does --param=max-sched-ready-insns=0 make sense and is it > supportable? If not, we could just require it to be at least one. This

[Bug target/83740] [8 Regression] ICE in maybe_legitimize_operand, at optabs.c:7140

2018-01-15 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83740 --- Comment #8 from G. Steinmetz --- I can confirm now that the ICE is gone for all relevant test cases.

[Bug tree-optimization/83836] [8 regression] gcc.dg/vect/pr79920.c FAILs

2018-01-15 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83836 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c++/83817] [7/8 Regression] internal compiler error: tree check: expected call_expr, have aggr_init_expr in tsubst_copy_and_build, at cp/pt.c:17822

2018-01-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83817 --- Comment #5 from Jakub Jelinek --- Created attachment 43141 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43141=edit gcc8-pr83817.patch Untested fix.

[Bug tree-optimization/83510] [8 Regression] Recent changes for -Warray-bounds trigger false positive

2018-01-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83510 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.0

[Bug rtl-optimization/83852] [8 Regression] ICE in sel_redirect_edge_and_branch, at sel-sched-ir.c:5644 on 32-bit BE powerpc targets

2018-01-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83852 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.0

[Bug c++/83793] Pack expansion outside of lambda containing the pack incorrectly rejected

2018-01-15 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83793 --- Comment #4 from Matthias Kretz --- (In reply to Jonathan Wakely from comment #2) > Looks like a dup of PR 47226 Ah, yes. Sorry for missing it, I recall seeing it before. I agree, a backport would be nice, but an overhaul is not a

[Bug lto/83816] [7 Regression] lto1: internal compiler error: compressed stream: data error

2018-01-15 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83816 --- Comment #7 from rguenther at suse dot de --- On January 15, 2018 5:04:14 PM GMT+01:00, "olegendo at gcc dot gnu.org" wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83816 > >--- Comment #6 from Oleg Endo ---

[PATCH] i386: Don't use ASM_OUTPUT_DEF for TARGET_MACHO

2018-01-15 Thread H.J. Lu
ASM_OUTPUT_DEF isn't defined for TARGET_MACHO. Use ASM_OUTPUT_LABEL to generate the __x86_return_thunk label, instead of the set directive. Update testcase to remove the __x86_return_thunk label check. Since -fno-pic is ignored on Darwin, update testcases to sscan or "push" only on Linux.

[Bug libstdc++/83853] conditional_variable induces data_race

2018-01-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83853 Jonathan Wakely changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/83825] [8 Regression] ICE on invalid C++ code with shadowed identifiers: in operator[], at vec.h:826

2018-01-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83825 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug c++/83817] [8 Regression] internal compiler error: tree check: expected call_expr, have aggr_init_expr in tsubst_copy_and_build, at cp/pt.c:17822

2018-01-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83817 Richard Biener changed: What|Removed |Added Keywords||ice-checking Priority|P3

[Bug tree-optimization/57503] [6/7/8 Regression] Wrong extension of multiply multiply operand

2018-01-15 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57503 Georg-Johann Lay changed: What|Removed |Added Component|middle-end |tree-optimization

[Bug c++/83856] ICE in tsubst_copy;

2018-01-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83856 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/83857] [8 Regression] internal compiler error: in exact_div, at poly-int.h:2139

2018-01-15 Thread vincenzo.innocente at cern dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83857 --- Comment #2 from vincenzo Innocente --- (In reply to Richard Biener from comment #1) > I've seen a similar bug so maybe fixed already. if the similar bug is #83753 it is looks "fixed" in the version I tested (at least

[Bug libstdc++/83830] has_unique_object_representations_v is missing

2018-01-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83830 --- Comment #2 from Jonathan Wakely --- Author: redi Date: Mon Jan 15 15:02:01 2018 New Revision: 256701 URL: https://gcc.gnu.org/viewcvs?rev=256701=gcc=rev Log: PR libstdc++/83830 Define std::has_unique_object_representations_v PR

Re: [PATCH, rs6000] Support for gimple folding of mergeh, mergel intrinsics

2018-01-15 Thread Segher Boessenkool
Hi Will, On Fri, Jan 12, 2018 at 03:22:06PM -0600, Will Schmidt wrote: > Add support for gimple folding of the mergeh, mergel intrinsics. > Since the merge low and merge high variants are almost identical, a > new helper function has been added so that code can be shared. > > This also adds

[Bug target/83330] [7/8 Regression] generating unaligned store to stack for SSE register with -mno-push-args

2018-01-15 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83330 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/80276] pretty printer for std::unique_ptr<T[]> shows type as std::unique_ptr

2018-01-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80276 Jonathan Wakely changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

Re: [PATCH][i386] Fix PR83546 - missing RDRND for -march=silvermont

2018-01-15 Thread Uros Bizjak
On Mon, Jan 15, 2018 at 2:50 PM, Peryt, Sebastian wrote: > Hi, > > This patch re-enables RDRND for Silvermont. It got lost in r206178 as pointed > out in PR. > Bootstraped and tested. > > 2018-01-15 Sebastian Peryt > > gcc/ > > PR

Re: [PATCH v2, rs6000] Add -msafe-indirect-jumps option and implement safe bctr / bctrl

2018-01-15 Thread Segher Boessenkool
Hi! On Sat, Jan 13, 2018 at 10:53:57PM -0600, Bill Schmidt wrote: > This patch adds a new option for the compiler to produce only "safe" indirect > jumps, in the sense that these jumps are deliberately mispredicted to inhibit > speculative execution. For now, this option is undocumented; this

Re: [PATCH 3/5] x86: Add -mindirect-branch-register

2018-01-15 Thread Uros Bizjak
On Mon, Jan 15, 2018 at 4:05 AM, H.J. Lu wrote: > On Sun, Jan 14, 2018 at 1:23 PM, H.J. Lu wrote: >> On Sun, Jan 14, 2018 at 10:52 AM, Uros Bizjak wrote: >>> On Sun, Jan 14, 2018 at 7:08 PM, H.J. Lu wrote:

Re: [PATCH, rs6000] Executable tests for -msafe-indirect-jumps

2018-01-15 Thread Bill Schmidt
On Jan 15, 2018, at 11:05 AM, Segher Boessenkool wrote: > > Hi! > > On Sun, Jan 14, 2018 at 11:34:06AM -0600, Bill Schmidt wrote: >> It was pointed out off-list that I should add some executable tests for >> the new -msafe-indirect-jumps implementation. This patch

[Bug c++/83817] [7/8 Regression] internal compiler error: tree check: expected call_expr, have aggr_init_expr in tsubst_copy_and_build, at cp/pt.c:17822

2018-01-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83817 Jakub Jelinek changed: What|Removed |Added Priority|P1 |P2 CC|

[Bug target/83850] [8 Regression] Spills on vector extract, gcc.target/i386/pr80846-1.c FAILs

2018-01-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83850 Richard Biener changed: What|Removed |Added Keywords|ra | Status|ASSIGNED

[Bug rtl-optimization/83852] [8 Regression] ICE in sel_redirect_edge_and_branch, at sel-sched-ir.c:5644 on 32-bit BE powerpc targets

2018-01-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83852 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug c/83855] [performance] Improve cse optimization for insn with inout ops

2018-01-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83855 --- Comment #1 from Richard Biener --- *** Bug 83854 has been marked as a duplicate of this bug. ***

[Bug c/83854] [performance] Improve cse optimization for insn with inout ops

2018-01-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83854 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/83855] [performance] Improve cse optimization for insn with inout ops

2018-01-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83855 --- Comment #2 from Richard Biener --- patches should be sent to gcc-patc...@gcc.gnu.org

Re: [PATCH] Fix PR83435

2018-01-15 Thread Szabolcs Nagy
On 11/01/18 13:41, Richard Biener wrote: > 2018-01-11 Richard Biener > > PR tree-optimization/83435 > * graphite.c (canonicalize_loop_form): Ignore fake loop exit edges. > * graphite-scop-detection.c (scop_detection::get_sese): Likewise. > *

Re: [PATCH, rs6000] Executable tests for -msafe-indirect-jumps

2018-01-15 Thread Segher Boessenkool
Hi! On Sun, Jan 14, 2018 at 11:34:06AM -0600, Bill Schmidt wrote: > It was pointed out off-list that I should add some executable tests for > the new -msafe-indirect-jumps implementation. This patch adds three > such tests to demonstrate correct behavior. > > Tested on powerpc64-linux-gnu and

[Bug fortran/83864] New: ICE in gfc_apply_init, at fortran/expr.c:4271

2018-01-15 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83864 Bug ID: 83864 Summary: ICE in gfc_apply_init, at fortran/expr.c:4271 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

Re: [PATCH, rs6000] Support for gimple folding of mergeh, mergel intrinsics

2018-01-15 Thread Will Schmidt
On Mon, 2018-01-15 at 10:24 +, Richard Sandiford wrote: > >> + for (int i = 0; i < midpoint; i++) > >> +{ > >> + tree tmp1 = build_int_cst (lhs_type_type, offset + i); > >> + tree tmp2 = build_int_cst (lhs_type_type, offset + n_elts + > i); > >> + CONSTRUCTOR_APPEND_ELT

Re: [PATCH 2/2] Fix unstable sort

2018-01-15 Thread Cory Fields
Thanks! Cory On Jan 15, 2018 1:06 AM, "Jeff Law" wrote: > On 01/12/2018 01:58 PM, li...@coryfields.com wrote: > > From: Cory Fields > > > > 2018-01-12 Cory Fields > >* tree-ira.c (allocno_hard_regs_compare):

[Bug lto/83816] [7 Regression] lto1: internal compiler error: compressed stream: data error

2018-01-15 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83816 --- Comment #9 from Oleg Endo --- This is weird. If I remove empty lines, or rename the paths in the # line markers in the .ii file, the error sometimes disappears...

[Bug fortran/83866] New: [8 Regression] ICE in gfc_release_symbol, at fortran/symbol.c:3087

2018-01-15 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83866 Bug ID: 83866 Summary: [8 Regression] ICE in gfc_release_symbol, at fortran/symbol.c:3087 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug debug/83728] [8 regression] FAIL: gcc.dg/guality/pr68037-1.c

2018-01-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83728 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug c++/83739] [8 Regression] error: range-based 'for' expression of type 'auto' has incomplete type

2018-01-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83739 Richard Biener changed: What|Removed |Added Priority|P3 |P1

  1   2   3   4   >