[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 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 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 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;

[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

[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 > > >

[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 #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 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 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 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 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 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

[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 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 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

[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 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

[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 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 ---

[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 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 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 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 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

[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

[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 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++/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

[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 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

[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

[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

[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++/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 ---

[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:

[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 > +++

[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

[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 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 debug/97713] [gsplit-dwarf] label generated for .debug_abbrev.dwo offset, corresponding relocation ignored by objcopy --extract-dwo

2020-11-04 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97713 --- Comment #2 from Tom de Vries --- Filed corresponding binutils PR: "objcopy --extract-dwo silently drops relocation" at https://sourceware.org/bugzilla/show_bug.cgi?id=26841 .

[Bug libstdc++/97549] [11 Regression] include/pstl rebase breaking

2020-11-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97549 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW 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++/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

[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 ---

[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 ---

[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,

[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

[Bug libstdc++/94971] [10/11 Regression] Parallel Mode cannot be used in C++20

2020-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94971 --- Comment #5 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:e0af865ab9d9d5b6b3ac7fdde26cf9bbf635b6b4 commit r11-4722-ge0af865ab9d9d5b6b3ac7fdde26cf9bbf635b6b4 Author: Jonathan Wakely Date:

[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 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 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? > >

[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

[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 testsuite/97705] [11 regression] cc.c-torture/unsorted/dump-noaddr.c.*r.ira fails after r11-4637

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

[Bug tree-optimization/97666] [11 Regression] bootstrap fail for powerpc-darwin while building libgfortran after r11-4485

2020-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97666 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:8d887367a7a3bc2cf1ca926899567aeeba915e44 commit r11-4708-g8d887367a7a3bc2cf1ca926899567aeeba915e44 Author: Richard Biener Date:

[Bug tree-optimization/97691] [11 regression] pr91293-3.c fails since r11-4614

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

[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 Target|powerpc |powerpc64le --- Comment #2 from

[Bug fortran/97692] GNU Fortran is not working

2020-11-04 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97692 --- Comment #7 from Andreas Schwab --- https://gcc.gnu.org/install/

[Bug target/97653] Incorrect long double calculation with -mabi=ibmlongdouble

2020-11-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97653 --- Comment #5 from Jonathan Wakely --- Yep, that fixes the testcases above, thanks. Retrying the libstdc++ tests ...

[Bug c++/97710] Help with breaking change? cast pointer-to-member address in template parameter list

2020-11-04 Thread mick.pearson at wildblue dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97710 --- Comment #6 from Mick P. --- Desired scenario: https://godbolt.org/z/zKnh1s template struct T{}; struct A{}; struct B:A{ int x; }; struct C:A{ T y; }; Changing x to char yields the other diagnostic. PtoM types are fungible, I don't know why

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

2020-11-04 Thread bp at alien8 dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97708 --- Comment #16 from Boris --- (In reply to Jakub Jelinek from comment #14) > No, why? You ask it to go into a general register, so it goes there. The > local register variable has no priority at all. And where in the documentation does it

[Bug testsuite/97680] [11 Regression] new test case c-c++-common/zero-scratch-regs-10.c in r11-4578 has excess errors

2020-11-04 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97680 rsandifo at gcc dot gnu.org changed: What|Removed |Added CC||rsandifo at gcc dot

[Bug testsuite/97699] [11 regression] zero-scratch-regs tests fail on arm

2020-11-04 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97699 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment

[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

[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

[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 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,

[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 ---

[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 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

[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 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 ||

[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

[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

[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 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

[Bug libstdc++/94971] [10/11 Regression] Parallel Mode cannot be used in C++20

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

[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

[Bug ipa/97698] [11 Regression] ICE: Segmentation fault (in duplicate_thunk_for_node) since r11-4587-gae7a23a3fab74

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

[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 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 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++/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++/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

[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 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 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 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

[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:

[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

[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

  1   2   >