[Bug middle-end/105253] __popcountdi2 calls generated in kernel code with gcc12

2022-04-15 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105253 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #16

[Bug gcov-profile/105282] [11/12 Regression] V_INDIR overflow causes ICE on -O0 -flto in stream_out_histogram_value, at value-prof.cc:340

2022-04-15 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105282 --- Comment #2 from Sergei Trofimovich --- Proposed the fix as https://www.mail-archive.com/gcc-patches@gcc.gnu.org/msg283031.html

[Bug c/105283] New: Ternary operator and precedence warning

2022-04-15 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105283 Bug ID: 105283 Summary: Ternary operator and precedence warning Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/105284] New: missing syncstream and spanstream forward decl. in

2022-04-15 Thread cooky.ykooc922 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105284 Bug ID: 105284 Summary: missing syncstream and spanstream forward decl. in Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority:

[Bug analyzer/105285] New: False positive with -Wanalyzer-null-dereference in git.git's reftable/reader.c

2022-04-15 Thread avarab at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105285 Bug ID: 105285 Summary: False positive with -Wanalyzer-null-dereference in git.git's reftable/reader.c Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug analyzer/105285] False positive with -Wanalyzer-null-dereference in git.git's reftable/reader.c

2022-04-15 Thread avarab at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105285 --- Comment #1 from Ævar Arnfjörð Bjarmason --- Created attachment 52814 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52814&action=edit A patch to git.git that works around the -fanalyzer false positive A fix to git.git to work around t

[Bug analyzer/105285] False positive with -Wanalyzer-null-dereference in git.git's reftable/reader.c

2022-04-15 Thread avarab at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105285 --- Comment #2 from Ævar Arnfjörð Bjarmason --- This code also errors under -Werror=analyzer-too-complex, including in some adjacent code, so perhaps the analyzer gave up?

gcc-bugs@gcc.gnu.org

2022-04-15 Thread avarab at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105264 --- Comment #9 from Ævar Arnfjörð Bjarmason --- Thanks a lot, I can confirm that this fixes the issue in builtin/merge-file.c in git.git.

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

2022-04-15 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103083 Mikael Pettersson changed: What|Removed |Added CC||mikpelinux at gmail dot com --- Com

[Bug target/104271] [12 Regression] 538.imagick_r run-time at -Ofast -march=native regressed by 26% on Intel Cascade Lake server CPU

2022-04-15 Thread lili.cui at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104271 --- Comment #9 from cuilili --- Really appreciate for your reply, I debugged SRA pass with the small testcase and found that SRA dose not handle this situation. SRA cannot split callee's first parameter for "Do not decompose non-BLKmode paramet

[Bug jit/105286] New: Struct initializers do not work with function pointers

2022-04-15 Thread marc--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105286 Bug ID: 105286 Summary: Struct initializers do not work with function pointers Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug analyzer/105287] New: [12 Regression] ICE in get_region_for_local, at analyzer/region.cc:874

2022-04-15 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105287 Bug ID: 105287 Summary: [12 Regression] ICE in get_region_for_local, at analyzer/region.cc:874 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-

[Bug gcov-profile/105238] Regression: using -fprofile-dir: gcno files not ccache cachable anymore / gcovr report broken

2022-04-15 Thread esgergn at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105238 --- Comment #5 from Esger Abbink --- Cherry picking https://github.com/gcc-mirror/gcc/commit/cde87638bf5cf6aafffb590986b6a890da0ba06c on top of releases-9.4.0 allowed me to apply the patch to get a patched gcc9.4 supporting -fprofile-prefix-map

[Bug libstdc++/105281] status of constexpr and for c++23

2022-04-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105281 --- Comment #1 from Jonathan Wakely --- Those changes in have been present since GCC 4.6, so they predate the C++23 changes by *many* years. Nobody has yet verified how closely it conforms to the new C++23 spec.

[Bug libstdc++/105284] missing syncstream and spanstream forward decl. in

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

[Bug libquadmath/105101] incorrect rounding for sqrtq

2022-04-15 Thread already5chosen at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105101 --- Comment #9 from Michael_S --- (In reply to Michael_S from comment #4) > If you want quick fix for immediate shipment then you can take that: > > #include > #include > > __float128 quick_and_dirty_sqrtq(__float128 x) > { > if (isnanq(x)

[Bug gcov-profile/105238] Regression: using -fprofile-dir: gcno files not ccache cachable anymore / gcovr report broken

2022-04-15 Thread esgergn at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105238 --- Comment #6 from Esger Abbink --- After patching ccache 4.5.1 to understand -fprofile-prefix-map it does cache .o and .gcno: $ ccache -z -C $ cd /home/esger/src/application/coverage_test/dir1/source/ && CCACHE_DEBUG= CCACHE_BASEDIR=/home/es

[Bug analyzer/105287] [12 Regression] ICE in get_region_for_local, at analyzer/region.cc:874

2022-04-15 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105287 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/102651] [9/10/11/12 Regression] typeid(X**) instantiates X caused by r0-109856

