[Bug fortran/91443] -Wargument-mismatch does not catch mismatch for global procedure

2019-08-16 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91443 Janne Blomqvist changed: What|Removed |Added CC||jb at gcc dot gnu.org --- Comment #3

[Bug fortran/91300] Wrong runtime error message with allocate and errmsg=

2019-08-16 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91300 Bug 91300 depends on bug 68401, which changed state. Bug 68401 Summary: improve 'Allocation would exceed memory limit' https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68401 What|Removed |Added

[Bug fortran/68401] improve 'Allocation would exceed memory limit'

2019-08-16 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68401 Janne Blomqvist changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/68401] improve 'Allocation would exceed memory limit'

2019-08-16 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68401 --- Comment #13 from Janne Blomqvist --- Author: jb Date: Sat Aug 17 05:45:37 2019 New Revision: 274599 URL: https://gcc.gnu.org/viewcvs?rev=274599=gcc=rev Log: PR fortran/68401 Improve allocation error message Improve the error message that

[Bug c++/64372] [DR1560] Gratuitous lvalue-to-rvalue conversion in conditional-expression with throw-expression operand

2019-08-16 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64372 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|9.0

[Bug c++/90393] [9/10 Regression] ICE in return statement with a conditional operator, one of the second and third arguments is throw, and the other is a const variable of a class with a nontrivial co

2019-08-16 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90393 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/64372] [DR1560] Gratuitous lvalue-to-rvalue conversion in conditional-expression with throw-expression operand

2019-08-16 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64372 --- Comment #15 from Jason Merrill --- Author: jason Date: Sat Aug 17 01:34:00 2019 New Revision: 274597 URL: https://gcc.gnu.org/viewcvs?rev=274597=gcc=rev Log: PR c++/90393 - ICE with throw in ?: I fixed the DR 1560 implementation

[Bug c++/90393] [9/10 Regression] ICE in return statement with a conditional operator, one of the second and third arguments is throw, and the other is a const variable of a class with a nontrivial co

2019-08-16 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90393 --- Comment #10 from Jason Merrill --- Author: jason Date: Sat Aug 17 01:34:00 2019 New Revision: 274597 URL: https://gcc.gnu.org/viewcvs?rev=274597=gcc=rev Log: PR c++/90393 - ICE with throw in ?: I fixed the DR 1560 implementation

[Bug c++/91477] New: error messages stop including column numbers for large source file

2019-08-16 Thread huili80 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91477 Bug ID: 91477 Summary: error messages stop including column numbers for large source file Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal

[Bug fortran/88076] Shared Memory implementation for Coarrays

2019-08-16 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88076 --- Comment #19 from Jerry DeLisle --- (In reply to Nicolas Koenig from comment #18) > Created attachment 46723 [details] > Compiler Diff > > I accidentally attached an old patch, here is the right one :) And thanks > for helping, Jerry, what

[Bug fortran/78739] ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1477

2019-08-16 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78739 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2019-08-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 35903, which changed state. Bug 35903 Summary: false Warray-bounds warning when passing quoted string to function strcmp(arg,"no"); https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35903 What|Removed

[Bug middle-end/35903] false Warray-bounds warning when passing quoted string to function strcmp(arg,"no");

2019-08-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35903 Martin Sebor changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug tree-optimization/91457] FAIL: g++.dg/warn/Warray-bounds-4.C -std=gnu++98 (test for warnings, line 25)

2019-08-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91457 Martin Sebor changed: What|Removed |Added Keywords||patch Target Milestone|---

[Bug target/91472] gmp testsuite segfaults with gcc-8 and gcc-9, works fine with gcc-7

2019-08-16 Thread matorola at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91472 --- Comment #1 from Anatoly Pugachev --- compiling under gcc-8 but without "-O2" in CFLAGS makes it PASS instead of FAIL (segfault).

[Bug c++/81676] Wrong warning with unused-but-set-parameter within 'if constexpr'

2019-08-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81676 Marek Polacek changed: What|Removed |Added Keywords||patch --- Comment #5 from Marek Polacek

