[Bug middle-end/104288] [11/12 Regression] Null pointer check invalidly deleted

2022-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104288 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-01-30 Summary|Null

[Bug libstdc++/92770] std::unordered_map requires both T and U to be fully declared

2022-01-30 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92770 Fedor Chelnokov changed: What|Removed |Added CC||fchelnokov at gmail dot com ---

[Bug tree-optimization/104288] [11/12 Regression] EVRP null pointer check removal for strcmp (and maybe others) is not flow senative

2022-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104288 Jakub Jelinek changed: What|Removed |Added CC||aldyh at gcc dot gnu.org,

[Bug c/104289] New: -fdiagnostics-parseable-fixits doesn't always generate fixit notes

2022-01-30 Thread eric.pouech at orange dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104289 Bug ID: 104289 Summary: -fdiagnostics-parseable-fixits doesn't always generate fixit notes Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal

[Bug go/104290] New: [12 Regression] trunk 20220126 fails to build libgo on i686-gnu

2022-01-30 Thread doko at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104290 Bug ID: 104290 Summary: [12 Regression] trunk 20220126 fails to build libgo on i686-gnu Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/58855] Attributes ignored on type alias in template

2022-01-30 Thread gcc at ebasoft dot com.pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58855 gcc at ebasoft dot com.pl changed: What|Removed |Added CC||gcc at ebasoft dot com.pl

[Bug c/104288] New: Null pointer check invalidly deleted

2022-01-30 Thread nrk at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104288 Bug ID: 104288 Summary: Null pointer check invalidly deleted Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug ipa/103083] [10/11/12 Regression] Wrong code due to ipa-cp's bits value propagation since r10-5538-gc7ac9a0c7e3916f1

2022-01-30 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103083 Martin Jambor changed: What|Removed |Added Summary|[10/11/12 Regression] Wrong |[10/11/12 Regression] Wrong

[Bug tree-optimization/104288] [11/12 Regression] EVRP null pointer check removal for strcmp (and maybe others) is not flow senative

2022-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104288 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection

[Bug d/104287] New: [12 regression] error: spurious trailing punctuation sequence ').' in format [-Werror=format-diag]

2022-01-30 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104287 Bug ID: 104287 Summary: [12 regression] error: spurious trailing punctuation sequence ').' in format [-Werror=format-diag] Product: gcc Version: 12.0 Status:

[Bug d/104287] [12 regression] error: spurious trailing punctuation sequence ').' in format [-Werror=format-diag]

2022-01-30 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104287 Andreas Schwab changed: What|Removed |Added Target Milestone|--- |12.0

[Bug rtl-optimization/102446] [9/10/11/12 Regression] wrong code at -O3 on x86_64-linux-gnu

2022-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102446 --- Comment #11 from Jakub Jelinek --- It still fails for me. As I corrected in #c7, I didn't mean ICE but miscompilation (at -O3).

[Bug libstdc++/92770] std::unordered_map requires both T and U to be fully declared

2022-01-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92770 --- Comment #3 from Jonathan Wakely --- Intentionally, but it's not guaranteed to keeps working in future. The standard still says it's undefined.

[Bug tree-optimization/104292] [missed optimization] boolean addition generates suboptimal code

2022-01-30 Thread avi at scylladb dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104292 --- Comment #1 from Avi Kivity --- btw, I see that the equivalent bool_and generates optimal code. bool_and(bool, bool): movl%esi, %eax andl%edi, %eax ret Perhaps bool is written with the expectation that any

[Bug tree-optimization/104292] [missed optimization] boolean addition generates suboptimal code

2022-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104292 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-01-30 Ever confirmed|0

[Bug tree-optimization/104292] New: [missed optimization] boolean addition generates suboptimal code

2022-01-30 Thread avi at scylladb dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104292 Bug ID: 104292 Summary: [missed optimization] boolean addition generates suboptimal code Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/104292] [missed optimization] boolean addition generates suboptimal code

2022-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104292 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug c/104289] -fdiagnostics-parseable-fixits doesn't always generate fixit notes

2022-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104289 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug fortran/80524] [F03] Problematic behaviour with a finalization subroutine in gfortran

2022-01-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80524 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org --- Comment #8

[Bug libstdc++/92770] std::unordered_map requires both T and U to be fully declared

2022-01-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92770 --- Comment #4 from Jonathan Wakely --- The relevant changes were r12-4258-g64acc43de1e336 and r12-4259-gd87105d697ced1

[Bug middle-end/95115] RISC-V 64: inf/inf division optimized out, invalid operation not raised

2022-01-30 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95115 --- Comment #8 from Xi Ruoyao --- This is causing Glibc test failure on every port without hardware acos/asin instruction.

[Bug c++/104291] New: gcc accepts template argument involves template parameter(s)

