[Bug sanitizer/112741] ICE: in gimplify_var_or_parm_decl, at gimplify.cc:3261

2023-11-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112741 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #1

[Bug tree-optimization/112742] New: missed vectorization with src[a*b+i] where a*b is not int rather than same percission as size_type

2023-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112742 Bug ID: 112742 Summary: missed vectorization with src[a*b+i] where a*b is not int rather than same percission as size_type Product: gcc Version: 14.0 Status:

[Bug sanitizer/112741] New: ICE: in gimplify_var_or_parm_decl, at gimplify.cc:3261

2023-11-27 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112741 Bug ID: 112741 Summary: ICE: in gimplify_var_or_parm_decl, at gimplify.cc:3261 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug middle-end/32667] block copy with exact overlap is expanded as memcpy

2023-11-27 Thread post+gcc at ralfj dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32667 --- Comment #52 from post+gcc at ralfj dot de --- For the point discussed earlier with the `restrict` in the musl memcpy, I had another look at the definition of `restrict` and it's not entirely clear to me any more that there is UB here. The

[Bug middle-end/32667] block copy with exact overlap is expanded as memcpy

2023-11-27 Thread post+gcc at ralfj dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32667 --- Comment #51 from post+gcc at ralfj dot de --- Oh great, I love it when one part of the C standard just adds exceptions to statements made elsewhere. It's almost as if the authors want this to be as hard to understand as possible... That then

[Bug target/112740] [14 Regression] wrong code with vector compare on riscv64 at -O0

2023-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112740 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 --- Comment #1 from Andrew Pinski

[Bug preprocessor/112701] wrong type inference for ternary operator with `0/0u` in preprocessing context

2023-11-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112701 Sam James changed: What|Removed |Added Target Milestone|--- |14.0

[Bug tree-optimization/112722] RISC-V: ICE on tree-vect-slp.cc:8029 for -march=rv64gc_zve64d

2023-11-27 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112722 JuzheZhong changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/112713] RISC-V: Trunk GCC regression on VSETVL PASS comparing with GCC-13

2023-11-27 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112713 JuzheZhong changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/112740] New: [14 Regression] wrong code with vector compare on riscv64 at -O0

2023-11-27 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112740 Bug ID: 112740 Summary: [14 Regression] wrong code with vector compare on riscv64 at -O0 Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: wrong-code

[Bug middle-end/112710] [13/14 Regression] ICE: in write_type, at cp/mangle.cc:2226 with -fdump-go-spec=filename -flto -fno-use-linker-plugin

2023-11-27 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112710 --- Comment #3 from Zdenek Sojka --- (In reply to Ian Lance Taylor from comment #2) > Also -fdump-go-spec isn't useful for C++ code. > > Why does this come up? What are you trying to do? I am trying nothing else than to crash the compiler.

[Bug tree-optimization/52252] An opportunity for x86 gcc vectorizer (gain up to 3 times)

2023-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52252 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org --- Comment

[Bug debug/112656] btf: function prototypes generated with name

2023-11-27 Thread jemarch at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112656 Jose E. Marchesi changed: What|Removed |Added CC||david.faust at oracle dot com ---

Re: Strange compile error when g++ work with std=c++20.

2023-11-27 Thread Andrew Pinski via Gcc-bugs
On Mon, Nov 27, 2023 at 8:24 PM Lew Robin via Gcc-bugs wrote: > > This error happens when using macro and template. > GCC Version: gcc version 12.3.0 (Ubuntu 12.3.0-1ubuntu1~22.04) > OS: ubuntu 22.04 (x64) > Compile Command: > g++-12 ./testmacro.cc --std=c++20 > > In fact, this error exisits from

Strange compile error when g++ work with std=c++20.

2023-11-27 Thread Lew Robin via Gcc-bugs
This error happens when using macro and template. GCC Version: gcc version 12.3.0 (Ubuntu 12.3.0-1ubuntu1~22.04) OS: ubuntu 22.04 (x64) Compile Command: g++-12 ./testmacro.cc --std=c++20 In fact, this error exisits from g++11 to g++13. I also test it on clang and msvc, but it cannot be

[Bug testsuite/112729] gcc.target/i386/apx-interrupt-1.c etc. FAIL

2023-11-27 Thread wwwhhhyyy333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112729 --- Comment #3 from Hongyu Wang --- Created attachment 56703 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56703=edit A patch Hi Rainer, can you help verify if the change make these test pass on solaris/FreeBSD?

[Bug target/112598] RISC-V regression testsuite errors with rv64gcv_zvl512b

2023-11-27 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112598 --- Comment #17 from Li Pan --- (In reply to Robin Dapp from comment #15) > Does the =m fix your issue? Or is the code gen different then and we're > just lucky? For my problem it doesn't help because we still don't recognize > an alias

[Bug testsuite/112729] gcc.target/i386/apx-interrupt-1.c etc. FAIL

2023-11-27 Thread wwwhhhyyy333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112729 --- Comment #2 from Hongyu Wang --- The cfi scan fails was caused by -fno-omit-frame-pointer which force push the frame pointer first and the cfi info become different. By default we have -fomit-frame-pointer on linux, but not other targets.

[Bug preprocessor/112701] wrong type inference for ternary operator with `0/0u` in preprocessing context

2023-11-27 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112701 Lewis Hyatt changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug preprocessor/112701] wrong type inference for ternary operator with `0/0u` in preprocessing context

2023-11-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112701 --- Comment #7 from GCC Commits --- The master branch has been updated by Lewis Hyatt : https://gcc.gnu.org/g:ce52f1f7074d96c4d9ce63b1169c11087757e926 commit r14-5898-gce52f1f7074d96c4d9ce63b1169c11087757e926 Author: Lewis Hyatt Date: Mon

[Bug target/112707] [14 regression] gcc 14 outputs invalid assembly on ppc: Error: unrecognized opcode: `fctid'

2023-11-27 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112707 --- Comment #10 from Kewen Lin --- (In reply to HaoChen Gui from comment #9) > (In reply to Segher Boessenkool from comment #8) > > Yeah, it tested for ISA 2.04 before. That was an attempt at including 476 > > probably? > > > > We really

[Bug target/112713] RISC-V: Trunk GCC regression on VSETVL PASS comparing with GCC-13

2023-11-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112713 --- Comment #1 from GCC Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:9c16ca93641ad460a576a9ed7daf2aadf596193c commit r14-5897-g9c16ca93641ad460a576a9ed7daf2aadf596193c Author: Juzhe-Zhong Date: Mon Nov

[Bug tree-optimization/112734] ICE verify_gimple failed since r14-3751-g8c984a1c3693df - BitInt

2023-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112734 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/112707] [14 regression] gcc 14 outputs invalid assembly on ppc: Error: unrecognized opcode: `fctid'

2023-11-27 Thread guihaoc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112707 --- Comment #9 from HaoChen Gui --- (In reply to Segher Boessenkool from comment #8) > Yeah, it tested for ISA 2.04 before. That was an attempt at including 476 > probably? > > We really should have a TARGET_FCTID, on for TARGET_POWERPC64 or

[Bug sanitizer/112708] "gcc -fsanitize=address" produces wrong debug info for variables in function prologue

2023-11-27 Thread bruno at clisp dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112708 --- Comment #10 from Bruno Haible --- (In reply to Jakub Jelinek from comment #9) > var-tracking is very compile time intensive, > so it would significantly slow down -O0 compilation. Indeed, these are the timings of "time make" that I observe

[Bug preprocessor/112701] wrong type inference for ternary operator with `0/0u` in preprocessing context

2023-11-27 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112701 Lewis Hyatt changed: What|Removed |Added Keywords||patch URL|

[Bug c++/112737] [14 Regression] g++.dg/modules/xtreme-header-2_b.C -std=c++2b (test for excess errors)

