[Bug c++/103511] New: __builtin_bit_cast requires a constructor call

2021-11-30 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103511 Bug ID: 103511 Summary: __builtin_bit_cast requires a constructor call Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal

[Bug libstdc++/103453] ASAN detection with clang

2021-11-30 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103453 --- Comment #8 from cqwrteur --- (In reply to cqwrteur from comment #7) > (In reply to cqwrteur from comment #6) > > (In reply to Jonathan Wakely from comment #3) > > > Fixed on trunk so far, but this is backportable. > > > > Turns out _GLIBCXX

[Bug c++/103512] New: The failure of the substitution in explicit-specifier should be considered when overload resolution

2021-11-30 Thread xmh970252187 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103512 Bug ID: 103512 Summary: The failure of the substitution in explicit-specifier should be considered when overload resolution Product: gcc Version: 11.2.1 Status: UNCONFIR

[Bug tree-optimization/98954] ((X << CST0) & CST1) == 0 is not optimized to 0 == (X & (CST1 >> CST0))

2021-11-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98954 Andrew Pinski changed: What|Removed |Added Attachment #50271|0 |1 is obsolete|

[Bug tree-optimization/64992] More optimize opportunity

2021-11-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64992 --- Comment #11 from Andrew Pinski --- Note the latest patch for PR 98954 fixes this one.

[Bug ipa/103513] New: [12 Regression] ICE in evaluate_conditions_for_known_args, at ipa-fnsummary.c:516 with -O2 and above

2021-11-30 Thread haoxintu at gmail dot com via Gcc-bugs
rithms: zlib gcc version 12.0.0 20211130 (experimental) (GCC) Can also quickly check here: https://godbolt.org/z/W18G8jn7E Thanks, Haoxin

[Bug ipa/103513] [12 Regression] ICE in evaluate_conditions_for_known_args, at ipa-fnsummary.c:516 with -O2 and above

2021-11-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103513 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug ipa/103513] [12 Regression] ICE in evaluate_conditions_for_known_args, at ipa-fnsummary.c:516 with -O2 and above

2021-11-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103513 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-12-01 Status|UNCONFIRM

[Bug libgcc/103510] _Unwind_GetGR crashed for uninitialized registers

2021-11-30 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103510 --- Comment #1 from ashimida --- For example, such a c code works find in clang with libunwind, and will cause a crash in gcc with libgcc in aarch64. #include #include #include _Unwind_Reason_Code callback(struct _Unwind_Context *context, v

[Bug c++/103497] [9/10/11/12 Regression] ICE when decltype(auto)... as parameters

2021-11-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103497 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug middle-end/103500] Stack slots for overaligned stack temporaries are not properly aligned

2021-11-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103500 Richard Biener changed: What|Removed |Added Target||aarch64 --- Comment #1 from Richard Bi

[Bug fortran/103506] [10/11/12 Regression] ICE in gfc_free_namespace, at fortran/symbol.c:4039

2021-11-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103506 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.4 Priority|P3

[Bug ipa/103513] [12 Regression] ICE in evaluate_conditions_for_known_args, at ipa-fnsummary.c:516 with -O2 and above

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

[Bug tree-optimization/103514] New: Missing XOR-EQ-AND Optimization

2021-11-30 Thread navidrahimi at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103514 Bug ID: 103514 Summary: Missing XOR-EQ-AND Optimization Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimiza

[Bug ipa/103513] [12 Regression] ICE in evaluate_conditions_for_known_args, at ipa-fnsummary.c:516 with -O2 and above

2021-11-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103513 --- Comment #3 from Andrew Pinski --- Note we disable the creation of the cond_expr here normally until !canonicalize_math_p () is true But evrp does: Folding statement: _10 = _9 * 20; Matching expression match.pd:2075, gimple-match.c:819 Match

[Bug tree-optimization/103514] Missing XOR-EQ-AND Optimization

2021-11-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103514 --- Comment #1 from Andrew Pinski --- Note the loop should be: (for first_op (bit_xor eq ) second_op (eq bit_xor) (simplify (first_op:c (bit_and:c truth_valued_p@0 truth_valued_p@1) (second_op:c @0 @1)) (bit_not (bit_ior @0

[Bug tree-optimization/103514] Missing XOR-EQ-AND Optimization

2021-11-30 Thread navidrahimi at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103514 --- Comment #2 from Navid Rahimi --- Exactly. Actually in my final version I had it with single loop, but didn't know I can remove the condition too. Thanks Andrew.

[Bug target/103274] [10/11/12 regression] remaining -freorder-blocks-and-partition/ glitch with Windows SEH

2021-11-30 Thread martin at martin dot st via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103274 --- Comment #11 from Martin Storsjö --- (In reply to Eric Botcazou from comment #10) > Thanks for reporting the problem. Thanks for the fix! I can confirm that the version of the patch backported on the gcc-10 branch fixes the testcase at least

[Bug target/102239] powerpc suboptimal boolean test of contiguous bits

2021-11-30 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102239 --- Comment #11 from luoxhu at gcc dot gnu.org --- +(define_insn_and_split "*anddi3_insn_dot" + [(set (pc) +(if_then_else (eq (and:DI (match_operand:DI 1 "gpc_reg_operand" "%r,r") + (match_operand:DI 2 "const_int

[Bug tree-optimization/101912] -Wmaybe-uninitialized false alarm in tzdb localtime.c

2021-11-30 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101912 --- Comment #5 from rguenther at suse dot de --- On Tue, 30 Nov 2021, eggert at cs dot ucla.edu wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101912 > > --- Comment #4 from eggert at cs dot ucla.edu --- > (In reply to Aldy Hernandez fr

<    1   2   3