[Bug rtl-optimization/90259] ICE: verify_flow_info failed (error: missing REG_EH_REGION note at the end of bb 4)

2022-11-01 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90259 --- Comment #4 from Kewen Lin --- (In reply to Arseny Solokha from comment #3) > Aha! I've just managed to reproduce it even w/ the current gcc 13 snapshot > by adding -fstack-protector-all to the list of command line arguments: > > % powerpc-e3

[Bug rtl-optimization/90259] ICE: verify_flow_info failed (error: missing REG_EH_REGION note at the end of bb 4)

2022-11-01 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90259 --- Comment #5 from Arseny Solokha --- Created attachment 53808 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53808&action=edit -mdebug=target dump (In reply to Kewen Lin from comment #4) > Could you provide one dump file for -mdebug=targ

[Bug c++/107488] New: [13 Regression] -Werror=dangling-reference false positives in cppunit

2022-11-01 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107488 Bug ID: 107488 Summary: [13 Regression] -Werror=dangling-reference false positives in cppunit Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/90259] ICE: verify_flow_info failed (error: missing REG_EH_REGION note at the end of bb 4)

2022-11-01 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90259 --- Comment #6 from Kewen Lin --- (In reply to Arseny Solokha from comment #5) > Created attachment 53808 [details] > -mdebug=target dump > > (In reply to Kewen Lin from comment #4) > > Could you provide one dump file for -mdebug=target? > > I'

[Bug middle-end/102566] [i386] GCC should emit LOCK BTS for simple bit-test-and-set operations with std::atomic

2022-11-01 Thread marko.makela at mariadb dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102566 --- Comment #33 from Marko Mäkelä --- When it comes to toggling the most significant bit, std::atomic::fetch_xor() could be translated to LOCK XADD which would be able to return all bits: #include uint32_t toggle_by_add(std::atomic& a) { ret

[Bug fortran/107362] Internal compiler error for recursive class

2022-11-01 Thread federico.perini at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107362 --- Comment #4 from federico --- OK I will report a new bug.

[Bug fortran/107489] New: Runtime segfault in finalization routine of derived type with allocatable components

2022-11-01 Thread federico.perini at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107489 Bug ID: 107489 Summary: Runtime segfault in finalization routine of derived type with allocatable components Product: gcc Version: 12.1.0 Status: UNCONFIRMED S

[Bug tree-optimization/107490] New: [13 Regression] ICE in build_ge, at range-op-float.cc:283

2022-11-01 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107490 Bug ID: 107490 Summary: [13 Regression] ICE in build_ge, at range-op-float.cc:283 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug go/107491] New: GccGo stack not resizing on Solaris

2022-11-01 Thread jakub.kulik at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107491 Bug ID: 107491 Summary: GccGo stack not resizing on Solaris Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go

[Bug go/107491] Gccgo stack not resizing on Solaris

2022-11-01 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107491 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org Ever c

[Bug go/107491] Gccgo stack not resizing on Solaris

2022-11-01 Thread jakub.kulik at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107491 --- Comment #2 from Jakub Kulik --- That's what I thought, but I am not sure whether there is supposed to be a different mechanism on other platforms or whether the 4MB stack cap per thread is the maximum I can get on non Linux platform.

[Bug c++/107492] New: Unhelpful -Wignored-qualifiers warning in template specialization

2022-11-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107492 Bug ID: 107492 Summary: Unhelpful -Wignored-qualifiers warning in template specialization Product: gcc Version: 12.2.1 Status: UNCONFIRMED Keywords: diagnostic

[Bug c/107493] New: Wrong code at -Os on x86_64-linux-gnu

2022-11-01 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107493 Bug ID: 107493 Summary: Wrong code at -Os on x86_64-linux-gnu Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/87832] AMD pipeline models are very costly size-wise

2022-11-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87832 --- Comment #2 from CVS Commits --- The master branch has been updated by Alexander Monakov : https://gcc.gnu.org/g:5cee5f94000ee5eabce9b223c44c7923c1c69f61 commit r13-3589-g5cee5f94000ee5eabce9b223c44c7923c1c69f61 Author: Alexander Monakov Da

[Bug tree-optimization/107413] Perf loss ~14% on 519.lbm_r SPEC cpu2017 benchmark with r8-7132-gb5b33e113434be

2022-11-01 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107413 --- Comment #7 from Wilco --- (In reply to Rama Malladi from comment #5) > So, looks like we aren't impacted much with this commit revert. > > I haven't yet tried fp_reassoc_width. Will try shortly. The revert results in about 0.5% loss on Ne

[Bug web/107494] New: -ffinite-loops is not enable by default

2022-11-01 Thread 570070308 at qq dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107494 Bug ID: 107494 Summary: -ffinite-loops is not enable by default Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: web

[Bug libstdc++/107468] std::from_chars doesn't always round to nearest

2022-11-01 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107468 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug bootstrap/106472] No rule to make target '../libbacktrace/libbacktrace.la', needed by 'libgo.la'.

2022-11-01 Thread matoro_gcc_bugzilla at matoro dot tk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106472 --- Comment #22 from matoro --- This is still a problem on the gcc-12 branch, at least as of 20221008. Attaching a complete log from a -j1 build.

[Bug bootstrap/106472] No rule to make target '../libbacktrace/libbacktrace.la', needed by 'libgo.la'.

2022-11-01 Thread matoro_gcc_bugzilla at matoro dot tk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106472 --- Comment #23 from matoro --- Created attachment 53810 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53810&action=edit build log

[Bug target/107456] std::atomic::fetch_xxx generate LOCK CMPXCHG instead of simpler LOCK instructions

2022-11-01 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107456 --- Comment #4 from Thiago Macieira --- (In reply to Thiago Macieira from comment #3) > With the Remote Atomic Operations (RAO) of AAND, AOR and AXOR, we can do > something. Correcting myself: the RAO instructions don't give us the result back

[Bug c++/107495] New: GCC does not consider the right contextual implicit conversions

2022-11-01 Thread dangelog at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107495 Bug ID: 107495 Summary: GCC does not consider the right contextual implicit conversions Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: normal

[Bug c++/107495] GCC does not consider the right contextual implicit conversions

2022-11-01 Thread dangelog at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107495 --- Comment #1 from Giuseppe D'Angelo --- Variation of the above: struct Test { template operator int *() const; }; Test t; delete t; also fails: : In function 'int main()': :32:12: error: default type conversion cannot

[Bug middle-end/107494] -ffinite-loops is not enable by default

2022-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107494 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Component|web

[Bug lto/107078] LTO is causing that firebird build is core dumping

2022-11-01 Thread kloczko.tomasz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #12 from Tomasz Kłoczko --- Any update?🤔

[Bug tree-optimization/107493] [13 Regression] Wrong code at -Os on x86_64-linux-gnu

2022-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107493 Andrew Pinski changed: What|Removed |Added Known to work||12.1.0 Last reconfirmed|

[Bug tree-optimization/107493] [13 Regression] Wrong code at -Os on x86_64-linux-gnu

2022-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107493 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #2 from And

[Bug c++/107492] Unhelpful -Wignored-qualifiers warning in template specialization

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

[Bug go/107491] Gccgo stack not resizing on Solaris

2022-11-01 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107491 --- Comment #3 from Ian Lance Taylor --- The stack size on a system that does not support -fsplit-stack is set by StackMin in libgo/runtime/stack.c. There is currently no way to override the default value of 4MB, but we could probably add one b

[Bug tree-optimization/107490] [13 Regression] ICE in build_ge, at range-op-float.cc:283

2022-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107490 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug tree-optimization/107490] [13 Regression] ICE in build_ge, at range-op-float.cc:283

2022-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107490 --- Comment #1 from Andrew Pinski --- Created attachment 53811 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53811&action=edit testcase, -Os -fno-trapping-math I changed the testcase so -fsingle-precision-constant is no longer needed; ju

[Bug tree-optimization/107490] [13 Regression] ICE in build_ge, at range-op-float.cc:283

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

[Bug rtl-optimization/90706] [10/11/12/13 Regression] Useless code generated for stack / register operations on AVR

2022-11-01 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90706 --- Comment #13 from Georg-Johann Lay --- Created attachment 53812 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53812&action=edit Test case with 32-bit integer. This problem is still present in current master (future v13) and also occurs

[Bug c++/107488] [13 Regression] -Werror=dangling-reference false positives in cppunit

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

[Bug tree-optimization/107490] [13 Regression] ICE in build_ge, at range-op-float.cc:283

2022-11-01 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107490 Aldy Hernandez changed: What|Removed |Added Priority|P3 |P1 CC|

[Bug c++/107496] New: [Feature request] Conditional attributes

2022-11-01 Thread jwjagersma at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107496 Bug ID: 107496 Summary: [Feature request] Conditional attributes Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug tree-optimization/107497] New: [13 regression] ICE during bootstrap after r13-3595-g7b1cdca6d6d594

2022-11-01 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107497 Bug ID: 107497 Summary: [13 regression] ICE during bootstrap after r13-3595-g7b1cdca6d6d594 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/102566] [i386] GCC should emit LOCK BTS for simple bit-test-and-set operations with std::atomic

2022-11-01 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102566 --- Comment #34 from H.J. Lu --- Created attachment 53813 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53813&action=edit A patch to handle if (_5 < 0) A patch to extend optimization for _1 = __atomic_fetch_or_4 (ptr_6, 0x8000, _3);

[Bug c++/107496] [Feature request] Conditional attributes

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

[Bug tree-optimization/107497] [13 regression] ICE during bootstrap after r13-3595-g7b1cdca6d6d594

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

[Bug c++/107492] Unhelpful -Wignored-qualifiers warning in template specialization

2022-11-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107492 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c/107498] New: Wrong optimization leads to unaligned access when compiling OpenLDAP

2022-11-01 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107498 Bug ID: 107498 Summary: Wrong optimization leads to unaligned access when compiling OpenLDAP Product: gcc Version: 12.2.0 URL: https://bugs.openldap.org/show_bug.cgi?

[Bug tree-optimization/107497] [13 regression] ICE during bootstrap after r13-3595-g7b1cdca6d6d594

2022-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107497 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-11-01 Host|powerpc64

[Bug middle-end/107498] Wrong optimization leads to unaligned access when compiling OpenLDAP

2022-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107498 --- Comment #1 from Andrew Pinski --- Can you attach the preprocessed source for the file which is failing? And give the exact commands you used to compile it? Note this could still be a bug in the sources of openldap where the alignment of the

[Bug tree-optimization/107497] [13 regression] ICE during bootstrap after r13-3595-g7b1cdca6d6d594

2022-11-01 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107497 --- Comment #2 from seurer at gcc dot gnu.org --- Because of past issues I always use contrib/download_prerequisites

[Bug middle-end/107498] Wrong optimization leads to unaligned access when compiling OpenLDAP

2022-11-01 Thread jrtc27 at jrtc27 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107498 --- Comment #2 from Jessica Clarke --- #define mp_lowermp_pb.pb.pb_lower #define mp_uppermp_pb.pb.pb_upper #define mp_pagesmp_pb.pb_pages union { struct { indx_t pb

[Bug tree-optimization/107497] [13 regression] ICE during bootstrap after r13-3595-g7b1cdca6d6d594

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

[Bug middle-end/107498] Wrong optimization leads to unaligned access when compiling OpenLDAP

2022-11-01 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107498 --- Comment #3 from John Paul Adrian Glaubitz --- Created attachment 53814 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53814&action=edit Pre-processed source of mdb.c (gzip-compressed) Source code file in OpenLDAP git tree is »librarie

[Bug middle-end/107498] Wrong optimization leads to unaligned access when compiling OpenLDAP

2022-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107498 --- Comment #4 from Andrew Pinski --- I am suspecting the sub-allocator mdb_page_alloc is not doing the alignment correctly.

[Bug tree-optimization/107499] New: 433.milc regressed by 6-8% on zen3 at -O2 -flto

2022-11-01 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107499 Bug ID: 107499 Summary: 433.milc regressed by 6-8% on zen3 at -O2 -flto Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/107497] [13 regression] ICE during bootstrap after r13-3595-g7b1cdca6d6d594

2022-11-01 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107497 Andrew Macleod changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |amacleod at redhat dot com ---

[Bug c++/107500] New: Useless atexit entry for ~constant_init in eh_globals.cc

2022-11-01 Thread rdiezmail-gcc at yahoo dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107500 Bug ID: 107500 Summary: Useless atexit entry for ~constant_init in eh_globals.cc Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Pr

[Bug c++/107495] GCC does not consider the right contextual implicit conversions

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

[Bug fortran/107489] Runtime segfault in finalization routine of derived type with allocatable components

2022-11-01 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107489 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug tree-optimization/107497] [13 regression] ICE during bootstrap after r13-3595-g7b1cdca6d6d594

2022-11-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107497 --- Comment #5 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:82b0345f6137b112728590d7c010dcd2cef08514 commit r13-3597-g82b0345f6137b112728590d7c010dcd2cef08514 Author: Andrew MacLeod Date:

[Bug tree-optimization/89653] Missing vectorization of loop containing std::min/std::max and temporary

2022-11-01 Thread moritz.kreutzer at siemens dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89653 --- Comment #11 from Moritz Kreutzer --- I am currently out of the office, with limited to no email access. I will be returning on November 28. For urgent questions regarding ARM64 support please contact Julian Hornich, for GPGPU-related issues p

[Bug tree-optimization/107490] [13 Regression] ICE in build_ge, at range-op-float.cc:283

2022-11-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107490 --- Comment #3 from CVS Commits --- The master branch has been updated by Aldy Hernandez : https://gcc.gnu.org/g:bdf0018519c39931fdcc7aeffe9e87ba756894d7 commit r13-3598-gbdf0018519c39931fdcc7aeffe9e87ba756894d7 Author: Aldy Hernandez Date:

[Bug tree-optimization/107490] [13 Regression] ICE in build_ge, at range-op-float.cc:283

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

[Bug tree-optimization/107497] [13 regression] ICE during bootstrap after r13-3595-g7b1cdca6d6d594

2022-11-01 Thread i.nixman at autistici dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107497 --- Comment #6 from niXman --- just now faced with the bug as well on x86_64-w64-mingw32 target.

[Bug tree-optimization/107497] [13 regression] ICE during bootstrap after r13-3595-g7b1cdca6d6d594

2022-11-01 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107497 --- Comment #7 from Andrew Macleod --- (In reply to niXman from comment #6) > just now faced with the bug as well on x86_64-w64-mingw32 target. Does the committed patch not fix it?

[Bug tree-optimization/107497] [13 regression] ICE during bootstrap after r13-3595-g7b1cdca6d6d594

2022-11-01 Thread i.nixman at autistici dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107497 --- Comment #8 from niXman --- (In reply to Andrew Macleod from comment #7) > (In reply to niXman from comment #6) > > just now faced with the bug as well on x86_64-w64-mingw32 target. > > Does the committed patch not fix it? checking...

[Bug fortran/107501] New: Aliasing warning not working properly in certain situations

2022-11-01 Thread mhbalsmeier at mail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107501 Bug ID: 107501 Summary: Aliasing warning not working properly in certain situations Product: gcc Version: og11 (devel/omp/gcc-11) Status: UNCONFIRMED Severity:

[Bug tree-optimization/107497] [13 regression] ICE during bootstrap after r13-3595-g7b1cdca6d6d594

2022-11-01 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107497 --- Comment #9 from seurer at gcc dot gnu.org --- The patch works for powerpc64. Thanks!

[Bug tree-optimization/107502] New: GCC fails to detect foo(first_const,last)-first_const+first pattern

2022-11-01 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107502 Bug ID: 107502 Summary: GCC fails to detect foo(first_const,last)-first_const+first pattern Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/107502] GCC fails to detect foo(first_const,last)-first_const+first pattern

2022-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107502 --- Comment #1 from Andrew Pinski --- Created attachment 53817 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53817&action=edit testcase

[Bug tree-optimization/107502] GCC fails to detect foo(first_const,last)-first_const+first pattern

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

[Bug tree-optimization/107503] New: tail call missed with struct wrapper

2022-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107503 Bug ID: 107503 Summary: tail call missed with struct wrapper Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement

[Bug tree-optimization/107502] GCC fails to detect foo(first_const,last)-first_const+first pattern

2022-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107502 --- Comment #3 from Andrew Pinski --- I filed PR 107503 with the reduced testcase for the test2 case (after having fixed the return issue).

[Bug tree-optimization/107503] tail call missed with struct wrapper

2022-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107503 --- Comment #1 from Andrew Pinski --- Real testcase: ``` struct f { int *a; }; int *g(); struct f h() { return {g()}; } ``` Sorry I forgot the definition of f before. it was a copy and paste mistake.

[Bug target/106602] riscv: suboptimal codegen for zero_extendsidi2_shifted w/o bitmanip

2022-11-01 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106602 Jeffrey A. Law changed: What|Removed |Added CC||law at gcc dot gnu.org --- Comment #7

[Bug target/106602] riscv: suboptimal codegen for zero_extendsidi2_shifted w/o bitmanip

2022-11-01 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106602 Jeffrey A. Law changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/105416] arm_acle.h is missing __yield()

2022-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105416 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-11-01 URL|

[Bug target/106602] riscv: suboptimal codegen for zero_extendsidi2_shifted w/o bitmanip

2022-11-01 Thread palmer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106602 palmer at gcc dot gnu.org changed: What|Removed |Added CC||palmer at gcc dot gnu.org --

[Bug libstdc++/107468] std::from_chars doesn't always round to nearest

2022-11-01 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107468 --- Comment #1 from Patrick Palka --- Might be good to let upstream know about these issues

[Bug middle-end/107498] Wrong optimization leads to unaligned access when compiling OpenLDAP

2022-11-01 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107498 Eric Botcazou changed: What|Removed |Added Last reconfirmed||2022-11-01 Status|UNCONFIRM

[Bug target/106602] riscv: suboptimal codegen for zero_extendsidi2_shifted w/o bitmanip

2022-11-01 Thread vineetg at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106602 --- Comment #9 from Vineet Gupta --- (In reply to Jeffrey A. Law from comment #7) > There's some code in combine that's supposed to take advantage of REG_EQUAL > notes which is supposed to help with this kind of scenario. Digging into > that mi

[Bug fortran/107444] ICE on character, value, optional dummy argument

2022-11-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107444 --- Comment #1 from anlauf at gcc dot gnu.org --- It appears that there is also confusion about the procedure decl. This is demonstrated by: program p call s() call s('') ! Actual argument is too short, reject? call s('a') call s('ab')

[Bug c++/107488] [13 Regression] -Werror=dangling-reference false positives in cppunit

2022-11-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107488 Marek Polacek changed: What|Removed |Added Last reconfirmed||2022-11-01 CC|

[Bug fortran/107444] ICE on character, value, optional dummy argument

2022-11-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107444 anlauf at gcc dot gnu.org changed: What|Removed |Added Keywords||wrong-code --- Comment #2 fr

[Bug tree-optimization/107497] [13 regression] ICE during bootstrap after r13-3595-g7b1cdca6d6d594

2022-11-01 Thread i.nixman at autistici dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107497 --- Comment #10 from niXman --- (In reply to Andrew Macleod from comment #7) > (In reply to niXman from comment #6) > > just now faced with the bug as well on x86_64-w64-mingw32 target. > > Does the committed patch not fix it? fixed! thanks!

[Bug fortran/107444] ICE on character, value, optional dummy argument

2022-11-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107444 --- Comment #3 from anlauf at gcc dot gnu.org --- Regarding ABI questions, I've inquired on the ML: https://gcc.gnu.org/pipermail/fortran/2022-November/058410.html

[Bug tree-optimization/107497] [13 regression] ICE during bootstrap after r13-3595-g7b1cdca6d6d594

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

[Bug middle-end/107498] Wrong optimization leads to unaligned access when compiling OpenLDAP

2022-11-01 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107498 --- Comment #6 from John Paul Adrian Glaubitz --- (In reply to Eric Botcazou from comment #5) > Note that the fields are marked volatile in the source: > > union { > struct { >volatile indx_t pb_lower; >volatile indx_t pb_upper; >

