[Bug c++/94309] New: Fail to find post-increment operator in templated function

2020-03-24 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94309 Bug ID: 94309 Summary: Fail to find post-increment operator in templated function Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Prio

[Bug c++/94190] [10 Regression] error: no post-decrement operator for type since r10-7096-gd417b4f5414d9076

2020-03-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94190 Marek Polacek changed: What|Removed |Added CC||romain.geissler at amadeus dot com ---

[Bug c++/94309] Fail to find post-increment operator in templated function

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

[Bug target/94297] PPCLE std::replace internal compiler error

2020-03-24 Thread jens.seifert at de dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94297 --- Comment #3 from Jens Seifert --- Created attachment 48110 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48110&action=edit Pre-processed file created using -save-temps

[Bug c++/94310] New: using constructor inheritance breaks the code

2020-03-24 Thread tilin97 at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94310 Bug ID: 94310 Summary: using constructor inheritance breaks the code Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug lto/94311] New: LTO produces line info entries with invalid line numbers

2020-03-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94311 Bug ID: 94311 Summary: LTO produces line info entries with invalid line numbers Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priori

[Bug target/94297] PPCLE std::replace internal compiler error

2020-03-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94297 --- Comment #4 from Marek Polacek --- Still can't reproduce with mainline trunk/9/8. Since I happen to work on DTS, I've also tried devtoolset-8-gcc-8.2.1-3.el7.ppc64le and devtoolset-8-gcc-8.3.1-3.2.el7.ppc64le but couldn't reproduce it either.

[Bug middle-end/94312] New: missing -Wreturn-local-addr on returning local address via memchr

2020-03-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94312 Bug ID: 94312 Summary: missing -Wreturn-local-addr on returning local address via memchr Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/94295] use __builtin_operator_new and __builtin_operator_delete when available

2020-03-24 Thread richard-gccbugzilla at metafoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94295 --- Comment #2 from Richard Smith --- (In reply to Marc Glisse from comment #1) > (In reply to Richard Smith from comment #0) > > The C++ language rules do not permit optimization (eg, deletion) of direct > > calls to 'operator new' and 'operator

[Bug target/94297] PPCLE std::replace internal compiler error

2020-03-24 Thread jens.seifert at de dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94297 --- Comment #5 from Jens Seifert --- No options. Same failure with -O2. System is a RHEL 7.5. Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-8/root/usr/libexec/gcc/ppc64le-redhat-linux/8/lto-wrapper Target: ppc64le-

[Bug middle-end/94312] missing -Wreturn-local-addr on returning local address via memchr or memset

2020-03-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94312 Martin Sebor changed: What|Removed |Added Summary|missing -Wreturn-local-addr |missing -Wreturn-local-addr

[Bug libstdc++/94295] use __builtin_operator_new and __builtin_operator_delete when available

2020-03-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94295 --- Comment #3 from Andrew Pinski --- (In reply to Richard Smith from comment #2) > (In reply to Marc Glisse from comment #1) > > (In reply to Richard Smith from comment #0) > > > The C++ language rules do not permit optimization (eg, deletion) o

[Bug libstdc++/94295] use __builtin_operator_new and __builtin_operator_delete when available

2020-03-24 Thread richard-gccbugzilla at metafoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94295 --- Comment #4 from Richard Smith --- (In reply to Andrew Pinski from comment #3) > PR 23383 is where part of the discussion was done. > > In fact GCC implements the optimization without the builtin: > https://gcc.gnu.org/legacy-ml/gcc-patches/2

[Bug c++/94288] co_await in while loop crashes g++

2020-03-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94288 --- Comment #4 from Martin Liška --- (In reply to Iain Sandoe from comment #3) > thanks for the report. The reduced testcase at c#2 doesn't fire for me once > pending updates are applied. However, the attached case preprocessed code > does; I th

[Bug c++/94288] co_await in while loop crashes g++

2020-03-24 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94288 --- Comment #5 from Iain Sandoe --- (In reply to Martin Liška from comment #4) > (In reply to Iain Sandoe from comment #3) > > thanks for the report. The reduced testcase at c#2 doesn't fire for me once > > pending updates are applied. However,

[Bug libstdc++/94295] use __builtin_operator_new and __builtin_operator_delete when available