2023-11-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112737 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug middle-end/112710] [13/14 Regression] ICE: in write_type, at cp/mangle.cc:2226 with -fdump-go-spec=filename -flto -fno-use-linker-plugin

2023-11-27 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112710 Ian Lance Taylor changed: What|Removed |Added CC||ian at airs dot com --- Comment #2

[Bug c/91225] Warning should be produced for a variable initialized by itself at the declaration

2023-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91225 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Keywords|diagnostic

[Bug c/91225] Warning should be produced for a variable initialized by itself at the declaration

2023-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91225 Andrew Pinski changed: What|Removed |Added CC||kxiang at umich dot edu --- Comment #5

[Bug c/112739] Not emitting warning when using an uninitialized variable within its own initialization

2023-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112739 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c/97598] -Wself-init alone fails to warn of a pointless assignment

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

[Bug c/112739] Not emitting warning when using an uninitialized variable within its own initialization

2023-11-27 Thread kxiang at umich dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112739 Yiming Xiang changed: What|Removed |Added Summary|variable 'a' is |Not emitting warning when

[Bug c/112739] New: variable 'a' is uninitialized when used within its own initialization

2023-11-27 Thread kxiang at umich dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112739 Bug ID: 112739 Summary: variable 'a' is uninitialized when used within its own initialization Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity:

[Bug tree-optimization/112738] [14 Regression] forwprop4 introduces invalid wide signed Boolean values

2023-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112738 --- Comment #2 from Andrew Pinski --- This is what I will be testing: ``` /* (nop_outer_cast)-(inner_cast)var -> -(outer_cast)(var) if var is smaller in precision. This is always safe for both doing the negative in signed or unsigned

[Bug middle-end/32667] block copy with exact overlap is expanded as memcpy

2023-11-27 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32667 --- Comment #50 from joseph at codesourcery dot com --- Qualifiers on function parameter types do not affect type compatibility or composite type (see 6.7.6.3#14). I think they're only actually of significance in the definition; in a

[Bug tree-optimization/112738] [14 Regression] forwprop4 introduces invalid wide signed Boolean values

2023-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112738 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Summary|forwprop4

[Bug tree-optimization/111668] [12/13 Regression] vrp2 (match and simplify) introduces invalid wide signed Boolean values

2023-11-27 Thread kristerw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111668 --- Comment #9 from Krister Walfridsson --- I opened PR 112738 for the issue mentioned in comment 8.

[Bug tree-optimization/112738] New: forwprop4 introduces invalid wide signed Boolean values

2023-11-27 Thread kristerw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112738 Bug ID: 112738 Summary: forwprop4 introduces invalid wide signed Boolean values Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/110279] [14 Regression] Regressions on aarch64 cause by handing FMA in reassoc (510.parest_r, 508.namd_r)

2023-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110279 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > (In reply to GCC Commits from comment #2) > > gcc/testsuite/ChangeLog: > > > > * gcc.dg/pr110279-1.c: New test. > > This testcase fails on

[Bug target/112454] csinc (csel is though) is not being used when there is matches twice

2023-11-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112454 --- Comment #5 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:d29d27bde5df89e5357e0a33a71bb49125bd1655 commit r14-5893-gd29d27bde5df89e5357e0a33a71bb49125bd1655 Author: Andrew Pinski Date:

[Bug c++/112737] New: [14 Regression] g++.dg/modules/xtreme-header-2_b.C -std=c++2b (test for excess errors)

2023-11-27 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112737 Bug ID: 112737 Summary: [14 Regression] g++.dg/modules/xtreme-header-2_b.C -std=c++2b (test for excess errors) Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug testsuite/112689] [14 Regression] gcc.dg/tree-prof/time-profiler-3.c fail

2023-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112689 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug testsuite/112689] [14 Regression] gcc.dg/tree-prof/time-profiler-3.c fail

2023-11-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112689 --- Comment #6 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:cd2519a6f857539262398f3ff63b53de173e2a88 commit r14-5892-gcd2519a6f857539262398f3ff63b53de173e2a88 Author: Andrew Pinski Date:

[Bug tree-optimization/110279] [14 Regression] Regressions on aarch64 cause by handing FMA in reassoc (510.parest_r, 508.namd_r)

2023-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110279 --- Comment #3 from Andrew Pinski --- (In reply to GCC Commits from comment #2) > gcc/testsuite/ChangeLog: > > * gcc.dg/pr110279-1.c: New test. This testcase fails on x86_64-linux-gnu

[Bug tree-optimization/112736] [14 Regression] vectorizer is introducing out of bounds memory access

2023-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112736 Andrew Pinski changed: What|Removed |Added Summary|vectorizer is introducing |[14 Regression] vectorizer

[Bug tree-optimization/112736] New: vectorizer is introducing out of bounds memory access

2023-11-27 Thread kristerw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112736 Bug ID: 112736 Summary: vectorizer is introducing out of bounds memory access Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/112633] [13/14 Regression] ICE with type aliases and depedent value

2023-11-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112633 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug analyzer/109077] Analyzer headers not installed

2023-11-27 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109077 --- Comment #2 from David Malcolm --- PLUGIN_ANALYZER_INIT was added in r11-5583-g66dde7bc64b75d, so presumably this affects GCC 11 onwards.

[Bug analyzer/109077] Analyzer header not installed

2023-11-27 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109077 David Malcolm changed: What|Removed |Added Blocks||107646 Ever confirmed|0

[Bug c++/111705] [12/13 Regression] use of concepted copy constructored struct inside a template function messes up with -fchecking=2

2023-11-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111705 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/107939] [11 Regression] Rejects use of `extern const` variable in a template since r11-557

2023-11-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107939 --- Comment #12 from GCC Commits --- The releases/gcc-12 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:c9cb7e3d75d494a6591887a99d0d3f7f7a307b2e commit r12-10017-gc9cb7e3d75d494a6591887a99d0d3f7f7a307b2e Author: Patrick

[Bug c++/112269] [14 Regression] x86_64 GNU/Linux '-m32' multilib 'libstdc++-v3/include/complex:1493: internal compiler error: in tsubst_expr, at cp/pt.cc:21534' since r14-4796-g3e3d73ed5e85e7

2023-11-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112269 --- Comment #15 from GCC Commits --- The releases/gcc-12 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:6a31302a6c8bec9af3c93f736c2b1a76e9a530e2 commit r12-10016-g6a31302a6c8bec9af3c93f736c2b1a76e9a530e2 Author: Patrick

[Bug c++/111703] [11/12/13 Regression] [C++20]Compiler fails when using generic lambda in specific situation since r11-550-gf65a3299a521a4

2023-11-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111703 --- Comment #11 from GCC Commits --- The releases/gcc-12 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:c9cb7e3d75d494a6591887a99d0d3f7f7a307b2e commit r12-10017-gc9cb7e3d75d494a6591887a99d0d3f7f7a307b2e Author: Patrick

[Bug c++/111703] [11/12/13 Regression] [C++20]Compiler fails when using generic lambda in specific situation since r11-550-gf65a3299a521a4

2023-11-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111703 --- Comment #10 from GCC Commits --- The releases/gcc-12 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:6a31302a6c8bec9af3c93f736c2b1a76e9a530e2 commit r12-10016-g6a31302a6c8bec9af3c93f736c2b1a76e9a530e2 Author: Patrick

[Bug debug/112656] btf: function prototypes generated with name

2023-11-27 Thread ibhagat at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112656 --- Comment #5 from Indu Bhagat --- The reason for the noted difference in BTF for BPF vs non-BPF target is: On non-BPF targets, BTF is emitted in early_finish. On BPF target however, -mco-re is default, and hence, BTF is emitted in late

[Bug debug/112656] btf: function prototypes generated with name

2023-11-27 Thread ibhagat at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112656 Indu Bhagat changed: What|Removed |Added CC||ibhagat at gcc dot gnu.org --- Comment

