[Bug tree-optimization/88760] GCC unrolling is suboptimal

2019-10-27 Thread guojiufu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88760 --- Comment #42 from Jiu Fu Guo --- Author: guojiufu Date: Mon Oct 28 05:23:24 2019 New Revision: 277501 URL: https://gcc.gnu.org/viewcvs?rev=277501=gcc=rev Log: rs6000: Enable limited unrolling at -O2 In PR88760, there are a few disscussion

[Bug ipa/92242] [10 regression] LTO ICE in ipa_get_cs_argument_count ipa-prop.h:598

2019-10-27 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92242 --- Comment #2 from Dmitry G. Dyachenko --- correctly reduced testcase $ cat x.i unsigned foo(int a) { if (a) return 0; return 1; } $ cat y.i unsigned foo(int); int bar() { foo(0); return 0; } $ cat libso.ver { global: bar; local:

[Bug c/92249] New: ICE in c_parser_gimple_compound_statement w/ GIMPLE testcases

2019-10-27 Thread asolokha at gmx dot com
/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gcc/toplev.c:326 0x7b6a21 c_parser_gimple_compound_statement /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gcc/c/gimple-parser.c:444 0x7b6a21 c_parser_gimple_compound_statement /var/tmp/portage

[Bug lto/41526] gimple bytecode streams are not portable between different hosts

2019-10-27 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41526 --- Comment #4 from Eric Gallager --- (In reply to Joseph S. Myers from comment #3) > The handling of target options (the patch for bug 45475) is another > host-dependency in the bytecode stream. That has been closed as fixed... which parts of

[Bug objc++/61759] [ICE] [objc++] reaching gcc_unreachable in objc_eh_runtime_type at objc/objc-next-runtime-abi-01.c

2019-10-27 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61759 Eric Gallager changed: What|Removed |Added CC||iains at gcc dot gnu.org,

[Bug libobjc/67455] Inheriting from Object (with GNU runtime) doesn't provide alloc, init, or new, rendering methods useless

2019-10-27 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67455 --- Comment #6 from Eric Gallager --- (In reply to Eric Gallager from comment #5) > (In reply to Eric Gallager from comment #4) > > 67455.m:21:2: warning: (Messages without a matching method signature > > 67455.m:21:2: warning: will be assumed

[Bug c/45821] Missed -Wreturn-local-addr when local variable address comes from within a statement expression

2019-10-27 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45821 Eric Gallager changed: What|Removed |Added Blocks||90556 Summary|no warning

[Bug ipa/92242] [10 regression] LTO ICE in ipa_get_cs_argument_count ipa-prop.h:598

2019-10-27 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92242 --- Comment #1 from Dmitry G. Dyachenko --- over reduced but still ICE $ cat x.i unsigned foo(int a) { if (a) return 0; } $ cat y.i unsigned foo(); void bar() { foo(); } $ cat libso.ver { global: bar; local: *; }; $ gcc -O2 -flto -c

[Bug target/92246] Byte or short array reverse loop auto-vectorized with 3-uop vpermt2w instead of 1 or 2-uop vpermw (AVX512)

2019-10-27 Thread peter at cordes dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92246 --- Comment #1 from Peter Cordes --- And BTW, GCC *does* use vpermd (not vpermt2d) for swapt = int or long. This problem only applies to char and short. Possibly because AVX2 includes vpermd ymm. Apparently CannonLake has 1 uop vpermb

[Bug c++/92248] New: ‘__NR_open’ was not declared in this scope compilation failed on ubuntu 18.04 WSL2

2019-10-27 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92248 Bug ID: 92248 Summary: ‘__NR_open’ was not declared in this scope compilation failed on ubuntu 18.04 WSL2 Product: gcc Version: 10.0 Status: UNCONFIRMED

[Bug c++/92247] ‘__NR_open’ was not declared in this scope libsanitizer/sanitizer_common/sanitizer_linux compilation failed on ubuntu 18.04 WSL2

2019-10-27 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92247 --- Comment #1 from fdlbxtqi --- *** Bug 92248 has been marked as a duplicate of this bug. ***

[Bug c++/92248] ‘__NR_open’ was not declared in this scope compilation failed on ubuntu 18.04 WSL2

2019-10-27 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92248 fdlbxtqi changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/92247] New: ‘__NR_open’ was not declared in this scope libsanitizer/sanitizer_common/sanitizer_linux compilation failed on ubuntu 18.04 WSL2

2019-10-27 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92247 Bug ID: 92247 Summary: ‘__NR_open’ was not declared in this scope libsanitizer/sanitizer_common/sanitizer_linux compilation failed on ubuntu 18.04 WSL2 Product: gcc

[Bug fortran/92114] equivalence in module causes ICE

2019-10-27 Thread urbanjost at comcast dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92114 --- Comment #3 from urbanjost at comcast dot net --- I could not get the code to compile at all with 7.4.0 trying a variety of compiler switches with 7.4.0. This was in a Cygwin environment. I reinstalled the Cygwin environment and still got the

[Bug target/65342] [7/8 Regression] powerpc-darwin9 m64 code-gen error exposed by r210201

2019-10-27 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65342 Iain Sandoe changed: What|Removed |Added Keywords||wrong-code Summary|[7/8/9/10

[Bug tree-optimization/92244] vectorized loop updating 2 copies of the same pointer (for in-place reversal cross in the middle)

2019-10-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92244 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #3 from Andrew

[Bug target/92246] New: Byte or short array reverse loop auto-vectorized with 3-uop vpermt2w instead of 1 or 2-uop vpermw (AVX512)

2019-10-27 Thread peter at cordes dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92246 Bug ID: 92246 Summary: Byte or short array reverse loop auto-vectorized with 3-uop vpermt2w instead of 1 or 2-uop vpermw (AVX512) Product: gcc Version: 10.0 Status:

[Bug tree-optimization/92245] New: strncpy followed by nul store not folded into memcpy

2019-10-27 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92245 Bug ID: 92245 Summary: strncpy followed by nul store not folded into memcpy Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: enhancement Priority: P3

[Bug tree-optimization/92244] vectorized loop updating 2 copies of the same pointer (for in-place reversal cross in the middle)

2019-10-27 Thread peter at cordes dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92244 Peter Cordes changed: What|Removed |Added Summary|extra sub inside vectorized |vectorized loop updating 2

[Bug tree-optimization/92244] extra sub inside vectorized loop instead of calculating end-pointer

2019-10-27 Thread peter at cordes dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92244 --- Comment #1 from Peter Cordes --- On AArch64 (with gcc8.2), we see a similar effect, more instructions in the loop. And an indexed addressing mode. https://godbolt.org/z/6ZVWY_ # strrev_explicit -O3 -mcpu=cortex-a53 ... .L4:

[Bug tree-optimization/92244] New: extra sub inside vectorized loop instead of calculating end-pointer

2019-10-27 Thread peter at cordes dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92244 Bug ID: 92244 Summary: extra sub inside vectorized loop instead of calculating end-pointer Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords:

[Bug fortran/86248] [7/8/9/10 Regression] LEN_TRIM in specification expression causes link failure

2019-10-27 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86248 Paul Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/92243] Missing "auto-vectorization" of char array reversal using x86 scalar bswap when SIMD pshufb isn't available

2019-10-27 Thread peter at cordes dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92243 --- Comment #1 from Peter Cordes --- Forgot to mention, this probably applies to other ISAs with GP-integer byte-reverse instructions and efficient unaligned loads.

[Bug tree-optimization/92243] New: Missing "auto-vectorization" of char array reversal using x86 scalar bswap when SIMD pshufb isn't available

2019-10-27 Thread peter at cordes dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92243 Bug ID: 92243 Summary: Missing "auto-vectorization" of char array reversal using x86 scalar bswap when SIMD pshufb isn't available Product: gcc Version: 10.0

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

2019-10-27 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65342 --- Comment #31 from Iain Sandoe --- Author: iains Date: Sun Oct 27 21:25:57 2019 New Revision: 277495 URL: https://gcc.gnu.org/viewcvs?rev=277495=gcc=rev Log: [Darwin, PPC] Fix PR 65342. The current Darwin load/store lo_sum patterns have

[Bug target/67183] Darwin stub vs. non_lazy pointer ordering incompatible with clang assembler.

2019-10-27 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67183 --- Comment #6 from Iain Sandoe --- Author: iains Date: Sun Oct 27 21:21:49 2019 New Revision: 277494 URL: https://gcc.gnu.org/viewcvs?rev=277494=gcc=rev Log: [Darwin, machopic] Fix for 67183 When we're using the LLVM-based assembler (the

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

2019-10-27 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65342 --- Comment #30 from Iain Sandoe --- Author: iains Date: Sun Oct 27 21:17:33 2019 New Revision: 277493 URL: https://gcc.gnu.org/viewcvs?rev=277493=gcc=rev Log: [Darwin, machopic] Preparatory patches. This is a combined set of 5 patches that

[Bug fortran/86248] [7/8/9/10 Regression] LEN_TRIM in specification expression causes link failure

2019-10-27 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86248 --- Comment #11 from Paul Thomas --- Author: pault Date: Sun Oct 27 18:28:52 2019 New Revision: 277490 URL: https://gcc.gnu.org/viewcvs?rev=277490=gcc=rev Log: 2019-10-27 Paul Thomas Backport from mainline PR fortran/86248

[Bug middle-end/92113] [8/9/10 regression] r276673 causes segfault in gfortran.dg/pr51434.f90

2019-10-27 Thread tkoenig at gcc dot gnu.org
ile for target. Using /home/tkoenig/trunk/gcc/testsuite/config/default.exp as tool-and-target-specific interface file. Running /home/tkoenig/trunk/gcc/testsuite/gfortran.dg/dg.exp ... === gfortran Summary === # of expected passes12 /home/tkoenig/trunk-bin/gcc/testsuite/gfortr

[Bug ipa/92242] New: [10 regression] LTO ICE in ipa_get_cs_argument_count ipa-prop.h:598

