[Bug fortran/91497] -Wconversion warns when doing explicit type conversion

2019-10-03 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497 kargl at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug other/91879] --with-build-time-tools doesn't work as expected

2019-10-03 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91879 --- Comment #26 from joseph at codesourcery dot com --- On Thu, 3 Oct 2019, stsp at users dot sourceforge.net wrote: > Ah, I am starting to understand. > So basically you mean something like this: > --with-sysroot=$prefix/$target

[Bug middle-end/91983] g++.dg/tree-ssa/pr61034.C regression

2019-10-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91983 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #2

[Bug target/87243] FSF GCC needs to do something special (like using xcrun) on darwin18 to find system headers in SDK

2019-10-03 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87243 Iain Sandoe changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/91986] New: missed loop unrolling optimization

2019-10-03 Thread trass3r at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91986 Bug ID: 91986 Summary: missed loop unrolling optimization Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug other/81334] -Wmisleading-indentation prints notes about being disabled even when already intentionally ignored

2019-10-03 Thread david.bolvansky at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81334 Dávid Bolvanský changed: What|Removed |Added CC||david.bolvansky at gmail dot com ---

[Bug middle-end/91983] g++.dg/tree-ssa/pr61034.C regression

2019-10-03 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91983 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug c/91985] New: Unsupported DFP not diagnosed with constants or built-in functions

2019-10-03 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91985 Bug ID: 91985 Summary: Unsupported DFP not diagnosed with constants or built-in functions Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords:

[Bug target/91769] [9/10 regression] wrong code with -O2 on MIPS

2019-10-03 Thread draganm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91769 --- Comment #6 from draganm at gcc dot gnu.org --- Author: draganm Date: Thu Oct 3 19:17:20 2019 New Revision: 276525 URL: https://gcc.gnu.org/viewcvs?rev=276525=gcc=rev Log: Fix PR target/91769 This fixes the issue by checking that addr's

[Bug other/91879] --with-build-time-tools doesn't work as expected

2019-10-03 Thread stsp at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91879 --- Comment #23 from Stas Sergeev --- (In reply to jos...@codesourcery.com from comment #22) > On Thu, 3 Oct 2019, stsp at users dot sourceforge.net wrote: > And overriding like that is fundamentally unsafe, because in general in a >

[Bug target/57753] FSF gcc bootstrap needs to use xcrun to bootstrap post-darwin12

2019-10-03 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57753 Iain Sandoe changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/87243] FSF GCC needs to do something special (like using xcrun) on darwin18 to find system headers in SDK

2019-10-03 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87243 --- Comment #9 from Iain Sandoe --- *** Bug 57753 has been marked as a duplicate of this bug. ***

[Bug middle-end/91977] missing -Wstringop-overflow on memcpy into a pointer plus offset

2019-10-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91977 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #1 from Martin Sebor

[Bug other/91879] --with-build-time-tools doesn't work as expected

2019-10-03 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91879 --- Comment #24 from joseph at codesourcery dot com --- On Thu, 3 Oct 2019, stsp at users dot sourceforge.net wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91879 > > --- Comment #23 from Stas Sergeev --- > (In reply to

[Bug target/87243] FSF GCC needs to do something special (like using xcrun) on darwin18 to find system headers in SDK

2019-10-03 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87243 --- Comment #8 from Iain Sandoe --- Author: iains Date: Thu Oct 3 20:19:18 2019 New Revision: 276530 URL: https://gcc.gnu.org/viewcvs?rev=276530=gcc=rev Log: [Darwin] Pick up SDKROOT as the sysroot fallback. For compatibility with xcrun and

[Bug target/91769] [9/10 regression] wrong code with -O2 on MIPS

2019-10-03 Thread aurelien at aurel32 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91769 --- Comment #7 from Aurelien Jarno --- Thanks a lot for the fix. Would it be possible to backport it to the GCC 9 branch? Note that it requires backporting r273174 first.

[Bug other/91879] --with-build-time-tools doesn't work as expected

2019-10-03 Thread stsp at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91879 --- Comment #27 from Stas Sergeev --- (In reply to jos...@codesourcery.com from comment #26) > On Thu, 3 Oct 2019, stsp at users dot sourceforge.net wrote: > > > Ah, I am starting to understand. > > So basically you mean something like this: >

[Bug other/91879] --with-build-time-tools doesn't work as expected

2019-10-03 Thread stsp at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91879 --- Comment #21 from Stas Sergeev --- Hi Joseph, thanks for your assistance! (In reply to jos...@codesourcery.com from comment #20) > The only case where the newly built GCC should be overridden is the > Canadian cross case, Since today, this