[Bug testsuite/112689] [14 Regression] gcc.dg/tree-prof/time-profiler-3.c fail

2023-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112689 Andrew Pinski changed: What|Removed |Added CC||seurer at gcc dot gnu.org --- Comment

[Bug other/112735] [14 regression] gcc.dg/tree-prof/time-profiler-3.c fails after r14-5666-g41aacdea55c5d7

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

[Bug other/112735] [14 regression] gcc.dg/tree-prof/time-profiler-3.c fails after r14-5666-g41aacdea55c5d7

2023-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112735 --- Comment #1 from Andrew Pinski --- Testing a fix. And this is a dup.

[Bug other/112735] New: [14 regression] gcc.dg/tree-prof/time-profiler-3.c fails after r14-5666-g41aacdea55c5d7

2023-11-27 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112735 Bug ID: 112735 Summary: [14 regression] gcc.dg/tree-prof/time-profiler-3.c fails after r14-5666-g41aacdea55c5d7 Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug target/112712] Crash when compiling g++ -m68020-60 -O2

2023-11-27 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112712 --- Comment #2 from Mikael Pettersson --- It appears the test case comes from https://github.com/dxx-rebirth/dxx-rebirth/ (a port of the old Descent game engine).

[Bug rtl-optimization/112415] [14 regression] Python 3.11 miscompiled on HPPA with new RTL fold mem offset pass, since r14-4664-g04c9cf5c786b94

2023-11-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112415 --- Comment #51 from Sam James --- manolis, did you have a chance to look at the remaining pass issue? You'll need to revert Dave's commit locally which made the issue latent for building Python.

[Bug bootstrap/111601] [14 Regression] profilebootstrap fails in stagestrain in libcody on x86_64-linux-gnu and powerpc64le-linux-gnu

2023-11-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111601 --- Comment #24 from Jakub Jelinek --- As the pass seems to work on one basic block at the time (everything from analysis to actual changes), I wonder if e.g. get_uses shouldn't punt if it sees (non-DEBUG_INSN!) uses in other basic block but

[Bug bootstrap/111601] [14 Regression] profilebootstrap fails in stagestrain in libcody on x86_64-linux-gnu and powerpc64le-linux-gnu

2023-11-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111601 --- Comment #23 from Jakub Jelinek --- Looking around, seems do_analysis properly finds out both uses of the %r10 += 96 - the store of %r5 later in the same bb and store of %r9 earlier in the same bb (at the start of it), and continues because

[Bug tree-optimization/112734] New: ICE verify_gimple failed since r14-3751-g8c984a1c3693df - BitInt

2023-11-27 Thread mjires at suse dot cz via Gcc-bugs
es=c,c++,fortran,lto Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20231127 (experimental) (GCC)

[Bug fortran/100651] [11/12/13/14 Regression] Bad handling of optional, allocatable character argument

2023-11-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100651 anlauf at gcc dot gnu.org changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/112733] [14 Regression] ICE: Segmentation fault in wide-int.cc during GIMPLE pass: sccp

2023-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112733 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug bootstrap/111601] [14 Regression] profilebootstrap fails in stagestrain in libcody on x86_64-linux-gnu and powerpc64le-linux-gnu

2023-11-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111601 --- Comment #22 from Jakub Jelinek --- Full executable testcase: struct tree_base { int code:16; }; struct saved_scope { void *pad[14]; int x_processing_template_decl; }; struct saved_scope *scope_chain; struct z_candidate { tree_base

[Bug middle-end/112733] [14 Regression] ICE: Segmentation fault in wide-int.cc during GIMPLE pass: sccp

2023-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112733 --- Comment #2 from Andrew Pinski --- I linked PR 100499, not that it caused the issue here but talks about the issues in multiple_of_p .

[Bug middle-end/112733] [14 Regression] ICE: Segmentation fault in wide-int.cc during GIMPLE pass: sccp

2023-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112733 --- Comment #1 from Andrew Pinski --- multiple_of_p is one big source of bugs ...

[Bug middle-end/112733] [14 Regression] ICE: Segmentation fault in wide-int.cc during GIMPLE pass: sccp

2023-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112733 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Keywords|

[Bug middle-end/112733] New: [14 Regression] ICE: Segmentation fault in wide-int.cc during GIMPLE pass: sccp

2023-11-27 Thread patrick at rivosinc dot com via Gcc-bugs
rap --src=../../gcc --enable-multilib --with-abi=lp64d --with-arch=rv64imafdc --with-tune=rocket --with-isa-spec=20191213 'CFLAGS_FOR_TARGET=-O2 -mcmodel=medlow' 'CXXFLAGS_FOR_TARGET=-O2-mcmodel=medlow' Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20231127 (experimental) (gc9d691a7daa)

[Bug lto/112732] New: during IPA pass: *free_lang_data ICE: 'verify_type' failed: type variant with 'TYPE_ALIAS_SET_KNOWN_P' with -Os -Wstrict-aliasing=2 -flto

2023-11-27 Thread zsojka at seznam dot cz via Gcc-bugs
LTO compression algorithms: zlib zstd gcc version 14.0.0 20231127 (experimental) (GCC)

[Bug bootstrap/111601] [14 Regression] profilebootstrap fails in stagestrain in libcody on x86_64-linux-gnu and powerpc64le-linux-gnu

2023-11-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111601 --- Comment #21 from Jakub Jelinek --- Reduced testcase (though, just the function in question, not a runable testcase): struct tree_base { int code:16; }; struct saved_scope { void *pad[14]; int x_processing_template_decl; }; extern

[Bug target/112725] [14 Regression] powerpc64le-linux-gnu: 'c-c++-common/builtin-classify-type-1.c:113:3: error: AltiVec argument passed to unprototyped function'

2023-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112725 Andrew Pinski changed: What|Removed |Added CC||seurer at gcc dot gnu.org --- Comment

[Bug other/112731] [14 regression] Excess errors for c-c++-common/builtin-classify-type-1.c after r14-5615-g509b470dcee979

2023-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112731 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug other/112731] New: [14 regression] Excess errors for c-c++-common/builtin-classify-type-1.c after r14-5615-g509b470dcee979

2023-11-27 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112731 Bug ID: 112731 Summary: [14 regression] Excess errors for c-c++-common/builtin-classify-type-1.c after r14-5615-g509b470dcee979 Product: gcc Version: 14.0

[Bug tree-optimization/112711] [14 Regression] SRA seems to ignore writes when using __builtin_assume_aligned since r14-5831-gaae723d360ca26

2023-11-27 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112711 --- Comment #6 from Martin Jambor --- I have proposed a fix on the mailing list: https://gcc.gnu.org/pipermail/gcc-patches/2023-November/638318.html

[Bug tree-optimization/112721] [14 Regression] Wrong code at -O1/s on x86_64-linux-gnu since r14-5831-gaae723d360c

2023-11-27 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112721 --- Comment #2 from Martin Jambor --- I have proposed a fix on the mailing list: https://gcc.gnu.org/pipermail/gcc-patches/2023-November/638318.html

[Bug preprocessor/112701] wrong type inference for ternary operator with `0/0u` in preprocessing context

2023-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112701 --- Comment #5 from Andrew Pinski --- (In reply to Lewis Hyatt from comment #4) > Here is the fix. Not sure if it needs to wait for GCC 15 by now, but I can > submit it with the testcase. Bugs can be fixed during stage 3 (just no new __major__

[Bug target/112599] RISC-V regression testsuite errors with rv64gcv_zvl1024b

2023-11-27 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112599 Patrick O'Neill changed: What|Removed |Added Attachment #56662|0 |1 is obsolete|

[Bug preprocessor/112701] wrong type inference for ternary operator with `0/0u` in preprocessing context

2023-11-27 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112701 Lewis Hyatt changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug testsuite/112689] [14 Regression] gcc.dg/tree-prof/time-profiler-3.c fail

2023-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112689 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug middle-end/112653] PTA should handle correctly escape information of values returned by a function

2023-11-27 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112653 --- Comment #15 from Jan Hubicka --- Thanks a lot for working on this! I think it is quite importnat part of the puzzle of making libstdc++ vector working reasonably well.

[Bug testsuite/112689] [14 Regression] gcc.dg/tree-prof/time-profiler-3.c fail

2023-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112689 --- Comment #3 from Andrew Pinski --- https://gcc.gnu.org/pipermail/gcc-patches/2023-November/638104.html

[Bug target/112598] RISC-V regression testsuite errors with rv64gcv_zvl512b

2023-11-27 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112598 Patrick O'Neill changed: What|Removed |Added Attachment #56661|0 |1 is obsolete|

[Bug target/112597] RISC-V regression testsuite errors with rv64gcv_zvl256b

2023-11-27 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112597 --- Comment #10 from Patrick O'Neill --- See Andrew's comment on pr112583 - the new failures when comparing with the previous report are already tracked and appear on other architectures.

[Bug sanitizer/112727] UBSAN creates GIMPLE path with uninitialized variable

2023-11-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112727 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug testsuite/111298] time-profiler-2.c flaky on glibc RISC-V with qemu

2023-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111298 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/112583] RISC-V regression testsuite errors with rv64gcv_zvl128b

2023-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112583 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/112597] RISC-V regression testsuite errors with rv64gcv_zvl256b

2023-11-27 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112597 Patrick O'Neill changed: What|Removed |Added Attachment #56660|0 |1 is obsolete|

[Bug testsuite/112689] [14 Regression] gcc.dg/tree-prof/time-profiler-3.c fail

2023-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112689 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/112583] RISC-V regression testsuite errors with rv64gcv_zvl128b

2023-11-27 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112583 Patrick O'Neill changed: What|Removed |Added Attachment #56659|0 |1 is obsolete|

[Bug middle-end/111754] [14 Regression] ICE: in decompose, at rtl.h:2313 at -O

2023-11-27 Thread prathamesh3492 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111754 prathamesh3492 at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug middle-end/111754] [14 Regression] ICE: in decompose, at rtl.h:2313 at -O

2023-11-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111754 --- Comment #12 from GCC Commits --- The master branch has been updated by Prathamesh Kulkarni : https://gcc.gnu.org/g:2065438db4ac13af7e0de2f934959413647f74a7 commit r14-5890-g2065438db4ac13af7e0de2f934959413647f74a7 Author: Prathamesh

[Bug bootstrap/111601] [14 Regression] profilebootstrap fails in stagestrain in libcody on x86_64-linux-gnu and powerpc64le-linux-gnu

2023-11-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111601 --- Comment #20 from Jakub Jelinek --- Manolis/Jeff, how does the pass prove that it found and adjusted all the uses of the register rather than just some (or the first one) as apparently happens on this testcase?

[Bug bootstrap/111601] [14 Regression] profilebootstrap fails in stagestrain in libcody on x86_64-linux-gnu and powerpc64le-linux-gnu

2023-11-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111601 --- Comment #19 from Jakub Jelinek --- When using current trunk (r14-5889), I can see it even in x86_64-linux -> powerpc64le-linux cross-compiler. diff -U300 pr111601.s{1,2} will show std 9,0(10) mr 10,9 + addi 10,10,96

[Bug bootstrap/111601] [14 Regression] profilebootstrap fails in stagestrain in libcody on x86_64-linux-gnu and powerpc64le-linux-gnu

2023-11-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111601 --- Comment #18 from Jakub Jelinek --- Created attachment 56697 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56697=edit pr111601.ii.xz Preprocessed source, compile with ./cc1plus -quiet -fpreprocessed -O2 -fprofile-generate

[Bug target/112669] GCN: wrong 'LIBRARY_PATH' in presence of several different '-march=[...]' flags

2023-11-27 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112669 Thomas Schwinge changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

  1   2   3   >