[Bug rtl-optimization/109592] Failure to recognize shifts as sign/zero extension

2023-04-23 Thread wangfeng at eswincomputing dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109592 --- Comment #2 from Feng Wang --- (In reply to Feng Wang from comment #1) > Hi Jeff, > > I have modified some code according to your suggestion. > In simplify-rtx.cc I add below part in canonicalize_shift: > if ((code == ASHIFTRT) >

Professional second punch manufacturer supplier.

2023-04-23 Thread recesspunch via Gcc-bugs
Hello friend, This is Lin from China Guangdong rijinsheng hardware products co., LTD(Dongguan sunrise hardware products co., LTD). We have been specializing in the production of fastener froming tools for 15 years. Our screw molds offer top-quality materials and reliable durability, with fast

[Bug target/108812] gcc.target/powerpc/p9-sign_extend-runnable.c fails on power 9 BE

2023-04-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108812 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by HaoChen Gui : https://gcc.gnu.org/g:af55b56c748b86a2c7e88c3c484dcb2c8602ce7a commit r11-10650-gaf55b56c748b86a2c7e88c3c484dcb2c8602ce7a Author: Haochen Gui

[Bug rtl-optimization/109592] Failure to recognize shifts as sign/zero extension

2023-04-23 Thread wangfeng at eswincomputing dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109592 Feng Wang changed: What|Removed |Added CC||wangfeng at eswincomputing dot com ---

[Bug tree-optimization/109011] missed optimization in presence of __builtin_ctz

2023-04-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109011 --- Comment #23 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:8311c26757657fe8ffa28ca1539d02d141bb8292 commit r14-182-g8311c26757657fe8ffa28ca1539d02d141bb8292 Author: liuhongt Date: Wed Mar

[Bug libstdc++/109602] Import Gentoo msgfmt patch ?

2023-04-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109602 --- Comment #2 from Andrew Pinski --- Second who sets LD_LIBRARY_PATH in the first place. Third these I thought was only done for maintenance mode.

[Bug libstdc++/109602] Import Gentoo msgfmt patch ?

2023-04-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109602 --- Comment #1 from Andrew Pinski --- I am 99% sure this patch is not portable at all. In that not all env supports --unset.

[Bug libstdc++/109602] New: Import Gentoo msgfmt patch ?

2023-04-23 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109602 Bug ID: 109602 Summary: Import Gentoo msgfmt patch ? Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug c/66425] (void) cast doesn't suppress __attribute__((warn_unused_result))

2023-04-23 Thread achurch+gcc at achurch dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425 --- Comment #46 from Andrew Church --- (In reply to Andrew Pinski from comment #45) > But there is no general agreement at all. If clang behavior agreed with gcc, > then there would be consensus here. In fact gcc behavior is older than clang >

[Bug c/66425] (void) cast doesn't suppress __attribute__((warn_unused_result))

2023-04-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425 --- Comment #45 from Andrew Pinski --- (In reply to Andrew Church from comment #44) > (In reply to Segher Boessenkool from comment #43) > > That is not the consensus, no. "Consensus" does not mean doing what the > > unthinking masses shout. >

[Bug c/66425] (void) cast doesn't suppress __attribute__((warn_unused_result))

2023-04-23 Thread achurch+gcc at achurch dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425 --- Comment #44 from Andrew Church --- (In reply to Segher Boessenkool from comment #43) > That is not the consensus, no. "Consensus" does not mean doing what the > unthinking masses shout. Merriam-Webster disagrees: con.sen.sus 1 a: general

[Bug rtl-optimization/109476] Missing optimization for 8bit/8bit multiplication / regression

2023-04-23 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109476 Roger Sayle changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c/66425] (void) cast doesn't suppress __attribute__((warn_unused_result))

2023-04-23 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425 --- Comment #43 from Segher Boessenkool --- (In reply to Andrew Church from comment #40) > My rationale for changing the default behavior is that the wider community > consensus, as evidenced by things like the C++ (and C2x) [[nodiscard]] >

[Bug fortran/109500] SIGABRT when calling a function that returns an unallocated value

2023-04-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109500 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Target

[Bug rtl-optimization/109601] Useless branch not eliminated when writing to a union

2023-04-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109601 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-04-23

[Bug fortran/61615] Failure to resolve correct generic with TYPE(C_PTR) arguments

2023-04-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61615 --- Comment #12 from CVS Commits --- The releases/gcc-12 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:62a4f2fb356cab8cfebfeeac2895b657c32b8dd4 commit r12-9467-g62a4f2fb356cab8cfebfeeac2895b657c32b8dd4 Author: Harald Anlauf

[Bug fortran/99982] INTERFACE selects wrong module procedure involving C_PTR and C_FUNPTR

2023-04-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99982 --- Comment #10 from CVS Commits --- The releases/gcc-12 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:62a4f2fb356cab8cfebfeeac2895b657c32b8dd4 commit r12-9467-g62a4f2fb356cab8cfebfeeac2895b657c32b8dd4 Author: Harald Anlauf

[Bug fortran/108010] ICE in reduce_unary, at fortran/arith.cc:1345

2023-04-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108010 --- Comment #6 from CVS Commits --- The releases/gcc-12 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:767d85d69f3d3f718f2a294f8e03be3a8aa65c4b commit r12-9466-g767d85d69f3d3f718f2a294f8e03be3a8aa65c4b Author: Harald Anlauf

[Bug rtl-optimization/109601] Useless branch not eliminated when writing to a union

2023-04-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109601 --- Comment #1 from Andrew Pinski --- jump2 (which is after RA) does this for aarch64: Forwarding edge 2->3 to 5 failed. verify found no changes in insn with uid = 11. Edge 2->4 redirected to 5 scanning new insn with uid = 47. Replacing insn

[Bug target/109601] New: Useless branch not eliminated when writing to a union

2023-04-23 Thread 67 at mniip dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109601 Bug ID: 109601 Summary: Useless branch not eliminated when writing to a union Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/99195] Optimise away vec_concat of 64-bit AdvancedSIMD operations with zeroes in aarch64

2023-04-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99195 --- Comment #4 from CVS Commits --- The master branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:3b13c59c835f92b353ef318398e39907cdeec4fa commit r14-178-g3b13c59c835f92b353ef318398e39907cdeec4fa Author: Kyrylo Tkachov Date:

[Bug rtl-optimization/105753] [avr] ICE: in add_clobbers, at config/avr/avr-dimode.md:2705

2023-04-23 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105753 --- Comment #18 from Georg-Johann Lay --- (In reply to User99627 from comment #14) > (In reply to fiesh from comment #13) > > * While you failed to provide anything meaningful to the bug report (your > > code snippet is not self-contained valid

[Bug other/109600] 13.0.1-0.15.fc39: missing #include

2023-04-23 Thread kloczko.tomasz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109600 --- Comment #3 from Tomasz Kłoczko --- Broken binary packages are still in repo.

[Bug other/109600] 13.0.1-0.15.fc39: missing #include

2023-04-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109600 Jonathan Wakely changed: What|Removed |Added See Also||https://bugzilla.redhat.com

[Bug other/109600] 13.0.1-0.15.fc39: missing #include

2023-04-23 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109600 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug other/109600] New: 13.0.1-0.15.fc39: missing #include

2023-04-23 Thread kloczko.tomasz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109600 Bug ID: 109600 Summary: 13.0.1-0.15.fc39: missing #include Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/109593] [14 Regression] Valgrind error doing build of latest gcc trunk since r14-32-g10e481b154c5fc63

2023-04-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109593 --- Comment #10 from CVS Commits --- The master branch has been updated by Aldy Hernandez : https://gcc.gnu.org/g:5830953a446959c5d8d9b569ffcd3e3bb16a06dc commit r14-174-g5830953a446959c5d8d9b569ffcd3e3bb16a06dc Author: Aldy Hernandez Date:

[Bug tree-optimization/109593] [14 Regression] Valgrind error doing build of latest gcc trunk since r14-32-g10e481b154c5fc63

2023-04-23 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109593 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/109593] [14 Regression] Valgrind error doing build of latest gcc trunk since r14-32-g10e481b154c5fc63

2023-04-23 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109593 --- Comment #9 from David Binderman --- (In reply to Aldy Hernandez from comment #8) > Does this fix the problem on the reporter's side? Looks good to me.

[Bug rtl-optimization/109585] [10/11/12/13/14 regression] Carla/sord miscompiled with -O2 on ARM64 with flexible array member

2023-04-23 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109585 Xi Ruoyao changed: What|Removed |Added Summary|Carla/sord miscompiled with |[10/11/12/13/14 regression]

[Bug c/66425] (void) cast doesn't suppress __attribute__((warn_unused_result))

2023-04-23 Thread achurch+gcc at achurch dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425 --- Comment #42 from Andrew Church --- (In reply to Sam James from comment #41) > Could you send it to the gcc-patches mailing list please? (Even if it is a > PoC). Sent as requested.

[Bug rtl-optimization/109585] Carla/sord miscompiled with -O2 on ARM64 with flexible array member

2023-04-23 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109585 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #16

[Bug c/94379] Feature request: like clang, support __attribute((__warn_unused_result__)) on structs, unions, and enums

2023-04-23 Thread pskocik at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94379 --- Comment #2 from Petr Skocik --- Excellent! For optional super extra coolness, this might work (and clang doesn't do this) with statement expressions too so that statement expression-based macros could be marked warn_unused_result through

[Bug rtl-optimization/109585] Carla/sord miscompiled with -O2 on ARM64 with flexible array member

2023-04-23 Thread hector at marcansoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109585 --- Comment #15 from Hector Martin --- The prior repro was too complex and depended on other environmental stuff (some other people couldn't repro it on arm64 either), so please ignore it. If the reduced repro triggers the issue, it's the same

[Bug c/66425] (void) cast doesn't suppress __attribute__((warn_unused_result))

2023-04-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425 --- Comment #41 from Sam James --- (In reply to Andrew Church from comment #40) > Created attachment 54906 [details] > POC patch to add -Wunused-result=strict > Could you send it to the gcc-patches mailing list please? (Even if it is a PoC).

[Bug rtl-optimization/109585] Carla/sord miscompiled with -O2 on ARM64 with flexible array member

2023-04-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109585 Sam James changed: What|Removed |Added Target|aarch64 |aarch64, x86_64-linux-gnu --- Comment #14

[Bug c/109597] ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type_conversion_p, at gimple-expr.c

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

[Bug other/109599] Query for merging files in ar.exe

2023-04-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109599 --- Comment #4 from Andrew Pinski --- (In reply to Jamaika from comment #3) > I'm not referring to the GCC 11.3.1 comment itself. I meant why the .a file > automatically adds and compiles c files from the avx2 and sse2 directories > that I have

[Bug tree-optimization/109593] [14 Regression] Valgrind error doing build of latest gcc trunk since r14-32-g10e481b154c5fc63

2023-04-23 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109593 --- Comment #8 from Aldy Hernandez --- Created attachment 54908 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54908=edit untested patch Patch in testing. Does this fix the problem on the reporter's side?