2022-01-30 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104291 Bug ID: 104291 Summary: gcc accepts template argument involves template parameter(s) Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/102446] [9/10/11/12 Regression] wrong code at -O3 on x86_64-linux-gnu

2022-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102446 Andrew Pinski changed: What|Removed |Added Keywords|needs-bisection | --- Comment #12 from Andrew Pinski

[Bug c++/104295] New: ICE: tree check: expected template_decl, have error_mark in build_deduction_guide, at cp/pt.cc:29079

2022-01-30 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104295 Bug ID: 104295 Summary: ICE: tree check: expected template_decl, have error_mark in build_deduction_guide, at cp/pt.cc:29079 Product: gcc Version: 12.0 Status:

[Bug c++/98675] Accessing member of temporary outside its lifetime allowed in constexpr function

2022-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98675 --- Comment #4 from Andrew Pinski --- (In reply to Tobias Schlüter from comment #3) > Sorry, in my example, I think actually clang is wrong. What is the order of destruction of tempories here in the following statement: A() << 1 Is A()

[Bug target/104189] enable 64-bit compare-and-swap on SPARC/Linux with V9

2022-01-30 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104189 --- Comment #8 from John Paul Adrian Glaubitz --- Any updates on this?

[Bug tree-optimization/104292] [missed optimization] boolean addition generates suboptimal code

2022-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104292 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/78947] sub-optimal code for (bool)(int ? int : int)

2022-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78947 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/104295] ICE: tree check: expected template_decl, have error_mark in build_deduction_guide, at cp/pt.cc:29079

2022-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104295 Andrew Pinski changed: What|Removed |Added Known to fail||11.2.0, 7.1.0 Keywords|

[Bug c++/104291] [12 Regression] gcc accepts template argument involves template parameter(s)

2022-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104291 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug c++/98675] Accessing member of temporary outside its lifetime allowed in constexpr function

2022-01-30 Thread tobi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98675 --- Comment #3 from Tobias Schlüter --- Sorry, in my example, I think actually clang is wrong.

[Bug jit/104293] New: Add support for setting the alignment of variables

2022-01-30 Thread bouanto at zoho dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104293 Bug ID: 104293 Summary: Add support for setting the alignment of variables Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug sanitizer/95137] Sanitizers seem to be missing support for coroutines

2022-01-30 Thread pobrn at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95137 Barnabás Pőcze changed: What|Removed |Added CC||pobrn at protonmail dot com ---

[Bug c++/104294] New: ICE: tree check: accessed elt 2 of 'tree_vec' with 1 elts in tsubst_pack_expansion, at cp/pt.cc:13130

2022-01-30 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104294 Bug ID: 104294 Summary: ICE: tree check: accessed elt 2 of 'tree_vec' with 1 elts in tsubst_pack_expansion, at cp/pt.cc:13130 Product: gcc Version: 12.0 Status:

[Bug middle-end/104296] New: MIN should simplify to unsigned != 0

2022-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104296 Bug ID: 104296 Summary: MIN should simplify to unsigned != 0 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement

[Bug c++/103341] [11 Regression] ICE type of variable instantiation constrained on template parameter

2022-01-30 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103341 --- Comment #6 from Arseny Solokha --- g++ 12.0.1 20220130 snapshot (g:baf98320ac6cd56da0c0b460fb94e3b87a79220d) still ICEs on the testcase in comment 3.

[Bug c++/98675] Accessing member of temporary outside its lifetime allowed in constexpr function

2022-01-30 Thread tobi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98675 Tobias Schlüter changed: What|Removed |Added CC||tobi at gcc dot gnu.org --- Comment

[Bug tree-optimization/104297] New: MIN_EXPR is not detected for a >= -__INT_MAX__ ? -__INT_MAX__ : a

2022-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104297 Bug ID: 104297 Summary: MIN_EXPR is not detected for a >= -__INT_MAX__ ? -__INT_MAX__ : a Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug rtl-optimization/104198] [12 regression] ifcvt change breaks 64-bit SPARC bootstrap

2022-01-30 Thread rdapp at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104198 --- Comment #13 from rdapp at linux dot ibm.com --- I was away for some days, going to look into this again today.

[Bug rtl-optimization/104153] [12 Regression] ICE due to recent ifcvt changes

2022-01-30 Thread rdapp at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104153 --- Comment #5 from rdapp at linux dot ibm.com --- I would speculate that some of the FAILs are due to the same problem seen in the other PR (104198), i.e. that for the second seq I wrongly assumed that the backend does not recreate the original

[Bug tree-optimization/104269] [12 Regression] Bogus -Wuse-after-free seen in xen

2022-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104269 --- Comment #3 from Richard Biener --- The easiest would be to run _before_ uncprop. uncprop is really part of out-of-SSA to reduce the number of copies on edges (maybe it should be merged into it instead of being visible as separate pass).