[Bug debug/94868] GCC compile error(GCC-4.6.3)

2020-05-08 Thread zhaojing2 at longcheer dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94868 --- Comment #3 from Zhao Jing --- Dear Richard Biener: I have already compiled it in GCC-9.3.0. Thanks

[Bug target/93372] cris performance regressions due to de-cc0 work

2020-05-08 Thread hp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93372 --- Comment #3 from Hans-Peter Nilsson --- In https://gcc.gnu.org/pipermail/gcc-patches/2020-May/545452.html I mentioned a performance-regression with coremark, from 5227456 cycles (with cc0) to 5238564 (CC_REG), which is about 0.21%.

[Bug target/93372] cris performance regressions due to de-cc0 work

2020-05-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93372 --- Comment #2 from CVS Commits --- The master branch has been updated by Hans-Peter Nilsson : https://gcc.gnu.org/g:27228024598c3515389cdb378346433fb2c48551 commit r11-222-g27228024598c3515389cdb378346433fb2c48551 Author: Hans-Peter Nilsson

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

2020-05-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80711 --- Comment #6 from Martin Sebor --- You're right, there is a substantial difference between attributes const/pure and constness in the C/C++ sense. A warning that detects missing const on member functions (i.e., this request) is implementable

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

2020-05-08 Thread lewissbaker.opensource at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95017 --- Comment #1 from Lewis Baker --- Created attachment 48487 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48487=edit test.cpp

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

2020-05-08 Thread lewissbaker.opensource at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95017 Bug ID: 95017 Summary: [coroutines] Failure to generate code for co_yield expression if its the only statement in a loop Product: gcc Version: 10.0 Status: UNCONFIRMED

[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-08 Thread manfred99 at gmx dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95008 --- Comment #2 from Manfred Schwarb --- gcc.dg/analyzer/pr93382.c: Sorry, I can't reproduce, this test passes for me. gcc.dg/two-types-6.c: My bad, I forgot to mention this failure, as this test did not make sense to me. I could not determine

[Bug middle-end/94940] [10/11 Regression] spurious -Warray-bounds for a zero length array member of union since r10-4300-g49fb45c81f4ac068

2020-05-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94940 Martin Sebor changed: What|Removed |Added Keywords|missed-optimization |patch Assignee|unassigned at

[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-08 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95008 Rainer Orth changed: What|Removed |Added CC||ro at gcc dot gnu.org --- Comment #1 from

[Bug c++/95016] [DR 2082] Referring to parameters in unevaluated operands of default arguments

2020-05-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95016 Marek Polacek changed: What|Removed |Added Last reconfirmed||2020-05-08

[Bug c++/95016] New: [DR 2082] Referring to parameters in unevaluated operands of default arguments

2020-05-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95016 Bug ID: 95016 Summary: [DR 2082] Referring to parameters in unevaluated operands of default arguments Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/94404] [meta-bug] C++ core issues

2020-05-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94404 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug other/94629] 10 issues located by the PVS-studio static analyzer

2020-05-08 Thread leo at yuriev dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94629 --- Comment #24 from Leo Yuriev --- So, seems that all done and this issue should be closed?

[Bug c/95011] Error building gcc 10.1.0 on macOS Catalina with Xcode 11.4.1

2020-05-08 Thread mario_grgic at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95011 mario_grgic at hotmail dot com changed: What|Removed |Added Resolution|--- |INVALID

[Bug c/95011] Error building gcc 10.1.0 on macOS Catalina with Xcode 11.4.1

2020-05-08 Thread mario_grgic at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95011 --- Comment #1 from mario_grgic at hotmail dot com --- It looks like this is configuration error. --with-sysroot and --with-native-system-header-dir must both be specified when building on macOS. However, configure --help does not list or

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

2020-05-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95003 --- Comment #1 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:234681eadf2c51d7b78270188d64601b7267330d commit r11-208-g234681eadf2c51d7b78270188d64601b7267330d Author: Iain Sandoe Date: Sun

