[Bug tree-optimization/89263] Simplify bool expression to OR

2023-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89263 --- Comment #9 from Andrew Pinski --- Created attachment 55245 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55245=edit Patch where I need to add some more testcases

[Bug lto/110098] [11.4 Regression] binutils bootstrap tests fail when built with 11.4

2023-06-02 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110098 --- Comment #1 from Matthias Klose --- Created attachment 55246 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55246=edit log file log file doesn't show any hint

[Bug target/110061] libatomic: 128-bit atomics should be lock-free on AArch64

2023-06-02 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110061 --- Comment #12 from Xi Ruoyao --- (In reply to Wilco from comment #11) > > Then the compiler (and the standard) is not what they consider. Such > > misunderstandings are everywhere and this has no difference. > > Where is int128 in "the

[Bug target/110096] Would be nice if __builtin_ia32_pause had a portable equivalent as it's applicable to ARM

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

[Bug target/110061] libatomic: 128-bit atomics should be lock-free on AArch64

2023-06-02 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110061 --- Comment #10 from Xi Ruoyao --- (In reply to Wilco from comment #9) > (In reply to Xi Ruoyao from comment #8) > > (In reply to Wilco from comment #7) > > > I don't see the issue you have here. GCC for x86/x86_64 has been using > > > compare

[Bug fortran/100607] ICE with SELECT RANK

2023-06-02 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100607 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug target/110096] Would be nice if __builtin_ia32_pause had a portable equivalent as it's applicable to ARM

2023-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110096 --- Comment #8 from Andrew Pinski --- (In reply to Peter Dimov from comment #7) > These intrinsics are typically used in spinlocks as in > ``` > while( flag_.test_and_set() ) > { > // issue a power-saving NOP here > } > ``` > (where `flag_`

[Bug c++/110097] Error invalid use of non-static member function

2023-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110097 Andrew Pinski changed: What|Removed |Added Blocks||103524 Keywords|

[Bug rtl-optimization/102733] missing fs:0 store when followed by one to gs:0

2023-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102733 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Status|ASSIGNED

[Bug target/110061] libatomic: 128-bit atomics should be lock-free on AArch64

2023-06-02 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110061 --- Comment #11 from Wilco --- (In reply to Xi Ruoyao from comment #10) > (In reply to Wilco from comment #9) > > (In reply to Xi Ruoyao from comment #8) > > > (In reply to Wilco from comment #7) > > > > I don't see the issue you have here. GCC

[Bug target/70243] PowerPC V4SFmode should not use Altivec instructions on VSX systems

2023-06-02 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70243 Peter Bergner changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/110097] New: Error invalid use of non-static member function

2023-06-02 Thread bmlushma at uwaterloo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110097 Bug ID: 110097 Summary: Error invalid use of non-static member function Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/106035] F2018 allows an IMPORT statement within the BLOCK construct.

2023-06-02 Thread jdelia--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106035 Jorge D'Elia changed: What|Removed |Added CC||jde...@santafe-conicet.gov.

[Bug target/110096] Would be nice if __builtin_ia32_pause had a portable equivalent as it's applicable to ARM

2023-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110096 --- Comment #4 from Andrew Pinski --- (In reply to Peter Dimov from comment #3) > How does the user know when to include `arm_acle.h`? __ARM_ARCH will be defined for both arm*-*-* and aarch64-*-* targets as defined by the ACLE documentation.

[Bug target/110096] Would be nice if __builtin_ia32_pause had a portable equivalent as it's applicable to ARM

2023-06-02 Thread pdimov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110096 --- Comment #5 from Peter Dimov --- This works for the specific case of ARM, even though I don't find it substantially better than just using `asm("yield")`, but the benefit of having a portable intrinsic for this functionality is that as such

[Bug target/110096] Would be nice if __builtin_ia32_pause had a portable equivalent as it's applicable to ARM

2023-06-02 Thread pdimov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110096 --- Comment #9 from Peter Dimov --- I don't think I want WFE here, based on what I read about it. Putting the core to sleep seems like something to do in an embedded system where I have full control of what cores do, not something to do on the

[Bug rtl-optimization/110042] [14 Regression] missed cmov optimization after r14-1014-gc5df248509b489364c573e8

2023-06-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110042 --- Comment #7 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:df0853d72d38247aed577a4511450c91794f2f06 commit r14-1507-gdf0853d72d38247aed577a4511450c91794f2f06 Author: Andrew Pinski Date:

[Bug rtl-optimization/110042] [14 Regression] missed cmov optimization after r14-1014-gc5df248509b489364c573e8

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

[Bug middle-end/110098] [11.4 Regression] binutils bootstrap tests fail when built with 11.4

2023-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110098 --- Comment #2 from Andrew Pinski --- I think it is failing becasuse of this output: lto-wrapper: warning: using serial compilation of 26 LTRANS jobs lto-wrapper: warning: using serial compilation of 26 LTRANS jobs

[Bug target/110061] libatomic: 128-bit atomics should be lock-free on AArch64

2023-06-02 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110061 --- Comment #13 from Wilco --- (In reply to Xi Ruoyao from comment #12) > (In reply to Wilco from comment #11) > > > > Then the compiler (and the standard) is not what they consider. Such > > > misunderstandings are everywhere and this has no

[Bug debug/110073] [14 regression] btfout.cc format errors break bootstrap

2023-06-02 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110073 --- Comment #5 from Iain Sandoe --- (In reply to David Faust from comment #4) > (In reply to Iain Sandoe from comment #3) > > (In reply to Iain Sandoe from comment #2) > > > there seems to be a second fail on x86_64 darwin on line 970. > > > >

[Bug fortran/100607] ICE with SELECT RANK

2023-06-02 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100607 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #9

[Bug debug/110073] [14 regression] btfout.cc format errors break bootstrap

2023-06-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110073 --- Comment #7 from CVS Commits --- The master branch has been updated by David Faust : https://gcc.gnu.org/g:934da923a7295ae97e37425e269195c7d8770ef0 commit r14-1504-g934da923a7295ae97e37425e269195c7d8770ef0 Author: David Faust Date: Fri

[Bug debug/110073] [14 regression] btfout.cc format errors break bootstrap

2023-06-02 Thread david.faust at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110073 --- Comment #6 from David Faust --- (In reply to Iain Sandoe from comment #5) > (In reply to David Faust from comment #4) > > (In reply to Iain Sandoe from comment #3) > > > (In reply to Iain Sandoe from comment #2) > > > > there seems to be a

[Bug debug/110073] [14 regression] btfout.cc format errors break bootstrap

2023-06-02 Thread david.faust at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110073 --- Comment #9 from David Faust --- (In reply to Alex Coplan from comment #8) > Thanks for the follow-up fix and apologies for the mid-air collision, I > didn't see the %zu problem on the target I was testing. No problem, thanks for the fixes

[Bug c/102989] Implement C2x's n2763 (_BitInt)

2023-06-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 --- Comment #56 from Jakub Jelinek --- Created attachment 55244 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55244=edit gcc14-bitint-wip-inc.patch Incremental patch on top of the above patch. I've tried to make some progress and

[Bug target/110096] Would be nice if __builtin_ia32_pause had a portable equivalent as it's applicable to ARM

2023-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110096 --- Comment #2 from Andrew Pinski --- Oh and the acle defines how to detect compiling on arm targets and gcc follows that.

[Bug fortran/110033] rejects-valid: associate name corresponding to coarray selector should be considered a coarray

2023-06-02 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110033 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/110033] rejects-valid: associate name corresponding to coarray selector should be considered a coarray

2023-06-02 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110033 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4

[Bug fortran/106035] F2018 allows an IMPORT statement within the BLOCK construct.

2023-06-02 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106035 --- Comment #6 from Steve Kargl --- On Fri, Jun 02, 2023 at 05:51:17PM +, jde...@santafe-conicet.gov.ar wrote: > > --- Comment #5 from Jorge D'Elia --- > > The access restriction is a reason of the use IMPORT statements in the >

[Bug c++/110097] Error invalid use of non-static member function

2023-06-02 Thread bmlushma at uwaterloo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110097 --- Comment #1 from bmlushma at uwaterloo dot ca --- Full -v output: Using built-in specs. COLLECT_GCC=g++-11 COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa

[Bug target/110044] [10/11/12/13/14 Regression] #pragma pack(push, 1) may not force packing, while __attribute__((packed, aligned(1))) works

2023-06-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110044 --- Comment #8 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:84d080a29a780973bef47171ba708ae2f7b4ee47 commit r14-1506-g84d080a29a780973bef47171ba708ae2f7b4ee47 Author: Iain Sandoe Date:

[Bug target/110096] Would be nice if __builtin_ia32_pause had a portable equivalent as it's applicable to ARM

2023-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110096 --- Comment #10 from Andrew Pinski --- (In reply to Peter Dimov from comment #9) > I don't think I want WFE here, based on what I read about it. Putting the > core to sleep seems like something to do in an embedded system where I have > full

[Bug c++/110097] Error invalid use of non-static member function

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

[Bug c++/103499] C++20 modules error: invalid use of non-static member function

2023-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103499 Andrew Pinski changed: What|Removed |Added CC||bmlushma at uwaterloo dot ca ---

[Bug c++/103524] [meta-bug] modules issue

2023-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 110097, which changed state. Bug 110097 Summary: Error invalid use of non-static member function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110097 What|Removed |Added

[Bug tree-optimization/110087] Missing if conversion

2023-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110087 --- Comment #6 from Andrew Pinski --- (In reply to Richard Biener from comment #2) > there? There's zero_one_valued_p we could use for both the > tested value and the value or-ed into. > > We already have > > /* ((x & 0x1) == 0) ? y : z y

[Bug rtl-optimization/102733] missing fs:0 store when followed by one to gs:0

2023-06-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102733 --- Comment #7 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:64ca6aa74b6b5a9737f3808bf4a947dd5c122d47 commit r14-1508-g64ca6aa74b6b5a9737f3808bf4a947dd5c122d47 Author: Andrew Pinski Date:

[Bug middle-end/110098] [11.4 Regression] binutils bootstrap tests fail when built with 11.4

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

[Bug target/110096] New: Would be nice if __builtin_ia32_pause had a portable equivalent as it's applicable to ARM

2023-06-02 Thread pdimov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110096 Bug ID: 110096 Summary: Would be nice if __builtin_ia32_pause had a portable equivalent as it's applicable to ARM Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug fortran/100607] ICE with SELECT RANK

2023-06-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100607 --- Comment #10 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:fae09dfc0e6bf4cfe35d817558827aea78c6426f commit r14-1505-gfae09dfc0e6bf4cfe35d817558827aea78c6426f Author: Steve Kargl Date:

[Bug target/110096] Would be nice if __builtin_ia32_pause had a portable equivalent as it's applicable to ARM

2023-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110096 --- Comment #6 from Andrew Pinski --- (In reply to Peter Dimov from comment #5) > This works for the specific case of ARM, even though I don't find it > substantially better than just using `asm("yield")`, but the benefit of > having a portable

[Bug target/110096] Would be nice if __builtin_ia32_pause had a portable equivalent as it's applicable to ARM

2023-06-02 Thread pdimov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110096 --- Comment #7 from Peter Dimov --- These intrinsics are typically used in spinlocks as in ``` while( flag_.test_and_set() ) { // issue a power-saving NOP here } ``` (where `flag_` is `std::atomic_flag`) and this use is generic and not

[Bug lto/110098] New: [11.4 Regression] binutils bootstrap tests fail when built with 11.4

2023-06-02 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110098 Bug ID: 110098 Summary: [11.4 Regression] binutils bootstrap tests fail when built with 11.4 Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug sanitizer/110099] New: GCC's Address Sanitizer misses 'stack-use-after-scope' when accessing variable from the same scope

2023-06-02 Thread egor_suvorov at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110099 Bug ID: 110099 Summary: GCC's Address Sanitizer misses 'stack-use-after-scope' when accessing variable from the same scope Product: gcc Version: unknown Status:

[Bug sanitizer/110099] GCC's Address Sanitizer misses 'stack-use-after-scope' when accessing variable from the same scope

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

[Bug target/110088] [avr] Improve operation with const on l-reg after move from d-reg

2023-06-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110088 --- Comment #2 from CVS Commits --- The releases/gcc-13 branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:7cbaf2f96ec884d60e02d5d2a8a2f44ae0d390fd commit r13-7408-g7cbaf2f96ec884d60e02d5d2a8a2f44ae0d390fd Author:

[Bug target/110083] [14 Regression] ICEs for testcase on fp-int-convert*timode after r14-1466-g3635e8c67e1

2023-06-02 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110083 --- Comment #2 from Roger Sayle --- Created attachment 55241 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55241=edit proposed patch This patch fixes the problem. Bootstrap and regression tests underway.

[Bug tree-optimization/89263] Simplify bool expression to OR

2023-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89263 Andrew Pinski changed: What|Removed |Added CC||ubizjak at gmail dot com --- Comment #8

[Bug testsuite/109951] [14 Regression] libgomp, testsuite: non-native multilib c++ tests fail on Darwin.

2023-06-02 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109951 --- Comment #8 from Iain Sandoe --- (In reply to Thomas Schwinge from comment #6) > > "Consider '--with-build-sysroot=[...]' for target libraries' build-tree > testing

[Bug target/110061] libatomic: 128-bit atomics should be lock-free on AArch64

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

[Bug target/110088] [avr] Improve operation with const on l-reg after move from d-reg

2023-06-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110088 --- Comment #3 from CVS Commits --- The releases/gcc-12 branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:6f8e64989c2418bb8a4050fc1f50039a7b9a0225 commit r12-9674-g6f8e64989c2418bb8a4050fc1f50039a7b9a0225 Author:

[Bug target/110088] [avr] Improve operation with const on l-reg after move from d-reg

2023-06-02 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110088 Georg-Johann Lay changed: What|Removed |Added Resolution|--- |FIXED

[Bug gcov-profile/110082] Coverage analysis vs. offloading compilation

2023-06-02 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110082 --- Comment #5 from Thomas Schwinge --- (In reply to Jakub Jelinek from comment #4) > (In reply to rguent...@suse.de from comment #3) > > I suppose you want to apply this generally, not only to offloaded > > functions and when offloading is

[Bug c++/110092] Missing warning that internal header is used

2023-06-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110092 --- Comment #1 from Jonathan Wakely --- This seems more like a bug in the IDE than in GCC. If you don't include the header at all then GCC tells you the right header: sp.cc: In function ‘int main()’: sp.cc:2:8: error: ‘shared_ptr’ is not a

[Bug debug/110073] [14 regression] btfout.cc format errors break bootstrap

2023-06-02 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110073 --- Comment #3 from Iain Sandoe --- (In reply to Iain Sandoe from comment #2) > there seems to be a second fail on x86_64 darwin on line 970. I tried the alternate patch on a number of x86_64, i686 and power Darwin systems and bootstrap is

[Bug rtl-optimization/110093] New: [12/13/14 Regression][avr] Move frenzy leading to code bloat

2023-06-02 Thread gjl at gcc dot gnu.org via Gcc-bugs
,r9 adc r24,r10 adc r25,r11 rjmp .L1 ; 118 [c=4 l=1] jump Then finally, with v14 20230602, crazyness increases even more to even requires a stack frame and a frame pointer. Register allocator starts to move stuff to a stack slot and back again. Code size increa

[Bug c++/95226] [8 Regression] Faulty aggregate initialization of vector with struct with float

2023-06-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95226 --- Comment #5 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:e7cc4d703bceb9095316c106eba0d1939c6c8044 commit r14-1498-ge7cc4d703bceb9095316c106eba0d1939c6c8044 Author: Jason Merrill Date:

[Bug c++/110070] Code quality regression with for (int i: {1,2,4,6})

2023-06-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110070 --- Comment #2 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:4d935f52b0d5c00fcc154461b87415ebd8791a94 commit r14-1500-g4d935f52b0d5c00fcc154461b87415ebd8791a94 Author: Jason Merrill Date:

[Bug c++/105838] [10/11/12/13/14 Regression] g++ 12.1.0 runs out of memory or time when building const std::vector of std::strings

2023-06-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105838 --- Comment #22 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:4d935f52b0d5c00fcc154461b87415ebd8791a94 commit r14-1500-g4d935f52b0d5c00fcc154461b87415ebd8791a94 Author: Jason Merrill Date:

[Bug middle-end/110094] Support __builtin_mem*_inline

2023-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110094 Andrew Pinski changed: What|Removed |Added Component|c |middle-end Severity|normal

[Bug fortran/106035] F2018 allows an IMPORT statement within the BLOCK construct.

2023-06-02 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106035 kargl at gcc dot gnu.org changed: What|Removed |Added CC||Boyce at engineer dot com

[Bug debug/110073] [14 regression] btfout.cc format errors break bootstrap

2023-06-02 Thread david.faust at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110073 --- Comment #4 from David Faust --- (In reply to Iain Sandoe from comment #3) > (In reply to Iain Sandoe from comment #2) > > there seems to be a second fail on x86_64 darwin on line 970. > > I tried the alternate patch on a number of x86_64,

[Bug middle-end/110089] New: sub-optimal code for attempting to produce JNA (jump on CF or ZF)

2023-06-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110089 Bug ID: 110089 Summary: sub-optimal code for attempting to produce JNA (jump on CF or ZF) Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/110089] sub-optimal code for attempting to produce JNA (jump on CF or ZF)