[Bug middle-end/107498] Wrong optimization leads to unaligned access when compiling OpenLDAP

2022-11-01 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107498 --- Comment #7 from John Paul Adrian Glaubitz --- Created attachment 53818 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53818&action=edit Pre-processed source of unmodified mdb.c (gzip-compressed) Here's the preprocessed source for mdb.

[Bug tree-optimization/107502] GCC fails to detect foo(first_const,last)-first_const+first pattern

2022-11-01 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107502 --- Comment #4 from cqwrteur --- (In reply to Andrew Pinski from comment #3) > I filed PR 107503 with the reduced testcase for the test2 case (after having > fixed the return issue). sorry about that. it should be vector case https://godbolt.or

[Bug tree-optimization/107502] GCC fails to detect foo(first_const,last)-first_const+first pattern

2022-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107502 --- Comment #5 from Andrew Pinski --- (In reply to cqwrteur from comment #4) > (In reply to Andrew Pinski from comment #3) > > I filed PR 107503 with the reduced testcase for the test2 case (after having > > fixed the return issue). > > sorry a

[Bug c++/105518] [rejects valid] nested lambda using an outer type alias fails with constexpr integer in that alias

2022-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105518 --- Comment #1 from Andrew Pinski --- Created attachment 53819 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53819&action=edit full testcase

[Bug c++/107437] nested generic lambdas fail requiring unneded captures

2022-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107437 --- Comment #2 from Andrew Pinski --- I suspect this is the same as PR 105518.

[Bug c++/107504] New: Debugger jumps back to structured binding declaration

2022-11-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107504 Bug ID: 107504 Summary: Debugger jumps back to structured binding declaration Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug c++/107504] Debugger jumps back to structured binding declaration

2022-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107504 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Component|debug

[Bug c++/107504] Debugger jumps back to structured binding declaration

2022-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107504 --- Comment #2 from Andrew Pinski --- The code that creates the COMPONENT_REF is the call to finish_non_static_data_member around decl.cc:9186 .

[Bug target/106602] riscv: suboptimal codegen for zero_extendsidi2_shifted w/o bitmanip

2022-11-01 Thread vineetg at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106602 --- Comment #10 from Vineet Gupta --- At expand time, RV backend was NOT creating REQ_EQUAL note for 1 << 38 (insn 8 7 9 2 (set (reg:DI 79) (ashift:DI (reg:DI 78) (const_int 38 [0x26]))) "../../../shifter.c":10:40 -1 Howe

[Bug c++/84471] Instruction reordering happens in lambdas even with -O0

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

[Bug c++/87377] error with generic lambda accessing static field through argument within return type

2022-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87377 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-11-01 Ever confirmed|0

[Bug c++/89995] Misleading error message 'this' was not captured for this lambda function

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

[Bug c++/92851] Lambda capture of *this with mutable is not mutable

2022-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92851 Andrew Pinski changed: What|Removed |Added Keywords||c++-lambda, rejects-valid St

[Bug c++/85889] lambda expression can capture structured bindings

2022-11-01 Thread ville.voutilainen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85889 Ville Voutilainen changed: What|Removed |Added Status|SUSPENDED |ASSIGNED --- Comment #4 from Ville V

[Bug c++/100822] new expression for an array of function pointers gets parsed as lambda incorrectly

2022-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100822 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug c++/101430] Passing a lambda as a template argument causes internal compiler error

2022-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101430 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Known to work|

[Bug tree-optimization/107413] Perf loss ~14% on 519.lbm_r SPEC cpu2017 benchmark with r8-7132-gb5b33e113434be

2022-11-01 Thread rvmallad at amazon dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107413 --- Comment #8 from Rama Malladi --- (In reply to Wilco from comment #7) > The revert results in about 0.5% loss on Neoverse N1, so it looks like the > reassociation pass is still splitting FMAs into separate MUL and ADD (which > is bad for narr

[Bug c++/85889] lambda expression can capture structured bindings

2022-11-01 Thread ville.voutilainen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85889 --- Comment #5 from Ville Voutilainen --- And the papers that changed this are https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1091r3.html and https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1381r1.html

  1   2   >