[Bug gcov-profile/97722] undefined symbol: __gcov_indirect_call_callee

2020-11-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97722 Richard Biener changed: What|Removed |Added CC||marxin at gcc dot gnu.org Comp

[Bug tree-optimization/97721] [11 Regression] ICE in verify_range, at value-range.cc:361

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

[Bug debug/97718] [11 regression] Excessive GDB memory usage after GCC "Save some memory at debug stream-in time"

2020-11-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97718 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Target Milestone|---

[Bug tree-optimization/97717] compilation with -O(1/2/3) flag failed while -O0 succeeds

2020-11-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97717 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug fortran/97723] New: type bound ASSIGNMENT(=) within select rank block wrongly rejected

2020-11-04 Thread mscfd at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97723 Bug ID: 97723 Summary: type bound ASSIGNMENT(=) within select rank block wrongly rejected Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/97237] [10/11 Regression] static_assert does not accept fpermissive code

2020-11-04 Thread lutztonineubert at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97237 Toni Neubert changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug testsuite/97705] [11 regression] cc.c-torture/unsorted/dump-noaddr.c.*r.ira fails after r11-4637

2020-11-04 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97705 --- Comment #4 from Kewen Lin --- I think my commit just exposed one bug in ira. The newly introduced function remove_scratches can bump the max_regno, then the data structures regstat_n_sets_and_refs and reg_info_p which are allocated according

[Bug c++/97722] New: undefined symbol: __gcov_indirect_call_callee

2020-11-04 Thread jongsung.kim at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97722 Bug ID: 97722 Summary: undefined symbol: __gcov_indirect_call_callee Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c+

[Bug tree-optimization/97721] New: [11 Regression] ICE in verify_range, at value-range.cc:361

2020-11-04 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97721 Bug ID: 97721 Summary: [11 Regression] ICE in verify_range, at value-range.cc:361 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Prio

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2020-11-04 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 96789, which changed state. Bug 96789 Summary: x264: sub4x4_dct() improves when vectorization is disabled https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96789 What|Removed |Added -

[Bug target/96789] x264: sub4x4_dct() improves when vectorization is disabled

2020-11-04 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96789 Kewen Lin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/97720] Sometimes std::current_exception does not work properly in the terminate handler

2020-11-04 Thread m101010a at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97720 --- Comment #2 from m101010a at gmail dot com --- > when the compiler can see there is no matching handler for the exception, > it doesn't perform stack unwinding This is fine, it's implementation-defined whether the stack is unwound. > it just

[Bug target/97685] -march=tremont should enable MOVDIRI/MOVDIR64B/CLDEMOTE/SGX/WAITPKG.

2020-11-04 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97685 --- Comment #1 from Hongtao.liu --- HRESET wouldn't be supported on SPR

[Bug middle-end/97373] missing warning on sprintf into allocated destination

2020-11-04 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97373 Martin Sebor changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug libstdc++/92546] [10/11 Regression] Large increase in preprocessed file sizes in C++2a mode

2020-11-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92546 --- Comment #11 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #10) > r11-4269 and r11-4270 made a bit difference on trunk. s/bit/big/

[Bug libstdc++/92546] [10/11 Regression] Large increase in preprocessed file sizes in C++2a mode

2020-11-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92546 --- Comment #10 from Jonathan Wakely --- r11-4269 and r11-4270 made a bit difference on trunk.

[Bug libstdc++/97719] [11 Regression] "Implement C++20 features for " changed behavior of istreambuf_iterator

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

[Bug libstdc++/97719] [11 Regression] "Implement C++20 features for " changed behavior of istreambuf_iterator

2020-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97719 --- Comment #1 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:8f565d255a3157828e45f8b9844b3d156193c182 commit r11-4729-g8f565d255a3157828e45f8b9844b3d156193c182 Author: Jonathan Wakely Date:

[Bug middle-end/71690] some integer conversions defeat memcpy optimizaton

2020-11-04 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71690 Andrew Macleod changed: What|Removed |Added CC||amacleod at redhat dot com --- Comment

[Bug libstdc++/97719] [11 Regression] "Implement C++20 features for " changed behavior of istreambuf_iterator

2020-11-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97719 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org

[Bug libstdc++/97719] [11 Regression] "Implement C++20 features for " changed behavior of istreambuf_iterator

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

[Bug c++/97720] Sometimes std::current_exception does not work properly in the terminate handler

2020-11-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97720 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/97720] New: Sometimes std::current_exception does not work properly in the terminate handler

2020-11-04 Thread m101010a at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97720 Bug ID: 97720 Summary: Sometimes std::current_exception does not work properly in the terminate handler Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severit

[Bug c++/96720] ICE with* after include

2020-11-04 Thread abrahm.scully at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96720 Abrahm Scully changed: What|Removed |Added CC||abrahm.scully at gmail dot com --- Comme

[Bug libstdc++/97719] New: "Implement C++20 features for " changed behavior of istreambuf_iterator

2020-11-04 Thread rodgertq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97719 Bug ID: 97719 Summary: "Implement C++20 features for " changed behavior of istreambuf_iterator Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug target/97715] [11 Regression] ICE in insn_default_length, at config/i386/i386.md:15325 since r11-4578-gd10f3e900b0377b4

2020-11-04 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97715 --- Comment #22 from qinzhao at gcc dot gnu.org --- proposed patch: This change fixes a bug in the i386 backend when adding -fzero-call-used-regs=all on a target that has no x87 registers. When there is no x87 registers available, we should not

[Bug analyzer/97668] [11 Regression] ICE in cmp_cst, at analyzer/svalue.cc:283

2020-11-04 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97668 David Malcolm changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/97712] Attribute nodiscard in virtual methods is ignored

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

[Bug debug/97718] New: [11 regression] Excessive GDB memory usage after GCC "Save some memory at debug stream-in time"

2020-11-04 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97718 Bug ID: 97718 Summary: [11 regression] Excessive GDB memory usage after GCC "Save some memory at debug stream-in time" Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug analyzer/97668] [11 Regression] ICE in cmp_cst, at analyzer/svalue.cc:283

2020-11-04 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97668 --- Comment #2 from Arseny Solokha --- Finally, a C testcase: void wb (_Complex double jh) { _Complex double af = 0.0; do { af += jh; } while (af != 0.0); } _Complex double o6 (void) { _Complex double ba = 0.0; for (;;

[Bug c++/97712] Attribute nodiscard in virtual methods is ignored

2020-11-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97712 --- Comment #2 from Marek Polacek --- Looks like we don't track attributes properly for OBJ_TYPE_REFs in maybe_warn_nodiscard.

[Bug target/97715] [11 Regression] ICE in insn_default_length, at config/i386/i386.md:15325 since r11-4578-gd10f3e900b0377b4

2020-11-04 Thread qing.zhao at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97715 --- Comment #21 from Qing Zhao --- > --- Comment #19 from Jakub Jelinek --- > And, actually the function.c change is probably unnecessary, because the > if (!crtl->abi->clobbers_full_reg_p (regno)) >continue; > if (!fixed_regs[

[Bug target/97715] [11 Regression] ICE in insn_default_length, at config/i386/i386.md:15325 since r11-4578-gd10f3e900b0377b4

2020-11-04 Thread qing.zhao at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97715 --- Comment #20 from Qing Zhao --- > On Nov 4, 2020, at 11:48 AM, jakub at gcc dot gnu.org > wrote: > > --- Comment #18 from Jakub Jelinek --- > --- gcc/function.c.jj 2020-10-31 17:41:19.756740009 +0100 > +++ gcc/function.c 2020-11-04

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

2020-11-04 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97567 Andrew Macleod changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug inline-asm/97708] Inline asm does not use the local register asm specified with register ... asm() as input

2020-11-04 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97708 Segher Boessenkool changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #23 from Segher B

[Bug tree-optimization/97515] [11 Regression] ICE: verify_gimple failed (error: type mismatch in 'rshift_expr') since r11-3685-gfcae5121154d1c33

2020-11-04 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97515 Andrew Macleod changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/97515] [11 Regression] ICE: verify_gimple failed (error: type mismatch in 'rshift_expr') since r11-3685-gfcae5121154d1c33

2020-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97515 --- Comment #5 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:e86fd6a17cdb26710d1f13c9a47a3878c76028f9 commit r11-4724-ge86fd6a17cdb26710d1f13c9a47a3878c76028f9 Author: Andrew MacLeod Date:

[Bug target/97715] [11 Regression] ICE in insn_default_length, at config/i386/i386.md:15325 since r11-4578-gd10f3e900b0377b4

2020-11-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97715 --- Comment #19 from Jakub Jelinek --- And, actually the function.c change is probably unnecessary, because the if (!crtl->abi->clobbers_full_reg_p (regno)) continue; if (!fixed_regs[i]) continue; should already rule t

[Bug inline-asm/97708] Inline asm does not use the local register asm specified with register ... asm() as input

2020-11-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97708 Jakub Jelinek changed: What|Removed |Added Resolution|--- |INVALID Status|REOPENED

[Bug inline-asm/97708] Inline asm does not use the local register asm specified with register ... asm() as input

2020-11-04 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97708 --- Comment #21 from Segher Boessenkool --- register float foo asm ("xmm0") = 0.99f; asm volatile("movl %0, %%r8d\n\t" "vmcall\n\t" :: "g" (foo)); The user said operands[0] should go i

[Bug target/97715] [11 Regression] ICE in insn_default_length, at config/i386/i386.md:15325 since r11-4578-gd10f3e900b0377b4

2020-11-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97715 --- Comment #18 from Jakub Jelinek --- --- gcc/function.c.jj 2020-10-31 17:41:19.756740009 +0100 +++ gcc/function.c 2020-11-04 17:56:53.790403571 +0100 @@ -5871,6 +5871,8 @@ gen_call_used_regs_seq (rtx_insn *ret, u continue;

[Bug inline-asm/97708] Inline asm does not use the local register asm specified with register ... asm() as input

2020-11-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97708 --- Comment #20 from Jakub Jelinek --- But the user didn't do anything wrong, perhaps just had bad expectations. The user asked put the value of this variable into a general purpose register or memory. So the compiler did that.

[Bug inline-asm/97708] Inline asm does not use the local register asm specified with register ... asm() as input

2020-11-04 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97708 --- Comment #19 from Segher Boessenkool --- Documenting that GCC behaves differently is just documenting a bug :-( It should not be hard to detect this and give an error somewhere? Saying "the user did something wrong" is true of course, but th

[Bug c/66918] Disable "inline function declared but never defined" warning

2020-11-04 Thread federico.kircheis at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66918 Federico Kircheis changed: What|Removed |Added CC||federico.kircheis at gmail dot com

[Bug tree-optimization/97717] compilation with -O(1/2/3) flag failed while -O0 succeeds

2020-11-04 Thread kranti.rkiran at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97717 Rahul Kranti Kiran changed: What|Removed |Added CC||kranti.rkiran at gmail dot com ---

[Bug c++/97716] Class's `operator delete`should be implicitly `noexcept`

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

[Bug tree-optimization/97717] New: compilation with -O(1/2/3) flag failed while -O0 succeeds

2020-11-04 Thread kranti.rkiran at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97717 Bug ID: 97717 Summary: compilation with -O(1/2/3) flag failed while -O0 succeeds Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal Prio

[Bug c++/97716] New: Class's `operator delete`should be implicitly `noexcept`

2020-11-04 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97716 Bug ID: 97716 Summary: Class's `operator delete`should be implicitly `noexcept` Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priori

[Bug target/97534] [10/11 Regression] ICE in decompose, at rtl.h:2280 (arm-linux-gnueabihf)

2020-11-04 Thread otto at kekalainen dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97534 Otto Kekäläinen changed: What|Removed |Added CC||otto at kekalainen dot net --- Comment

[Bug target/97715] [11 Regression] ICE in insn_default_length, at config/i386/i386.md:15325 since r11-4578-gd10f3e900b0377b4

2020-11-04 Thread qing.zhao at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97715 --- Comment #17 from Qing Zhao --- > On Nov 4, 2020, at 10:08 AM, ubizjak at gmail dot com > wrote: >> >> I used the following in middle end to exclude fixed registers from being >> zeroed: >> if (fixed_regs[regno]) >>continue; >>

[Bug target/97715] [11 Regression] ICE in insn_default_length, at config/i386/i386.md:15325 since r11-4578-gd10f3e900b0377b4

2020-11-04 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97715 --- Comment #16 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #15) > They aren't live. But that loop checks that only if only_used is true, when > one uses =all, it marks all regs that aren't fixed, aren't live at the end > of the

[Bug target/97715] [11 Regression] ICE in insn_default_length, at config/i386/i386.md:15325 since r11-4578-gd10f3e900b0377b4

2020-11-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97715 --- Comment #15 from Jakub Jelinek --- They aren't live. But that loop checks that only if only_used is true, when one uses =all, it marks all regs that aren't fixed, aren't live at the end of the function and a few other checks.

[Bug target/97715] [11 Regression] ICE in insn_default_length, at config/i386/i386.md:15325 since r11-4578-gd10f3e900b0377b4

2020-11-04 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97715 --- Comment #14 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #11) > I think you should do: > --- gcc/function.c2020-10-31 17:41:19.756740009 +0100 > +++ gcc/function.c2020-11-04 17:02:51.199298173 +0100 > @@ -5871,6 +5871,

[Bug target/97715] [11 Regression] ICE in insn_default_length, at config/i386/i386.md:15325 since r11-4578-gd10f3e900b0377b4

2020-11-04 Thread qing.zhao at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97715 --- Comment #13 from Qing Zhao --- > On Nov 4, 2020, at 10:04 AM, jakub at gcc dot gnu.org > wrote: > --- Comment #11 from Jakub Jelinek --- > I think you should do: > --- gcc/function.c 2020-10-31 17:41:19.756740009 +0100 > +++ gcc/funct

[Bug target/97715] [11 Regression] ICE in insn_default_length, at config/i386/i386.md:15325 since r11-4578-gd10f3e900b0377b4

2020-11-04 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97715 --- Comment #12 from Uroš Bizjak --- (In reply to Qing Zhao from comment #10) > > On Nov 4, 2020, at 9:45 AM, ubizjak at gmail dot com > > wrote: > >> fixed registers should already be excluded from zeroing. > >> are ST registers considered FI

[Bug target/97715] [11 Regression] ICE in insn_default_length, at config/i386/i386.md:15325 since r11-4578-gd10f3e900b0377b4

2020-11-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97715 --- Comment #11 from Jakub Jelinek --- I think you should do: --- gcc/function.c 2020-10-31 17:41:19.756740009 +0100 +++ gcc/function.c 2020-11-04 17:02:51.199298173 +0100 @@ -5871,6 +5871,8 @@ gen_call_used_regs_seq (rtx_insn *ret, u

[Bug target/97715] [11 Regression] ICE in insn_default_length, at config/i386/i386.md:15325 since r11-4578-gd10f3e900b0377b4

2020-11-04 Thread qing.zhao at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97715 --- Comment #10 from Qing Zhao --- > On Nov 4, 2020, at 9:45 AM, ubizjak at gmail dot com > wrote: >> fixed registers should already be excluded from zeroing. >> are ST registers considered FIXED registers when -mno-80387 is specified? > > Th