2023-06-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110089 Richard Biener changed: What|Removed |Added Target||x86_64-*-* --- Comment #1 from

[Bug middle-end/110089] sub-optimal code for attempting to produce JNA (jump on CF or ZF)

2023-06-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110089 Richard Biener changed: What|Removed |Added Target|x86_64-*-* |x86_64-*-*, powerpc*

[Bug middle-end/110089] sub-optimal code for attempting to produce JNA (jump on CF or ZF)

2023-06-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110089 Richard Biener changed: What|Removed |Added CC||uros at gcc dot gnu.org --- Comment

[Bug analyzer/109015] Analyzer doesn't know about atomic builtins

2023-06-02 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109015 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/110092] Missing warning that internal header is used

2023-06-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110092 Jonathan Wakely changed: What|Removed |Added Severity|normal |enhancement --- Comment #2 from

[Bug middle-end/110094] Support __builtin_mem*_inline

2023-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110094 --- Comment #1 from Andrew Pinski --- I think these builtins are a bad idea.

[Bug c++/109247] [13/14 Regression] optional o; o = {x}; wants to use explicit optional(U) constructor since r13-6765-ga226590fefb35ed6

2023-06-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109247 --- Comment #17 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:9872d56661ade358c440914361c1ebdccd975bec commit r14-1502-g9872d56661ade358c440914361c1ebdccd975bec Author: Jason Merrill Date:

[Bug analyzer/110090] New: -fanalyze sometimes assumes contradictory conditions to be valid at the same time during path exploration

2023-06-02 Thread girgias at php dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110090 Bug ID: 110090 Summary: -fanalyze sometimes assumes contradictory conditions to be valid at the same time during path exploration Product: gcc Version: 13.1.1 Status:

[Bug analyzer/109015] Analyzer doesn't know about atomic builtins

2023-06-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109015 --- Comment #1 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:ef768035ae8090ecbe5726111a5fae4d5c86dd74 commit r14-1497-gef768035ae8090ecbe5726111a5fae4d5c86dd74 Author: David Malcolm Date:

[Bug rtl-optimization/101188] [postreload] Uses content of a clobbered register

2023-06-02 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101188 --- Comment #13 from Georg-Johann Lay --- (In reply to Ulrich Weigand from comment #12) > I think your root cause analysis is correct. In this part of code: > > if (success) > delete_insn (insn); >

[Bug middle-end/110089] sub-optimal code for attempting to produce JNA (jump on CF or ZF)

2023-06-02 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110089 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org ---

[Bug rtl-optimization/110079] [10/11/12/13/14 Regression] ICE with -freorder-blocks-and-partition and inline-asm goto

2023-06-02 Thread yancheng.li at foxmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110079 --- Comment #2 from yancheng.li at foxmail dot com --- I want to try to solve this problem, but I am not very familiar with RTL optimization. Could someone give me some guidance? For example, is this an omission in the

[Bug tree-optimization/110087] Missing if conversion

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

[Bug c++/106760] [12/13/14 Regression] ICE: tree check: expected function_decl, have template_decl in get_fndecl_argument_location, at cp/call.cc:7801

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

[Bug c/110094] New: Support __builtin_mem*_inline

2023-06-02 Thread i at maskray dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110094 Bug ID: 110094 Summary: Support __builtin_mem*_inline Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug fortran/106035] F2018 allows an IMPORT statement within the BLOCK construct.

2023-06-02 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106035 kargl at gcc dot gnu.org changed: What|Removed |Added Attachment #53187|0 |1 is obsolete|

[Bug fortran/108650] Error: IMPORT statement only permitted in an INTERFACE body | but it should be allowed in any contained routine to control scope

2023-06-02 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108650 kargl at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c/102989] Implement C2x's n2763 (_BitInt)

2023-06-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 --- Comment #55 from Jakub Jelinek --- (In reply to rguent...@suse.de from comment #54) > At least for -Os we probably want to consider moving everything but > small and maybe middle to out of line library functions? Not sure about that, we

[Bug middle-end/110089] sub-optimal code for attempting to produce JNA (jump on CF or ZF)

2023-06-02 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110089 --- Comment #5 from Uroš Bizjak --- The important pattern in i386.md is *sub2, which allows CCGOCmode compare. This means that garbage in Overlow and Carry flags are allowed. In ix86_cc_modes_compatible, CCmode is returned for combination of

[Bug c++/110092] New: Missing warning that internal header is used

2023-06-02 Thread piotrwn1 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110092 Bug ID: 110092 Summary: Missing warning that internal header is used Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/110089] sub-optimal code for attempting to produce JNA (jump on CF or ZF)

2023-06-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110089 --- Comment #6 from Richard Biener --- (In reply to Alexander Monakov from comment #4) > If 'min' is needed anyway you can use it in subtraction: > > void bar (); > void foo (unsigned int n, unsigned s) > { > do > { > np = MIN (n,

[Bug gcov-profile/110082] Coverage analysis vs. offloading compilation

2023-06-02 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110082 --- Comment #6 from rguenther at suse dot de --- On Fri, 2 Jun 2023, tschwinge at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110082 > > --- Comment #5 from Thomas Schwinge --- > (In reply to Jakub Jelinek from

[Bug c++/110092] Missing warning that internal header is used

2023-06-02 Thread piotrwn1 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110092 --- Comment #3 from Piotr Nycz --- (In reply to Jonathan Wakely from comment #2) > (In reply to Piotr Nycz from comment #0) > > So, probably it is doable to add warning like: "bist/shared_ptr.h is an > > internal header file, included by other

[Bug rtl-optimization/101188] [postreload] Uses content of a clobbered register

2023-06-02 Thread uweigand at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101188 --- Comment #14 from Ulrich Weigand --- (In reply to Georg-Johann Lay from comment #13) > Also I don't have a test case for your scenario. I can reproduce the bug > back to v5 on avr and maybe it is even older. As it appears, this PR lead >

[Bug c++/110092] Missing warning that internal header is used

2023-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110092 --- Comment #4 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #1) > This seems more like a bug in the IDE than in GCC. If you don't include the > header at all then GCC tells you the right header: > > sp.cc: In function ‘int

[Bug c++/110101] New: inconsistent behavior for array-to-pointer decay in constant evaluation in template argument

2023-06-02 Thread richard-gccbugzilla at metafoo dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110101 Bug ID: 110101 Summary: inconsistent behavior for array-to-pointer decay in constant evaluation in template argument Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug tree-optimization/102725] -fno-builtin leads to call of strlen since r12-4283-g6f966f06146be768

2023-06-02 Thread vincent.riviere at freesbee dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102725 --- Comment #8 from Vincent Riviere --- This still happens with m68k-elf-gcc 13.1.0.

[Bug tree-optimization/102725] -fno-builtin leads to call of strlen since r12-4283-g6f966f06146be768

2023-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102725 Andrew Pinski changed: What|Removed |Added Depends on||56888 --- Comment #9 from Andrew

[Bug c/96628] Feature request: __attribute__((no_builtin("Foo")))

2023-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96628 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/102725] -fno-builtin leads to call of strlen since r12-4283-g6f966f06146be768

2023-06-02 Thread terra at gnome dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102725 M Welinder changed: What|Removed |Added CC||terra at gnome dot org --- Comment #10

[Bug rtl-optimization/110095] RISC-V: unrecognizable insn during RTL pass: vregs with -O2 -mcpu=sifive-u74

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

[Bug target/109760] riscv Internal compiler error in extract_insn after addition of XTheadCondMov

2023-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109760 Andrew Pinski changed: What|Removed |Added CC||matoro_gcc_bugzilla@matoro.

[Bug tree-optimization/110091] [12/13/14 Regression] bogus -Wdangling-pointer on non-pointer values

2023-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110091 Andrew Pinski changed: What|Removed |Added Summary|bogus -Wdangling-pointer on |[12/13/14 Regression] bogus

[Bug target/110096] Would be nice if __builtin_ia32_pause had a portable equivalent as it's applicable to ARM

2023-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110096 --- Comment #12 from Andrew Pinski --- Wfe normally waits a hundreds of cycles before being woken up. It also wake up when an event happens which is exactly when a write to that address happens. Exactly when you want.

[Bug target/92658] x86 lacks vector extend / truncate

2023-06-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92658 --- Comment #27 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:49337040865269e13cdc2ead276d12ecb2e9f606 commit r14-1509-g49337040865269e13cdc2ead276d12ecb2e9f606 Author: liuhongt Date: Thu Jun

[Bug libstdc++/110102] New: [13 regression] initializer_list ctors of containers skip Allocator_traits::construct, copies move-only type

2023-06-02 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110102 Bug ID: 110102 Summary: [13 regression] initializer_list ctors of containers skip Allocator_traits::construct, copies move-only type Product: gcc Version:

<    1   2   3   >