[Bug jit/94778] All jit tests failed with multilib

2020-05-08 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94778 H.J. Lu changed: What|Removed |Added Target Milestone|--- |11.0 Ever confirmed|0

[Bug c++/94923] False positive -Wclass-memaccess with trivially copyable std::optional

2020-05-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94923 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #4 from Martin Sebor

[Bug c++/92101] Class template partial specializations with class NTTP does not work

2020-05-08 Thread mateusz.pusz at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92101 --- Comment #2 from Mateusz Pusz --- No, it fails on clang with: ``` :22:10: error: use of class template 'basic_fixed_string' requires template arguments; argument deduction not allowed in template parameter template

[Bug c++/95015] New: Partial specializations of class templates with class NTTP fails

2020-05-08 Thread mateusz.pusz at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95015 Bug ID: 95015 Summary: Partial specializations of class templates with class NTTP fails Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/95014] New: gcc fails to merge two identical returns

2020-05-08 Thread rafael at espindo dot la
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95014 Bug ID: 95014 Summary: gcc fails to merge two identical returns Product: gcc Version: 10.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/57814] gcc.target/powerpc/pr46728-* test failures for eabi targets

2020-05-08 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57814 Arseny Solokha changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment #3

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

2020-05-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95013 Bug ID: 95013 Summary: [11 Regression] FAIL: obj-c++.dg/property/property-neg-6.mm syntax-error-10.mm Product: gcc Version: 10.0 Status: UNCONFIRMED

[Bug c++/93103] Generic function syntax does not check return concept

2020-05-08 Thread mateusz.pusz at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93103 --- Comment #4 from Mateusz Pusz --- I am so sorry. My bad. You are right. It seems to be fixed indeed.

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

2020-05-08 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80711 --- Comment #5 from David Binderman --- (In reply to Martin Sebor from comment #3) > There is a warning like that in the middle-end: -Wsuggest-attribute=pure. Whether a function is pure is a slightly different thing to whether it is a C++

[Bug tree-optimization/91010] ICE: Segmentation fault (in location_wrapper_p)

2020-05-08 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91010 Arseny Solokha changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/79627] Ice with type of VLA in lambda

2020-05-08 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79627 Arseny Solokha changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment #3

[Bug tree-optimization/88970] ICE: verify_ssa failed (error: definition in block 2 follows the use)

2020-05-08 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88970 Arseny Solokha changed: What|Removed |Added Status|NEW |RESOLVED Known to work|

[Bug c++/86216] g++ ICE on valid code: verify_ssa failed

2020-05-08 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86216 Arseny Solokha changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment

[Bug tree-optimization/86725] ICE: Segmentation fault (in vect_get_vec_def_for_operand_1)

2020-05-08 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86725 --- Comment #5 from Arseny Solokha --- So only gcc 8 branch is currently affected.

[Bug rtl-optimization/85099] [meta-bug] selective scheduling issues

2020-05-08 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85099 Bug 85099 depends on bug 85876, which changed state. Bug 85876 Summary: ICE in move_op_ascend, at sel-sched.c:6164 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85876 What|Removed |Added

[Bug rtl-optimization/85876] ICE in move_op_ascend, at sel-sched.c:6164

2020-05-08 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85876 Arseny Solokha changed: What|Removed |Added Resolution|--- |FIXED Known to work|

[Bug rtl-optimization/91161] [9/10/11 Regression] ICE in begin_move_insn, at sched-ebb.c:175

2020-05-08 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91161 --- Comment #6 from Arseny Solokha --- I cannot reproduce it on master and w/ gcc-10.1.0-RC-20200430, regardless of -checking. It still fails on the 9 branch w/ -fchecking.

[Bug bootstrap/94998] GCC 10 won't configure for host=x86, build!=host, linker=bfd due to CET

2020-05-08 Thread harald at gigawatt dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94998 --- Comment #4 from Harald van Dijk --- Just confirming that that patch works for me, thanks.