2020-03-24 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94295 --- Comment #5 from Marc Glisse --- (In reply to Richard Smith from comment #2) > (In reply to Marc Glisse from comment #1) > > (In reply to Richard Smith from comment #0) > > > The C++ language rules do not permit optimization (eg, deletion) of

[Bug middle-end/94313] New: stores into string literals sometimes silently eliminated

2020-03-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94313 Bug ID: 94313 Summary: stores into string literals sometimes silently eliminated Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Prior

[Bug libstdc++/94295] use __builtin_operator_new and __builtin_operator_delete when available

2020-03-24 Thread richard-gccbugzilla at metafoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94295 --- Comment #6 from Richard Smith --- (In reply to Marc Glisse from comment #5) > Ah, since you are here, and you appeared as an author of N3664 but not N3537 > (precisely when this subtlety happened), could you explain why? It isn't > discussed

[Bug middle-end/90404] No warning on attempts to modify a const object

2020-03-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90404 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/94314] New: [10 Regression] Optimizing mismatched new/delete pairs

2020-03-24 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94314 Bug ID: 94314 Summary: [10 Regression] Optimizing mismatched new/delete pairs Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal

[Bug c++/94186] [10 Regression] compiler incorrectly accepts a requires clause with predicate of non-bool type

2020-03-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94186 --- Comment #5 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:fddfd3ce555965864b6116cf541f6355d2057d3d commit r10-7361-gfddfd3ce555965864b6116cf541f6355d2057d3d Author: Jason Merrill Date: Tu

[Bug c++/94186] [10 Regression] compiler incorrectly accepts a requires clause with predicate of non-bool type

2020-03-24 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94186 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug gcov-profile/94029] [9 Regression] gcc crash in coverage.c:655 since r9-4216-g390e529e2b98983d

2020-03-24 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94029 --- Comment #18 from sandra at gcc dot gnu.org --- I'm seeing the missing gcov file on nios2-linux-gnu as well. Git revision 6e00d8dcf32ace6588a1a4843dfcc0e8b9f9d00f. I took another look at the testcase. I haven't used gcov for about a gazillio

[Bug c++/94314] [10 Regression] Optimizing mismatched new/delete pairs

2020-03-24 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94314 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug c++/94190] [10 Regression] error: no post-decrement operator for type since r10-7096-gd417b4f5414d9076

2020-03-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94190 --- Comment #3 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:75b7b7fdc4597170f24c069ea13aa3e14f37fde7 commit r10-7362-g75b7b7fdc4597170f24c069ea13aa3e14f37fde7 Author: Marek Polacek Date: Mo

[Bug c++/94190] [10 Regression] error: no post-decrement operator for type since r10-7096-gd417b4f5414d9076

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

[Bug gcov-profile/94029] [9 Regression] gcc crash in coverage.c:655 since r9-4216-g390e529e2b98983d

2020-03-24 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94029 --- Comment #19 from Bernd Edlinger --- Okay, forget my previous comment, I overlooked that you say the .c.gcov is missing...

[Bug d/94315] New: [10 regression] new tests gdc.dg/pr93038.d and gdc.dg/pr93038b.d in r10-7320 fail

2020-03-24 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94315 Bug ID: 94315 Summary: [10 regression] new tests gdc.dg/pr93038.d and gdc.dg/pr93038b.d in r10-7320 fail Product: gcc Version: 10.0 Status: UNCONFIRMED Severit

[Bug testsuite/93935] [9/10 regression] gcc.dg/vect/bb-slp-over-widen-2.c fails starting with r262371 (r10-6856)

2020-03-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93935 --- Comment #4 from CVS Commits --- The releases/gcc-9 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:768779dd1165edf49e148bca425321093c7dc15b commit r9-8415-g768779dd1165edf49e148bca425321093c7dc15b Author: Kewen Lin Date: Fri

[Bug testsuite/93935] [9/10 regression] gcc.dg/vect/bb-slp-over-widen-2.c fails starting with r262371 (r10-6856)

2020-03-24 Thread linkw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93935 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/94252] Can't use a lambda in a requires expression

2020-03-24 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94252 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/94316] New: An error occurs when a globally defined array of classes is initialized with values

2020-03-24 Thread rookiezjz at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94316 Bug ID: 94316 Summary: An error occurs when a globally defined array of classes is initialized with values Product: gcc Version: 9.2.0 Status: UNCONFIRMED Sever

<    1   2