2019-10-27 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92242 Bug ID: 92242 Summary: [10 regression] LTO ICE in ipa_get_cs_argument_count ipa-prop.h:598 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/86248] [7/8/9/10 Regression] LEN_TRIM in specification expression causes link failure

2019-10-27 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86248 --- Comment #10 from Paul Thomas --- Author: pault Date: Sun Oct 27 17:06:38 2019 New Revision: 277489 URL: https://gcc.gnu.org/viewcvs?rev=277489=gcc=rev Log: 2019-10-27 Paul Thomas Backport from mainline PR fortran/86248

[Bug fortran/86248] [7/8/9/10 Regression] LEN_TRIM in specification expression causes link failure

2019-10-27 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86248 --- Comment #9 from Paul Thomas --- Author: pault Date: Sun Oct 27 16:21:36 2019 New Revision: 277488 URL: https://gcc.gnu.org/viewcvs?rev=277488=gcc=rev Log: 2019-10-27 Paul Thomas Backport from mainline PR fortran/86248

[Bug rtl-optimization/92095] ICE on sparc-gcc -O1 -mcpu=niagara2 -fPIE: validize_mem(rtx_def*): gcc/gcc/explow.c:521

2019-10-27 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92095 Eric Botcazou changed: What|Removed |Added CC|ebotcazou at gcc dot gnu.org, | |ebotcazou at

[Bug rtl-optimization/92095] ICE on sparc-gcc -O1 -mcpu=niagara2 -fPIE: validize_mem(rtx_def*): gcc/gcc/explow.c:521

2019-10-27 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92095 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/86248] [7/8/9/10 Regression] LEN_TRIM in specification expression causes link failure

2019-10-27 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86248 --- Comment #8 from Paul Thomas --- Author: pault Date: Sun Oct 27 15:00:54 2019 New Revision: 277487 URL: https://gcc.gnu.org/viewcvs?rev=277487=gcc=rev Log: 2019-10-27 Paul Thomas PR fortran/86248 * resolve.c

[Bug c++/91548] [10 Regression] Regression in constexpr evaluation of std::array

2019-10-27 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548 Marek Polacek changed: What|Removed |Added CC||euloanty at live dot com --- Comment #9

[Bug c++/92238] constexpr fails to compile 2d std::array in gcc 10 master

2019-10-27 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92238 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug fortran/92113] [8 regression] r276673 causes segfault in gfortran.dg/pr51434.f90

2019-10-27 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92113 --- Comment #5 from Thomas Koenig --- Still having no luck trying to find out which patch made this error not appear on trunk. I think this may actually depend on the version of the bootstrapping compiler :-( In the meantime, here is the first

[Bug lto/92234] [10 Regression] ICE verify_gimple failed (profiled lto) on s390x-linux-gnu

2019-10-27 Thread doko at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92234 Matthias Klose changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug target/91851] [m68k] Convert the backend to MODE_CC so it can be kept in future releases

2019-10-27 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91851 --- Comment #2 from John Paul Adrian Glaubitz --- (In reply to John Paul Adrian Glaubitz from comment #1) > > https://wiki.debian.org/M68k/QemuSystemM68k > > The guide is not complete yet, I will finish it throughout next week. The code has

[Bug c/92241] ice in vect_mark_pattern_st mts, at tree-vect-patterns.c:5175

2019-10-27 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92241 Dmitry G. Dyachenko changed: What|Removed |Added CC||dimhen at gmail dot com ---

[Bug c/92241] New: ice in vect_mark_pattern_st mts, at tree-vect-patterns.c:5175

2019-10-27 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92241 Bug ID: 92241 Summary: ice in vect_mark_pattern_st mts, at tree-vect-patterns.c:5175 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug bootstrap/92240] [10 regression] ICE in duplicate, at ipa-prop.c:3883

2019-10-27 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92240 Dmitry G. Dyachenko changed: What|Removed |Added CC||hubicka at gcc dot gnu.org ---

[Bug bootstrap/92240] [10 regression] ICE in duplicate, at ipa-prop.c:3883

2019-10-27 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92240 --- Comment #1 from Dmitry G. Dyachenko --- simplified configure' call configure --enable-checking=yes --enable-languages=c,c++ --disable-multilib --with-isl make /home/dimhen/build/gcc_current/./prev-gcc/xgcc

[Bug bootstrap/92240] New: [10 regression] ICE in duplicate, at ipa-prop.c:3883

2019-10-27 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92240 Bug ID: 92240 Summary: [10 regression] ICE in duplicate, at ipa-prop.c:3883 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/77918] S390: Floating point comparisons don't raise invalid for unordered operands.

2019-10-27 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77918 Arseny Solokha changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment

[Bug ipa/85960] -fipa-pta and ifunc are incompatible

2019-10-27 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85960 Arseny Solokha changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment

[Bug ipa/92239] New: [10 Regression] ICE in insert_vi_for_tree, at tree-ssa-structalias.c:2877

2019-10-27 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92239 Bug ID: 92239 Summary: [10 Regression] ICE in insert_vi_for_tree, at tree-ssa-structalias.c:2877 Product: gcc Version: unknown Status: UNCONFIRMED Keywords: