[Bug target/106415] loop-ivopts prevents correct usage of dbra with 16-bit loop counters on m68k

2022-07-25 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106415 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org --- Comment #5

[Bug target/106415] loop-ivopts prevents correct usage of dbra with 16-bit loop counters on m68k

2022-07-25 Thread undefinedopcode2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106415 --- Comment #4 from Undefined Opcode --- As an experiment, I added the following logic to m68k_rtx_costs(): case PLUS: // if(TUNE_68000_10 && !(mode == QImode || mode == HImode)) { *total = 400; // make

[Bug target/106069] [12/13 Regression] wrong code with -O -fno-tree-forwprop -maltivec on ppc64le

2022-07-25 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106069 --- Comment #15 from luoxhu at gcc dot gnu.org --- In combine: vec_select(vec_concat and the followed vec_select are combined to a single extract instruction, which seems reasonable for both LE and BE? R146: 0 1 2 3 R141: 4 5 6 7 R150: 2

[Bug target/106069] [12/13 Regression] wrong code with -O -fno-tree-forwprop -maltivec on ppc64le

2022-07-25 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106069 --- Comment #14 from luoxhu at gcc dot gnu.org --- Created attachment 53354 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53354=edit split2

[Bug target/106069] [12/13 Regression] wrong code with -O -fno-tree-forwprop -maltivec on ppc64le

2022-07-25 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106069 --- Comment #13 from luoxhu at gcc dot gnu.org --- Created attachment 53353 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53353=edit after combine

[Bug target/106069] [12/13 Regression] wrong code with -O -fno-tree-forwprop -maltivec on ppc64le

2022-07-25 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106069 --- Comment #12 from luoxhu at gcc dot gnu.org --- Created attachment 53352 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53352=edit combine

[Bug c++/106230] [12 Regression] ICE when building folly-2022.07.04.00 in pop_local_binding (cp/name-lookup.cc:2474) since r12-6328-gbeaee0a871b6485d

2022-07-25 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106230 Jason Merrill changed: What|Removed |Added Known to work||12.1.1 Resolution|---

[Bug c++/106230] [12 Regression] ICE when building folly-2022.07.04.00 in pop_local_binding (cp/name-lookup.cc:2474) since r12-6328-gbeaee0a871b6485d

2022-07-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106230 --- Comment #7 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:60954a06ceb1598d86763e5504d8e1b874b6bd6a commit r12-8618-g60954a06ceb1598d86763e5504d8e1b874b6bd6a Author: Jason Merrill

[Bug target/106091] [11/12/13 Regression] during RTL pass: swaps ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 69 with -fnon-call-exceptions

2022-07-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106091 --- Comment #5 from CVS Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:f4286601933406142b46693660f7f4b682cb50a5 commit r13-1832-gf4286601933406142b46693660f7f4b682cb50a5 Author: Kewen Lin Date: Mon Jul

[Bug c++/106230] [12/13 Regression] ICE when building folly-2022.07.04.00 in pop_local_binding (cp/name-lookup.cc:2474) since r12-6328-gbeaee0a871b6485d

2022-07-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106230 --- Comment #6 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:789c4b9bb015c361bc1a6adfcd0abadce555e562 commit r13-1830-g789c4b9bb015c361bc1a6adfcd0abadce555e562 Author: Jason Merrill Date:

[Bug analyzer/106441] Analyzer has some issues with nested functions extension to C

2022-07-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106441 --- Comment #4 from Andrew Pinski --- Oh I didn't mention what __builtin_dwarf_cfa was for. It is used for debugging really. So it is easy to find where the function was nested into.

[Bug target/106440] on Mac M1 chip undefined behavior of double arithmetic

2022-07-25 Thread yaobig97 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106440 --- Comment #3 from Yuhao Yao --- (In reply to Andrew Pinski from comment #1) > ubuntu@ubuntu:~/src/upstream-gcc-aarch64\# g++ t55.cc -ffp-contract=on -O2 > ubuntu@ubuntu:~/src/upstream-gcc-aarch64\# ./a.out > 3e+09 3e+09 > 0 > 0 >

[Bug analyzer/106441] Analyzer has some issues with nested functions extension to C

2022-07-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106441 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > __analyzer_callee_test_3 (int a, int b, int (**out_fn) (int)) > { > int square (int z) { return z * z; } > > *out_fn = square; > > This really should be

[Bug analyzer/106441] Analyzer has some issues with nested functions extension to C

2022-07-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106441 --- Comment #2 from Andrew Pinski --- __analyzer_callee_test_3 (int a, int b, int (**out_fn) (int)) { int square (int z) { return z * z; } *out_fn = square; This really should be warning that the assignment of the nested function is

[Bug analyzer/106441] Analyzer has some issues with nested functions extension to C

2022-07-25 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106441 --- Comment #1 from David Malcolm --- Above example on Compiler Explorer: https://godbolt.org/z/Pv1GoonE6

[Bug c++/106369] [12/13 Regression] ICE in output_constructor_regular_field, at varasm.cc:5515 since r12-2975-g32c3a75390623a

2022-07-25 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106369 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug analyzer/106441] New: Analyzer has some issues with nested functions extension to C

2022-07-25 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106441 Bug ID: 106441 Summary: Analyzer has some issues with nested functions extension to C Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug target/106440] on Mac M1 chip undefined behavior of double arithmetic

2022-07-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106440 --- Comment #2 from Andrew Pinski --- You can reproduce the same results on x86_64 with -mfma (which enables the FMA instruction set which is included on all recent x86_64 processors).

[Bug middle-end/106435] constructor of thread_local static member is not called

2022-07-25 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106435 --- Comment #8 from Iain Sandoe --- I think we can fix this for non-alias targets by building stub functions instead of the alias. There is a small penalty for size and speed from the call, but for at least x86 at O2 we sibcall and effectively

[Bug target/106440] on Mac M1 chip undefined behavior of double arithmetic

2022-07-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106440 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug target/106440] New: on Mac M1 chip undefined behavior of double arithmetic

2022-07-25 Thread yaobig97 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106440 Bug ID: 106440 Summary: on Mac M1 chip undefined behavior of double arithmetic Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/106438] powerpc: ICE when building libgfortran with -flto: in insert_value_copy_on_edge, at tree-outof-ssa.cc:334

2022-07-25 Thread msc at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106438 --- Comment #3 from Matheus Castanho --- Created attachment 53350 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53350=edit Failing command The failing command is the final link command to create libgfortran.so, so it's rather long. I'm

[Bug fortran/103504] ICE in get_sym_storage_size, at fortran/interface.c:2800

2022-07-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103504 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug target/105733] riscv: Poor codegen for large stack frames

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

[Bug target/106439] RISC-V suboptimal codegen for large constants

2022-07-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106439 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/105733] riscv: Poor codegen for large stack frames

2022-07-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105733 Andrew Pinski changed: What|Removed |Added CC||vineet.gupta at linux dot dev ---

[Bug c/106439] New: RISC-V suboptimal codegen for large constants

2022-07-25 Thread vineet.gupta at linux dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106439 Bug ID: 106439 Summary: RISC-V suboptimal codegen for large constants Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug tree-optimization/106438] powerpc: ICE when building libgfortran with -flto: in insert_value_copy_on_edge, at tree-outof-ssa.cc:334

2022-07-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106438 Andrew Pinski changed: What|Removed |Added Keywords||build, ice-on-valid-code,

[Bug libfortran/106438] powerpc: ICE when building libgfortran with -flto: in insert_value_copy_on_edge, at tree-outof-ssa.cc:334

2022-07-25 Thread msc at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106438 --- Comment #1 from Matheus Castanho --- Small typo: I meant -flto, not -lto. The patch is OK though.

[Bug target/106069] [12/13 Regression] wrong code with -O -fno-tree-forwprop -maltivec on ppc64le

2022-07-25 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106069 --- Comment #11 from Segher Boessenkool --- I mean, if that patch is actually flawed, this is GCC 12 and latter; if the problem is more generic (combine, probably simplify-rtx to be exact) it is more widespread.

[Bug target/106069] [12/13 Regression] wrong code with -O -fno-tree-forwprop -maltivec on ppc64le

2022-07-25 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106069 --- Comment #10 from Segher Boessenkool --- This happened after commit 0910c516a3d72af048af27308349167f25c406c2 Author: Xionghu Luo Date: Tue Oct 19 04:02:04 2021 -0500 which probably caused it. That means it would be GCC 12 and

[Bug libfortran/106438] New: powerpc: ICE when building libgfortran with -lto: in insert_value_copy_on_edge, at tree-outof-ssa.cc:334

2022-07-25 Thread msc at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106438 Bug ID: 106438 Summary: powerpc: ICE when building libgfortran with -lto: in insert_value_copy_on_edge, at tree-outof-ssa.cc:334 Product: gcc Version: 13.0 Status:

[Bug c/106406] _Static_assert declaration can not be first of for-triplet

2022-07-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106406 --- Comment #3 from Andrew Pinski --- One thing I noticed with clang is that it is the rejected inside the parser rather than later on with the semantic analysis meaning I think it was overlooked for clang's parser.

[Bug c/106406] _Static_assert declaration can not be first of for-triplet

2022-07-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106406 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/106435] constructor of thread_local static member is not called

2022-07-25 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106435 Iain Sandoe changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/106409] GCC with LTO: Warning: argument 1 value ‘18...615’ (SIZE_MAX) exceeds maximum object size

2022-07-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106409 Andrew Pinski changed: What|Removed |Added Ever confirmed|1 |0 Status|WAITING

[Bug debug/106431] Hang when compiling large printf() file (from glibc's tst-printf-bz18872) on HPPA with -ggdb3

2022-07-25 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106431 --- Comment #5 from Sam James --- Created attachment 53349 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53349=edit a-foo.i.xz

[Bug debug/106431] Hang when compiling large printf() file (from glibc's tst-printf-bz18872) on HPPA with -ggdb3

2022-07-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106431 --- Comment #4 from Andrew Pinski --- The preprocessed source file would be a good idea.

[Bug debug/106431] Hang when compiling large printf() file (from glibc's tst-printf-bz18872) on HPPA with -ggdb3

2022-07-25 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106431 --- Comment #3 from Sam James --- Ah, nice! It's substantially faster (5 seconds) with -fno-var-tracking. Do you need me to try anything else?

[Bug libstdc++/91547] std::string_view find_last_not_of can trigger unsigned integer overflow

2022-07-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91547 --- Comment #6 from Andrew Pinski --- (In reply to Vitali from comment #4) > FWIW clang does implement this. Even if the maintainers disagree on the > utility in practice, does feature parity for command-line options with Clang > change the

[Bug libstdc++/91547] std::string_view find_last_not_of can trigger unsigned integer overflow

2022-07-25 Thread vlovich at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91547 --- Comment #5 from Vitali --- https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html

[Bug libstdc++/91547] std::string_view find_last_not_of can trigger unsigned integer overflow

2022-07-25 Thread vlovich at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91547 Vitali changed: What|Removed |Added CC||vlovich at gmail dot com --- Comment #4 from

[Bug tree-optimization/106422] [13 Regression] ice in duplicate_block, at cfghooks.cc:1115

2022-07-25 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106422 --- Comment #11 from Alexander Monakov --- A cleaner testcase for jump threading (still ICEs despite presence of ABNORMAL_DISPATCHER): void vfork() __attribute__((__leaf__)); void semanage_reload_policy(char *arg, void cb(void)) { if (!arg)

[Bug tree-optimization/106422] [13 Regression] ice in duplicate_block, at cfghooks.cc:1115

2022-07-25 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106422 --- Comment #10 from Alexander Monakov --- The leaf issue is now PR 106437.

[Bug target/106415] loop-ivopts prevents correct usage of dbra with 16-bit loop counters on m68k

2022-07-25 Thread undefinedopcode2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106415 --- Comment #3 from Undefined Opcode --- Created attachment 53348 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53348=edit dump of buggy optimization pass (In reply to Andrew Pinski from comment #2) > I suspect this is a target cost

[Bug ipa/106437] Glibc marks functions that resume a returns_twice call as leaf

2022-07-25 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106437 --- Comment #1 from Alexander Monakov --- With the exception of '_exit', exit family of functions (exit, _Exit, quick_exit) are also marked leaf despite exit and quick_exit invoking atexit/on_exit/at_quick_exit handlers. Only _Exit is specified

[Bug ipa/106437] New: Glibc marks functions that resume a returns_twice call as leaf

2022-07-25 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106437 Bug ID: 106437 Summary: Glibc marks functions that resume a returns_twice call as leaf Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: wrong-code

[Bug target/106347] [13 Regression] ICE in ix86_output_ssemov, at config/i386/i386.cc:5565, or ICE in final_scan_insn_1, at final.cc:2860 (error: could not split insn) since r13-1607-gc3ed9e0d6e96d869

2022-07-25 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106347 Roger Sayle changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/106435] constructor of thread_local static member is not called

2022-07-25 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106435 Iain Sandoe changed: What|Removed |Added Known to fail||13.0

[Bug target/106303] [13 Regression] ICE on valid code at -O3 with -fno-inline-small-functions on x86_64-linux-gnu: in extract_insn, at recog.cc:2791 since r13-1607-gc3ed9e0d6e96d869

2022-07-25 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106303 Roger Sayle changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/106435] constructor of thread_local static member is not called

2022-07-25 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106435 --- Comment #5 from Francois-Xavier Coudert --- > there was a change made to support cross-TU static inits for TLS For what it's worth, putting everything in a single cpp file makes it work as expected.

[Bug target/106415] loop-ivopts prevents correct usage of dbra with 16-bit loop counters on m68k

2022-07-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106415 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |target --- Comment #2 from Andrew

[Bug middle-end/106435] constructor of thread_local static member is not called

2022-07-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106435 --- Comment #4 from Andrew Pinski --- (In reply to Iain Sandoe from comment #3) > (In reply to Andrew Pinski from comment #2) > > This might be an emulated TLS issue ... As it looks like it is not working > > on mingw either. > > quite

[Bug middle-end/106435] constructor of thread_local static member is not called

2022-07-25 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106435 --- Comment #3 from Iain Sandoe --- (In reply to Andrew Pinski from comment #2) > This might be an emulated TLS issue ... As it looks like it is not working > on mingw either. quite possibly; - there was a change made to support cross-TU

[Bug middle-end/106435] constructor of thread_local static member is not called

2022-07-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106435 --- Comment #2 from Andrew Pinski --- This might be an emulated TLS issue ... As it looks like it is not working on mingw either.

[Bug target/106435] constructor of thread_local static member is not called

2022-07-25 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106435 Francois-Xavier Coudert changed: What|Removed |Added CC||iains at gcc dot gnu.org

[Bug target/106091] [11/12/13 Regression] during RTL pass: swaps ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 69 with -fnon-call-exceptions

2022-07-25 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106091 --- Comment #4 from Segher Boessenkool --- That patch looks good :-)

[Bug analyzer/106436] New: -Wanalyzer-null-dereference false positive suggests data corruption in GCC

2022-07-25 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106436 Bug ID: 106436 Summary: -Wanalyzer-null-dereference false positive suggests data corruption in GCC Product: gcc Version: 12.1.1 Status: UNCONFIRMED Severity:

[Bug target/91681] Missed optimization for 128 bit arithmetic operations

2022-07-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91681 --- Comment #3 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:16aafa3194d4851a07cc204f56a5f0618f77e5d7 commit r13-1826-g16aafa3194d4851a07cc204f56a5f0618f77e5d7 Author: Roger Sayle Date: Mon

[Bug target/106435] New: constructor of thread_local static member is not called

2022-07-25 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106435 Bug ID: 106435 Summary: constructor of thread_local static member is not called Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/105787] ICE in tree check: expected enumeral_type, have record_type in tsubst_copy since r11-5003-gd50310408f54e3

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105787 Richard Biener changed: What|Removed |Added Summary|[10/11/12/13 Regression]|ICE in tree check: expected

[Bug c++/105841] [12/13 Regression] Change in behavior of CTAD for alias templates

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105841 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/105867] [12/13 Regression] incorrect dangling-pointer warning

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105867 Richard Biener changed: What|Removed |Added CC||msebor at gcc dot gnu.org

[Bug fortran/77652] Invalid rank error in ASSOCIATED when rank is remapped

2022-07-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77652 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #6 from

[Bug ipa/105917] [10/11/12/13 regression] Missed passthru jump function

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105917 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/105918] [12/13 Regression] Spurious Warray-bounds in std::to_chars since r12-2132-ga110855667782dac

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105918 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c/105972] [12/13 Regression] ICE in lower_stmt, at gimple-low.cc:312 since r12-4608-gb4702276615ff8d4

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105972 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug rtl-optimization/105952] [12/13 Regression] ICE in sel_redirect_edge_and_branch, at sel-sched-ir.cc:5680

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105952 Richard Biener changed: What|Removed |Added CC||amonakov at gcc dot gnu.org

[Bug c/105972] [12/13 Regression] ICE in lower_stmt, at gimple-low.cc:312 since r12-4608-gb4702276615ff8d4

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105972 Richard Biener changed: What|Removed |Added Priority|P2 |P4

[Bug c/105977] [12/13 Regression] ICE in gimple_call_static_chain_flags, at gimple.cc:1636

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105977 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/105980] [11/12/13 Regression] ICE in final_scan_insn_1, at final.cc:2811

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105980 Richard Biener changed: What|Removed |Added Keywords||wrong-code Priority|P3

[Bug rtl-optimization/105988] [10/11/12/13 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1064 since r6-4873-gebedc9a3414d8422

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105988 --- Comment #4 from Richard Biener --- Bug with -da and SMS, so not really too important.

[Bug target/106022] [12 Regression] Enable vectorizer generates extra load

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106022 Richard Biener changed: What|Removed |Added Summary|[12/13 Regression] Enable |[12 Regression] Enable

[Bug target/106069] [12/13 Regression] wrong code with -O -fno-tree-forwprop -maltivec on ppc64le

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106069 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libfortran/106079] [12/13 regression] gfortran.dg/boz_15.f90 fails after r12-6498-g07c60b8e33

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106079 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-07-25

[Bug tree-optimization/106087] [12 Regression] ICE with inline-asm with multiple output and assigned only static vars

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106087 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug target/106091] [11/12/13 Regression] during RTL pass: swaps ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 69 with -fnon-call-exceptions

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106091 Richard Biener changed: What|Removed |Added Keywords||ice-checking Priority|P3

[Bug tree-optimization/106119] [12/13 Regression] Bogus use-after-free warning triggered by optimizer

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106119 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Last reconfirmed|

[Bug middle-end/106208] [12/13 Regression] ICE in branch_prob, at profile.cc:1459 since r12-5275-gbcebd05720540e25

2022-07-25 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106208 Thomas Schwinge changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug middle-end/106432] [13 Regression] ICE in range_on_edge, at gimple-range.cc:204 since r13-1812-ge850c98f1f067211

2022-07-25 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106432 Aldy Hernandez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/106432] [13 Regression] ICE in range_on_edge, at gimple-range.cc:204 since r13-1812-ge850c98f1f067211

2022-07-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106432 --- Comment #6 from CVS Commits --- The master branch has been updated by Aldy Hernandez : https://gcc.gnu.org/g:ca1e4b26c19351077db1d8e6ff1cb97f05bca79f commit r13-1825-gca1e4b26c19351077db1d8e6ff1cb97f05bca79f Author: Aldy Hernandez Date:

[Bug tree-optimization/106155] [12/13 Regression] spurious "may be used uninitialized" warning

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106155 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/106189] [10/11/12/13 Regression] ICE: Floating point exception since r9-1948-gd893b683f40884cd

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106189 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug middle-end/106190] [10/11/12/13 Regression] ICE in expand_builtin_eh_common with -fnon-call-exceptions -fsanitize=address,undefined -fno-sanitize-recover=all

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106190 Richard Biener changed: What|Removed |Added Summary|[9/10/11/12/13 Regression] |[10/11/12/13 Regression]

[Bug middle-end/106190] [9/10/11/12/13 Regression] ICE in expand_builtin_eh_common with -fnon-call-exceptions -fsanitize=address,undefined -fno-sanitize-recover=all

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106190 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/106199] [12/13 Regression] incorrect warning: memcpy writing 1 or more bytes into a region of size 0 overflows the destination with std::vector::insert

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106199 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-07-25

[Bug middle-end/106208] [12/13 Regression] ICE in branch_prob, at profile.cc:1459 since r12-5275-gbcebd05720540e25

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106208 Richard Biener changed: What|Removed |Added Component|fortran |middle-end Priority|P3

[Bug debug/104194] No way to distinguish IEEE and IBM long double in debug info

2022-07-25 Thread uweigand at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104194 Ulrich Weigand changed: What|Removed |Added CC||uweigand at gcc dot gnu.org ---

[Bug c++/106230] [12/13 Regression] ICE when building folly-2022.07.04.00 in pop_local_binding (cp/name-lookup.cc:2474) since r12-6328-gbeaee0a871b6485d

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106230 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug libstdc++/106248] [11/12 Regression] operator>>std::basic_istream at boundary condition behave differently in different opt levels

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106248 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/106297] [12/13 Regression] stringop-overflow misbehaviour on atomic since r12-4725-g88b504b7a8c5affb

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106297 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Keywords|

[Bug c++/106369] [12/13 Regression] ICE in output_constructor_regular_field, at varasm.cc:5515 since r12-2975-g32c3a75390623a

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106369 Richard Biener changed: What|Removed |Added Known to fail||10.4.0, 11.3.0 Keywords|

[Bug rtl-optimization/106421] [10/11/12/13 Regression] ICE with computed goto from a nested functon

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106421 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug middle-end/106432] [13 Regression] ICE in range_on_edge, at gimple-range.cc:204 since r13-1812-ge850c98f1f067211

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106432 Richard Biener changed: What|Removed |Added Version|12.0|13.0 Target Milestone|---

[Bug c++/105787] [10/11/12/13 Regression] ICE in tree check: expected enumeral_type, have record_type in tsubst_copy since r11-5003-gd50310408f54e3

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105787 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.5

[Bug c++/69410] [10/11/12/13 Regression] friend declarations in local classes

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69410 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.5

[Bug tree-optimization/106422] [13 Regression] ice in duplicate_block, at cfghooks.cc:1115

2022-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106422 --- Comment #9 from Richard Biener --- Splitting off the 'leaf' issue would be useful. And yes, forward threading would need to be fixed.

[Bug c++/106434] New: Spurious -Wnull-dereference when using std::unique_copy()

2022-07-25 Thread vz-gcc at zeitlins dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106434 Bug ID: 106434 Summary: Spurious -Wnull-dereference when using std::unique_copy() Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/106187] armhf: Miscompilation at O2 level (O0 / O1 are working)

2022-07-25 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106187 --- Comment #46 from rguenther at suse dot de --- On Mon, 25 Jul 2022, rearnsha at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106187 > > --- Comment #45 from Richard Earnshaw --- > The problem with changing

[Bug c/106416] -Wint-conversion should be an error, not a pedwarn

2022-07-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106416 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

  1   2   >