[Bug c++/97587] New: [coroutines] promise_type constructor is called with original parameters, not parameter copies

2020-10-26 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97587 Bug ID: 97587 Summary: [coroutines] promise_type constructor is called with original parameters, not parameter copies Product: gcc Version: unknown Status: UNCONFIRMED

[Bug lto/97586] New: "make check" failures in binutils with -flto=jobserver

2020-10-26 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97586 Bug ID: 97586 Summary: "make check" failures in binutils with -flto=jobserver Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug middle-end/87731] Detection of mismatched alloc/free pairs

2020-10-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87731 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/94527] RFE: Add an __attribute__ that marks a function as freeing an object

2020-10-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94527 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/46181] attribute for marking things as undefined use after a function call

2020-10-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46181 Martin Sebor changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

[Bug other/97585] New: Improve documentation for -march=x86-64 to say MMX, SSE, SSE2 are implied

2020-10-26 Thread max at quendi dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97585 Bug ID: 97585 Summary: Improve documentation for -march=x86-64 to say MMX, SSE, SSE2 are implied Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity:

[Bug analyzer/97568] -fanalyzer assumes that an extern const pointer is NULL

2020-10-26 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97568 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/97567] [11 Regression] wrong code at -Os and above on x86_64-pc-linux-gnu

2020-10-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97567 --- Comment #3 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:48722d158cbf692c24025e345ec570f66aa5 commit r11-4393-g48722d158cbf692c24025e345ec570f66aa5 Author: Andrew MacLeod Date:

[Bug fortran/97491] Wrong restriction for VALUE arguments of pure procedures

2020-10-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97491 --- Comment #3 from anlauf at gcc dot gnu.org --- Submitted here: https://gcc.gnu.org/pipermail/fortran/2020-October/055235.html

[Bug c++/97584] New: ADL inconsistency when calling the stream operator with x << y or with operator<<(x,y)

2020-10-26 Thread andrea_iob at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97584 Bug ID: 97584 Summary: ADL inconsistency when calling the stream operator with x << y or with operator<<(x,y) Product: gcc Version: 10.2.1 Status: UNCONFIRMED

[Bug c++/97553] [missed optimization] constexprness not noticed when UBsan enabled

2020-10-26 Thread eyalroz at technion dot ac.il via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97553 --- Comment #5 from Eyal Rozenberg --- (In reply to Jakub Jelinek from comment #4) > Depends on what you mean by properly. -O3 can be used with sanitization, > but expecting the code to be optimized the same way as without sanitization > is

[Bug libfortran/97581] libgfortran/intrinsics/random.c:754: bad array size ?

2020-10-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97581 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug libfortran/97581] libgfortran/intrinsics/random.c:754: bad array size ?

2020-10-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97581 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug c++/97553] [missed optimization] constexprness not noticed when UBsan enabled

2020-10-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97553 --- Comment #4 from Jakub Jelinek --- Depends on what you mean by properly. -O3 can be used with sanitization, but expecting the code to be optimized the same way as without sanitization is wrong, it is more important to catch as many bugs as

[Bug c++/97553] [missed optimization] constexprness not noticed when UBsan enabled

2020-10-26 Thread eyalroz at technion dot ac.il via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97553 --- Comment #3 from Eyal Rozenberg --- > And, the runtime sanitization intentionally isn't heavily optimized away, > because the intent is to detect when the code is invalid, so it can't e.g. > optimize away those checks based on assumption

[Bug c/85053] free not listed as built-in

2020-10-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85053 Martin Sebor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/97540] [11 Regression] ICE in lra_set_insn_recog_data, at lra.c:1004 since r11-4202-g4de7b010038933dd

2020-10-26 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97540 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment

[Bug c++/96863] [9/10/11 Regression] ICE: in output_constructor_regular_field, at varasm.c:5223

2020-10-26 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96863 --- Comment #5 from Sergei Trofimovich --- gcc's backtrace: Breakpoint 2, internal_error (gmsgid=0x2df9a67 "in %s, at %s:%d") at ../../gcc/gcc/diagnostic.c:1752 1752{ (gdb) bt #0 internal_error (gmsgid=0x2df9a67 "in %s, at %s:%d") at

[Bug libgcc/97543] powerpc64le: libgcc has unexpected long double in .gnu_attribute

2020-10-26 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97543 --- Comment #9 from Segher Boessenkool --- Yes, that looks correct.

