[Bug gcov-profile/112829] New: Dump PGO profiles to a memory buffer

2023-12-02 Thread zamazan4ik at tut dot by via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112829 Bug ID: 112829 Summary: Dump PGO profiles to a memory buffer Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-pro

[Bug c++/112789] Missing clang __builtin_ctzs for short

2023-12-02 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112789 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #13 f

[Bug libgcc/109289] Conflicting types for built-in functions in libgcc/emutls.c

2023-12-02 Thread jdx at o2 dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109289 --- Comment #6 from Jan Dubiec --- (In reply to Florian Weimer from comment #3) > Jan, do you actually experience a build failure? The part you quoted only > shows warnings. Florian, it used to be just the warnings, but now (commit 1461b431) I a

[Bug target/112813] [14 Regression] RISCV ICE: vsetvl pass: in merge at config/riscv/riscv-vsetvl.cc:1968 on rv32gcv_zvl256b

2023-12-02 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112813 --- Comment #1 from JuzheZhong --- I think it's probably fixed on the trunk by my recent patch: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=923a67f17badcbe6e2b2e5d3570a265443258c8e If it has been fixed, plz verify it and send a patch with t

[Bug c++/112789] Missing clang __builtin_ctzs for short

2023-12-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112789 --- Comment #12 from Andrew Pinski --- (In reply to Sam James from comment #11) > (In reply to Andrew Pinski from comment #7) > > Sounds like that HPC QCD app is broken. You should report it to the > > developers. Also since __builtin_ctzg is ad

[Bug c++/112789] Missing clang __builtin_ctzs for short

2023-12-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112789 --- Comment #11 from Sam James --- (In reply to Andrew Pinski from comment #7) > Sounds like that HPC QCD app is broken. You should report it to the > developers. Also since __builtin_ctzg is added, adding __builtin_ctzs really > does not make a

[Bug c++/112789] Missing clang __builtin_ctzs for short

2023-12-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112789 --- Comment #10 from Andrew Pinski --- (In reply to gnzlbg from comment #8) > Oh! Sorry! I see this was resolved as WONTFIX. > > Does that mean that GCC, in contrast with the LLVM community - which is > always super helpful and friendly when it

[Bug c++/112789] Missing clang __builtin_ctzs for short

2023-12-02 Thread gonzalo.gadeschi at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112789 --- Comment #9 from gnzlbg --- > > Look at that part where __builtin_ctzs is mentioned there. > It just says it is valid inside a constexpr and nothing else about the > builtin. Yes, seems like a bug / pr should be opened in the llvm project

[Bug c++/112789] Missing clang __builtin_ctzs for short

2023-12-02 Thread gonzalo.gadeschi at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112789 --- Comment #8 from gnzlbg --- Oh! Sorry! I see this was resolved as WONTFIX. Does that mean that GCC, in contrast with the LLVM community - which is always super helpful and friendly when it comes to trying to enable their toolchains to compil

[Bug c++/112789] Missing clang __builtin_ctzs for short

2023-12-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112789 --- Comment #7 from Andrew Pinski --- (In reply to gnzlbg from comment #6) > Thanks for all the quick feedback! > > > Also clang does not even document __builtin_ctzs anywhere ... > > This builtin is documented in the list of clang bultins. Yo

[Bug c++/112789] Missing clang __builtin_ctzs for short

2023-12-02 Thread gonzalo.gadeschi at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112789 --- Comment #6 from gnzlbg --- Thanks for all the quick feedback! > Also clang does not even document __builtin_ctzs anywhere ... This builtin is documented in the list of clang bultins. You can find it by using CTRL+F for the builtin, in that

[Bug fortran/112828] New: Abort with malloc(): corrupted top size

2023-12-02 Thread townsend at astro dot wisc.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112828 Bug ID: 112828 Summary: Abort with malloc(): corrupted top size Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortra

[Bug libgcc/109289] Conflicting types for built-in functions in libgcc/emutls.c

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

[Bug c/112826] gcc rejects the valid code and reports undefined reference

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

[Bug modula2/112825] Modula 2 builds target objects as part of all-gcc

2023-12-02 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112825 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug other/112823] [11 only] -Wincompatible-pointer-types errors in libiberty/simple-object-mach-o.c (missing backport for gcc-11)

2023-12-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112823 Sam James changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/112406] [14 Regression] Several SPECCPU 2017 benchmarks fail with on internal compiler error: in expand_insn, at optabs.cc:8305 after g:01c18f58d37865d5f3bbe93e666183b54ec608c7

2023-12-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112406 --- Comment #24 from Andrew Pinski --- (In reply to GCC Commits from comment #22) > gcc/testsuite/ChangeLog: > > * gcc.target/aarch64/pr112406-2.c: New test. This testcase now fails after the recent changes to make some war

[Bug tree-optimization/112827] [14 Regression] ICE on valid code at -O1 on x86_64-linux-gnu: Segmentation fault

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

[Bug tree-optimization/112827] New: ICE on valid code at -O1 on x86_64-linux-gnu: Segmentation fault

2023-12-02 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
-checking=yes --prefix=/local/suz-local/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 14.0.0 20231202 (experimental) (GCC) [508] % [508] % gcctk -O1 small.c during

[Bug middle-end/112822] [14 regression] ICE: invalid RHS for gimple memory store after r14-5831-gaae723d360ca26

2023-12-02 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112822 Peter Bergner changed: What|Removed |Added Last reconfirmed||2023-12-02 Status|UNCONFIRM

[Bug c/112826] gcc rejects the valid code and reports undefined reference

2023-12-02 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112826 Xi Ruoyao changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c/112826] gcc rejects the valid code and reports undefined reference

2023-12-02 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112826 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment

[Bug c/112826] New: gcc rejects the valid code and reports undefined reference

2023-12-02 Thread jwzeng at nuaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112826 Bug ID: 112826 Summary: gcc rejects the valid code and reports undefined reference Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Pr

[Bug modula2/112825] New: Modula 2 builds target objects as part of all-gcc

2023-12-02 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112825 Bug ID: 112825 Summary: Modula 2 builds target objects as part of all-gcc Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug fortran/112772] Some issues with OPTIONAL, ALLOCATABLE dummy arguments

2023-12-02 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112772 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Keywords|

[Bug fortran/93762] Truncation of deferred-length string when passing as optional

2023-12-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93762 --- Comment #5 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:27ce74fa23c93c1189c301993cd19ea766e6bdb5 commit r14-6081-g27ce74fa23c93c1189c301993cd19ea766e6bdb5 Author: Harald Anlauf Date: Fr

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

2023-12-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100651 --- Comment #16 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:27ce74fa23c93c1189c301993cd19ea766e6bdb5 commit r14-6081-g27ce74fa23c93c1189c301993cd19ea766e6bdb5 Author: Harald Anlauf Date:

[Bug c++/110734] Attributes cannot be applied to asm declaration

2023-12-02 Thread tanksherman27 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110734 --- Comment #20 from Julian Waters --- cppreference at least seems to indicate it retroactively applies to C++11 https://en.cppreference.com/w/cpp/language/asm

[Bug c++/112794] [contracts] modifying return value fails

2023-12-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112794 Jason Merrill changed: What|Removed |Added Last reconfirmed||2023-12-02 Ever confirmed|0

[Bug target/112743] RISC-V: building FAIL with -march=rv64(or rv32)gc_zve32f_zvfh_zfh

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

[Bug tree-optimization/112824] Stack spills and vector splitting with vector builtins

2023-12-02 Thread elrodc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112824 --- Comment #1 from Chris Elrod --- Here I have added a godbolt example where I manually unroll the array, where GCC generates excellent code https://godbolt.org/z/sd4bhGW7e I'm not sure it is 100% optimal, but with an inner Dual size of `7`, on

[Bug c++/112820] vtable not emitted correctly from module when compiling with -g

2023-12-02 Thread nathanieloshead at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112820 Nathaniel Shead changed: What|Removed |Added CC||nathanieloshead at gmail dot com ---

[Bug libgcc/109289] Conflicting types for built-in functions in libgcc/emutls.c

2023-12-02 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109289 --- Comment #4 from Florian Weimer --- What I can I do here to help? What's an easy emutls target to build?

[Bug tree-optimization/112824] New: Stack spills and vector splitting with vector builtins

2023-12-02 Thread elrodc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112824 Bug ID: 112824 Summary: Stack spills and vector splitting with vector builtins Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug c++/60994] gcc does not recognize hidden/shadowed enumeration as valid nested-name-specifier

2023-12-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60994 --- Comment #19 from GCC Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:193ef02a7f4f3e5349ad9cf8d3d4df466a99b677 commit r14-6075-g193ef02a7f4f3e5349ad9cf8d3d4df466a99b677 Author: Roger Sayle Date: Sat D

[Bug target/112743] RISC-V: building FAIL with -march=rv64(or rv32)gc_zve32f_zvfh_zfh

2023-12-02 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112743 --- Comment #6 from Li Pan --- Double confirmed the riscv-gnu-toolchain can be built successfully with the latest newlib.

[Bug target/112816] [11/12/13/14 Regression] ICE unrecognizable_insn with __builtin_signbit and returning struct with int[4]

2023-12-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112816 Jakub Jelinek changed: What|Removed |Added Keywords|needs-bisection | --- Comment #5 from Jakub Jelinek ---

[Bug target/112816] [11/12/13/14 Regression] ICE unrecognizable_insn with __builtin_signbit and returning struct with int[4]

2023-12-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112816 --- Comment #4 from Jakub Jelinek --- I think we want to add some patterns for combine which would match (set (reg:V4SI 115) (eq:V4SI (lshiftrt:V4SI (subreg:V4SI (reg:V2DI 110) 0) (const_int 31 [0x1f])) (const_vector:V4SI

[Bug target/112816] [11/12/13/14 Regression] ICE unrecognizable_insn with __builtin_signbit and returning struct with int[4]

2023-12-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112816 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned