[Bug libbacktrace/95012] [mingw/gcc10.1] mmapio.c:69:14: error: implicit declaration of function ‘getpagesize’

2020-05-09 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95012 Ian Lance Taylor changed: What|Removed |Added CC||ian at airs dot com --- Comment #2

[Bug c/95024] No way to pass "-Wno-error=..." with #pragma GCC diagnostic

2020-05-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95024 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |--- Status|RESOLVED

[Bug target/95030] New: Conflicting report about VIA eden's AVX capabilities

2020-05-09 Thread arthur200126 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95030 Bug ID: 95030 Summary: Conflicting report about VIA eden's AVX capabilities Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/95029] Compile error when using constant variable instead of literal

2020-05-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95029 --- Comment #3 from Andrew Pinski --- > PacketFragmenting frag(MaxPacketSize(MAX_PACKET_SIZE), PhySize(PHY_SIZE)); I was going to say this defines a function, frag which takes MaxPacketSize and PhySize as arguments and returns

[Bug awt/26428] Java - number sub

2020-05-09 Thread bcrnqfdjdpgxcmghmp at awdrt dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26428 Geof Donaralma changed: What|Removed |Added Resolution|INVALID |MOVED Status|RESOLVED

[Bug c++/95029] Compile error when using constant variable instead of literal

2020-05-09 Thread maxi.matthe at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95029 --- Comment #2 from Maximilian Matthe --- Unfortunately, this seems to be a hard-to-spot case of the most vexing parse (just tried with clang, whose warning pointed me into that direction).

[Bug c++/95029] Compile error when using constant variable instead of literal

2020-05-09 Thread maxi.matthe at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95029 --- Comment #1 from Maximilian Matthe --- Created attachment 48495 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48495=edit The corresponding .ii-file

[Bug c++/95029] New: Compile error when using constant variable instead of literal

2020-05-09 Thread maxi.matthe at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95029 Bug ID: 95029 Summary: Compile error when using constant variable instead of literal Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal

[Bug libbacktrace/88745] Darwin lacks an implementation for libbacktrace

2020-05-09 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88745 Ian Lance Taylor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libbacktrace/88745] Darwin lacks an implementation for libbacktrace

2020-05-09 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88745 --- Comment #11 from CVS Commits --- The master branch has been updated by Ian Lance Taylor : https://gcc.gnu.org/g:dea40c941a4d443d1b748bafb8a74f02c360e810 commit r11-251-gdea40c941a4d443d1b748bafb8a74f02c360e810 Author: Ian Lance Taylor

[Bug analyzer/94851] -fanalyzer erroneously reporting NULL dereference - simple test case attached

2020-05-09 Thread hugo_musso_gualandi at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94851 --- Comment #5 from Hugo Gualandi --- Hi, I came across a similar problem and I think I might have found a smaller test case. gcc complains about a NULL pointer dereference in the p->next despite the loop condition testing that p is not NULL.

[Bug analyzer/94851] -fanalyzer erroneously reporting NULL dereference - simple test case attached

2020-05-09 Thread hugo_musso_gualandi at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94851 --- Comment #4 from Hugo Gualandi --- Created attachment 48493 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48493=edit Another test case (-O2)

[Bug analyzer/94851] -fanalyzer erroneously reporting NULL dereference - simple test case attached

2020-05-09 Thread hugo_musso_gualandi at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94851 Hugo Gualandi changed: What|Removed |Added CC||hugo_musso_gualandi@hotmail

[Bug c++/95028] New: ICE in g++ (Arch Linux 9.3.0-1) 9.3.0 with captured OMP reduce clause in lambda

2020-05-09 Thread fytch at protonmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95028 Bug ID: 95028 Summary: ICE in g++ (Arch Linux 9.3.0-1) 9.3.0 with captured OMP reduce clause in lambda Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c/95027] -fdiagnostics-urls generates wrong URLs

2020-05-09 Thread harald at gigawatt dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95027 Harald van Dijk changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/95027] New: -fdiagnostics-urls generates wrong URLs

2020-05-09 Thread harald at gigawatt dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95027 Bug ID: 95027 Summary: -fdiagnostics-urls generates wrong URLs Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/95024] No way to pass "-Wno-error=..." with #pragma GCC diagnostic

2020-05-09 Thread colomar.6.4.3 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95024 --- Comment #2 from Alejandro Colomar --- If I use #pragma GCC diagnostic ignored "-Wconversion" I will loose the warning. I still want the warning, but not the error. That's what I have right now as a workaround, but it's not what I want.

[Bug analyzer/95026] New: "leak of FILE" false positive [CWE-775] [-Wanalyzer-file-leak]

2020-05-09 Thread vincent-gcc at vinc17 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95026 Bug ID: 95026 Summary: "leak of FILE" false positive [CWE-775] [-Wanalyzer-file-leak] Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal

[Bug regression/95025] [11 Regression] ICE in execute_sm_exit at gcc/tree-ssa-loop-im.c:2224 since r11-161-g283cb9ea6293e813

2020-05-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95025 Martin Liška changed: What|Removed |Added Known to work||10.1.0 Version|10.0

[Bug regression/95025] New: [11 Regression] ICE in execute_sm_exit at gcc/tree-ssa-loop-im.c:2224 since r11-161-g283cb9ea6293e813

2020-05-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95025 Bug ID: 95025 Summary: [11 Regression] ICE in execute_sm_exit at gcc/tree-ssa-loop-im.c:2224 since r11-161-g283cb9ea6293e813 Product: gcc Version: 10.0

[Bug c++/80711] warn on non-const accessor member functions

2020-05-09 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80711 --- Comment #10 from David Binderman --- (In reply to Jonathan Wakely from comment #9) > (In reply to David Binderman from comment #8) > > My opinion is that a first approximation at implementation in gcc would > > merely look for C++ member

[Bug c/95024] No way to pass "-Wno-error=..." with #pragma GCC diagnostic

2020-05-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95024 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug target/94770] class with empty base passed incorrectly with -std=c++17 on mingw

2020-05-09 Thread sbence92 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94770 --- Comment #14 from Bence Szabó --- (In reply to Jakub Jelinek from comment #13) > Completely untested WIP patch: Results with ead1c27a530 + this patch: The same tests fail as in the original description, t032 and t059 crash/pass the same way

[Bug c/95024] New: No way to pass "-Wno-error=..." with #pragma GCC diagnostic

2020-05-09 Thread colomar.6.4.3 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95024 Bug ID: 95024 Summary: No way to pass "-Wno-error=..." with #pragma GCC diagnostic Product: gcc Version: 10.1.1 Status: UNCONFIRMED Severity: normal

[Bug middle-end/95021] [10/11 Regression] Bogus -Wclobbered warning

2020-05-09 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95021 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug fortran/93499] ICE in gfc_zero_size_array, at fortran/arith.c:1686

2020-05-09 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93499 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot

[Bug c++/80711] warn on non-const accessor member functions

2020-05-09 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80711 --- Comment #9 from Jonathan Wakely --- (In reply to David Binderman from comment #8) > My opinion is that a first approximation at implementation in gcc would > merely look for C++ member functions that are return statements only. > More fancy

[Bug testsuite/95008] [11 regression] excess errors in gcc.dg/analyzer/pr93382.c and gcc.dg/two-types-6.c after r11-169

2020-05-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95008 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org

[Bug target/95023] New: Offloading AMD GCN wiki cannot be followed

2020-05-09 Thread xw111luoye at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95023 Bug ID: 95023 Summary: Offloading AMD GCN wiki cannot be followed Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug testsuite/95008] [11 regression] excess errors in gcc.dg/analyzer/pr93382.c and gcc.dg/two-types-6.c after r11-169

2020-05-09 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95008 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:8415ced06ed9690dfbce8b8b5f2f4f98f15598b6 commit r11-236-g8415ced06ed9690dfbce8b8b5f2f4f98f15598b6 Author: Jakub Jelinek Date:

[Bug c++/66439] Diagnostic on failed function template lookup is missing a line

2020-05-09 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66439 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/95022] New: ICE: expected integer_cst, have call_expr

2020-05-09 Thread john at mcfarlane dot name
FOR A PARTICULAR PURPOSE. Build from SHA a33649e6: john@carbon:~/ws/gcc/build$ ~/gcc-a33649e6/bin/g++ --version g++ (GCC) 11.0.0 20200509 (experimental) Copyright © 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even

[Bug c++/86826] deduction fails on auto-returning function template

2020-05-09 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86826 Patrick Palka changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug c++/78446] Ambiguous member lookup for operator() in a function call expression treated as hard error in SFINAE context

2020-05-09 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78446 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug middle-end/95021] New: [10/11 Regression] Bogus -Wclobbered warning

2020-05-09 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95021 Bug ID: 95021 Summary: [10/11 Regression] Bogus -Wclobbered warning Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/95018] [10/11 Regression] Excessive unrolling for Fortran library array handling

2020-05-09 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95018 --- Comment #7 from Thomas Koenig --- Just checked aarch64, and that also isn't affected: tkoenig@gcc116:~/gcc-bin/aarch64-unknown-linux-gnu/libgfortran$ objdump --disassemble in_pack_i4.o | wc -l 95

[Bug c++/95020] New: requires expression always evaluates to true in the definition of template lambda defined within template function

2020-05-09 Thread okannen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95020 Bug ID: 95020 Summary: requires expression always evaluates to true in the definition of template lambda defined within template function Product: gcc Version:

[Bug c++/95003] coroutines: Wrong code for some reference capture cases.

2020-05-09 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95003 Iain Sandoe changed: What|Removed |Added CC||lewissbaker.opensource@gmai

[Bug c++/95017] [coroutines] Failure to generate code for co_yield expression if its the only statement in a loop

2020-05-09 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95017 Iain Sandoe changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug objc++/95013] [11 Regression] FAIL: obj-c++.dg/property/property-neg-6.mm syntax-error-10.mm

2020-05-09 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95013 --- Comment #2 from Iain Sandoe --- please would you identify the platform(s) and configuration conditions? I don't see these on at least x86_64-linux-gnu, powerpc64-linux-gnu (m32, m64) or on Darwin15, 18, 19 (m32, m64) at r11-196

[Bug target/95018] [10/11 Regression] Excessive unrolling for Fortran library array handling

2020-05-09 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95018 Thomas Koenig changed: What|Removed |Added Summary|[11 Regression] Excessive |[10/11 Regression]

[Bug objc++/95013] [11 Regression] FAIL: obj-c++.dg/property/property-neg-6.mm syntax-error-10.mm

2020-05-09 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95013 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org,

[Bug target/95018] [11 Regression] Excessive unrolling for Fortran library array handling

2020-05-09 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95018 --- Comment #5 from Thomas Koenig --- For 9.3.0, I get $ objdump --disassemble in_pack_i4.o | wc -l 123

[Bug target/95018] [11 Regression] Excessive unrolling for Fortran library array handling

2020-05-09 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95018 --- Comment #4 from Thomas Koenig --- 9.3.0 is also not affected.

[Bug c++/80711] warn on non-const accessor member functions

2020-05-09 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80711 --- Comment #8 from David Binderman --- (In reply to Jonathan Wakely from comment #7) > struct indirect_cmp { > static int counter; > bool operator()(const X* l, const X* r) { > ++counter; > return *l < *r; > } > }; > > int

[Bug target/95018] [11 Regression] Excessive unrolling for Fortran library array handling

2020-05-09 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95018 Thomas Koenig changed: What|Removed |Added Target Milestone|--- |11.0 Summary|Excessive

[Bug c++/80711] warn on non-const accessor member functions

2020-05-09 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80711 --- Comment #7 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #2) > Also useful would be to warn for members that don't access any state at all: > > struct indirect_cmp { > bool operator()(const X* l, const X* r) { return

[Bug c++/94983] Empty list initialization of aggregate class with deleted default ctor rejected in C++14 and C++17

2020-05-09 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94983 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/95019] New: Optimizer produces suboptimal code related to -ftree-ivopts

2020-05-09 Thread zhongyunde at tom dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95019 Bug ID: 95019 Summary: Optimizer produces suboptimal code related to -ftree-ivopts Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug target/95018] Excessive unrolling for Fortran library array handling

2020-05-09 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95018 --- Comment #2 from Thomas Koenig --- Created attachment 48490 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48490=edit -fdump-tree-optimized dumpj Finally, the -fdump-tree-optimized dump. Unrolling already appears to happen in the

[Bug target/95018] Excessive unrolling for Fortran library array handling

2020-05-09 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95018 --- Comment #1 from Thomas Koenig --- Created attachment 48489 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48489=edit Preprocessed source

[Bug target/95018] New: Excessive unrolling for Fortran library array handling

2020-05-09 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95018 Bug ID: 95018 Summary: Excessive unrolling for Fortran library array handling Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug bootstrap/95005] zstd.h not found if installed in non-system prefix

2020-05-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95005 Martin Liška changed: What|Removed |Added Last reconfirmed||2020-05-09 Assignee|unassigned