2022-04-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102651 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #2

[Bug c++/102651] [9/10/11/12 Regression] typeid(X**) instantiates X caused by r0-109856

2022-04-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102651 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Keywords|

[Bug analyzer/105285] False positive with -Wanalyzer-null-dereference in git.git's reftable/reader.c

2022-04-15 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105285 --- Comment #3 from David Malcolm --- Thanks for filing this bug; I can reproduce it with the initial attachment; it's unclear to me yet what's going on.

[Bug analyzer/105287] [12 Regression] ICE in analyzer get_region_for_local on C++ await cond_var

2022-04-15 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105287 --- Comment #2 from Iain Sandoe --- (In reply to David Malcolm from comment #1) > Confirmed; it's an assertion failing in > ana::frame_region::get_region_for_local, due to a variable having NULL for > its DECL_CONTEXT: > > (gdb) list > 869

[Bug c++/105268] type/value mismatch when using variadic concept

2022-04-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105268 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:ccae4443c8322d9d82a19a1e7c689413a122a478 commit r12-8176-gccae4443c8322d9d82a19a1e7c689413a122a478 Author: Marek Polacek Date: Th

[Bug c++/105268] type/value mismatch when using variadic concept

2022-04-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105268 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/101500] [C++17] [DR2311] gcc accepts the code with extra curly braces

2022-04-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101500 Jason Merrill changed: What|Removed |Added Summary|[9/10/11/12 Regression] gcc |[C++17] [DR2311] gcc

[Bug jit/105279] Using libgccjit produces a null pointer access in GCC's tree-optimization code

2022-04-15 Thread marc--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105279 --- Comment #1 from Marc Nieper-Wißkirchen --- The internal compiler error also seems to go away if I remove the pointer subtraction around line 1833 in reproducer.c. Maybe this is the real problem because I am not subtracting pointers the way

[Bug target/104853] [RISC-V] -march=rv64g not including extension Zifencei

2022-04-15 Thread i at rvalue dot moe via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104853 --- Comment #15 from rvalue --- Hi, Kito: I've tried these patches and found that it doesn't work with isa-spec 20190608/20191213. Release 11.2.0 with following patches applied: 9871d39f752b, f41871dfdbd9, f049717d8d50, 330aff0a9f7b, fa21fcfb6

[Bug libstdc++/104858] ranges::minmax double dereferences first

2022-04-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104858 --- Comment #1 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:7e76cef873342a66408c126abceaf7dbddd3f477 commit r12-8178-g7e76cef873342a66408c126abceaf7dbddd3f477 Author: Patrick Palka Date: F

[Bug libstdc++/104858] ranges::minmax double dereferences first

2022-04-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104858 Patrick Palka changed: What|Removed |Added Target Milestone|--- |10.4

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

2022-04-15 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103083 Jan Hubicka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/100545] ICE with -g: in gen_typedef_die with mode attribute and aligned attribute

2022-04-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100545 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org St

[Bug target/105288] New: AVX/AVX512 casts should the "v" constraint

2022-04-15 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105288 Bug ID: 105288 Summary: AVX/AVX512 casts should the "v" constraint Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: targe

[Bug gcov-profile/105238] Regression: using -fprofile-dir: gcno files not ccache cachable anymore / gcovr report broken

2022-04-15 Thread esgergn at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105238 --- Comment #7 from Esger Abbink --- Building a real project with the patched gcc9.4 and ccache 4.5.1 (replacing -fprofile-dir with -fprofile-prefix-map=${CMAKE_SOURCE_DIR}=.) it looks ok at first sight: - 100% cache hits for the second compila

[Bug c++/105289] New: ICE on partial specialization

2022-04-15 Thread michsteinb at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105289 Bug ID: 105289 Summary: ICE on partial specialization Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assi

[Bug target/105288] AVX/AVX512 casts should use the "v" constraint

2022-04-15 Thread wwwhhhyyy333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105288 --- Comment #1 from Hongyu Wang --- I think should be these 2? (define_insn_and_split "avx512f__" [(set (match_operand:AVX512MODE2P 0 "nonimmediate_operand" "=x,m") (vec_concat:AVX512MODE2P (vec_concat: (match_op

[Bug c++/105290] New: "Purely syntactic" disambiguation but GCC applies semantic rules for constant expressions

2022-04-15 Thread hstong at ca dot ibm.com via Gcc-bugs
ltilib --without-ppl --without-cloog-ppl --enable-checking=release --disable-nls --enable-lto LDFLAGS=-Wl,-rpath,/opt/wandbox/gcc-head/lib,-rpath,/opt/wandbox/gcc-head/lib64,-rpath,/opt/wandbox/gcc-head/lib32 Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.1 20220415 (experimental) (GCC)

[Bug c++/105290] "Purely syntactic" disambiguation but GCC applies semantic rules for constant expressions

2022-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105290 --- Comment #1 from Andrew Pinski --- There is another bug related to how array types are messed up when it comes to parsing. I suspect this is a dup of that one.