[Bug target/97205] arm: Compiler fails with an ICE for -O0 on Trunk and GCC-10 for _Generic feature.

2020-10-28 Thread bernd.edlinger at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97205 --- Comment #5 from Bernd Edlinger --- (In reply to SRINATH PARVATHANENI from comment #4) > With the above patch I'm getting ICE as below while building arm-none-eabi > target: > > checking for scalbnl... during RTL pass: expand > > generice_bu

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

2020-10-28 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97579 --- Comment #3 from rguenther at suse dot de --- On Tue, 27 Oct 2020, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97579 > > --- Comment #2 from Martin Li?ka --- > (In reply to Richard Biener from comment #1)

[Bug debug/97599] [8/9/10/11 Regression] missing unspecified_parameters DIE in DWARF for functions with variable arguments

2020-10-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97599 --- Comment #1 from Richard Biener --- I think the main confusion is as to how we represent IPA clones in debug, namely making them have an abstract origin to the cloned function even though their signatures do not match. In reality we're creati

[Bug target/97205] arm: Compiler fails with an ICE for -O0 on Trunk and GCC-10 for _Generic feature.

2020-10-28 Thread bernd.edlinger at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97205 --- Comment #6 from Bernd Edlinger --- (In reply to rguent...@suse.de from comment #3) > On Tue, 27 Oct 2020, bernd.edlinger at hotmail dot de wrote: > > --- a/gcc/emit-rtl.c > > +++ b/gcc/emit-rtl.c > > @@ -2089,7 +2089,8 @@ set_mem_attributes_m

[Bug debug/97599] [8/9/10/11 Regression] missing unspecified_parameters DIE in DWARF for functions with variable arguments

2020-10-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97599 --- Comment #2 from Richard Biener --- Implementation-wise we'd have to put a wrapping inline BLOCK in function clones plus the appropriate inlined PARM_DECLs / debug stmts to initialize the call parameters. And then simply forgo with setting DE

[Bug tree-optimization/97603] Failure to optimize out compare into reuse of subtraction result

2020-10-28 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97603 --- Comment #3 from Gabriel Ravier --- Well, I don't actually know enough to be able to determine which would be optimal. Transformation to the example from the third comment would be suboptimal on some targets (say, I don't think AVR would like

[Bug testsuite/97611] New: FAIL: gfortran.dg/vect/pr83232.f90 with AVX, suitable target selector missing

2020-10-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97611 Bug ID: 97611 Summary: FAIL: gfortran.dg/vect/pr83232.f90 with AVX, suitable target selector missing Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: no

[Bug target/97205] arm: Compiler fails with an ICE for -O0 on Trunk and GCC-10 for _Generic feature.

2020-10-28 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97205 --- Comment #7 from rguenther at suse dot de --- On Wed, 28 Oct 2020, bernd.edlinger at hotmail dot de wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97205 > > --- Comment #6 from Bernd Edlinger --- > (In reply to rguent...@suse.de from

[Bug target/97205] arm: Compiler fails with an ICE for -O0 on Trunk and GCC-10 for _Generic feature.

2020-10-28 Thread sripar01 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97205 --- Comment #8 from SRINATH PARVATHANENI --- (In reply to Bernd Edlinger from comment #5) > (In reply to SRINATH PARVATHANENI from comment #4) > > With the above patch I'm getting ICE as below while building arm-none-eabi > > target: > > > > che

[Bug c++/97569] Declaring a struct in a field declaration of another struct. gcc and clang difference.

2020-10-28 Thread anders.granlund.0 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97569 Anders Granlund changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug fortran/97612] New: Structure constructor of type with nested allocatable array components fails to compile

2020-10-28 Thread mscfd at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97612 Bug ID: 97612 Summary: Structure constructor of type with nested allocatable array components fails to compile Product: gcc Version: 10.1.0 Status: UNCONFIRMED

[Bug libstdc++/97613] New: chrono::year_month_weekday cast to sys_days : return bad value if index() == 0

2020-10-28 Thread faithandbrave at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97613 Bug ID: 97613 Summary: chrono::year_month_weekday cast to sys_days : return bad value if index() == 0 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: n

[Bug libstdc++/97613] chrono::year_month_weekday cast to sys_days : return bad value if index() == 0

2020-10-28 Thread faithandbrave at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97613 --- Comment #1 from Akira Takahashi --- - #include + #include #include #include namespace chrono = std::chrono; using namespace std::chrono_literals; int main() { chrono::sys_days date1 = 2020y/3/chrono::Sunday[1]; assert(chrono::year_

[Bug tree-optimization/97595] [11 Regression] bogus -Wstringop-overflow due to DECL_SIZE_UNIT underreporting field size

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

[Bug debug/97599] [8/9/10/11 Regression] missing unspecified_parameters DIE in DWARF for functions with variable arguments

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

[Bug debug/97599] [8/9/10/11 Regression] missing unspecified_parameters DIE in DWARF for functions with variable arguments

2020-10-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97599 Jakub Jelinek changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug rtl-optimization/97603] Failure to optimize out compare into reuse of subtraction result

2020-10-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97603 Richard Biener changed: What|Removed |Added Component|tree-optimization |rtl-optimization Last reconfirmed|

[Bug lto/96680] [11 Regression][OpenMP][LTO] Declare variant + ICE in lto_fixup_prevailing_decls, at lto/lto-common.c:2595

2020-10-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96680 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f165ef89c08ddabb19583e45e8a6819f810d95ab commit r11-4468-gf165ef89c08ddabb19583e45e8a6819f810d95ab Author: Jakub Jelinek Date: We

[Bug testsuite/81690] libgomp.c/{target-32,thread-limit-2}.c fail for nvptx: missing usleep

2020-10-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81690 --- Comment #10 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:3f39b64e57ab8e8f69a017e4bd20aa6dd2aec492 commit r11-4469-g3f39b64e57ab8e8f69a017e4bd20aa6dd2aec492 Author: Jakub Jelinek Date: W

[Bug tree-optimization/97081] [8/9/10 Regression] wrong code for rotate vectorization (x86 target)

2020-10-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97081 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:ca84557f3024c75ede850007099ec9b2c19e9f8a commit r10-8948-gca84557f3024c75ede850007099ec9b2c19e9f8a Author: Richard Biener

[Bug tree-optimization/97081] [8/9/10 Regression] wrong code for rotate vectorization (x86 target)

2020-10-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97081 --- Comment #10 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:a78cd759754c92cecbf235ac9b447dcdff6c6e2f commit r10-8949-ga78cd759754c92cecbf235ac9b447dcdff6c6e2f Author: Jakub Jelinek

[Bug tree-optimization/97605] unused conditionally freed allocation not eliminated

2020-10-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97605 Richard Biener changed: What|Removed |Added Last reconfirmed||2020-10-28 Status|UNCONFIRM

[Bug target/97532] [11 Regression] Error: insn does not satisfy its constraints, internal compiler error: in extract_constrain_insn, at recog.c:2196

2020-10-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97532 Richard Biener changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment #

[Bug target/97606] internal compiler error: in extract_constrain_insn, at recog.c:2196

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

[Bug rtl-optimization/97607] Spurious sign extension

2020-10-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97607 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Target|

[Bug tree-optimization/97609] [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

2020-10-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97609 Richard Biener changed: What|Removed |Added CC||aldyh at gcc dot gnu.org Prio

[Bug analyzer/97614] New: MinGW-w64 pointer to long conversion loses precision error

2020-10-28 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97614 Bug ID: 97614 Summary: MinGW-w64 pointer to long conversion loses precision error Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Prio

[Bug debug/97599] [8/9/10/11 Regression] missing unspecified_parameters DIE in DWARF for functions with variable arguments

2020-10-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97599 --- Comment #4 from Jakub Jelinek --- Another version of the patch: --- gcc/dwarf2out.c.jj 2020-10-27 18:38:00.001979404 +0100 +++ gcc/dwarf2out.c 2020-10-28 10:52:29.618796758 +0100 @@ -22756,6 +22756,7 @@ gen_subprogram_die (tree decl, dw_

[Bug debug/97599] [8/9/10/11 Regression] missing unspecified_parameters DIE in DWARF for functions with variable arguments

2020-10-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97599 Richard Biener changed: What|Removed |Added CC||aoliva at gcc dot gnu.org --- Comment #

[Bug tree-optimization/97615] New: [11 Regression] -O3 on -Wsequence-point-unclean code ICEs: during GIMPLE pass: slp: internal compiler error: in vectorizable_live_operation, at tree-vect-loop.c:8497

2020-10-28 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97615 Bug ID: 97615 Summary: [11 Regression] -O3 on -Wsequence-point-unclean code ICEs: during GIMPLE pass: slp: internal compiler error: in vectorizable_live_operation, at

[Bug tree-optimization/97615] [11 Regression] -O3 on -Wsequence-point-unclean code ICEs: during GIMPLE pass: slp: internal compiler error: in vectorizable_live_operation, at tree-vect-loop.c:8497

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

[Bug tree-optimization/97616] New: [11 regression] bb-slp-58.c and bb-slp-59.c fail on arm after r11-4428

2020-10-28 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97616 Bug ID: 97616 Summary: [11 regression] bb-slp-58.c and bb-slp-59.c fail on arm after r11-4428 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/97616] [11 regression] bb-slp-58.c and bb-slp-59.c fail on arm after r11-4428

2020-10-28 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97616 Christophe Lyon changed: What|Removed |Added Target Milestone|--- |11.0

[Bug tree-optimization/97615] [11 Regression] -O3 on -Wsequence-point-unclean code ICEs: during GIMPLE pass: slp: internal compiler error: in vectorizable_live_operation, at tree-vect-loop.c:8497

2020-10-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97615 --- Comment #2 from Jakub Jelinek --- And slightly simplified; still ICEs with -O3: short *a; int e, f; void foo (int c, int d) { short *a1, *a2, *a3; a1 = a++; *a1 = c; a2 = a++; *a2 = *a1; a3 = a++; *a3 = d; } void bar (void) {

[Bug tree-optimization/97616] [11 regression] bb-slp-58.c and bb-slp-59.c fail on arm after r11-4428

2020-10-28 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97616 --- Comment #1 from Christophe Lyon --- Actually these are not regressions, but new failures since the tests were just added.

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504 --- Comment #18 from CVS Commits --- The master branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:31643fa3e994749bd2da7b35846f1958f8823b8d commit r11-4472-g31643fa3e994749bd2da7b35846f1958f8823b8d Author: Alexandre Oliva Date:

[Bug tree-optimization/97609] [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

2020-10-28 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97609 Aldy Hernandez changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug middle-end/97617] New: missing aggressive loop optimization warning in C++

2020-10-28 Thread jan.smets at nokia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97617 Bug ID: 97617 Summary: missing aggressive loop optimization warning in C++ Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

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

2020-10-28 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97497 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirme

[Bug middle-end/97617] missing aggressive loop optimization warning in C++

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

[Bug target/97323] [10/11 Regression] ICE 'verify_type' failed on arm-linux-gnueabihf

2020-10-28 Thread mkuvyrkov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97323 Maxim Kuvyrkov changed: What|Removed |Added CC||mkuvyrkov at gcc dot gnu.org,

[Bug tree-optimization/97615] [11 Regression] -O3 on -Wsequence-point-unclean code ICEs: during GIMPLE pass: slp: internal compiler error: in vectorizable_live_operation, at tree-vect-loop.c:8497

2020-10-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97615 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/97616] [11 regression] bb-slp-58.c and bb-slp-59.c fail on arm after r11-4428

2020-10-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97616 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libstdc++/95609] span could have better layout

2020-10-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95609 --- Comment #4 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:0f7cd5e5735e5536bf7bc8ca2b998f7ce8b4ddee commit r11-4475-g0f7cd5e5735e5536bf7bc8ca2b998f7ce8b4ddee Author: Jonathan Wakely Date:

[Bug libstdc++/95609] span could have better layout

2020-10-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95609 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug libstdc++/95592] Collision with struct _Cosh when Cross compiling libstdc++

2020-10-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95592 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:72a87d82e0d0741d75c72c8f3d2fc070e3a02b5f commit r11-4476-g72a87d82e0d0741d75c72c8f3d2fc070e3a02b5f Author: Jonathan Wakely Date:

[Bug libstdc++/95592] Collision with struct _Cosh when Cross compiling libstdc++

2020-10-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95592 Jonathan Wakely changed: What|Removed |Added Keywords||build Target Milestone|---

[Bug c++/95567] Defaulted virtual <=> has the wrong behavior

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

[Bug c++/95557] __STDCPP_DEFAULT_NEW_ALIGNMENT__ is int instead of size_t

2020-10-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95557 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug middle-end/97617] missing aggressive loop optimization warning in C++

2020-10-28 Thread jan.smets at nokia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97617 --- Comment #2 from Jan Smets --- Is it maybe a possibility to report the (possible) false positives with something like -Waggressive-loop-optimizations=2 ? Would that only require a skip of single_exit() in do_warn_aggressive_loop_optimization

[Bug middle-end/97617] missing aggressive loop optimization warning in C++

2020-10-28 Thread jan.smets at nokia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97617 --- Comment #3 from Jan Smets --- Sorry, I was too quickly in my wording to "skip single_exit()", of course that edge is still required.

[Bug libstdc++/89610] Move-assigning a pmr container sometimes copies the elements instead of moving them

2020-10-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89610 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Assignee|unassigned

[Bug libstdc++/92124] std::vector copy-assigning when it should move-assign.

2020-10-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92124 Jonathan Wakely changed: What|Removed |Added CC||arthur.j.odwyer at gmail dot com ---

[Bug libstdc++/94268] std::filebuf is extremely (at least 10x) slow on windows compared to Linux. Even much slower MSVC STL with terrible ABI.

2020-10-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94268 --- Comment #11 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:0bc199fc5d4eef5a20ced20df892e5e3b8821b60 commit r11-4479-g0bc199fc5d4eef5a20ced20df892e5e3b8821b60 Author: Jonathan Wakely Date:

[Bug libstdc++/94268] std::filebuf is extremely (at least 10x) slow on windows compared to Linux. Even much slower MSVC STL with terrible ABI.

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

[Bug libstdc++/97362] [8/9/10 Regression] `__deref` in in debug mode clashes with internal macro in Windows system header

2020-10-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97362 Jonathan Wakely changed: What|Removed |Added Summary|[8/9/10/11 Regression] |[8/9/10 Regression]

[Bug tree-optimization/97596] [11 Regression] ICE in wide_int_to_tree_1, at tree.c:1535 r11-3685-gfcae5121154d1c33

2020-10-28 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97596 --- Comment #2 from Andrew Macleod --- This should be fixed with: commit 279a9ce9d545f65a0bb1bc4564abafabfc25f82d Author: Jakub Jelinek Date: Wed Oct 28 10:24:20 2020 +0100 wide-int: Fix up set_bit_large > >> wide_int new_lb = wi::s

[Bug libstdc++/97613] chrono::year_month_weekday cast to sys_days : return bad value if index() == 0

2020-10-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97613 Patrick Palka changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c/97618] New: undefined reference to LC11 building for target MinGW-w64 32-bit

2020-10-28 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97618 Bug ID: 97618 Summary: undefined reference to LC11 building for target MinGW-w64 32-bit Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c++/96331] Class template argument deduction (CTAD) with Concepts

2020-10-28 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96331 Pilar Latiesa changed: What|Removed |Added CC||pilarlatiesa at gmail dot com --- Commen

[Bug libstdc++/65114] char_traits::copy violates memcpy constraints, own postcondition

2020-10-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65114 Jonathan Wakely changed: What|Removed |Added Status|NEW |SUSPENDED --- Comment #3 from Jonathan

[Bug libstdc++/60630] FAIL: 21_strings/basic_string/literals/types.cc (test for excess errors)

2020-10-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60630 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2020-10-28 Status|UNCONFIR

[Bug tree-optimization/97615] [11 Regression] -O3 on -Wsequence-point-unclean code ICEs: during GIMPLE pass: slp: internal compiler error: in vectorizable_live_operation, at tree-vect-loop.c:8497

2020-10-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97615 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:b626b00823af9ca9ab619fe13d1e8703a3101dab commit r11-4482-gb626b00823af9ca9ab619fe13d1e8703a3101dab Author: Richard Biener Date:

[Bug tree-optimization/97615] [11 Regression] -O3 on -Wsequence-point-unclean code ICEs: during GIMPLE pass: slp: internal compiler error: in vectorizable_live_operation, at tree-vect-loop.c:8497

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

[Bug tree-optimization/97616] [11 regression] bb-slp-58.c and bb-slp-59.c fail on arm after r11-4428

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

[Bug libstdc++/95609] span could have better layout

2020-10-28 Thread s_gccbugzilla at nedprod dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95609 --- Comment #6 from Niall Douglas --- Cool, thanks. I believe that all three major STLs now implement struct iovec compatibility with span. That's a nice win.

[Bug c/97618] undefined reference to LC11 building for target MinGW-w64 32-bit

2020-10-28 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97618 --- Comment #1 from Brecht Sanders --- I see a similar issue when building mpfr with the resulting compiler, but here the error is: build_mingw\i686-w64-mingw32\libgcc/../../../libgcc/config/libbid/bid128_div.c:616: undefined reference to `LC4'

[Bug libstdc++/60630] FAIL: 21_strings/basic_string/literals/types.cc (test for excess errors)

2020-10-28 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60630 --- Comment #2 from dave.anglin at bell dot net --- My hpux11.00 machine died some years ago. On hpux11.11, the  only non prettyprinter fail is: FAIL: 26_numerics/complex/proj.cc execution test The prettyprinter tests all fail due to a perl issu

[Bug c/45821] Missed -Wreturn-local-addr when local variable address comes from within a statement expression

2020-10-28 Thread philiprbrenan at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45821 Philip R Brenan changed: What|Removed |Added CC||philiprbrenan at gmail dot com --- Com

[Bug libstdc++/65113] string::copy violates traits requirements

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

[Bug c++/68003] Variable declared in condition in for loop is destroyed too soon

2020-10-28 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68003 Arthur O'Dwyer changed: What|Removed |Added CC||arthur.j.odwyer at gmail dot com --- C

[Bug c++/68003] Variable declared in condition in for loop is destroyed too soon

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

[Bug c++/86769] g++ destroys condition variable in for statement too early

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

[Bug c++/87404] Implement -Wenum-compare and -Wenum-compare-switch

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

[Bug c++/95132] Concept checked after auto return type deduction

2020-10-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95132 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:9ccc3495766116ea4ae8e4cd8129beca60e30445 commit r11-4488-g9ccc3495766116ea4ae8e4cd8129beca60e30445 Author: Patrick Palka Date: We

[Bug c/97618] undefined reference to LC11 building for target MinGW-w64 32-bit

2020-10-28 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97618 --- Comment #2 from Brecht Sanders --- To build mpfr wich fails with: build_mingw\i686-w64-mingw32\libgcc/../../../libgcc/config/libbid/bid128_div.c:1523: undefined reference to `LC4' I figured out that the symbol LC4 is defined in libgcc.a, so

[Bug c++/86769] g++ destroys condition variable in for statement too early

2020-10-28 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86769 Arthur O'Dwyer changed: What|Removed |Added CC||arthur.j.odwyer at gmail dot com --- C

[Bug analyzer/96713] [11 Regression] ICE: in fold_relational_const, at fold-const.c:14921 with -fanalyzer

2020-10-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96713 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:8572edc828f6d1e7c8243f901fe7c96f62a11a8e commit r11-4490-g8572edc828f6d1e7c8243f901fe7c96f62a11a8e Author: Patrick Palka Date: We

[Bug analyzer/96713] [11 Regression] ICE: in fold_relational_const, at fold-const.c:14921 with -fanalyzer

2020-10-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96713 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #5

[Bug tree-optimization/97609] [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

2020-10-28 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97609 --- Comment #2 from Aldy Hernandez --- tl;dr: substitute_and_fold_engine::replace_uses_in() creates invalid gimple, so when its loop goes on to request a range (value_of_expr), the ranger may see invalid IL and die an ungraceful death. The long

[Bug libstdc++/97613] chrono::year_month_weekday cast to sys_days : return bad value if index() == 0

2020-10-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97613 --- Comment #3 from Patrick Palka --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:8572edc828f6d1e7c8243f901fe7c96f62a11a8e commit r11-4490-g8572edc828f6d1e7c8243f901fe7c96f62a11a8e Author: Patrick Palka Date:

[Bug libstdc++/97613] chrono::year_month_weekday cast to sys_days : return bad value if index() == 0

2020-10-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97613 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/97609] [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

2020-10-28 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97609 --- Comment #3 from Aldy Hernandez --- And the reason this was working before is two-fold. First, value_of_expr() in legacy evrp won't look at broken gimple, so the request for __keep_12(D) in the following statement actually succeeds: __to_d

[Bug other/96217] undefined reference to `_Unwind_Resume'

2020-10-28 Thread legarrec.vincent at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96217 --- Comment #8 from LE GARREC Vincent --- Thanks, you're right. I was able to build with CFLAGS="-march=native -ggdb2 -g2 -pipe -fno-omit-frame-pointer -O0" CXXFLAGS="-march=native -ggdb2 -g2 -pipe -fno-omit-frame-pointer -O0" but with adding :

[Bug libstdc++/97600] [ranges] satisfaction value of range affected by prior use of basic_istream_view::begin()

2020-10-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97600 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org Last

[Bug c/97619] New: error: true/false edge after a non-GIMPLE_COND in bb

2020-10-28 Thread dcb314 at hotmail dot com via Gcc-bugs
unk and compiler flag -O3, does this: /home/dcb/gcc/results.20201027/bin/gcc /home/dcb/gcc/results.20201028/bin/gcc resample.c: In function ‘merge_linear_argb_ref’: resample.c:163:1: error: true/false edge after a non-GIMPLE_COND in bb 4 resample.c:163:1: error: true/false edge after a non-GIMPLE_CON

[Bug c/97619] error: true/false edge after a non-GIMPLE_COND in bb

2020-10-28 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97619 --- Comment #1 from David Binderman --- Reduced code is: char a; char *b; int c; void f(void) { char *d = f; int e; for(;e;e++) { d[4*e] = a*(256-c) + b[4*e]*c >> 8; d[4*e+1] = a*(

[Bug target/97205] arm: Compiler fails with an ICE for -O0 on Trunk and GCC-10 for _Generic feature.

2020-10-28 Thread bernd.edlinger at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97205 --- Comment #9 from Bernd Edlinger --- (In reply to rguent...@suse.de from comment #7) > On Wed, 28 Oct 2020, bernd.edlinger at hotmail dot de wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97205 > > > > --- Comment #6 from Bernd Edl

[Bug analyzer/97620] New: -fexec-charset=IBM16804 triggers ICE

2020-10-28 Thread euloanty at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97620 Bug ID: 97620 Summary: -fexec-charset=IBM16804 triggers ICE Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer

[Bug other/97621] New: [11 regression] bogus message in gcc.dg/analyzer/malloc-vs-local-1b.c after r11-4434

2020-10-28 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97621 Bug ID: 97621 Summary: [11 regression] bogus message in gcc.dg/analyzer/malloc-vs-local-1b.c after r11-4434 Product: gcc Version: 11.0 Status: UNCONFIRMED Sever

[Bug analyzer/97620] -fexec-charset=IBM16804 triggers ICE

2020-10-28 Thread euloanty at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97620 --- Comment #1 from fdlbxtqi --- Program: #include int main() { printf("Hello World %d\n",6); }

[Bug target/97457] [10/11 Regression] SVE: wrong code since r10-4752-g2d56600c

2020-10-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97457 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:54ef7701a9dec8c923a12d1983f8a051ba88a7b9 commit r11-4495-g54ef7701a9dec8c923a12d1983f8a051ba88a7b9 Author: Richard Sandiford Da

[Bug tree-optimization/82700] ICE in printf-return-value with -fexec-charset=EBCDIC-US: converting to execution character set: Invalid or incomplete multibyte or wide character

2020-10-28 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82700 Martin Sebor changed: What|Removed |Added CC||euloanty at live dot com --- Comment #4 f

[Bug tree-optimization/97620] -fexec-charset=IBM16804 triggers ICE

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

[Bug tree-optimization/97609] [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

2020-10-28 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97609 --- Comment #4 from Andrew Macleod --- This worked OK because the code does: /* Replace real uses in the statement. */ did_replace |= substitute_and_fold_engine->replace_uses_in (stmt); gimple_stmt_iterator prev_gsi = i;

[Bug target/97535] [9/10 Regression] On AArch64 memcpy expansion cannot handle length > 32-bit signed int max

2020-10-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97535 --- Comment #7 from CVS Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:3dcd47389b16f48dcf5512b9ebba15af5c0be948 commit r11-4496-g3dcd47389b16f48dcf5512b9ebba15af5c0be948 Author: Tamar Christina Date:

[Bug tree-optimization/97620] -fexec-charset=IBM16804 triggers ICE

2020-10-28 Thread euloanty at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97620 --- Comment #3 from fdlbxtqi --- (In reply to Martin Sebor from comment #2) > This is almost certainly caused by an incomplete charset, same as in pr82700. > > *** This bug has been marked as a duplicate of bug 82700 *** Then provide a better e

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

2020-10-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86773 --- Comment #3 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:43cb72263fb3b7b97a74fb38d71364a1d5cf0448 commit r11-4498-g43cb72263fb3b7b97a74fb38d71364a1d5cf0448 Author: Marek Polacek Date: Mo

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

2020-10-28 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 Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/94799] [8/9/10 Regression] Calling a member template function fails

2020-10-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94799 --- Comment #16 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:323dd4255203479d8c456b85513db4f8e0041d04 commit r11-4499-g323dd4255203479d8c456b85513db4f8e0041d04 Author: Marek Polacek Date: M

  1   2   >