[Bug c++/90885] GCC should warn about 2^16 and 2^32 and 2^64

2019-08-16 Thread david.bolvansky at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90885 --- Comment #20 from Dávid Bolvanský --- Clang implemented [0] this diagnostic under -Wxor-used-as-pow. From user perspective it would be reasonable if GCC follows this naming. [0] https://reviews.llvm.org/D63423

[Bug c++/91475] Optimization causes infinite loop

2019-08-16 Thread eric_musser at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91475 --- Comment #2 from Eric Musser --- But in this case the undefineness is not directly related to the for loop. Further the optimizer that changes the loop to maintain and compare j * 0x2001 as opposed to just j could detect certain overflow

[Bug c++/89179] compiler error: in ggc_set_mark, at ggc-page.c:1532

2019-08-16 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89179 --- Comment #16 from Steve Ellcey --- I built ggc-page.c with GCC_DEBUG_LEVEL 5 and I see: Allocating object, requested size=360, actual=360 at 0x8726c210 on 0x10549200 Freeing object, actual size=360, at 0x8726c210 on 0x10549200 But

[Bug fortran/88076] Shared Memory implementation for Coarrays

2019-08-16 Thread koenigni at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88076 Nicolas Koenig changed: What|Removed |Added Attachment #46714|0 |1 is obsolete|

[Bug c++/85827] false positive for -Wunused-but-set-variable because of constexpr-if

2019-08-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85827 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/85827] false positive for -Wunused-but-set-variable because of constexpr-if

2019-08-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85827 --- Comment #5 from Marek Polacek --- Author: mpolacek Date: Fri Aug 16 20:40:36 2019 New Revision: 274587 URL: https://gcc.gnu.org/viewcvs?rev=274587=gcc=rev Log: PR c++/85827 g++.dg/cpp1z/constexpr-if29.C: New test. Added:

[Bug c/89180] [meta-bug] bogus/missing -Wunused warnings

2019-08-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89180 Bug 89180 depends on bug 85827, which changed state. Bug 85827 Summary: false positive for -Wunused-but-set-variable because of constexpr-if https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85827 What|Removed

[Bug fortran/91473] [10 regression] test case libgomp.fortran/appendix-a/a.28.5.f90 fails starting with r274551

2019-08-16 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91473 --- Comment #5 from seurer at gcc dot gnu.org --- For what it's worth several spec 2000 tests also won't compile any more after this revision. I guess -std=legacy all around!

[Bug c++/91475] Optimization causes infinite loop

2019-08-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91475 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/91476] New: const reference variables sharing the same name in two anonymous namespaces cause a multiple definition error

2019-08-16 Thread abbeyj+gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91476 Bug ID: 91476 Summary: const reference variables sharing the same name in two anonymous namespaces cause a multiple definition error Product: gcc Version: 9.1.0 Status:

[Bug c++/91475] New: Optimization causes infinite loop

2019-08-16 Thread eric_musser at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91475 Bug ID: 91475 Summary: Optimization causes infinite loop Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/85827] false positive for -Wunused-but-set-variable because of constexpr-if

2019-08-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85827 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/91474] New: Internal compiler error when building mabi=32 mips64-elf cross-compiler: segfault in parallel_settings.cc

2019-08-16 Thread joey.dumont at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91474 Bug ID: 91474 Summary: Internal compiler error when building mabi=32 mips64-elf cross-compiler: segfault in parallel_settings.cc Product: gcc Version: 9.1.0

[Bug fortran/91471] f951: internal compiler error: gfc_variable_attr(): Bad array reference

2019-08-16 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91471 kargl at gcc dot gnu.org changed: What|Removed |Added Keywords|ice-on-valid-code | Priority|P3

[Bug fortran/91473] [10 regression] test case libgomp.fortran/appendix-a/a.28.5.f90 fails starting with r274551

2019-08-16 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91473 --- Comment #4 from Thomas Koenig --- (In reply to seurer from comment #0) > make -k check-target-libgomp > RUNTESTFLAGS=fortran.exp=libgomp.fortran/appendix-a/a.28.5.f90 > > FAIL: libgomp.fortran/appendix-a/a.28.5.f90 -O (test for excess

[Bug tree-optimization/91109] [10 regression][arm] gcc.c-torture/execute/20040709-1.c fails since r273135

2019-08-16 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91109 --- Comment #19 from Bernd Edlinger --- Hope all is now working again.

[Bug fortran/88076] Shared Memory implementation for Coarrays

2019-08-16 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88076 --- Comment #17 from Jerry DeLisle --- I am getting this at the moment after applying patches to trunk. ../../trunk/gcc/fortran/trans-stmt.c: In function ‘tree_node* gfc_trans_deallocate(gfc_code*)’: ../../trunk/gcc/fortran/trans-stmt.c:6925:4:

[Bug tree-optimization/91109] [10 regression][arm] gcc.c-torture/execute/20040709-1.c fails since r273135

2019-08-16 Thread edlinger at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91109 --- Comment #18 from Bernd Edlinger --- Author: edlinger Date: Fri Aug 16 16:37:04 2019 New Revision: 274578 URL: https://gcc.gnu.org/viewcvs?rev=274578=gcc=rev Log: 2019-08-16 Bernd Edlinger Backport from mainline

[Bug tree-optimization/91109] [10 regression][arm] gcc.c-torture/execute/20040709-1.c fails since r273135

2019-08-16 Thread edlinger at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91109 --- Comment #17 from Bernd Edlinger --- Author: edlinger Date: Fri Aug 16 16:31:13 2019 New Revision: 274577 URL: https://gcc.gnu.org/viewcvs?rev=274577=gcc=rev Log: 2019-08-16 Bernd Edlinger Backport from mainline

[Bug fortran/68401] improve 'Allocation would exceed memory limit'

2019-08-16 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68401 Janne Blomqvist changed: What|Removed |Added URL||https://gcc.gnu.org/ml/gcc-

[Bug tree-optimization/18487] Warnings for pure and const functions that are not actually pure or const

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

[Bug fortran/88076] Shared Memory implementation for Coarrays

2019-08-16 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88076 --- Comment #16 from Jerry DeLisle --- (In reply to Steve Kargl from comment #15) > On Wed, Aug 14, 2019 at 08:33:04PM +, koenigni at gcc dot gnu.org wrote: > > > > Yes, I'm still working on it (slowly, though, sorry :( ). Here is a diff of

[Bug preprocessor/77672] wrong rich location in warning: writing a terminating nul past the end

2019-08-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77672 Martin Sebor changed: What|Removed |Added Status|WAITING |RESOLVED Known to work|

[Bug libstdc++/90415] [9/10 Regression] std::is_copy_constructible> is incomplete

2019-08-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90415 --- Comment #9 from Jonathan Wakely --- (In reply to Lei YU from comment #7) > Additional information. > > std::experimental::fundamentals_v1::any has no problem, so the below code > compiles fine. The difference is that std::experimental::any

[Bug testsuite/91458] FAIL: g++.dg/tree-ssa/pr19807.C -std=gnu++98 scan-tree-dump-times optimized "\\\\[\\\\(void .\\\\) \\\\+ 8B\\\\]" 3

2019-08-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91458 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug testsuite/91458] FAIL: g++.dg/tree-ssa/pr19807.C -std=gnu++98 scan-tree-dump-times optimized "\\\\[\\\\(void .\\\\) \\\\+ 8B\\\\]" 3

2019-08-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91458 --- Comment #4 from Martin Sebor --- Author: msebor Date: Fri Aug 16 15:47:25 2019 New Revision: 274574 URL: https://gcc.gnu.org/viewcvs?rev=274574=gcc=rev Log: PR testsuite/91458 gcc/testsuite/ChangeLog: * g++.dg/tree-ssa/pr19807.C:

[Bug middle-end/90676] default GIMPLE dumps lack information

2019-08-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90676 --- Comment #10 from Martin Sebor --- Author: msebor Date: Fri Aug 16 15:47:25 2019 New Revision: 274574 URL: https://gcc.gnu.org/viewcvs?rev=274574=gcc=rev Log: PR testsuite/91458 gcc/testsuite/ChangeLog: * g++.dg/tree-ssa/pr19807.C:

[Bug libstdc++/91456] std::function and std::is_invocable_r do not understand guaranteed elision

2019-08-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91456 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |9.3 --- Comment #3 from Jonathan

[Bug libstdc++/91371] std::bind and bind_front don't work with function with call convention

2019-08-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91371 Jonathan Wakely changed: What|Removed |Added Keywords||patch, rejects-valid

[Bug rtl-optimization/91347] [7/8/9/10 Regression] pointer_string in linux vsprintf.c is miscompiled when sibling calls are optimized

2019-08-16 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91347 --- Comment #10 from John David Anglin --- (In reply to Eric Botcazou from comment #6) > This looks similar to PR target/55023. Yes. Looking at how scan_insn() evolved since PR target/55023, it is clear why this is a regression.

[Bug tree-optimization/91109] [10 regression][arm] gcc.c-torture/execute/20040709-1.c fails since r273135

2019-08-16 Thread edlinger at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91109 --- Comment #16 from Bernd Edlinger --- Author: edlinger Date: Fri Aug 16 15:34:47 2019 New Revision: 274573 URL: https://gcc.gnu.org/viewcvs?rev=274573=gcc=rev Log: 2019-08-16 Bernd Edlinger PR tree-optimization/91109 *

[Bug testsuite/91458] FAIL: g++.dg/tree-ssa/pr19807.C -std=gnu++98 scan-tree-dump-times optimized "\\\\[\\\\(void .\\\\) \\\\+ 8B\\\\]" 3

2019-08-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91458 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug testsuite/91458] FAIL: g++.dg/tree-ssa/pr19807.C -std=gnu++98 scan-tree-dump-times optimized "\\\\[\\\\(void .\\\\) \\\\+ 8B\\\\]" 3

2019-08-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91458 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/91473] [10 regression] test case libgomp.fortran/appendix-a/a.28.5.f90 fails starting with r274551

2019-08-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91473 --- Comment #3 from H.J. Lu --- It looks like -std=legacy is needed for wrf.

[Bug fortran/91473] [10 regression] test case libgomp.fortran/appendix-a/a.28.5.f90 fails starting with r274551

2019-08-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91473 --- Comment #2 from H.J. Lu --- In case of wrf, there are INTEGER :: Field(*) INTEGER :: FieldType ... ELSE IF ( FieldType .EQ. WRF_INTEGER ) THEN CALL

[Bug fortran/91473] [10 regression] test case libgomp.fortran/appendix-a/a.28.5.f90 fails starting with r274551

2019-08-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91473 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #1

[Bug sanitizer/91115] stack-buffer-overflow on memset local variable when creating thread on ARM Linux

2019-08-16 Thread fhsueh at roku dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91115 --- Comment #6 from Fred Hsueh --- Sorry for the long silence ... more on this: I tracked down where the std::thread() that was causing this issue. It seems that there are many similar long running tasks that needs to be completed so we keep a

[Bug c++/81676] Wrong warning with unused-but-set-parameter within 'if constexpr'

2019-08-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81676 --- Comment #4 from Marek Polacek --- The problem seems to be that we're losing DECL_READ_P on the parm_decl v.

[Bug fortran/91473] New: [10 regression] test case libgomp.fortran/appendix-a/a.28.5.f90 fails starting with r274551

2019-08-16 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91473 Bug ID: 91473 Summary: [10 regression] test case libgomp.fortran/appendix-a/a.28.5.f90 fails starting with r274551 Product: gcc Version: 10.0 Status:

[Bug c++/81676] Wrong warning with unused-but-set-parameter within 'if constexpr'

2019-08-16 Thread vittorio.romeo at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81676 Vittorio Romeo changed: What|Removed |Added CC||vittorio.romeo at outlook dot com ---

[Bug target/91469] [10 Regression] ICE in extract_insn, at recog.c:2310 since r274481

2019-08-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91469 --- Comment #9 from Richard Biener --- Author: rguenth Date: Fri Aug 16 13:17:04 2019 New Revision: 274570 URL: https://gcc.gnu.org/viewcvs?rev=274570=gcc=rev Log: 2019-08-16 Richard Biener PR target/91469 *

[Bug target/91469] [10 Regression] ICE in extract_insn, at recog.c:2310 since r274481

2019-08-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91469 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/91109] [10 regression][arm] gcc.c-torture/execute/20040709-1.c fails since r273135

2019-08-16 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91109 --- Comment #15 from Christophe Lyon --- Since r274532 (gcc-9-branch), I am seeing: FAIL: gcc.c-torture/execute/20040709-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects execution test target arm-none-linux-gnueabi --with-mode arm

[Bug rtl-optimization/91347] [7/8/9/10 Regression] pointer_string in linux vsprintf.c is miscompiled when sibling calls are optimized

2019-08-16 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91347 --- Comment #9 from dave.anglin at bell dot net --- On 2019-08-16 5:47 a.m., ebotcazou at gcc dot gnu.org wrote: > Created attachment 46721 > --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46721=edit > Tentative fix Testing.  Looking at

[Bug c/91472] New: gmp testsuite segfaults with gcc-8 and gcc-9, works fine with gcc-7

2019-08-16 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91472 Bug ID: 91472 Summary: gmp testsuite segfaults with gcc-8 and gcc-9, works fine with gcc-7 Product: gcc Version: 8.0 URL:

[Bug libstdc++/91067] [9/10 Regression] Clang compiler can't link executable if std::filesystem::directory_iterator is encountered

2019-08-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91067 --- Comment #16 from Jonathan Wakely --- Except -O0, which is what I find surprising.

[Bug libstdc++/91067] [9/10 Regression] Clang compiler can't link executable if std::filesystem::directory_iterator is encountered

2019-08-16 Thread ostash at ostash dot kiev.ua
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91067 --- Comment #15 from Viktor Ostashevskyi --- (In reply to Jonathan Wakely from comment #14) > I can reproduce the link failure. For some reason Clang requires that > constructor at -O1, but not at any other optimization level. It will require

[Bug libstdc++/91067] [9/10 Regression] Clang compiler can't link executable if std::filesystem::directory_iterator is encountered

2019-08-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91067 Jonathan Wakely changed: What|Removed |Added Keywords||link-failure

[Bug libstdc++/91067] [9/10 Regression] Clang compiler can't link executable if std::filesystem::directory_iterator is encountered

2019-08-16 Thread ostash at ostash dot kiev.ua
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91067 --- Comment #13 from Viktor Ostashevskyi --- (In reply to Jonathan Wakely from comment #12) > I didn't export that because nothing should need it. Nothing in libstdc++ > derives from __shared_ptr<_Dir> and nothing in user code is allowed to

[Bug libstdc++/91067] [9/10 Regression] Clang compiler can't link executable if std::filesystem::directory_iterator is encountered

2019-08-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91067 --- Comment #12 from Jonathan Wakely --- I didn't export that because nothing should need it. Nothing in libstdc++ derives from __shared_ptr<_Dir> and nothing in user code is allowed to refer to that type, because it's an implementation detail.

[Bug rtl-optimization/91347] [7/8/9/10 Regression] pointer_string in linux vsprintf.c is miscompiled when sibling calls are optimized

2019-08-16 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91347 --- Comment #8 from Eric Botcazou --- Created attachment 46721 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46721=edit Tentative fix Please give it a try on the PA.

[Bug rtl-optimization/91347] [7/8/9/10 Regression] pointer_string in linux vsprintf.c is miscompiled when sibling calls are optimized

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

[Bug libstdc++/91371] std::bind and bind_front don't work with function with call convention

2019-08-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91371 --- Comment #6 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #5) > template This needs to exclude pointers as well as class types, because ... > struct is_referenceable_function : false_type { }; > > template > struct

[Bug fortran/91471] New: f951: internal compiler error: gfc_variable_attr(): Bad array reference

2019-08-16 Thread SameeranJayant.Joshi at amd dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91471 Bug ID: 91471 Summary: f951: internal compiler error: gfc_variable_attr(): Bad array reference Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug rtl-optimization/91347] [7/8/9/10 Regression] pointer_string in linux vsprintf.c is miscompiled when sibling calls are optimized

2019-08-16 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91347 --- Comment #6 from Eric Botcazou --- This looks similar to PR target/55023.

[Bug other/91255] Can't use define_subst in target that uses set_attr_alternative

2019-08-16 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91255 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug other/91255] Can't use define_subst in target that uses set_attr_alternative

2019-08-16 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91255 --- Comment #2 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Fri Aug 16 09:32:36 2019 New Revision: 274564 URL: https://gcc.gnu.org/viewcvs?rev=274564=gcc=rev Log: [gensupport] PR 91255: Do not error out immediately on

[Bug libstdc++/91067] [9/10 Regression] Clang compiler can't link executable if std::filesystem::directory_iterator is encountered

2019-08-16 Thread ostash at ostash dot kiev.ua
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91067 --- Comment #11 from Viktor Ostashevskyi --- I assume that problem comes from explicit instantiation: extern template class __shared_ptr; which was added in c8fb3443911413cc88f316305fc6b7bf4861ccaa. It prevent Clang in emitting "C2" version

[Bug tree-optimization/91470] [10 Regression] bogus uninitialized warning in trans-intrinsic.c

2019-08-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91470 Richard Biener changed: What|Removed |Added Keywords||diagnostic, needs-reduction

[Bug tree-optimization/91470] [10 Regression] bogus uninitialized warning in trans-intrinsic.c

2019-08-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91470 --- Comment #1 from Richard Biener --- Created attachment 46720 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46720=edit unreduced testcase A bit reduced testcase from trans-intrinsic.c (in case it goes latent there due to changes).

[Bug tree-optimization/91470] New: [10 Regression] bogus uninitialized warning in trans-intrinsic.c

2019-08-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91470 Bug ID: 91470 Summary: [10 Regression] bogus uninitialized warning in trans-intrinsic.c Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/91067] [9/10 Regression] Clang compiler can't link executable if std::filesystem::directory_iterator is encountered

2019-08-16 Thread ostash at ostash dot kiev.ua
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91067 Viktor Ostashevskyi changed: What|Removed |Added CC||ostash at ostash dot kiev.ua ---

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2019-08-16 Thread avieira at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 91460, which changed state. Bug 91460 Summary: gcc -mpreferred-vector-width=256 is slower than -mpreferred-vector-width=128 for some loops https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91460 What|Removed

[Bug tree-optimization/88915] Try smaller vectorisation factors in scalar fallback

2019-08-16 Thread avieira at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88915 avieira at gcc dot gnu.org changed: What|Removed |Added CC||skpgkp2 at gmail dot com

[Bug tree-optimization/91460] gcc -mpreferred-vector-width=256 is slower than -mpreferred-vector-width=128 for some loops

2019-08-16 Thread avieira at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91460 avieira at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug sanitizer/87880] [9 regression] All macOS asan execution tests FAIL

2019-08-16 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87880 Iain Sandoe changed: What|Removed |Added Status|WAITING |NEW Summary|[9/10 regression]

[Bug tree-optimization/91459] Tail-Call Optimization is not performed when return value is assumed.

2019-08-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91459 --- Comment #3 from Andrew Pinski --- Part of that might be because of: // predicted unlikely by early return (on trees) predictor. That seems not true, the other side is more unlikely ...

[Bug target/91469] [10 Regression] ICE in extract_insn, at recog.c:2310 since r274481

2019-08-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91469 --- Comment #7 from Richard Biener --- Elsewhere we have sth with similar effect, but only disqualifying toplevel MEM. if (!MEM_P (src)) { replace_with_subreg_in_insn (insn, reg, reg); bitmap_clear_bit (conv,

[Bug target/91469] [10 Regression] ICE in extract_insn, at recog.c:2310 since r274481

2019-08-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91469 --- Comment #6 from Richard Biener --- The result is correct at least, so testing this patch. (insn 72 69 14 3 (set (reg:SI 115) (mem:SI (plus:SI (mult:SI (reg/v:SI 92 [ _23 ]) (const_int 4 [0x4]))

[Bug target/91469] [10 Regression] ICE in extract_insn, at recog.c:2310 since r274481

2019-08-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91469 --- Comment #5 from Richard Biener --- Index: gcc/config/i386/i386-features.c === --- gcc/config/i386/i386-features.c (revision 274536) +++ gcc/config/i386/i386-features.c

[Bug ipa/91447] [10 Regression] FAIL: g++.dg/ipa/ipa-icf-4.C -std=gnu++98 scan-ipa-dump icf

2019-08-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91447 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/91469] [10 Regression] ICE in extract_insn, at recog.c:2310 since r274481

2019-08-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91469 --- Comment #4 from Richard Biener --- (In reply to Uroš Bizjak from comment #3) > STV converts the register in address: > > (insn 14 56 15 3 (parallel [ > (set (reg/v:SI 90 [ f ]) > (umax:SI (reg/v:SI 92 [ _23 ]) >

[Bug ipa/91447] [10 Regression] FAIL: g++.dg/ipa/ipa-icf-4.C -std=gnu++98 scan-ipa-dump icf

2019-08-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91447 --- Comment #4 from Martin Liška --- Author: marxin Date: Fri Aug 16 08:10:55 2019 New Revision: 274562 URL: https://gcc.gnu.org/viewcvs?rev=274562=gcc=rev Log: Add missed to a opt-info dump. 2019-08-16 Martin Liska PR ipa/91447

[Bug target/91469] [10 Regression] ICE in extract_insn, at recog.c:2310 since r274481

2019-08-16 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91469 --- Comment #3 from Uroš Bizjak --- STV converts the register in address: (insn 14 56 15 3 (parallel [ (set (reg/v:SI 90 [ f ]) (umax:SI (reg/v:SI 92 [ _23 ]) (mem:SI (plus:SI (mult:SI (reg/v:SI

[Bug target/91469] [10 Regression] ICE in extract_insn, at recog.c:2310 since r274481

2019-08-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91469 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c/91463] missing -Warray-bounds accessing past the end of a statically initialized flexible array member

2019-08-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91463 Richard Biener changed: What|Removed |Added Component|middle-end |c --- Comment #2 from Richard Biener

[Bug target/91469] [10 Regression] ICE in extract_insn, at recog.c:2310 since r274481

2019-08-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91469 --- Comment #1 from Martin Liška --- And one similar issue: $ cat ice2.i int a, b, c, d; int *e; void fn1() { b = c > 0 ? c : 0; d += e[b]; a = d > 0 ? d : 0; } $ gcc -Os -m32 --param scev-max-expr-size=0 -mavx512vnni -funroll-all-loops

[Bug middle-end/91462] [8/9/10 Regression] missing -Warray-bounds writing to an empty flexible array member in a ctor

2019-08-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91462 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Target

[Bug tree-optimization/91460] gcc -mpreferred-vector-width=256 is slower than -mpreferred-vector-width=128 for some loops

2019-08-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91460 Richard Biener changed: What|Removed |Added Target|i386|x86_64-*-*, i?86-*-*,

[Bug tree-optimization/91459] Tail-Call Optimization is not performed when return value is assumed.

2019-08-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91459 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug testsuite/91458] FAIL: g++.dg/tree-ssa/pr19807.C -std=gnu++98 scan-tree-dump-times optimized "\\\\[\\\\(void .\\\\) \\\\+ 8B\\\\]" 3

2019-08-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91458 Richard Biener changed: What|Removed |Added CC||msebor at gcc dot gnu.org

[Bug target/91469] [10 Regression] ICE in extract_insn, at recog.c:2310 since r274481

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

[Bug target/91469] New: [10 Regression] ICE in extract_insn, at recog.c:2310 since r274481

2019-08-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91469 Bug ID: 91469 Summary: [10 Regression] ICE in extract_insn, at recog.c:2310 since r274481 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords:

[Bug ipa/91468] Suspicious codes in ipa-prop.c and ipa-cp.c

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

  1   2   >