[Bug c++/87934] [8/9 regression] struct with NSDMI of enum makes initialization a non-constant expression

2018-12-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87934 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Wed Dec 19 08:11:40 2018 New Revision: 267253 URL: https://gcc.gnu.org/viewcvs?rev=267253&root=gcc&view=rev Log: PR c++/87934 * constexpr.c (cxx_eval_constant_expression)

[Bug target/88213] ICE in change_address_1, at emit-rtl.c:2286

2018-12-19 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88213 --- Comment #5 from Segher Boessenkool --- I'll take it. Patch is testing.

[Bug c++/87934] [8 regression] struct with NSDMI of enum makes initialization a non-constant expression

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

[Bug target/88213] ICE in change_address_1, at emit-rtl.c:2286

2018-12-19 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88213 Segher Boessenkool changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassig

[Bug tree-optimization/84362] [7/8/9 Regression] Auto-vectorization regression when accessing member variable through getter/accessor

2018-12-19 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84362 --- Comment #6 from rguenther at suse dot de --- On Tue, 18 Dec 2018, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84362 > > --- Comment #5 from Jakub Jelinek --- > The MEM_REF is in there because we first cre

[Bug target/88547] missed optimization for vector comparisons

2018-12-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88547 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Target|

[Bug target/88541] VPCLMULQDQ 256-bit inline function unavailable with optimization but without enabled AVX512VL support

2018-12-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88541 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Wed Dec 19 08:31:16 2018 New Revision: 267254 URL: https://gcc.gnu.org/viewcvs?rev=267254&root=gcc&view=rev Log: PR target/88541 * config/i386/vpclmulqdqintrin.h (_mm256_c

[Bug c/88544] ICE on ARM Cortex A7

2018-12-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88544 --- Comment #2 from Richard Biener --- ./arch/arm/include/asm/div64.h:1:0: internal compiler error: Illegal instruction also this hints in you using binaries that were compiled for a CPU with an incompatible ISA. Note that you might want to ena

[Bug target/88541] VPCLMULQDQ 256-bit inline function unavailable with optimization but without enabled AVX512VL support

2018-12-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88541 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store"

2018-12-19 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88464 --- Comment #19 from Uroš Bizjak --- FYI, there are quite some sequences like: kmovw %k1, %r11d testb %r11b, %r11b jne .L63 (e.g. when compiling avx512f-pr88464-1.c). Perhaps ktest insn can be utilized here?

[Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store"

2018-12-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88464 --- Comment #20 from Jakub Jelinek --- (In reply to Uroš Bizjak from comment #19) > FYI, there are quite some sequences like: > > kmovw %k1, %r11d > testb %r11b, %r11b > jne .L63 > > (e.g. when compiling avx512f-

[Bug c++/88548] [9 Regression] this accepted in static member functions

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

[Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store"

2018-12-19 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88464 --- Comment #21 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #20) > (In reply to Uroš Bizjak from comment #19) > > FYI, there are quite some sequences like: > > > > kmovw %k1, %r11d > > testb %r11b, %r11b > >

[Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store"

2018-12-19 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88464 --- Comment #22 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #21) > Indeed, -mavx512dq produces expected ktestb. Sorry for the false alarm. f3 and f4 functions however can use ktestw even without -mavx512dq.

[Bug tree-optimization/88542] Optimize symmetric range check

2018-12-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88542 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug fortran/87881] gfortran.dg/inquiry_type_ref_(1.f08|3.f90) fail on darwin

2018-12-19 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87881 --- Comment #16 from paul.richard.thomas at gmail dot com --- Hi Jakub, I don't have access to the source until this evening. You, I think, must be right. I need to use gfc_replace_expr. I'm trying to do many things at once - this PR has been on

[Bug tree-optimization/88540] Issues with vectorization of min/max operations

2018-12-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88540 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Target|

[Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store"

2018-12-19 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88464 --- Comment #23 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #22) > (In reply to Uroš Bizjak from comment #21) > > Indeed, -mavx512dq produces expected ktestb. Sorry for the false alarm. > > f3 and f4 functions however can use ktes

[Bug fortran/87881] gfortran.dg/inquiry_type_ref_(1.f08|3.f90) fail on darwin

2018-12-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87881 --- Comment #17 from Jakub Jelinek --- The multiple REF_INQUIRY allowed is just whatever%re%kind or whatever%im%kind, right (because %re/%im must apply to complex and makes a scalar out of it and %len needs a character type designator)?

[Bug tree-optimization/88540] Issues with vectorization of min/max operations

2018-12-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88540 Richard Biener changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org --- Comment

[Bug tree-optimization/88540] Issues with vectorization of min/max operations

2018-12-19 Thread bugzi...@poradnik-webmastera.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88540 --- Comment #3 from Daniel Fruzynski --- Looks that AARCH64 is also affected. This is output from gcc 8.2 for SIZE=2: [asm] test(double*, double*, double*): ldp d1, d0, [x0] ldp d3, d2, [x1] fcmpe d1, d3

[Bug c++/88548] [9 Regression] this accepted in static member functions

2018-12-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88548 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store"

2018-12-19 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88464 --- Comment #24 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #23) > (In reply to Uroš Bizjak from comment #22) > > (In reply to Uroš Bizjak from comment #21) > > > Indeed, -mavx512dq produces expected ktestb. Sorry for the false ala

[Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store"

2018-12-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88464 --- Comment #25 from Jakub Jelinek --- Isn't ktestw and kortestw the same thing when both operands are the same mask register?

[Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store"

2018-12-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88464 --- Comment #26 from Jakub Jelinek --- And the TARGET_AVX512F && looks incorrect, then we wouldn't be able to test or cmp without -mavx512f.

[Bug target/88541] VPCLMULQDQ 256-bit inline function unavailable with optimization but without enabled AVX512VL support

2018-12-19 Thread jbeulich at novell dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88541 --- Comment #5 from jbeulich at novell dot com --- So why -mavx instead of -mavx2? I think the way it was done for GFNI and SSE2 it should also be done there, here and for VAES wrt AVX: Only SSE2 provides support for vectors of ints. Similarly onl

[Bug target/88541] VPCLMULQDQ 256-bit inline function unavailable with optimization but without enabled AVX512VL support

2018-12-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88541 --- Comment #6 from Jakub Jelinek --- Because AVX was what is in i386-builtins.def already and as the testcase shows, it works with just -mavx. You can not just load/store those vectors, you can also do logical operations on them etc. (through t

[Bug target/88535] sparcv9 gcc 7 causes comparison failure in sparc gcc 8 dwarf2out.o

2018-12-19 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88535 --- Comment #14 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #11 from john henning --- >> There are 3 different switches: --build, --host and --target. > > Hmm. I must be looking in the wrong place for documentation; are these > ex

[Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store"

2018-12-19 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88464 --- Comment #27 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #25) > Isn't ktestw and kortestw the same thing when both operands are the same > mask register? True, but kortestw is available with AVX512F, where ktestw is not. (In

[Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store"

2018-12-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88464 --- Comment #28 from Jakub Jelinek --- (In reply to Uroš Bizjak from comment #27) > (In reply to Jakub Jelinek from comment #25) > > Isn't ktestw and kortestw the same thing when both operands are the same > > mask register? > True, but kortestw

[Bug bootstrap/84257] Extremely slow compilation from gcc source code under macOS 10.13

2018-12-19 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84257 Iain Sandoe changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment #5 fr

[Bug tree-optimization/84362] [7/8/9 Regression] Auto-vectorization regression when accessing member variable through getter/accessor

2018-12-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84362 --- Comment #7 from Richard Biener --- Created attachment 45261 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45261&action=edit patch I am testing I am testing the attached.

[Bug target/86487] [7/8/9 Regression] insn does not satisfy its constraints on arm big-endian

2018-12-19 Thread oliver.stannard at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86487 Oliver Stannard changed: What|Removed |Added CC||oliver.stannard at arm dot com --- Com

[Bug c++/88180] [7/8/9 Regression] ICE in vec

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

[Bug fortran/87881] gfortran.dg/inquiry_type_ref_(1.f08|3.f90) fail on darwin

2018-12-19 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87881 --- Comment #18 from paul.richard.thomas at gmail dot com --- Exactly On Wed, 19 Dec 2018 at 09:17, jakub at gcc dot gnu.org wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87881 > > --- Comment #17 from Jakub Jelinek --- > The multipl

[Bug tree-optimization/85275] copyheader peels off almost the entire iteration

2018-12-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85275 --- Comment #5 from Richard Biener --- Author: rguenth Date: Wed Dec 19 11:10:08 2018 New Revision: 267262 URL: https://gcc.gnu.org/viewcvs?rev=267262&root=gcc&view=rev Log: 2018-12-19 Richard Biener PR tree-optimization/88533

[Bug tree-optimization/88533] [9 Regression] Higher performance penalty of array-bounds checking for sparse-matrix vector multiply

2018-12-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88533 --- Comment #10 from Richard Biener --- Author: rguenth Date: Wed Dec 19 11:10:08 2018 New Revision: 267262 URL: https://gcc.gnu.org/viewcvs?rev=267262&root=gcc&view=rev Log: 2018-12-19 Richard Biener PR tree-optimization/88533

[Bug tree-optimization/28364] poor optimization choices when iterating over a std::string (probably not c++-specific)

2018-12-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28364 --- Comment #35 from Richard Biener --- Author: rguenth Date: Wed Dec 19 11:10:08 2018 New Revision: 267262 URL: https://gcc.gnu.org/viewcvs?rev=267262&root=gcc&view=rev Log: 2018-12-19 Richard Biener PR tree-optimization/88533

[Bug tree-optimization/78394] False positives of maybe-uninitialized with -Og

2018-12-19 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394 --- Comment #14 from Marc Glisse --- (In reply to Jeffrey A. Law from comment #12) > Whether or not to fix as well as whether or not to warn at -O0 are a topic > of debate. I'm not sure I'm up for re-opening that can of worms right now. I think

[Bug target/88547] missed optimization for vector comparisons

2018-12-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88547 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug c++/88180] [7/8/9 Regression] ICE in vec

2018-12-19 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88180 Alexandre Oliva changed: What|Removed |Added CC||aoliva at gcc dot gnu.org --- Comment

[Bug c++/87814] [9 Regression] ICE in in tsubst_copy, at cp/pt.c:15962 with range-v3

2018-12-19 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87814 Alexandre Oliva changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/88146] ice in tsubst_copy, at cp/pt.c:16014

2018-12-19 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88146 Bug 88146 depends on bug 87814, which changed state. Bug 87814 Summary: [9 Regression] ICE in in tsubst_copy, at cp/pt.c:15962 with range-v3 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87814 What|Removed |Adde

[Bug tree-optimization/88533] [9 Regression] Higher performance penalty of array-bounds checking for sparse-matrix vector multiply

2018-12-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88533 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/88196] [9 Regression] ICE on (invalid) C++ code when compiled with -std=c++2a: in convert_nontype_argument, at cp/pt.c:7137

2018-12-19 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88196 Alexandre Oliva changed: What|Removed |Added CC||aoliva at gcc dot gnu.org As

[Bug c++/88550] New: A compiler error when use lto: internal compiler error: in add_symbol_to_partition_1, at lto/lto-partition.c:155

2018-12-19 Thread harrywong at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88550 Bug ID: 88550 Summary: A compiler error when use lto: internal compiler error: in add_symbol_to_partition_1, at lto/lto-partition.c:155 Product: gcc Version: 8.2.

[Bug c/88544] ICE on ARM Cortex A7

2018-12-19 Thread ynezz at true dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88544 --- Comment #3 from Petr Štetiar --- Hi Richard, thanks a lot for your fast response! It's probably my first bug report to GCC so I'll probably need a little guidance to get you output which might help you. I can do or enable whatever is neede

[Bug bootstrap/84257] Extremely slow compilation from gcc source code under macOS 10.13

2018-12-19 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84257 --- Comment #6 from Iain Sandoe --- (In reply to Iain Sandoe from comment #5) > 1) Speculation: that there are a lot of paths to search and they might > contain many files, so that if there's no caching of the results (perhaps > that was present

[Bug target/65146] alignment of _Atomic structure member is not correct

2018-12-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65146 --- Comment #12 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #11) > (In reply to Jonathan Wakely from comment #9) > > Did this ever get taken to the ABI group? > > I've done so now. I tried to start a discussion at the ia3

[Bug target/88213] ICE in change_address_1, at emit-rtl.c:2286

2018-12-19 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88213 --- Comment #6 from Segher Boessenkool --- Author: segher Date: Wed Dec 19 13:54:08 2018 New Revision: 267263 URL: https://gcc.gnu.org/viewcvs?rev=267263&root=gcc&view=rev Log: Restrict a VSX extract to TARGET_POWERPC64 (PR88213) This pattern o

[Bug c++/80990] cv-qualifiers ignored in variable definition using class template argument deduction

2018-12-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80990 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/87999] Constexpr eval. in static_assert makes string_view comparison non constexpr

2018-12-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87999 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/83443] FAIL: gcc.dg/tree-ssa/builtin-sprintf-warn-18.c (test for warnings, line 119)

2018-12-19 Thread samtebbs at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83443 samtebbs at gcc dot gnu.org changed: What|Removed |Added CC||samtebbs at gcc dot gnu.org

[Bug target/88213] ICE in change_address_1, at emit-rtl.c:2286

2018-12-19 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88213 --- Comment #7 from Segher Boessenkool --- Author: segher Date: Wed Dec 19 14:02:52 2018 New Revision: 267264 URL: https://gcc.gnu.org/viewcvs?rev=267264&root=gcc&view=rev Log: Backport from trunk 2018-12-19 Segher Boessenkool

[Bug target/88213] ICE in change_address_1, at emit-rtl.c:2286

2018-12-19 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88213 --- Comment #8 from Segher Boessenkool --- Author: segher Date: Wed Dec 19 14:04:22 2018 New Revision: 267265 URL: https://gcc.gnu.org/viewcvs?rev=267265&root=gcc&view=rev Log: Backport from trunk 2018-12-19 Segher Boessenkool

[Bug c++/87841] Member of class template hides template parameter of another member

2018-12-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87841 --- Comment #4 from Jonathan Wakely --- I've asked the C++ committee to clarify whether the example is bogus or not.

[Bug target/65146] alignment of _Atomic structure member is not correct

2018-12-19 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65146 --- Comment #13 from H.J. Lu --- (In reply to Jonathan Wakely from comment #12) > (In reply to Jonathan Wakely from comment #11) > > (In reply to Jonathan Wakely from comment #9) > > > Did this ever get taken to the ABI group? > > > > I've done

[Bug libstdc++/65675] make bootstrap fails when configured with --disable-hosted-libstdcxx

2018-12-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65675 --- Comment #6 from Jonathan Wakely --- The change in comment 5 was done in r222542

[Bug target/88213] ICE in change_address_1, at emit-rtl.c:2286

2018-12-19 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88213 Segher Boessenkool changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/65146] alignment of _Atomic structure member is not correct

2018-12-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65146 --- Comment #14 from Jonathan Wakely --- I'm subscribed as abusenet at kayari dot org and I'm pretty sure that's the address I used for both posts, because that's what the Google web UI does automatically.

[Bug target/65146] alignment of _Atomic structure member is not correct

2018-12-19 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65146 --- Comment #15 from H.J. Lu --- (In reply to Jonathan Wakely from comment #14) > I'm subscribed as abusenet at kayari dot org and I'm pretty sure that's the > address I used for both posts, because that's what the Google web UI does > automatica

[Bug target/86487] [7/8/9 Regression] insn does not satisfy its constraints on arm big-endian

2018-12-19 Thread avieira at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86487 --- Comment #7 from avieira at gcc dot gnu.org --- Hi, This one sort of fell through the cracks on me. With help from Vlad and Richard S. I managed to track the issue to uses_hard_regs_p and the way it handles paradoxical subregs (or fails to). I

[Bug target/87237] __atomic_load on 4-byte-sized, 1-byte-aligned struct is not atomic

2018-12-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87237 --- Comment #5 from Jonathan Wakely --- c.f. Bug 65146

[Bug target/65146] alignment of _Atomic structure member is not correct

2018-12-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65146 --- Comment #16 from Jonathan Wakely --- Submitted, subject "Alignment requirements for _Atomic should be stated"

[Bug target/65146] alignment of _Atomic structure member is not correct

2018-12-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65146 --- Comment #17 from Jonathan Wakely --- And the post has appeared now, which didn't happen last time.

[Bug fortran/88551] New: passing a portion of an array of a derived type that contains an allocatable component

2018-12-19 Thread hassani at unice dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88551 Bug ID: 88551 Summary: passing a portion of an array of a derived type that contains an allocatable component Product: gcc Version: 8.2.0 Status: UNCONFIRMED Se

[Bug c++/87841] Member of class template hides template parameter of another member

2018-12-19 Thread o_kniemeyer at maxon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87841 --- Comment #5 from Ole Kniemeyer --- Thanks for asking the committee. I think the standard makes sense as it is, because otherwise there is no chance to name the template parameter (that's what I need in my specific situation where I found the b

[Bug target/88547] missed optimization for vector comparisons

2018-12-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88547 --- Comment #3 from Jakub Jelinek --- For 64-byte vectors, we emit vpcmpgtb%zmm1, %zmm0, %k1 vpxor %xmm1, %xmm1, %xmm1 vpternlogd $0xFF, %zmm0, %zmm0, %zmm0 vmovdqu8%zmm1, %zmm0{%k1} for f1,

[Bug c++/43064] improve location and text of diagnostics in constructor initializer lists

2018-12-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43064 --- Comment #10 from David Malcolm --- Author: dmalcolm Date: Wed Dec 19 15:08:21 2018 New Revision: 267272 URL: https://gcc.gnu.org/viewcvs?rev=267272&root=gcc&view=rev Log: C++: more location wrapper nodes (PR c++/43064, PR c++/43486) This is

[Bug c++/43486] Preserve variable-use locations

2018-12-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43486 --- Comment #15 from David Malcolm --- Author: dmalcolm Date: Wed Dec 19 15:08:21 2018 New Revision: 267272 URL: https://gcc.gnu.org/viewcvs?rev=267272&root=gcc&view=rev Log: C++: more location wrapper nodes (PR c++/43064, PR c++/43486) This is

[Bug c++/87504] inconsistent diagnostic style between C and C++ for binary operators

2018-12-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87504 --- Comment #2 from David Malcolm --- Author: dmalcolm Date: Wed Dec 19 15:15:42 2018 New Revision: 267273 URL: https://gcc.gnu.org/viewcvs?rev=267273&root=gcc&view=rev Log: C++: improvements to binary operator diagnostics (PR c++/87504) The C

[Bug c++/88375] Vague source location for bad initialization

2018-12-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88375 --- Comment #2 from David Malcolm --- Author: dmalcolm Date: Wed Dec 19 15:22:27 2018 New Revision: 267276 URL: https://gcc.gnu.org/viewcvs?rev=267276&root=gcc&view=rev Log: C++: better locations for bogus initializations (PR c++/88375) PR c++/

[Bug c++/43064] improve location and text of diagnostics in constructor initializer lists

2018-12-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43064 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/43486] Preserve variable-use locations

2018-12-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43486 --- Comment #16 from David Malcolm --- Should be greatly improved for C++ for gcc 9 by r267272.

[Bug c++/87504] inconsistent diagnostic style between C and C++ for binary operators

2018-12-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87504 --- Comment #3 from David Malcolm --- After r267273, g++ emits: test.cc:10:30: error: invalid operands of types ‘const char [6]’ and ‘const char’ to binary ‘operator&’ 10 | return __builtin_strnlen (a&a[v0], n); |

[Bug c++/88375] Vague source location for bad initialization

2018-12-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88375 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/43064] improve location and text of diagnostics in constructor initializer lists

2018-12-19 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43064 --- Comment #12 from Jonny Grant --- (In reply to David Malcolm from comment #11) > Should be fixed (for gcc 9) by r267272. Fantastic David!

[Bug target/86487] [7/8/9 Regression] insn does not satisfy its constraints on arm big-endian

2018-12-19 Thread avieira at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86487 --- Comment #8 from avieira at gcc dot gnu.org --- Oliver, Your new example doesn't seem to be hitting the same issue as the first one. The first failure was being caused by paradoxical subregs, the second one doesn't have paradoxical subregs. I

[Bug fortran/87992] ICE in resolve_fl_variable, at fortran/resolve.c:12314

2018-12-19 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87992 --- Comment #2 from G. Steinmetz --- It should be valid code, just as legal as $ cat z3.f90 subroutine s(x) class(*), allocatable :: x allocate (x, source='') end $ cat z4.f90 subroutine s(x) class(*), allocatable :: x allocate (

[Bug fortran/88552] New: ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1120

2018-12-19 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88552 Bug ID: 88552 Summary: ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1120 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Prio

[Bug fortran/88552] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1120

2018-12-19 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88552 --- Comment #1 from G. Steinmetz --- Detected : $ cat z2.f90 program p integer(len((c)) :: n end $ cat z5.f90 implicit none integer(len((c)) :: n end $ gfortran-9-20181216 -c z2.f90 -fimplicit-none z2.f90:2:14: 2 | integer(len((c)) ::

[Bug target/88547] missed optimization for vector comparisons

2018-12-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88547 --- Comment #4 from Jakub Jelinek --- Created attachment 45264 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45264&action=edit gcc9-pr88547-1.patch Untested patch to improve the avx512* sse_movcc.

[Bug fortran/88552] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1120

2018-12-19 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88552 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/88553] New: [9 Regression] ICE: tree check: expected ssa_name, have var_decl in SSA_VAL, at tree-ssa-sccvn.c:461

2018-12-19 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88553 Bug ID: 88553 Summary: [9 Regression] ICE: tree check: expected ssa_name, have var_decl in SSA_VAL, at tree-ssa-sccvn.c:461 Product: gcc Version: 9.0 Status: UNCONFIRMED

[Bug lto/58042] MinGW GCC produces problematic x64 executable with -O2 -static -flto -m64

2018-12-19 Thread test_avto22 at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58042 Michael K. changed: What|Removed |Added CC||test_avto22 at mail dot ru --- Comment #2 f

[Bug rtl-optimization/87763] [9 Regression] aarch64 target testcases fail after r265398

2018-12-19 Thread samtebbs at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87763 samtebbs at gcc dot gnu.org changed: What|Removed |Added CC||samtebbs at gcc dot gnu.org

[Bug c++/88554] New: Segfault ICE when falling off the end of a reference-returning friend operator

2018-12-19 Thread arthur.j.odwyer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88554 Bug ID: 88554 Summary: Segfault ICE when falling off the end of a reference-returning friend operator Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: no

[Bug c++/88554] [9 Regression] Segfault ICE when falling off the end of a reference-returning friend operator

2018-12-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88554 Jonathan Wakely changed: What|Removed |Added Keywords||ice-on-valid-code Status|U

[Bug c++/88554] [9 Regression] Segfault ICE when falling off the end of a reference-returning friend operator

2018-12-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88554 --- Comment #2 from Jonathan Wakely --- (In reply to Arthur O'Dwyer from comment #0) > This is happening in trunk but not in GCC 8.2, so it must be a very recent > regression. You can't assume that, gcc-8-branch was branched from trunk in April.

[Bug translation/80191] diagnostic placeholder "new initializer" must be marked for translation

2018-12-19 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80191 --- Comment #10 from Martin Sebor --- I think quoting/translating grammar terms is a general problem in the C++ front-end (perhaps to a lesser extent also in the rest of GCC as well). The inconsistencies it leads to can be seen in the translated

[Bug c++/88554] [9 Regression] Segfault ICE when falling off the end of a reference-returning friend operator

2018-12-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88554 --- Comment #3 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #1) > Started to ICE (rather than give a -Wreturn-type diagnostic) with r263298 > > Add fix-it hint for missing return statement in assignment operators (PR >

[Bug c++/88554] [9 Regression] Segfault ICE when falling off the end of a reference-returning friend operator

2018-12-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88554 --- Comment #4 from Jonathan Wakely --- This fixes the ICE but I don't know if it's right and haven't tested it any further: --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -16093,7 +16093,7 @@ finish_function (bool inline_p) tree valtype =

[Bug tree-optimization/88553] [9 Regression] ICE: tree check: expected ssa_name, have var_decl in SSA_VAL, at tree-ssa-sccvn.c:461

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

[Bug c++/88554] [9 Regression] Segfault ICE when falling off the end of a reference-returning friend operator

2018-12-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88554 --- Comment #5 from Jonathan Wakely --- Oh that's definitely not right, because we don't want a fix-it for friend functions, where *this isn't valid. So this seems better: --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -16092,6 +16092,7 @@ finish_f

[Bug tree-optimization/88553] ICE: tree check: expected ssa_name, have var_decl in SSA_VAL, at tree-ssa-sccvn.c:461

2018-12-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88553 Richard Biener changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug lto/88550] A compiler error when use lto: internal compiler error: in add_symbol_to_partition_1, at lto/lto-partition.c:155

2018-12-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88550 Richard Biener changed: What|Removed |Added Keywords||lto Status|UNCONFIRMED

[Bug lto/88550] A compiler error when use lto: internal compiler error: in add_symbol_to_partition_1, at lto/lto-partition.c:155

2018-12-19 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88550 --- Comment #2 from Jan Hubicka --- Dump file produced by the linker with -fdump-ipa-cgraph --save-temps (it may end up in /tmp) would help to at least have clue what kind of symbol caused the crash.

%[@gcc-bugs@gcc.gnu.org

2018-12-19 Thread qfemccza
gcc-bugs@gcc.gnu.org + 办理正规普通3%税票,点优惠,包真。 详电:王生 手机:136 6260 7748 业QQ:958811639 ++ 2:16 杆共贵默

[Bug c++/87504] inconsistent diagnostic style between C and C++ for binary operators

2018-12-19 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87504 Rainer Orth changed: What|Removed |Added CC||ro at gcc dot gnu.org --- Comment #4 from

[Bug c++/88555] New: [9 Regression] Pack expansion fails

2018-12-19 Thread eric at efcs dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88555 Bug ID: 88555 Summary: [9 Regression] Pack expansion fails Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ A

  1   2   >