[Bug rtl-optimization/84206] ICE in get_all_loop_exits, at sel-sched-ir.h:1138

2020-05-08 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84206 Arseny Solokha changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug rtl-optimization/85099] [meta-bug] selective scheduling issues

2020-05-08 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85099 Bug 85099 depends on bug 84206, which changed state. Bug 84206 Summary: ICE in get_all_loop_exits, at sel-sched-ir.h:1138 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84206 What|Removed |Added

[Bug target/90000] Compile-time hog w/ impossible asm constraints on powerpc

2020-05-08 Thread willschm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9 --- Comment #5 from Will Schmidt --- Created attachment 48486 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48486=edit Patch that seemed promising but is not sufficient.

[Bug target/90000] Compile-time hog w/ impossible asm constraints on powerpc

2020-05-08 Thread willschm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9 --- Comment #4 from Will Schmidt --- I'll be attaching a proposed(/rfc) patch momentarily. I'm able to add logic in cfgexpand.c expand_asm_stmt() to catch the use of a FP register when our target is SOFT_FLOAT ; but the result is an ICE while

[Bug tree-optimization/89963] [GRAPHITE] Compile-time hog when compiling gcc/testsuite/gcc.dg/autopar/uns-outer-6.c

2020-05-08 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89963 --- Comment #3 from Arseny Solokha --- I cannot reproduce it w/ gcc-10.1.0-RC-20200430 or gcc 9.3, gmp 6.2.0, and isl 0.22.1.

[Bug c++/94997] gcc/cp/call.c: 4 * member function could be const ?

2020-05-08 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94997 --- Comment #5 from David Binderman --- (In reply to Martin Sebor from comment #4) > ... I see more overhead than value in reports suggesting > these types of improvements to the code base. Righto. I've provided the list of all known 237

[Bug c++/94997] gcc/cp/call.c: 4 * member function could be const ?

2020-05-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94997 --- Comment #4 from Martin Sebor --- After noticing pr94995 (and subsequently also your clarification in comment #3) I see I was wrong in my assumption. While I'm a big fan of const correctness and agree that those functions (and probably many

[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-08 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95008 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com Last

[Bug c++/93103] Generic function syntax does not check return concept

2020-05-08 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93103 --- Comment #3 from Patrick Palka --- Aren't we correct to reject both calls? The deduced return type for both is 'double', which does not model Integral. I thought the problem was that we were correctly rejecting the first call but failing to

[Bug c++/94997] gcc/cp/call.c: 4 * member function could be const ?

2020-05-08 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94997 --- Comment #3 from David Binderman --- (In reply to Martin Sebor from comment #1) > Assuming this is meant to be an enhancement request to add new option to > suggest to make member functions const the same enhancement request has > already

[Bug c++/94997] gcc/cp/call.c: 4 * member function could be const ?

2020-05-08 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94997 --- Comment #2 from David Binderman --- Created attachment 48485 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48485=edit text file

[Bug c++/93103] Generic function syntax does not check return concept

2020-05-08 Thread mateusz.pusz at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93103 --- Comment #2 from Mateusz Pusz --- It might be a regression because I remember it working fine. Now it fails again. Check here: https://godbolt.org/z/-K39X7.

[Bug c++/94997] gcc/cp/call.c: 4 * member function could be const ?

2020-05-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94997 Martin Sebor changed: What|Removed |Added Keywords||diagnostic CC|

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

2020-05-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80711 Martin Sebor changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment #4

[Bug middle-end/94992] gcc thinks a member variable is uninitialised

2020-05-08 Thread rafael at espindo dot la
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94992 --- Comment #3 from Rafael Avila de Espindola --- For completeness, this is a reduction of a std::swap(x,x). The placement new was originally in the move assignment operator. I was able to reproduce this with gcc 9 by moving a few functions out

[Bug c++/47765] [Core/1391] Wrong template deduction

2020-05-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47765 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug ada/65696] ASAN reports global-buffer-overrun for local tagged types

2020-05-08 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65696 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug analyzer/94458] -Wanalyzer-malloc-leak false positive when returning a heap-allocated struct by value holding a heap-allocated pointer

2020-05-08 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94458 David Malcolm changed: What|Removed |Added Last reconfirmed||2020-05-08

[Bug c++/94885] [10 Regression] Functional cast from int to empty class type with empty base incorrectly accepted with -std=c++2a

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

[Bug c++/94885] [10 Regression] Functional cast from int to empty class type with empty base incorrectly accepted with -std=c++2a

2020-05-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94885 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:ceae6a13366d9646e172fc943fe8e221b70f0920 commit r10-8124-gceae6a13366d9646e172fc943fe8e221b70f0920 Author: Marek Polacek

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

2020-05-08 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94851 David Malcolm changed: What|Removed |Added Summary|-fanalyzer erroniously |-fanalyzer erroneously

[Bug ada/65696] ASAN reports global-buffer-overrun for local tagged types

2020-05-08 Thread demoonlit at panathenaia dot halfmoon.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65696 --- Comment #4 from yuta tomino --- I'm trying the released gcc-10.1, and confirmed that this is fixed. Thank you.

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

2020-05-08 Thread xantares09 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95012 --- Comment #1 from xantares09 at hotmail dot com --- the full compilation script can be seen here: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=mingw-w64-gcc

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

2020-05-08 Thread xantares09 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95012 Bug ID: 95012 Summary: [mingw/gcc10.1] mmapio.c:69:14: error: implicit declaration of function ‘getpagesize’ Product: gcc Version: 10.1.0 Status: UNCONFIRMED

[Bug c/95011] New: Error building gcc 10.1.0 on macOS Catalina with Xcode 11.4.1

2020-05-08 Thread mario_grgic at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95011 Bug ID: 95011 Summary: Error building gcc 10.1.0 on macOS Catalina with Xcode 11.4.1 Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/95010] New: Recursive function template with function parameter of type decltype([]{}) is rejected

2020-05-08 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95010 Bug ID: 95010 Summary: Recursive function template with function parameter of type decltype([]{}) is rejected Product: gcc Version: 10.0 Status: UNCONFIRMED

[Bug analyzer/95000] -fanalyzer confused by switch on non-int type

2020-05-08 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95000 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/95009] New: decltype of increment or decrement bitfield expressions are wrong and causes assembler errors.

2020-05-08 Thread okannen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95009 Bug ID: 95009 Summary: decltype of increment or decrement bitfield expressions are wrong and causes assembler errors. Product: gcc Version: 10.1.0 Status: UNCONFIRMED

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

2020-05-08 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95008 Bug ID: 95008 Summary: [11 regression] excess errors in gcc.dg/analyzer/pr93382.c and gcc.dg/two-types-6.c after r11-169 Product: gcc Version: 11.0

[Bug analyzer/95000] -fanalyzer confused by switch

2020-05-08 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95000 --- Comment #3 from David Malcolm --- Thanks for filing this bug. I've filed PR analyzer/95007 to track the RFE for a warning about writes to a string literal. Clearly there's a bug somewhere in the handling for the path condition for the

[Bug analyzer/95007] New: RFE: -fanalyzer should complain about writes to string literals

2020-05-08 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95007 Bug ID: 95007 Summary: RFE: -fanalyzer should complain about writes to string literals Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug analyzer/94999] internal compiler error: in saved_diagnostic

2020-05-08 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94999 --- Comment #2 from David Malcolm --- Actually, it's possibly failing to realize that calloc zeroes the memory. Either way it makes a good test case for when reintroducing -Wanalyzer-use-of-uninitialized-value; thanks.

[Bug analyzer/95006] Reimplement -Wanalyzer-use-of-uninitialized-value

2020-05-08 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95006 Bug 95006 depends on bug 94999, which changed state. Bug 94999 Summary: internal compiler error: in saved_diagnostic https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94999 What|Removed |Added

[Bug analyzer/94999] internal compiler error: in saved_diagnostic

2020-05-08 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94999 David Malcolm changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug analyzer/94447] Not handling CONSTRUCTOR tree code

2020-05-08 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94447 David Malcolm changed: What|Removed |Added CC||tommy-gccbugs at thorn dot ws ---

[Bug bootstrap/94998] GCC 10 won't configure for host=x86, build!=host, linker=bfd due to CET

2020-05-08 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94998 H.J. Lu changed: What|Removed |Added Keywords||patch URL|

[Bug analyzer/95006] New: Reimplement -Wanalyzer-use-of-uninitialized-value

2020-05-08 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95006 Bug ID: 95006 Summary: Reimplement -Wanalyzer-use-of-uninitialized-value Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: meta-bug Severity: normal

[Bug c++/92187] [concepts] An abbreviated function template ignores type constraint in some circumstances

2020-05-08 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92187 Patrick Palka changed: What|Removed |Added CC||mateusz.pusz at gmail dot com ---

[Bug c++/93103] Generic function syntax does not check return concept

2020-05-08 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93103 Patrick Palka changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

[Bug tree-optimization/95001] std::terminate() and abort() do not have __builtin_unreachable() semantics

2020-05-08 Thread s_gccbugzilla at nedprod dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95001 --- Comment #5 from Niall Douglas --- Just to clarify what I'm asking for: Calling a [[noreturn]] function ought to have the same effects on codegen as: ``` [[noreturn]] void theend(); ... if(a) { theend(); __builtin_unreachable(); } ```

[Bug tree-optimization/95001] std::terminate() and abort() do not have __builtin_unreachable() semantics

2020-05-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95001 --- Comment #4 from Jakub Jelinek --- The on-demand VRP (or if it can do non-zero bits too, even better), ought to handle this kind of things, but it isn't something we can store in the SSA_NAMEs unless we create the ASSERT_EXPRs (which means

[Bug c++/95004] Static array of base classes member pointers

2020-05-08 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95004 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug tree-optimization/95001] std::terminate() and abort() do not have __builtin_unreachable() semantics

2020-05-08 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95001 --- Comment #3 from Marc Glisse --- Simpler example: [[noreturn]] void theend(); int f(int x){ if(x&7)theend(); return x&3; } (or replace "theend()" with "throw 42") We shouldn't compute x&3, it is always 0 in the branch where it is

[Bug middle-end/94994] [10/11 Regression] possible miscompilation of word-at-a-time copy via packed structs

2020-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94994 Richard Biener changed: What|Removed |Added Last reconfirmed||2020-05-08 Target Milestone|---

[Bug tree-optimization/95001] std::terminate() and abort() do not have __builtin_unreachable() semantics

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

[Bug bootstrap/94998] GCC 10 won't configure for host=x86, build!=host, linker=bfd due to CET

2020-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94998 Richard Biener changed: What|Removed |Added Status|WAITING |NEW Component|target

[Bug tree-optimization/95001] std::terminate() and abort() do not have __builtin_unreachable() semantics

2020-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95001 --- Comment #1 from Richard Biener --- Sorry, but noreturn functions can have side-effects that need to be preserved.

[Bug middle-end/94703] Small-sized memcpy leading to unnecessary register spillage unless done through a dummy union

2020-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94703 --- Comment #9 from Richard Biener --- (In reply to Rainer Orth from comment #7) > Created attachment 48483 [details] > 32-bit sparc-sun-solaris2.11 pr94703.c.021t.ssa > > The new testcase FAILs on sparc-sun-solaris2.11 (both 32 and 64-bit): >

[Bug target/94998] GCC 10 won't configure for host=x86, build!=host, linker=bfd due to CET

2020-05-08 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94998 H.J. Lu changed: What|Removed |Added Target Milestone|--- |10.2 Last reconfirmed|

[Bug middle-end/94703] Small-sized memcpy leading to unnecessary register spillage unless done through a dummy union

2020-05-08 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94703 Rainer Orth changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug middle-end/94703] Small-sized memcpy leading to unnecessary register spillage unless done through a dummy union

2020-05-08 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94703 Rainer Orth changed: What|Removed |Added CC||ro at gcc dot gnu.org --- Comment #7 from

[Bug libstdc++/94987] Missing vtable for std::__future_base::_State_base on libstdc++.a

2020-05-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94987 --- Comment #4 from Jonathan Wakely --- Yes, removing any symbols from the DSO is forbidden.

[Bug bootstrap/94961] [11 Regression] ICE in df_refs_verify, at df-scan.c:4002 since r11-87-gd44f14ccef831d90feb57fab56bc3389d543ffdd

2020-05-08 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94961 --- Comment #7 from Dmitry G. Dyachenko --- r11-196 PASS for me. Thanks.

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

2020-05-08 Thread gcc at ikkoku dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95005 Bug ID: 95005 Summary: zstd.h not found if installed in non-system prefix Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug middle-end/90859] [OMP] Mappings for VLA different depending on 'target { c && { ! lp64 } }'

2020-05-08 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90859 Tobias Burnus changed: What|Removed |Added Depends on||95002 --- Comment #6 from Tobias Burnus

[Bug middle-end/94988] [11 Regression] FAIL: gcc.target/i386/pr64110.c scan-assembler vmovd[\\t ]

2020-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94988 --- Comment #2 from Richard Biener --- (In reply to Richard Biener from comment #1) > Ah, forgot to update this testcase. This is another instance of PR57359, > that is, we may not sink the store to b across the store to *b since b may > point

[Bug c/95002] VLA: 'var = sizeof array' gives spurous '= array, ' instead of just '= '

2020-05-08 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95002 --- Comment #1 from Tobias Burnus --- Created attachment 48481 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48481=edit PATCH – works but is modifies quite a lot: digest_init, convert_for_assignment, convert Working patch – but I wonder

[Bug analyzer/95000] -fanalyzer confused by switch

2020-05-08 Thread felix-gcc at fefe dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95000 --- Comment #2 from felix-gcc at fefe dot de --- The false positive also happens if you fix that. In fact, my original (much longer) code does not try to write to read-only memory. I put that in my test case in the hope that somebody would

[Bug libfortran/94143] [9/10/11 Regression] Asynchronous execute_command_line() breaks following synchronous calls

2020-05-08 Thread trnka at scm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94143 --- Comment #4 from Tomáš Trnka --- (In reply to anlauf from comment #3) > Funny. I do not get failures when compiling with -fsanitize=thread. I don't think TSAN can help here. This is not a data race between two threads, but between our

[Bug c++/95004] New: Static array of base classes member pointers

2020-05-08 Thread vince.rev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95004 Bug ID: 95004 Summary: Static array of base classes member pointers Product: gcc Version: 10.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/88247] [8/9/10/11 Regression] ICE in get_array_ctor_var_strlen, at fortran/trans-array.c:2068

2020-05-08 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88247 José Rui Faustino de Sousa changed: What|Removed |Added CC||jrfsousa at gmail dot com

[Bug analyzer/95000] -fanalyzer confused by switch

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

[Bug plugins/90924] lto-plugin/lto-plugin.c heap memory corruption due to insufficient sanitization.

2020-05-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90924 Andrew Pinski changed: What|Removed |Added Known to work||7.5.0, 8.4.0, 9.2.0 Target

[Bug tree-optimization/95001] std::terminate() and abort() do not have __builtin_unreachable() semantics

2020-05-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95001 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization

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

2020-05-08 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95003 Iain Sandoe changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

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

2020-05-08 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95003 Bug ID: 95003 Summary: coroutines: Wrong code for some reference capture cases. Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

  1   2   >