[Bug target/97715] [11 Regression] ICE in insn_default_length, at config/i386/i386.md:15325 since r11-4578-gd10f3e900b0377b4

2020-11-04 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97715 --- Comment #9 from Uroš Bizjak --- (In reply to qinzhao from comment #6) > (In reply to Jakub Jelinek from comment #3) > > ;; Floating-point register constraints. > > (define_register_constraint "f" > > "TARGET_80387 || TARGET_FLOAT_RETURNS_IN_

[Bug c++/91618] template-id required to friend a function template, even for a qualified-id

2020-11-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91618 --- Comment #7 from Jonathan Wakely --- >From Bug 88725 gcc fails to deduce that the friend declaration refers to ::func in the below ``` template void func(T); class Cls { friend void ::func(int); }; ``` Rejecting with ``` error: 'voi

[Bug c++/91618] template-id required to friend a function template, even for a qualified-id

2020-11-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91618 Jonathan Wakely changed: What|Removed |Added CC||haining.cpp at gmail dot com --- Comme

[Bug target/97715] [11 Regression] ICE in insn_default_length, at config/i386/i386.md:15325 since r11-4578-gd10f3e900b0377b4

2020-11-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97715 --- Comment #8 from Jakub Jelinek --- It is not fixed, but it is removed from accessible_reg_set. The same way how e.g. MMX regs are removed from it if !TARGET_MMX or SSE registers if !TARGET_SSE. You shouldn't try to zero unaccessible registers

[Bug c++/88725] fails to deduce template specialization in friend declaration

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

[Bug c++/96184] GCC treats "use of local variable with automatic storage from containing function" differently in versions

2020-11-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96184 Jonathan Wakely changed: What|Removed |Added CC||jason at gcc dot gnu.org Key

[Bug target/97715] [11 Regression] ICE in insn_default_length, at config/i386/i386.md:15325 since r11-4578-gd10f3e900b0377b4

2020-11-04 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97715 --- Comment #7 from Uroš Bizjak --- (In reply to qinzhao from comment #5) > (In reply to H.J. Lu from comment #2) > > (In reply to qinzhao from comment #1) > > > for -fzero-call-used-regs=all, when zeroing st/mm registers under x87 exit > > > mod

[Bug target/97715] [11 Regression] ICE in insn_default_length, at config/i386/i386.md:15325 since r11-4578-gd10f3e900b0377b4

2020-11-04 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97715 --- Comment #6 from qinzhao at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #3) > ;; Floating-point register constraints. > (define_register_constraint "f" > "TARGET_80387 || TARGET_FLOAT_RETURNS_IN_80387 ? FLOAT_REGS : NO_REGS" >

[Bug c++/95977] No deallocation of temporary in return-statement during constant evaluation

2020-11-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95977 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/96746] Type Casting in template function should not be type-dependent if the type of the conversion result is not type-dependent.

2020-11-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96746 --- Comment #4 from Jakub Jelinek --- What Marek explained is that your testcase is buggy, but it may or may not be diagnosed, unless the template is instantiated. If you instantiate such template, it has to be rejected by all implementations, b

[Bug target/97715] [11 Regression] ICE in insn_default_length, at config/i386/i386.md:15325 since r11-4578-gd10f3e900b0377b4

2020-11-04 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97715 --- Comment #5 from qinzhao at gcc dot gnu.org --- (In reply to H.J. Lu from comment #2) > (In reply to qinzhao from comment #1) > > for -fzero-call-used-regs=all, when zeroing st/mm registers under x87 exit > > mode, However, command line option

[Bug libstdc++/96657] [9/10/11 Regression] libsupc++.a missing required functions from src/c++98/atomicity.cc when atomic builtins are not supported

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

[Bug c++/96746] Type Casting in template function should not be type-dependent if the type of the conversion result is not type-dependent.

2020-11-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96746 --- Comment #3 from Jonathan Wakely --- The standard says "no diagnostic required". It's not a bug if a compiler accepts the code.

[Bug libstdc++/96817] __cxa_guard_acquire unsafe against dynamically loaded pthread

2020-11-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96817 --- Comment #21 from Jonathan Wakely --- The abi_check failures are of course expected if you configure with an option that alters the library ABI.

[Bug target/97715] [11 Regression] ICE in insn_default_length, at config/i386/i386.md:15325 since r11-4578-gd10f3e900b0377b4

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

[Bug libstdc++/96817] __cxa_guard_acquire unsafe against dynamically loaded pthread

2020-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96817 --- Comment #20 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:9c1125c121423a9948fa39e71ef89ba4059a2fad commit r11-4723-g9c1125c121423a9948fa39e71ef89ba4059a2fad Author: Jonathan Wakely Date:

[Bug target/97715] [11 Regression] ICE in insn_default_length, at config/i386/i386.md:15325 since r11-4578-gd10f3e900b0377b4

2020-11-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97715 --- Comment #3 from Jakub Jelinek --- ;; Floating-point register constraints. (define_register_constraint "f" "TARGET_80387 || TARGET_FLOAT_RETURNS_IN_80387 ? FLOAT_REGS : NO_REGS" "Any 80387 floating-point (stack) register.") So, zero_all_st_

[Bug c++/88292] Static initialization problem with thread_local and templates

2020-11-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88292 Jonathan Wakely changed: What|Removed |Added Resolution|--- |DUPLICATE Status|WAITING

[Bug target/97715] [11 Regression] ICE in insn_default_length, at config/i386/i386.md:15325 since r11-4578-gd10f3e900b0377b4

2020-11-04 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97715 H.J. Lu changed: What|Removed |Added CC|hjl at gcc dot gnu.org |hjl.tools at gmail dot com --- Comment

[Bug c++/96746] Type Casting in template function should not be type-dependent if the type of the conversion result is not type-dependent.

2020-11-04 Thread masamitsu.murase at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96746 --- Comment #2 from Masamitsu MURASE --- Thank you very much for your reply, Marek Polacek. I'm sorry, but I cannot understand your comment clearly. As you said, I also think that my example should be treated as ill-formed program. It **compiles

[Bug c++/60702] thread_local initialization

2020-11-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60702 Jonathan Wakely changed: What|Removed |Added CC||tobias.bruell at gmail dot com --- Com

[Bug target/97715] [11 Regression] ICE in insn_default_length, at config/i386/i386.md:15325 since r11-4578-gd10f3e900b0377b4

2020-11-04 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97715 --- Comment #1 from qinzhao at gcc dot gnu.org --- for -fzero-call-used-regs=all, when zeroing st/mm registers under x87 exit mode, However, command line option force no 80387 mode, the following insn generated to zero st registers is not recogniz

[Bug c++/59994] [meta-bug] thread_local

2020-11-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59994 Bug 59994 depends on bug 58366, which changed state. Bug 58366 Summary: invocation of thread_local class containing bound function leads to : "Illegal instruction: 4" https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58366 What|Removed

[Bug c++/58366] invocation of thread_local class containing bound function leads to : "Illegal instruction: 4"

2020-11-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58366 Jonathan Wakely changed: What|Removed |Added Status|WAITING |RESOLVED Target|

[Bug c++/66360] thread_local variable needs copy constructor

2020-11-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66360 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug tree-optimization/97706] [11 Regression] ICE with LTO at -O3: verify_gimple failed (incompatible types in 'PHI' argument 0)

2020-11-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97706 --- Comment #8 from Richard Biener --- OK, so we'd indeed need to handle PHIs in vect_recog_bool_pattern which might turn out a bit complicated. I'm not a fan of pattern detection for SLP vectorization anyway so I'll see what to do here.

[Bug c++/77285] [5 Regression] extern thread_local linkage

2020-11-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77285 Jonathan Wakely changed: What|Removed |Added CC||saarraz2 at gmail dot com --- Comment

[Bug c++/69775] thread_local extern variable causes linkage error

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

[Bug c++/59994] [meta-bug] thread_local

2020-11-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59994 Bug 59994 depends on bug 69775, which changed state. Bug 69775 Summary: thread_local extern variable causes linkage error https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69775 What|Removed |Added --

[Bug tree-optimization/97706] [11 Regression] ICE with LTO at -O3: verify_gimple failed (incompatible types in 'PHI' argument 0)

2020-11-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97706 --- Comment #7 from Richard Biener --- OK, so for the stores in the loop we end up with a bool pattern for the store we don't support (eh): t.i:24:14: note: Starting SLP discovery for t.i:24:14: note: VIEW_CONVERT_EXPR(arr[0]) = patt_88; t

[Bug tree-optimization/97706] [11 Regression] ICE with LTO at -O3: verify_gimple failed (incompatible types in 'PHI' argument 0)

2020-11-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97706 --- Comment #6 from Richard Biener --- I guess we're missing what usually is done by bool patterns here, namely adding a conversion from the mask vector type produced by the comparison to the value vector type. A simple workaround would be to re

[Bug c++/67135] [thread_local] heap-use-after-free (OS X 10.10.4)

2020-11-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67135 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |5.3

[Bug c++/97712] Attribute nodiscard in virtual methods is ignored

2020-11-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97712 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Last recon

[Bug tree-optimization/97706] [11 Regression] ICE with LTO at -O3: verify_gimple failed (incompatible types in 'PHI' argument 0)

2020-11-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97706 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #5 from Richard Bi

[Bug rtl-optimization/97714] [8/9/10/11 Regression] ICE in notice_source_line, at final.c:3237 since r8-5241-g8697bf9f46f36168

2020-11-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97714 Martin Liška changed: What|Removed |Added CC||aoliva at gcc dot gnu.org,

[Bug target/97715] New: [11 Regression] ICE in insn_default_length, at config/i386/i386.md:15325 since r11-4578-gd10f3e900b0377b4

2020-11-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97715 Bug ID: 97715 Summary: [11 Regression] ICE in insn_default_length, at config/i386/i386.md:15325 since r11-4578-gd10f3e900b0377b4 Product: gcc Version: 11.0

[Bug target/97715] [11 Regression] ICE in insn_default_length, at config/i386/i386.md:15325 since r11-4578-gd10f3e900b0377b4

2020-11-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97715 Martin Liška changed: What|Removed |Added Known to fail||11.0 Last reconfirmed|

[Bug ipa/97300] [11 regression] several test cases fail after r11-3308

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

[Bug tree-optimization/97709] powerpc: ICE when building glibc with latest gcc

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

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

2020-11-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97362 --- Comment #6 from Jonathan Wakely --- (In reply to frankhb1989 from comment #1) > To clarify a bit: is installed by the VC++ toolchain or WDK, not by > Windows SDK. Nevertheless, it is a system header both MS's CRT and Win32 > headers rely on.

[Bug tree-optimization/97706] [11 Regression] ICE with LTO at -O3: verify_gimple failed (incompatible types in 'PHI' argument 0)

2020-11-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97706 Martin Liška changed: What|Removed |Added Status|WAITING |NEW CC|

[Bug ipa/97593] [11 Regression] ICE in gt_pch_nx, at symbol-summary.h:290 since r11-4329-g67f3791f7d133214

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

[Bug ipa/97673] [11 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1922 since r11-4267-g0e590b68fa374365

2020-11-04 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97673 --- Comment #2 from Jan Hubicka --- This should be dup of PR97578

  1   2   >