[Bug tree-optimization/97567] [11 Regression] wrong code at -Os and above on x86_64-pc-linux-gnu

2020-10-26 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97567 --- Comment #2 from Andrew Macleod --- Created attachment 49441 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49441=edit combine OR operands with union, not intersect Fundamentally, this boils down to a bug in logical-combine.

[Bug tree-optimization/97560] [11 Regression] ICE: tree check: expected tree that contains 'decl common' structure, have 'component_ref' in tree_could_trap_p, at tree-eh.c:2708 since r11-3685

2020-10-26 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97560 Aldy Hernandez changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug middle-end/87296] [8/9/10/11 Regression] -Wstringop-overflow false positive due to using MEM_REF type of

2020-10-26 Thread mostlyaspambox at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87296 mostlyaspambox at protonmail dot com changed: What|Removed |Added CC||mostlyaspambox at

[Bug c++/86773] GCC accepts junk before fold expressions

2020-10-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86773 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug tree-optimization/97555] [11 Regression] wrong code at -Os and above on x86_64-pc-linux-gnu since r11-3685

2020-10-26 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97555 Aldy Hernandez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/97583] New: Unknown mode_attribute (or iterator) ignored

2020-10-26 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97583 Bug ID: 97583 Summary: Unknown mode_attribute (or iterator) ignored Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/97555] [11 Regression] wrong code at -Os and above on x86_64-pc-linux-gnu since r11-3685

2020-10-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97555 --- Comment #5 from CVS Commits --- The master branch has been updated by Aldy Hernandez : https://gcc.gnu.org/g:2118438f49f0c193abe3fa3def350a8129045746 commit r11-4390-g2118438f49f0c193abe3fa3def350a8129045746 Author: Aldy Hernandez Date:

[Bug c++/92831] CWG1299 extend_ref_init_temps_1 punts on COND_EXPRs

2020-10-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92831 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/92831] CWG1299 extend_ref_init_temps_1 punts on COND_EXPRs

2020-10-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92831 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/97121] ICE (segfault) on incorrect default three-way comparison declaration

2020-10-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97121 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/97214] [8/9/10/11 Regression] ICE in lookup_template_class_1, at cp/pt.c:9896

2020-10-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97214 Marek Polacek changed: What|Removed |Added Target Milestone|--- |8.5

[Bug c++/97214] [8/9/10/11 Regression] ICE in lookup_template_class_1, at cp/pt.c:9896

2020-10-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97214 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Summary|ICE in

[Bug libstdc++/97561] coroutine_handle doesn't have inheritance

2020-10-26 Thread stinkingmadgod at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97561 --- Comment #3 from stinkingmadgod at gmail dot com --- Thanks for the link. I was attempting to create a type-erased task type where the handles in one case was be passed in as a std::coroutine_handle<>& to avoid using std::function and the

[Bug rtl-optimization/97554] ICE: during RTL pass: cprop /segfault in sbitmap

2020-10-26 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97554 --- Comment #3 from Rimvydas (RJ) --- The g:50f9e1f4d458e36d306b2449c689e45492847f68 applied on top of gcc-10.2 release tarball also allows to compile without segfault in reasonable amount of time. Could this fix be added to gcc-10 branch for

[Bug c++/97376] Function type to function pointer type adjustment for non-type template parameter does not work when using decltype(auto)

2020-10-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97376 --- Comment #2 from Marek Polacek --- s/pro/for/

[Bug c++/97376] Function type to function pointer type adjustment for non-type template parameter does not work when using decltype(auto)

2020-10-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97376 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug tree-optimization/97555] [11 Regression] wrong code at -Os and above on x86_64-pc-linux-gnu since r11-3685

2020-10-26 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97555 --- Comment #4 from Aldy Hernandez --- The problem here is we're trying to add 1 to a -1 in a signed 1-bit field. Signed 1-bits are annoying because you can't really add or subtract one, because the one is unrepresentable. For invert() we have

[Bug c++/97418] error diagnostics do not point the use of undeclared identifier

2020-10-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97418 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug target/96342] [SVE] Add support for "omp declare simd"

2020-10-26 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96342 --- Comment #8 from rsandifo at gcc dot gnu.org --- (In reply to yangyang from comment #3) > The work is mainly composed of three parts: the generating of SVE > functions for "omp declare simd" in pass_omp_simd_clone, the supporting of >

[Bug c++/97446] gcc accepts an unnamed struct

2020-10-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97446 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug c++/97553] [missed optimization] constexprness not noticed when UBsan enabled

2020-10-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97553 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug bootstrap/97124] ICE when bootstrapping GCC on x86_64-w64-mingw32

2020-10-26 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97124 Liu Hao changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/97536] [concepts] parser segfault for concept defined in function template

2020-10-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97536 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/97456] [10/11 Regression] An incorrect optimization causes a function to always return the same value when using -flto

2020-10-26 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97456 Martin Jambor changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/97479] Auto as template argument

2020-10-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97479 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug tree-optimization/97456] [10/11 Regression] An incorrect optimization causes a function to always return the same value when using -flto

2020-10-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97456 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Martin Jambor : https://gcc.gnu.org/g:d99b9dea37adfb88de2af121d31eed1c06b174b4 commit r10-8945-gd99b9dea37adfb88de2af121d31eed1c06b174b4 Author: Martin Jambor

[Bug c++/97479] Auto as template argument

2020-10-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97479 Marek Polacek changed: What|Removed |Added Last reconfirmed||2020-10-26 Ever confirmed|0

[Bug target/96342] [SVE] Add support for "omp declare simd"

2020-10-26 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96342 --- Comment #7 from rsandifo at gcc dot gnu.org --- Comment on attachment 49414 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49414 part2-patch Nice :-) For the constant_multiple_p calls that calculate a vector multiple, it might be

[Bug c++/97533] ICE encountering operator() within lambda expression within templated struct

2020-10-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97533 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Target

[Bug target/96342] [SVE] Add support for "omp declare simd"

2020-10-26 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96342 --- Comment #6 from rsandifo at gcc dot gnu.org --- Comment on attachment 49413 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49413 part1-patch Thanks for the summary and patches, and sorry for the delayed reply. Taking part1-patch

[Bug c++/51571] No named return value optimization while adding a dummy scope

2020-10-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51571 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/97562] NRVO is very fragile (adding an extra scope breaks the optimization)

2020-10-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97562 Marek Polacek changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

[Bug c++/51571] No named return value optimization while adding a dummy scope

2020-10-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51571 Marek Polacek changed: What|Removed |Added CC||barry.revzin at gmail dot com ---

[Bug target/96879] [11 Regresssion] ICE in native_encode_rtx, at simplify-rtx.c:6482

2020-10-26 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96879 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/97555] [11 Regression] wrong code at -Os and above on x86_64-pc-linux-gnu since r11-3685

2020-10-26 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97555 Aldy Hernandez changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |aldyh at gcc dot gnu.org ---

[Bug tree-optimization/97555] [11 Regression] wrong code at -Os and above on x86_64-pc-linux-gnu since r11-3685

2020-10-26 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97555 --- Comment #2 from Andrew Macleod --- : f.0_1 = f; _2 = 1 % f.0_1; h_24 = (char) _2; _3 = _2; c = _3; _4 = b.a; _5 = (int) _4; _6 = ~_5; f = _6; if (_4 != -1) goto ; [INV] else goto ; [INV] when calculating the

[Bug fortran/42478] [meta-bug] gfortran OpenMP bugs

2020-10-26 Thread longb at cray dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42478 Bug 42478 depends on bug 40876, which changed state. Bug 40876 Summary: OpenMP private variable referenced in a statement function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40876 What|Removed |Added

[Bug fortran/40876] OpenMP private variable referenced in a statement function

2020-10-26 Thread longb at cray dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40876 Bill Long changed: What|Removed |Added Resolution|DUPLICATE |--- Status|RESOLVED

[Bug c++/97582] [9/10/11 Regression] ICE tree check: expected function_type or method_type, have error_mark in add_function_candidate, at cp/call.c:2146 since r9-6405-gbddee796d0b4800b

2020-10-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97582 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug gcov-profile/96919] [GCOV] uncovered line of stack allocation while using virutal destructor

2020-10-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96919 --- Comment #7 from Martin Liška --- (In reply to Libin Dang from comment #6) > (In reply to Martin Liška from comment #2) > > Using latest GCC release you can see what happens: > > > > $ g++ pr96919.cc --coverage && ./a.out && gcov

[Bug fortran/97571] long parsing phase for simple array constructor

2020-10-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97571 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug c++/97582] New: Regression Internal compiler error in lambda

2020-10-26 Thread benjamin.freist at hexagon dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97582 Bug ID: 97582 Summary: Regression Internal compiler error in lambda Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug rtl-optimization/97497] gcse wrong code generation with partial register clobbers

2020-10-26 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97497 --- Comment #7 from rsandifo at gcc dot gnu.org --- (In reply to Andreas Krebbel from comment #6) > Alternatively I could also mark r12 as preserved across function calls for > -fpic in the backend. In fact all the bits we care about are

[Bug c++/97580] reinterpret_cast<> and constant expression

2020-10-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97580 Richard Biener changed: What|Removed |Added Keywords||accepts-invalid

[Bug ipa/97576] [11 Regression] ICE: verify_cgraph_node failed (error: reference to dead statement)

2020-10-26 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97576 Jan Hubicka changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/97580] reinterpret_cast<> and constant expression

2020-10-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97580 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug libfortran/97581] New: libgfortran/intrinsics/random.c:754: bad array size ?

2020-10-26 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97581 Bug ID: 97581 Summary: libgfortran/intrinsics/random.c:754: bad array size ? Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug ipa/97576] [11 Regression] ICE: verify_cgraph_node failed (error: reference to dead statement)

2020-10-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97576 --- Comment #4 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:783dc02d89712f5219093d33ad7f08e1509a2134 commit r11-4385-g783dc02d89712f5219093d33ad7f08e1509a2134 Author: Jan Hubicka Date: Mon

[Bug c++/97580] New: reinterpret_cast<> and constant expression

2020-10-26 Thread wolfgang.roehrl--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97580 Bug ID: 97580 Summary: reinterpret_cast<> and constant expression Product: gcc Version: 7.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug ipa/97576] [11 Regression] ICE: verify_cgraph_node failed (error: reference to dead statement)

2020-10-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97576 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug c++/97562] NRVO is very fragile (adding an extra scope breaks the optimization)

2020-10-26 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97562 --- Comment #2 from Barry Revzin --- Yep, looks like the same issue to me.

[Bug libstdc++/97570] avr-gcc: error: 'void* memalign' redeclared as different kind of entity

2020-10-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97570 --- Comment #3 from Jonathan Wakely --- (In reply to Matwey V. Kornilov from comment #0) > Then gcc and libstdc++ are compiled and installed successfully without any > further errors. P.S. this is great news. I've been meaning to check this

[Bug c/97578] ice during IPA pass: inline

2020-10-26 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97578 Jan Hubicka changed: What|Removed |Added CC||jakub at redhat dot com,

[Bug c++/97562] NRVO is very fragile (adding an extra scope breaks the optimization)

2020-10-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97562 --- Comment #1 from Jonathan Wakely --- Dup of PR 51571 ?

[Bug preprocessor/97577] [11 Regression] ICE: Segmentation fault (in get_location_from_adhoc_loc)

2020-10-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97577 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.0

[Bug libstdc++/97570] avr-gcc: error: 'void* memalign' redeclared as different kind of entity

2020-10-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97570 --- Comment #1 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:93e9a7bcd5434a24c945de33cd7fa01a25f68418 commit r11-4383-g93e9a7bcd5434a24c945de33cd7fa01a25f68418 Author: Jonathan Wakely Date:

[Bug libstdc++/97570] avr-gcc: error: 'void* memalign' redeclared as different kind of entity

2020-10-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97570 --- Comment #2 from Jonathan Wakely --- Thanks for the report. It's fixed on the development trunk now, but I will also backport it to the release branches.

[Bug libstdc++/97561] coroutine_handle doesn't have inheritance

2020-10-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97561 --- Comment #2 from Jonathan Wakely --- Do you have a real world use case where the inheritance is actually required?

[Bug tree-optimization/97579] [11 Regression] ICE in gimple_expand_vec_cond_expr, at gimple-isel.cc:201 since r11-4123-g128f43cf679e5156

2020-10-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97579 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Target|

[Bug libstdc++/97561] coroutine_handle doesn't have inheritance

2020-10-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97561 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/97572] [c++ 20] Constraining is broken

2020-10-26 Thread dimitri.gorokhovik at free dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97572 --- Comment #4 from Dimitri Gorokhovik --- I probably cannot objectively tell anymore which one is better, since I just read the specification. However, subjectively, Clang's diagnostics: a) seems to have phrasing much closer to the spec, and

[Bug c/97578] ice during IPA pass: inline

2020-10-26 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97578 --- Comment #2 from David Binderman --- Here is a second simpler test case: int a; static void b(int c) { if (a) while (c) b(0); d(); } void e(c) { b(c); } void f() { e(0); }

[Bug c/97578] ice during IPA pass: inline

2020-10-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97578 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug tree-optimization/97546] [11 Regression][SVE] ICE with -fenable-tree-bswap

2020-10-26 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97546 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug tree-optimization/97579] New: [11 Regression] ICE in gimple_expand_vec_cond_expr, at gimple-isel.cc:201 since r11-4123-g128f43cf679e5156

2020-10-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97579 Bug ID: 97579 Summary: [11 Regression] ICE in gimple_expand_vec_cond_expr, at gimple-isel.cc:201 since r11-4123-g128f43cf679e5156 Product: gcc Version: 11.0 Status:

[Bug tree-optimization/97579] [11 Regression] ICE in gimple_expand_vec_cond_expr, at gimple-isel.cc:201 since r11-4123-g128f43cf679e5156

2020-10-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97579 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug tree-optimization/97546] [11 Regression][SVE] ICE with -fenable-tree-bswap

2020-10-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97546 --- Comment #4 from CVS Commits --- The master branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:7f0ce82a4c033b78ec5131a27bac87271bb95185 commit r11-4382-g7f0ce82a4c033b78ec5131a27bac87271bb95185 Author: Kyrylo Tkachov Date:

[Bug c++/97572] [c++ 20] Constraining is broken

2020-10-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97572 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic --- Comment #3 from

[Bug c/97578] New: ice during IPA pass: inline

2020-10-26 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97578 Bug ID: 97578 Summary: ice during IPA pass: inline Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee:

[Bug target/97521] [11 Regression] wrong code with -mno-sse2 since r11-3394

2020-10-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97521 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED

[Bug target/97521] [11 Regression] wrong code with -mno-sse2 since r11-3394

2020-10-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97521 --- Comment #23 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:605c2a393d3a2db86454a70fd7c9467db434060c commit r11-4381-g605c2a393d3a2db86454a70fd7c9467db434060c Author: Richard Biener Date:

[Bug target/95151] [9/10/11 Regression] Add cmpmemM pattern for -minline-all-stringops

2020-10-26 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95151 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/95458] Inline strncmp is *much* slower than glibc

2020-10-26 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95458 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/95458] Inline strncmp is *much* slower than glibc

2020-10-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95458 --- Comment #3 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:4052c05e5b30fee0fb95a51e74e12a56dce29491 commit r11-4380-g4052c05e5b30fee0fb95a51e74e12a56dce29491 Author: H.J. Lu Date: Wed Jul 15

[Bug libstdc++/97570] avr-gcc: error: 'void* memalign' redeclared as different kind of entity

2020-10-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97570 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at

[Bug c++/97572] [c++ 20] Constraining is broken

2020-10-26 Thread dimitri.gorokhovik at free dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97572 --- Comment #2 from Dimitri Gorokhovik --- Fair enough, passing a boolean by value into 'any()' is evaluation of local parameter 't', and that is prohibited (7.5.7.4/2). Doesn't this merit a better diagnostics though? A slightly modified

[Bug tree-optimization/97539] [10 Regression] ICE verify_ssa failed since r10-4200-gb7ff7cef5005721e

2020-10-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97539 Richard Biener changed: What|Removed |Added Known to fail|11.0| Summary|[10/11 Regression]

[Bug rtl-optimization/97554] ICE: during RTL pass: cprop /segfault in sbitmap

2020-10-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97554 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/97539] [10/11 Regression] ICE verify_ssa failed since r10-4200-gb7ff7cef5005721e

2020-10-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97539 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:27c14056f4805c9d8cfc655ef2c846be128b02c9 commit r11-4376-g27c14056f4805c9d8cfc655ef2c846be128b02c9 Author: Richard Biener Date:

[Bug tree-optimization/97559] [11 Regression] ICE at -O1 and above on x86_64-pc-linux-gnu: verify_ssa failed

2020-10-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97559 Jakub Jelinek changed: What|Removed |Added Summary|ICE at -O1 and above on |[11 Regression] ICE at -O1

[Bug tree-optimization/97556] [11 Regression] ICE at -O2 and -O3 in 32-bit mode on x86_64-pc-linux-gnu in size_remaining, at builtins.c:235 since r11-3827

2020-10-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97556 --- Comment #2 from Jakub Jelinek --- I think the problem is that compute_objsize doesn't bother to check for any kind of overflow on any arithmetics it does. E.g. in: 4815 offset_int sz = wi::to_offset (tpsize); 4816

  1   2   >