[Bug other/91879] --with-build-time-tools doesn't work as expected

2019-10-03 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91879 --- Comment #22 from joseph at codesourcery dot com --- On Thu, 3 Oct 2019, stsp at users dot sourceforge.net wrote: > - The stage2 compiler is built with --prefix=/usr and > installed with the DESTDIR set to the build dir. As the > result,

[Bug other/91879] --with-build-time-tools doesn't work as expected

2019-10-03 Thread stsp at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91879 --- Comment #25 from Stas Sergeev --- (In reply to jos...@codesourcery.com from comment #24) > > But isn't there always a possibility to add > > one more stage? Say, in the example above where > > at stage1 we only have a static-only compiler, >

[Bug target/91982] gcc.target/aarch64/sve/clastb_*.c tests failing with segfault

2019-10-03 Thread prathamesh3492 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91982 --- Comment #3 from prathamesh3492 at gcc dot gnu.org --- Probably started with r276299 ? We segfault in vect_transform_stmt in call to dominated_by_p: if (!slp_node && STMT_VINFO_REDUC_DEF (orig_stmt_info) && STMT_VINFO_REDUC_TYPE

[Bug target/91982] gcc.target/aarch64/sve/clastb_*.c tests failing with segfault

2019-10-03 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91982 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug fortran/91497] -Wconversion warns when doing explicit type conversion

2019-10-03 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497 --- Comment #20 from kargl at gcc dot gnu.org --- Author: kargl Date: Thu Oct 3 20:46:26 2019 New Revision: 276532 URL: https://gcc.gnu.org/viewcvs?rev=276532=gcc=rev Log: 2019-10-03 Steven G. Kargl PR fortran/91497 *

[Bug c++/91979] Incorrect mangling for non-template-argument nullptr expression

2019-10-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91979 Jonathan Wakely changed: What|Removed |Added Keywords||wrong-code

[Bug c/91980] No diagnostic for type "complex"

2019-10-03 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91980 Andrew Pinski changed: What|Removed |Added Depends on||71613 --- Comment #2 from Andrew Pinski

[Bug c++/91974] function not sequenced before function argument

2019-10-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91974 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c/91980] No diagnostic for type "complex"

2019-10-03 Thread Keith.S.Thompson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91980 --- Comment #3 from Keith Thompson --- Not surprisingly, when I modify my "complex-bug.c" changing #include to #include "complex.h" and add a "complex.h file containing only #define complex _Complex the problem goes away (i.e., the

[Bug inline-asm/91111] [7/8 Regression] arm64 Linux kernel panics at boot due to unexpected register assignment in inline asm

2019-10-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug inline-asm/91111] [7/8 Regression] arm64 Linux kernel panics at boot due to unexpected register assignment in inline asm

2019-10-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9 --- Comment #4 from Jakub Jelinek --- If you are looking for a workaround, perhaps replacing register long x0 asm ("x0") = (long)v; with register long x0 asm ("x0"); asm ("" : "=r" (x0) : "0" (v)); (i.e. affectively hiding from the

[Bug inline-asm/91111] [7/8 Regression] arm64 Linux kernel panics at boot due to unexpected register assignment in inline asm

2019-10-03 Thread will at kernel dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9 --- Comment #2 from Will Deacon --- Sorry to nag, but there's a discussion on LKML [1] about reducing the use of the __always_inline attribute in favour of deferring inlining decisions to the compiler. However, without an understanding of the

[Bug target/91970] arm: 64bit int to double conversion does not respect rounding mode

2019-10-03 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91970 --- Comment #5 from nsz at gcc dot gnu.org --- ok so the real problem is that libgcc does not define FP_INIT_ROUNDMODE and FP_HANDLE_EXCEPTIONS etc for hardfloat arm targets.

[Bug c++/91979] Incorrect mangling for non-template-argument nullptr expression

2019-10-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91979 Jonathan Wakely changed: What|Removed |Added Keywords||ABI --- Comment #1 from Jonathan

[Bug middle-end/91981] New: Speed degradation because of inlining a register clobbering function

2019-10-03 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91981 Bug ID: 91981 Summary: Speed degradation because of inlining a register clobbering function Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords:

[Bug rtl-optimization/91976] [10 regression] RTL check: expected code 'const_int', have 'reg' in emit_block_move_hints, at expr.c:1627

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

[Bug inline-asm/91111] [7/8 Regression] arm64 Linux kernel panics at boot due to unexpected register assignment in inline asm

2019-10-03 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9 --- Comment #5 from ktkachov at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #3) > Bisection shows that on the trunk before r264897 we emit: > casalx30, x1, [x0] > starting with r264897 we ICE and finally starting with

[Bug target/90835] Incompatibilities with macOS 10.15 headers

2019-10-03 Thread jeremyhu at macports dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90835 --- Comment #13 from Jeremy Huddleston Sequoia --- Also note that also already does the following: /* * Compatibility with compilers and environments that don't support compiler * feature checking function-like macros. */ #ifndef

[Bug c++/89695] unexpected copying of trivially copyable prvalue arguments

2019-10-03 Thread matthijsvanduin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89695 --- Comment #4 from Matthijs van Duin --- (In reply to Jonathan Wakely from comment #3) > I believe this is required by the ABI for trivially copyable types. I don't see how that's possible, the callee can't tell the difference.

[Bug target/90835] Incompatibilities with macOS 10.15 headers

2019-10-03 Thread jeremyhu at macports dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90835 Jeremy Huddleston Sequoia changed: What|Removed |Added CC||jeremyhu at macports dot org

[Bug rtl-optimization/91976] [10 regression] RTL check: expected code 'const_int', have 'reg' in emit_block_move_hints, at expr.c:1627

2019-10-03 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91976 --- Comment #5 from Dmitry G. Dyachenko --- r276503 PASS for me Thank you, Jakub

[Bug jit/91928] libgccjit fails on subsequent compilations in ipa-cp

2019-10-03 Thread akrl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91928 --- Comment #1 from akrl at gcc dot gnu.org --- Author: akrl Date: Thu Oct 3 12:39:55 2019 New Revision: 276507 URL: https://gcc.gnu.org/viewcvs?rev=276507=gcc=rev Log: PR jit/91928 * ipa-cp.c (ipa_cp_c_finalize): Release

[Bug fortran/84487] [8/9/10 Regression] Large rodate section increase in 465.tonto with r254427

2019-10-03 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84487 --- Comment #25 from Thomas Koenig --- Author: tkoenig Date: Thu Oct 3 12:39:42 2019 New Revision: 276506 URL: https://gcc.gnu.org/viewcvs?rev=276506=gcc=rev Log: 2019-10-03 Thomas Koenig PR fortran/84487 * trans-decl.c

[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-03 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65342 --- Comment #25 from Iain Sandoe --- I'm going to attach 3 patches, with some comments on how the analysis and testing arrived there - but some background; (for the record) Mach-O/Darwin, on PPC generates code in three different flavours: 1.

[Bug fortran/91963] Logical function does not simplify

2019-10-03 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91963 --- Comment #9 from Thomas Koenig --- (In reply to Thomas Koenig from comment #6) > Somewhat reduced: > > program main > integer, dimension(2), parameter :: n=[1,4] > logical, parameter :: a = logical(.true.,minval([(n(i),i=1,4)])) > end

[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-03 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65342 --- Comment #28 from Iain Sandoe --- Created attachment 46995 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46995=edit [c] Update mem_operand_gpr I started tracing through mem_operand_gpr at this point and discovered that (a) it seems

[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-03 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65342 Iain Sandoe changed: What|Removed |Added Attachment #35039|0 |1 is obsolete|

[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-03 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65342 --- Comment #27 from Iain Sandoe --- Created attachment 46994 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46994=edit [b] Provide a function that checks the DS conditions for Darwin .. so this provides a routine that checks the address

[Bug target/91970] arm: 64bit int to double conversion does not respect rounding mode

2019-10-03 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91970 --- Comment #6 from joseph at codesourcery dot com --- Arm only uses soft-fp for Thumb-1; otherwise it uses Arm-specific assembly code. A natural fix might be, for these particular functions, in the hard-float case, to use the libgcc2.c

[Bug target/91982] New: gcc.target/aarch64/sve/clastb_*.c tests failing with segfault

2019-10-03 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91982 Bug ID: 91982 Summary: gcc.target/aarch64/sve/clastb_*.c tests failing with segfault Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/84487] [8/9 Regression] Large rodate section increase in 465.tonto with r254427

2019-10-03 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84487 Thomas Koenig changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tkoenig at gcc dot gnu.org

[Bug middle-end/91983] New: g++.dg/tree-ssa/pr61034.C regression

2019-10-03 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91983 Bug ID: 91983 Summary: g++.dg/tree-ssa/pr61034.C regression Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end

[Bug target/91982] gcc.target/aarch64/sve/clastb_*.c tests failing with segfault

2019-10-03 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91982 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/91984] New: Handling of __def_init_*

2019-10-03 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91984 Bug ID: 91984 Summary: Handling of __def_init_* Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran