[Bug c++/88690] New: internal compiler error: in output_constructor_regular_field, at varasm.c:5031

2019-01-04 Thread eugene at hutorny dot in.ua
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88690 Bug ID: 88690 Summary: internal compiler error: in output_constructor_regular_field, at varasm.c:5031 Product: gcc Version: 7.3.1 Status: UNCONFIRMED Severity:

[Bug c++/88690] internal compiler error: in output_constructor_regular_field, at varasm.c:5031

2019-01-04 Thread eugene at hutorny dot in.ua
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88690 --- Comment #1 from Eugene --- Created attachment 45338 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45338&action=edit Zipped prepocessed file causing internal error

[Bug c++/88690] internal compiler error: in output_constructor_regular_field, at varasm.c:5031

2019-01-04 Thread eugene at hutorny dot in.ua
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88690 --- Comment #2 from Eugene --- Created attachment 45339 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45339&action=edit Output of arm-none-eabi-gcc.exe -v

[Bug lto/88677] [9 Regression] Divergence in -O2 and -O2 -flto early opts

2019-01-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88677 Martin Liška changed: What|Removed |Added Keywords|needs-reduction | --- Comment #6 from Martin Liška --- Re

[Bug c++/88690] internal compiler error: in output_constructor_regular_field, at varasm.c:5031

2019-01-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88690 Martin Liška changed: What|Removed |Added Keywords||needs-bisection, |

[Bug target/84010] problematic TLS code generation on 64-bit SPARC

2019-01-04 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84010 Eric Botcazou changed: What|Removed |Added Target Milestone|--- |7.5 Summary|[sparc64] Problem

[Bug target/88594] [9 Regression] ICE in int_mode_for_mode, at stor-layout.c:403

2019-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88594 --- Comment #1 from Jakub Jelinek --- Author: jakub Date: Fri Jan 4 09:00:05 2019 New Revision: 267571 URL: https://gcc.gnu.org/viewcvs?rev=267571&root=gcc&view=rev Log: PR target/88594 * config/i386/i386.c (ix86_expand_divmod_l

[Bug c++/88690] internal compiler error: in output_constructor_regular_field, at varasm.c:5031

2019-01-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88690 --- Comment #4 from Martin Liška --- Reduced test-case: $ cat services.ii typedef char a; using b = int; class c { b f{5}; }; class d { int e{}; }; class C { C() = delete; }; class i : public d, public C {}; template using g = i; enum { h

[Bug c++/88690] internal compiler error: in output_constructor_regular_field, at varasm.c:5031

2019-01-04 Thread eugene at hutorny dot in.ua
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88690 --- Comment #5 from Eugene --- Meanwhile I have found exact line that causing this issue: services.ii@35563: characteristic_inst(const characteristic_inst&) = delete; When commented out, compilation pass.

[Bug c++/88690] internal compiler error: in output_constructor_regular_field, at varasm.c:5031

2019-01-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88690 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | --- Comment #6 from Martin Liška --- It

[Bug c++/88690] [7/8/9 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:5031

2019-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88690 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |7.5 Summary|internal compiler

[Bug target/88594] [9 Regression] ICE in int_mode_for_mode, at stor-layout.c:403

2019-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88594 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/88685] [8/9 regression] pointer class array argument indexing

2019-01-04 Thread antony at cosmologist dot info
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88685 --- Comment #2 from Antony Lewis --- I think the individual elements are correct, it's the array indexing operations that are wrong (this is clearer in the longer example; looks a like wrong stride). E.g. printing this in the main program after c

[Bug c++/88690] [7/8/9 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:5031

2019-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88690 --- Comment #8 from Jakub Jelinek --- Further reduced (-std=c++17): struct A { int a = 1; }; struct B { int b = 0; }; struct C { C () = delete; }; struct D : public B, public C {}; struct E : A { D f; } g{};

[Bug debug/88686] gcc generates wrong debug information at -O1

2019-01-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88686 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug other/88691] New: Add support for -fuse-ld=lld (https://lld.llvm.org/)

2019-01-04 Thread dilyan.palauzov at aegee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88691 Bug ID: 88691 Summary: Add support for -fuse-ld=lld (https://lld.llvm.org/) Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug c++/88690] [7/8/9 Regression] c++17 internal compiler error: in output_constructor_regular_field, at varasm.c:5031

2019-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88690 Jakub Jelinek changed: What|Removed |Added Target|arm-linux-gnueabihf | CC|

[Bug c++/88692] New: Spurious "redundant move in return statement"

2019-01-04 Thread d25fe0be at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88692 Bug ID: 88692 Summary: Spurious "redundant move in return statement" Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug tree-optimization/88676] missed opportunity is integer conditional

2019-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88676 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug fortran/88685] [8/9 regression] pointer class array argument indexing

2019-01-04 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88685 Dominique d'Humieres changed: What|Removed |Added Keywords||wrong-code CC|

[Bug fortran/48543] Collapse identical strings

2019-01-04 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48543 --- Comment #8 from Thomas Koenig --- Author: tkoenig Date: Fri Jan 4 10:42:12 2019 New Revision: 267572 URL: https://gcc.gnu.org/viewcvs?rev=267572&root=gcc&view=rev Log: 2019-01-04 Thomas Koenig PR fortran/48543 * gfortran.dg/cons

[Bug target/65342] [7/8/9 Regression] FAIL: gfortran.dg/intrinsic_(un)?pack_1.f90 -O1 execution test on powerpc-apple-darwin9 after r210201

2019-01-04 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65342 --- Comment #23 from Dominique d'Humieres --- Still present, see https://gcc.gnu.org/ml/gcc-testresults/2019-01/msg00318.html.

[Bug target/60732] FAIL: g++.dg/ext/altivec-7.C -std=* scan-assembler _Z3fooDv*

2019-01-04 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60732 Dominique d'Humieres changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/88653] Is this a compiler bug?

2019-01-04 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88653 Thomas Koenig changed: What|Removed |Added Target||x86-64-pc-cygwin --- Comment #7 from Tho

[Bug target/52491] FAIL: gcc.dg/torture/pr52402.c at -O2 and above

2019-01-04 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52491 Dominique d'Humieres changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/88567] [9 Regression] ICE in get_initial_defs_for_reduction when building 521.wrf_r on AArch64 SVE

2019-01-04 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88567 --- Comment #2 from ktkachov at gcc dot gnu.org --- Created attachment 45340 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45340&action=edit minimal reproducer I've reduced the file as much as I could. ICEs for aarch64 with -Ofast -march=a

[Bug target/88331] ICE in rtl_verify_bb_layout, at cfgrtl.c:2987

2019-01-04 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88331 --- Comment #9 from Uroš Bizjak --- Created attachment 45341 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45341&action=edit Somehow reduced testcase The testcase can be compiled with a cross to --target=x86_64-w64-mingw32: cc1 -O3 -marc

[Bug target/88331] ICE in rtl_verify_bb_layout, at cfgrtl.c:2987

2019-01-04 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88331 --- Comment #10 from Uroš Bizjak --- As mentioned in comment #5, this is due to r266345 (AKA fix for PR84877). It looks that the change now emits RTL sequence outside of BB. This is what can be seen at the end of .reload dump: ... (code_label

[Bug rtl-optimization/88331] [9 Regression] ICE in rtl_verify_bb_layout, at cfgrtl.c:2987

2019-01-04 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88331 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug other/88691] Add support for -fuse-ld=lld (https://lld.llvm.org/)

2019-01-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88691 Jonathan Wakely changed: What|Removed |Added Severity|normal |enhancement

[Bug bootstrap/88450] [9 regression] ICE in stage 2 compiler while configuring libgcc

2019-01-04 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88450 --- Comment #12 from Uroš Bizjak --- See also PR88331.

[Bug target/88522] Error: operand size mismatch for `vpgatherqq'

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

[Bug libstdc++/88689] Resource leak.. Leaked storage

2019-01-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88689 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/88693] New: Wrong code since r263511

2019-01-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88693 Bug ID: 88693 Summary: Wrong code since r263511 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Compon

[Bug tree-optimization/88693] [9 Regression] Wrong code since r263511

2019-01-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88693 Martin Liška changed: What|Removed |Added Priority|P3 |P1 Last reconfirmed|

[Bug c++/88694] New: constexpr isn't captured correctly in lambda

2019-01-04 Thread amosbird at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88694 Bug ID: 88694 Summary: constexpr isn't captured correctly in lambda Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/88694] constexpr isn't captured correctly in lambda

2019-01-04 Thread amosbird at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88694 --- Comment #1 from Amos Bird --- Created attachment 45343 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45343&action=edit the ii file

[Bug c++/88694] constexpr isn't captured correctly in lambda

2019-01-04 Thread amosbird at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88694 --- Comment #2 from Amos Bird --- Currently by introducing a `auto local_i = decltype(i)();` can workaround this. #include #include #include template constexpr void static_for_impl(Func&& f, std::integer_sequence) { (f(std::integral_c

[Bug middle-end/87276] [9 Regression] Buggy tree-ssa optimization introduced in revision 263875

2019-01-04 Thread vincent-gcc at vinc17 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87276 --- Comment #6 from Vincent Lefèvre --- Note concerning the tests: in Debian, as of gcc-snapshot 1:20181209-1, MPFR is no longer affected (and I've checked that the failure is still reproducible with gcc-snapshot 1:20181127-1). But the testcase i

[Bug tree-optimization/88676] missed opportunity in integer conditional

2019-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88676 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/87836] ICE in cc1 for gcc-6.5.0 with SPARC hardware

2019-01-04 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87836 --- Comment #24 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #23 from Gary Mills --- > It's not Solaris, first of all. Solaris is a closed system once again. It's > illumos, which is derived from Opensolaris. These are the two as

[Bug rtl-optimization/88593] [9 Regression] cleanup_cfg may make cached dominance info stale

2019-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88593 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #6

[Bug c++/88690] [7/8/9 Regression] c++17 internal compiler error: in output_constructor_regular_field, at varasm.c:5031

2019-01-04 Thread eugene at hutorny dot in.ua
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88690 --- Comment #10 from Eugene --- (In reply to Jakub Jelinek from comment #8) > Further reduced (-std=c++17): > struct A { int a = 1; }; > struct B { int b = 0; }; > struct C { C () = delete; }; > struct D : public B, public C {}; > struct E : A {

[Bug target/84010] problematic TLS code generation on 64-bit SPARC

2019-01-04 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84010 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug rtl-optimization/88593] [9 Regression] cleanup_cfg may make cached dominance info stale

2019-01-04 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88593 --- Comment #7 from H.J. Lu --- (In reply to Jakub Jelinek from comment #6) > Is anyone going to test the #c5 patch and submit if it passes? We won't test it. We no longer use LCM to insert vxorps since LCM generates vxorps inside the loop.

[Bug rtl-optimization/88593] [9 Regression] cleanup_cfg may make cached dominance info stale

2019-01-04 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88593 --- Comment #8 from Jeffrey A. Law --- That's an indication you've likely done something wrong with your local properties HJ. LCM inherently also does LICM since LICM is just a special case of PRE.

[Bug rtl-optimization/88593] [9 Regression] cleanup_cfg may make cached dominance info stale

2019-01-04 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88593 --- Comment #9 from H.J. Lu --- (In reply to Jeffrey A. Law from comment #8) > That's an indication you've likely done something wrong with your local > properties HJ. LCM inherently also does LICM since LICM is just a special > case of PRE. Th

[Bug rtl-optimization/88593] [9 Regression] cleanup_cfg may make cached dominance info stale

2019-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88593 --- Comment #10 from Jakub Jelinek --- So, is this actually a regression? I.e. is there a testcase that fails with trunk?

[Bug c/88568] [7/8/9 Regression] 'dllimport' no longer implies 'extern' in C

2019-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88568 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug tree-optimization/88567] [9 Regression] ICE in get_initial_defs_for_reduction when building 521.wrf_r on AArch64 SVE

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

[Bug rtl-optimization/88593] [9 Regression] cleanup_cfg may make cached dominance info stale

2019-01-04 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88593 --- Comment #11 from H.J. Lu --- (In reply to Jakub Jelinek from comment #10) > So, is this actually a regression? I.e. is there a testcase that fails with > trunk? I believe this issue is latent on trunk.

[Bug tree-optimization/88693] [9 Regression] Wrong code since r263018

2019-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88693 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED CC|

[Bug tree-optimization/88567] [9 Regression] ICE in get_initial_defs_for_reduction when building 521.wrf_r on AArch64 SVE

2019-01-04 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88567 --- Comment #4 from rsandifo at gcc dot gnu.org --- BTW, turns out that this is the same ICE as gcc.dg/vect/pr63379.c, which was on my list of things to look at in stage 4.

[Bug c/88695] New: Accepts invalid program with incompatible function types.

2019-01-04 Thread anders.granlund.0 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88695 Bug ID: 88695 Summary: Accepts invalid program with incompatible function types. Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priori

[Bug fortran/88685] [8/9 regression] pointer class array argument indexing

2019-01-04 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88685 --- Comment #4 from Steve Kargl --- On Fri, Jan 04, 2019 at 09:40:52AM +, antony at cosmologist dot info wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88685 > > --- Comment #2 from Antony Lewis --- > I think the individual elements

[Bug c/88695] Accepts invalid program with incompatible function types.

2019-01-04 Thread anders.granlund.0 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88695 --- Comment #1 from Anders Granlund --- Correction: The second standard reference should be 6.7.6.3/15 and not 6.7.3/15.

[Bug c/88695] Accepts invalid program with incompatible function types.

2019-01-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88695 --- Comment #2 from Jonathan Wakely --- See PR 64526 and DR 317.

[Bug driver/83243] -fuse-ld=lld

2019-01-04 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83243 Eric Gallager changed: What|Removed |Added CC||dilyan.palauzov at aegee dot org --- Co

[Bug other/88691] Add support for -fuse-ld=lld (https://lld.llvm.org/)

2019-01-04 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88691 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c/64526] No warning on function call with excessive arguments

2019-01-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64526 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic Status|RESOLVED

[Bug tree-optimization/88398] vectorization failure for a small loop to do byte comparison

2019-01-04 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88398 --- Comment #9 from ktkachov at gcc dot gnu.org --- For context, this is the hot loop in 557.xz_r from SPEC2017

[Bug tree-optimization/88567] [9 Regression] ICE in get_initial_defs_for_reduction when building 521.wrf_r on AArch64 SVE

2019-01-04 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88567 --- Comment #5 from rsandifo at gcc dot gnu.org --- Created attachment 45345 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45345&action=edit Candidate patch I'll test the attached over the weekend. Seems to pass initial spot-testing.

[Bug tree-optimization/88693] [9 Regression] Wrong code since r263018

2019-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88693 --- Comment #2 from Jakub Jelinek --- Created attachment 45346 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45346&action=edit gcc9-pr88693.patch Untested fix.

[Bug tree-optimization/88398] vectorization failure for a small loop to do byte comparison

2019-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88398 --- Comment #10 from Jakub Jelinek --- If the compiler knew say from PGO that pos is usually a multiple of certain power of two and that the loop usually iterates many times (I guess the latter can be determined from comparing the bb count of the

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

2019-01-04 Thread samtebbs at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87763 --- Comment #10 from Sam Tebbs --- Author: samtebbs Date: Fri Jan 4 16:26:38 2019 New Revision: 267579 URL: https://gcc.gnu.org/viewcvs?rev=267579&root=gcc&view=rev Log: [PATCH][GCC][Aarch64] Change expected bfxil count in gcc.target/aarch64/co

[Bug target/88027] PowerPC generates slightly weird code for memset

2019-01-04 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88027 acsawdey at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution

[Bug target/84010] problematic TLS code generation on 64-bit SPARC

2019-01-04 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84010 --- Comment #9 from Eric Botcazou --- > There are similar problems for other TLS models which can be relaxed, but > even worse than this, local dynamic uses a sethi/xor for the offset from the > defining module's block to load a signed 32-bit val

[Bug tree-optimization/88398] vectorization failure for a small loop to do byte comparison

2019-01-04 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88398 --- Comment #11 from Wilco --- (In reply to Jakub Jelinek from comment #10) > If the compiler knew say from PGO that pos is usually a multiple of certain > power of two and that the loop usually iterates many times (I guess the > latter can be de

[Bug target/84010] problematic TLS code generation on 64-bit SPARC

2019-01-04 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84010 --- Comment #10 from Eric Botcazou --- > So, if the above formulas are incorrect, relaxation is required in all cases. ...are correct...

[Bug c/88363] [9 Regression] alloc_align attribute doesn't accept enumerated arguments

2019-01-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88363 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #6 from Martin Sebor -

[Bug c/87964] c-attribs.c:3965: possible cut'n'paste error ?

2019-01-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87964 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Version|8.0

[Bug c/88695] Accepts invalid program with incompatible function types.

2019-01-04 Thread anders.granlund.0 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88695 --- Comment #3 from Anders Granlund --- Yes, the type of f does have a prototype. That fact is however not relevant here. Note that I'm not making any calls to f here. I am only using f in a way that requires its type to be compatible wit

[Bug c/88695] Accepts invalid program with incompatible function types.

2019-01-04 Thread anders.granlund.0 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88695 --- Comment #4 from Anders Granlund --- (In reply to Jonathan Wakely from comment #2) > See PR 64526 and DR 317. (Forgot to reply instead of adding an additional comment) Yes, the type of f does have a prototype. That fact is however not rel

[Bug c/88647] Rejects valid program dereferencing pointer with incomplete reference type.

2019-01-04 Thread anders.granlund.0 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88647 --- Comment #4 from Anders Granlund --- (In reply to jos...@codesourcery.com from comment #1) > 6.3.2.1#2 (conversion of lvalues to rvalues): "If the lvalue has an > incomplete type and does not have array type, the behavior is undefined.". >

[Bug c++/88694] constexpr isn't captured correctly in lambda

2019-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88694 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/88568] [7/8/9 Regression] 'dllimport' no longer implies 'extern' in C

2019-01-04 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88568 --- Comment #4 from joseph at codesourcery dot com --- On Fri, 4 Jan 2019, jakub at gcc dot gnu.org wrote: > Joseph, is there any meaning for DECL_EXTERNAL & TREE_STATIC, or is that > invalid flag combination? If the latter, we should go with t

[Bug d/88654] Hangs in libphobos testsuite

2019-01-04 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88654 --- Comment #5 from Iain Buclaw --- (In reply to Jakub Jelinek from comment #4) > > If the test doesn't fail if it fails to load libcurl (and doesn't get > stuck), it is fine too. > If it fails if it is missing, yeah, something like a tcl proced

[Bug c/88695] Accepts invalid program with incompatible function types.

2019-01-04 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88695 --- Comment #5 from joseph at codesourcery dot com --- It's DR#316 that's relevant here (where the committee agreed with my interpretation that implies this example is valid, and reiterated their intent not to fix issues with unprototyped funct

[Bug middle-end/87836] ICE in cc1 for gcc-6.5.0 with SPARC hardware

2019-01-04 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87836 --- Comment #25 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #24 from ro at CeBiTec dot Uni-Bielefeld.DE Uni-Bielefeld.DE> --- [...] > I may try a build on Solaris 10 with the snv_121 assembler myself. > The sparc machine is busy un

[Bug target/84010] problematic TLS code generation on 64-bit SPARC

2019-01-04 Thread jrtc27 at jrtc27 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84010 --- Comment #11 from James Clarke --- (In reply to Eric Botcazou from comment #9) > > There are similar problems for other TLS models which can be relaxed, but > > even worse than this, local dynamic uses a sethi/xor for the offset from the > > d

[Bug libstdc++/87431] valueless_by_exception() should unconditionally return false if all the constructors are noexcept

2019-01-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87431 --- Comment #10 from Jonathan Wakely --- Maybe like this: --- a/libstdc++-v3/include/std/variant +++ b/libstdc++-v3/include/std/variant @@ -439,7 +439,7 @@ namespace __variant constexpr bool _M_valid() const noexcept { -

[Bug target/84010] problematic TLS code generation on 64-bit SPARC

2019-01-04 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84010 --- Comment #12 from Eric Botcazou --- (> So, as far as I see it, we have two choices: > > 1. Disable all X -> LE relaxations in the linker. Works, but then gives > suboptimal performance if some code linked into an executable is built with > -f

[Bug libstdc++/85517] std::variant exception safety problems

2019-01-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85517 --- Comment #3 from Jonathan Wakely --- (In reply to Xiaoyi Zhang from comment #0) > 2. Conversion assignment operator=(T&&) > According to [variant.assign] 23.7.3.3 (11.3): if > is_nothrow_constructible == false && > is_nothrow_move_constructibl

[Bug target/88696] New: Power VSX builtins missing vmuluwm / vector int vec_mul (vector int, vector int);

2019-01-04 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88696 Bug ID: 88696 Summary: Power VSX builtins missing vmuluwm / vector int vec_mul (vector int, vector int); Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severit

[Bug target/88640] ICE in mark_reachable_handlers, at tree-eh.c:3926

2019-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88640 --- Comment #4 from Jakub Jelinek --- -Ofast -fsignaling-nans is a really weirdo combination of options, it says that NaNs aren't honored, but sNaNs are, so in this case it folds a _7 = 1.0 * _2 that is marked that could throw into just _7 = _2;

[Bug fortran/88653] Is this a compiler bug?

2019-01-04 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88653 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org --- Comment

[Bug testsuite/88697] New: New test case gcc.target/powerpc/pr88457.c in r267307 fails because of glibc requirement

2019-01-04 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88697 Bug ID: 88697 Summary: New test case gcc.target/powerpc/pr88457.c in r267307 fails because of glibc requirement Product: gcc Version: 9.0 Status: UNCONFIRMED Se

[Bug c/88695] Accepts invalid program with incompatible function types.

2019-01-04 Thread anders.granlund.0 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88695 Anders Granlund changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/88698] New: Relax generic vector conversions

2019-01-04 Thread husseydevin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88698 Bug ID: 88698 Summary: Relax generic vector conversions Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assign

[Bug c++/87364] Pretty print of enumerator never prints the id, always falls back to C-style cast output

2019-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87364 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #13

[Bug c/88698] Relax generic vector conversions

2019-01-04 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88698 --- Comment #1 from Marc Glisse --- It would help if you could write some (very short) functions illustrating the behavior you are requesting. "convert", "compatible" all depend about the context in which they appear.

[Bug c++/88699] New: tree check fail: expected function_decl, have using_decl in add_method, at cp/class.c:1137

2019-01-04 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88699 Bug ID: 88699 Summary: tree check fail: expected function_decl, have using_decl in add_method, at cp/class.c:1137 Product: gcc Version: 8.0 Status: UNCONFIRMED

[Bug c++/88699] tree check fail: expected function_decl, have using_decl in add_method, at cp/class.c:1137

2019-01-04 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88699 --- Comment #1 from David Binderman --- Bug seems to start someplace between revision 266950 and 267100.

[Bug lto/48200] Implement function attribute for symbol versioning (.symver)

2019-01-04 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48200 --- Comment #28 from Florian Weimer --- It seems that using symbol aliases (via .symver) in conjunction with LTO and a version script which has a local: * clause causes the LTO plugin to assume that the aliased function definitions are not (exter

[Bug target/88188] ICE in print_operand, at config/rs6000/rs6000.c

2019-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88188 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/88699] tree check fail: expected function_decl, have using_decl in add_method, at cp/class.c:1137

2019-01-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88699 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/88699] [9 Regression] tree check fail: expected function_decl, have using_decl in add_method, at cp/class.c:1137

2019-01-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88699 Marek Polacek changed: What|Removed |Added Target Milestone|--- |9.0 Summary|tree check fail:

[Bug d/88654] Hangs in libphobos testsuite

2019-01-04 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88654 --- Comment #6 from Iain Buclaw --- (In reply to Jakub Jelinek from comment #4) > > My i686-linux bootstraps are done through a couple of executable scripts in > ~/hbin directory on x86_64-linux: > for i in ~/hbin/*; do echo ===$i===; cat $i; do

[Bug target/88638] [9 Regression] FAIL: *string-format-1.* on darwin

2019-01-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88638 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #2 from Martin Sebor -

[Bug c/88700] New: C11 Annex K builtins

2019-01-04 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88700 Bug ID: 88700 Summary: C11 Annex K builtins Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassi

  1   2   >