[Bug libstdc++/107092] New: std::for_each_n and its friends incorrectly accept size parameters that are not convertible to an integer type

2022-09-29 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107092 Bug ID: 107092 Summary: std::for_each_n and its friends incorrectly accept size parameters that are not convertible to an integer type Product: gcc Version:

[Bug preprocessor/107089] Line-terminating '\' leaves the characters when the next-line is a multi-line comment

2022-09-29 Thread wcs84014 at xcoxc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107089 --- Comment #2 from JohnDoe --- >Andrew Pinski Thank you for your reply. That's right. Therefore, I am currently using my own parser. Nobody needs fix, so you can close this topic. However, the cause of the bug seems to be a mistake in the

[Bug ipa/96503] attribute alloc_size effect lost after inlining

2022-09-29 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96503 Kees Cook changed: What|Removed |Added CC||kees at outflux dot net --- Comment #1 from

[Bug preprocessor/107089] Line-terminating '\' leaves the characters when the next-line is a multi-line comment

2022-09-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107089 --- Comment #1 from Andrew Pinski --- >I found it when I tried to use the CPP as a general-purpose macro. Well it is not designed to be a general purpose macro processor. You might want to try something like m4 instead.

[Bug tree-optimization/102892] [12/13 Regression] Dead Code Elimination Regression at -O3 (trunk vs 11.2.0)

2022-09-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102892 --- Comment #18 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:845ee38e9b40230fbb1b9825fb62146fd858cd96 commit r13-2970-g845ee38e9b40230fbb1b9825fb62146fd858cd96 Author: Andrew MacLeod Date:

[Bug tree-optimization/107090] [aarch64] sequence logic should be combined with mul and umulh

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

[Bug c++/106649] [C++23] P2448 - Relaxing some constexpr restrictions

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

[Bug tree-optimization/85611] Suboptimal code generation for (potentially) redundant atomic loads

2022-09-29 Thread hiraditya at msn dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85611 AK changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c/107091] Misleading error message "incompatible types when returning ..."

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

[Bug fortran/107075] ICE in get, at cgraph.h:461

2022-09-29 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107075 --- Comment #4 from anlauf at gcc dot gnu.org --- (In reply to Mikael Morin from comment #3) > (In reply to Richard Biener from comment #2) > > > > But maybe 'z' shouldn't be of static storage duration ... > > No, I think it shouldn't. A

[Bug fortran/107000] ICE in gfc_real2complex, at fortran/arith.cc:2243

2022-09-29 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107000 --- Comment #12 from Steve Kargl --- On Thu, Sep 29, 2022 at 08:10:14PM +, sgk at troutmask dot apl.washington.edu wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107000 > > --- Comment #11 from Steve Kargl --- > On Thu, Sep 29,

[Bug c++/99227] [meta] [modules] Bugs relating to header-units of STL header files

2022-09-29 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227 Bug 99227 depends on bug 107033, which changed state. Bug 107033 Summary: [13 Regression] [modules] Variable template of type trait via importable header gives wrong result https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107033 What

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

2022-09-29 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 107033, which changed state. Bug 107033 Summary: [13 Regression] [modules] Variable template of type trait via importable header gives wrong result https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107033 What

[Bug c++/107033] [13 Regression] [modules] Variable template of type trait via importable header gives wrong result

2022-09-29 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107033 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

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

2022-09-29 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 100616, which changed state. Bug 100616 Summary: [modules] ICE when a variable of class taking a non-type template argument is defined both inside and outside the module

[Bug c++/100616] [modules] ICE when a variable of class taking a non-type template argument is defined both inside and outside the module

2022-09-29 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100616 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug debug/98776] DW_AT_low_pc is inconsistent with function entry address, when enabling -fpatchable-function-entry

2022-09-29 Thread spop at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98776 Sebastian Pop changed: What|Removed |Added CC||spop at gcc dot gnu.org --- Comment #9

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

2022-09-29 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 102576, which changed state. Bug 102576 Summary: [modules] Importing doesn't permit implicit uses https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102576 What|Removed |Added

[Bug c++/99227] [meta] [modules] Bugs relating to header-units of STL header files

2022-09-29 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227 Bug 99227 depends on bug 102576, which changed state. Bug 102576 Summary: [modules] Importing doesn't permit implicit uses https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102576 What|Removed |Added

[Bug c++/102576] [modules] Importing doesn't permit implicit uses

2022-09-29 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102576 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Assignee|unassigned at

[Bug c++/102576] [modules] Importing doesn't permit implicit uses

2022-09-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102576 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:c2ee70f20de8133a88553270073226b0f3f55f62 commit r13-2969-gc2ee70f20de8133a88553270073226b0f3f55f62 Author: Patrick Palka Date:

[Bug fortran/107000] ICE in gfc_real2complex, at fortran/arith.cc:2243

2022-09-29 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107000 --- Comment #11 from Steve Kargl --- On Thu, Sep 29, 2022 at 07:57:24PM +, anlauf at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107000 > > --- Comment #10 from anlauf at gcc dot gnu.org --- > (In reply to kargl

[Bug fortran/107000] ICE in gfc_real2complex, at fortran/arith.cc:2243

2022-09-29 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107000 --- Comment #10 from anlauf at gcc dot gnu.org --- (In reply to kargl from comment #9) > This catches the parenthesis. ... but it is still not sufficient to handle ugly stuff like: print *, [real :: 1, +(+(.true.))] * 2

[Bug middle-end/107088] [13 Regression] cselib ICE building __trunctfxf2 on ia64

2022-09-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107088 --- Comment #4 from Richard Biener --- /* Skip BImode. FIXME: BImode probably shouldn't be MODE_INT. */ if (m->boolean) continue;

[Bug middle-end/107088] [13 Regression] cselib ICE building __trunctfxf2 on ia64

2022-09-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107088 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-09-29 CC|

[Bug c++/107065] GCC treats rvalue as an lvalue

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

[Bug middle-end/107088] [13 Regression] cselib ICE building __trunctfxf2 on ia64

2022-09-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107088 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0 --- Comment #2 from Richard

[Bug target/107061] ENCODEKEY128 clobbers xmm4-xmm6

2022-09-29 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107061 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug target/107061] ENCODEKEY128 clobbers xmm4-xmm6

2022-09-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107061 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by H.J. Lu : https://gcc.gnu.org/g:f8204b10e6bae0721ab74ad77a80b3761ebaf501 commit r11-10279-gf8204b10e6bae0721ab74ad77a80b3761ebaf501 Author: H.J. Lu Date:

[Bug fortran/106985] ICE in gfc_simplify_expr, at fortran/expr.cc:2290

2022-09-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106985 --- Comment #4 from CVS Commits --- The releases/gcc-12 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:2e81790f45c9b7ced4d8c70c3122404854aa5be5 commit r12-8796-g2e81790f45c9b7ced4d8c70c3122404854aa5be5 Author: Harald Anlauf

[Bug fortran/107054] [10/11/12/13 Regression] ICE in gfc_simplify_unpack, at fortran/simplify.cc:8461

2022-09-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107054 --- Comment #6 from CVS Commits --- The releases/gcc-12 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:2773a90c0f4f323e8ace0593893bc8fcbd2266cf commit r12-8798-g2773a90c0f4f323e8ace0593893bc8fcbd2266cf Author: Harald Anlauf

[Bug fortran/82868] ICE in generate_coarray_sym_init, at fortran/trans-decl.c:5203

2022-09-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82868 --- Comment #5 from CVS Commits --- The releases/gcc-12 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:22c2658a8b6ae9ece8b33bc483c04a767168b5f4 commit r12-8797-g22c2658a8b6ae9ece8b33bc483c04a767168b5f4 Author: Harald Anlauf

[Bug middle-end/107088] [13 Regression] cselib ICE building __trunctfxf2 on ia64

2022-09-29 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107088 --- Comment #1 from Stefan Schulze Frielinghaus --- The patch introduces scalar_int_mode int_mode; if (REG_P (x) && is_int_mode (mode, _mode) && REG_VALUES (REGNO (x)) != NULL && (!cselib_current_insn || !DEBUG_INSN_P

[Bug target/107061] ENCODEKEY128 clobbers xmm4-xmm6

2022-09-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107061 --- Comment #2 from CVS Commits --- The releases/gcc-12 branch has been updated by H.J. Lu : https://gcc.gnu.org/g:f1454a75c9a165c0ba30833f23f799044fd7a7fe commit r12-8795-gf1454a75c9a165c0ba30833f23f799044fd7a7fe Author: H.J. Lu Date: Tue

[Bug c/107091] New: Misleading error message "incompatible types when returning ..."

2022-09-29 Thread Keith.S.Thompson at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107091 Bug ID: 107091 Summary: Misleading error message "incompatible types when returning ..." Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/107065] GCC treats rvalue as an lvalue

2022-09-29 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107065 --- Comment #8 from Marc Glisse --- (simplify (bit_not (bit_not @0)) @0) while in an other place we have (simplify (bit_and @0 integer_all_onesp) (non_lvalue @0))

[Bug libstdc++/105505] P1951R1 (Default Arguments for pair's Forwarding Constructor) is unimplemented

2022-09-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105505 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug libstdc++/97930] pair is not a structural type

2022-09-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97930 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid Known to work|

[Bug middle-end/107090] [aarch64] sequence logic should be combined with mul and umulh

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

[Bug c++/93046] [10 Regression] ICE in cp_gimplify_init_expr

2022-09-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93046 --- Comment #6 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:bbdb5612f6661f2c64b0c0f1d2291cb59fde2b40 commit r13-2964-gbbdb5612f6661f2c64b0c0f1d2291cb59fde2b40 Author: Jason Merrill Date:

[Bug c/107090] New: [aarch64] sequence logic should be combined with mul and umulh

2022-09-29 Thread zhongyunde at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107090 Bug ID: 107090 Summary: [aarch64] sequence logic should be combined with mul and umulh Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug preprocessor/107089] New: Line-terminating '\' leaves the characters when the next-line is a multi-line comment

2022-09-29 Thread wcs84014 at xcoxc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107089 Bug ID: 107089 Summary: Line-terminating '\' leaves the characters when the next-line is a multi-line comment Product: gcc Version: 11.2.0 Status: UNCONFIRMED

[Bug middle-end/107088] New: [13 Regression] cselib ICE building __trunctfxf2 on ia64

2022-09-29 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107088 Bug ID: 107088 Summary: [13 Regression] cselib ICE building __trunctfxf2 on ia64 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug middle-end/107028] [13 Regression][OpenACC] ICE in install_var_field, at omp-low.cc:797

2022-09-29 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107028 Tobias Burnus changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/107084] Program does not link with Standard Library Header Unit but with correspoding #include

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

[Bug fortran/107071] gfortran.dg/ieee/modes_1.f90 fails on aarch64-linux

2022-09-29 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107071 --- Comment #7 from Francois-Xavier Coudert --- @Richard The test in gfortran.dg/ieee/modes_1.f90 is not doing that. It is checking that the floating-point modes (rounding mode, underflow mode, and halting modes) can be set and restored. It is

[Bug tree-optimization/84774] [meta-bug] bogus/missing -Wrestrict

2022-09-29 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84774 Bug 84774 depends on bug 107069, which changed state. Bug 107069 Summary: string assignment triggers warning https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107069 What|Removed |Added

[Bug tree-optimization/105329] [12/13 Regression] Bogus restrict warning when assigning 1-char string literal to std::string since r12-3347-g8af8abfbbace49e6

2022-09-29 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105329 Martin Sebor changed: What|Removed |Added CC||joerg.rich...@pdv-fs.de --- Comment #23

[Bug c++/107069] string assignment triggers warning

2022-09-29 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107069 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org

[Bug fortran/107071] gfortran.dg/ieee/modes_1.f90 fails on aarch64-linux

2022-09-29 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107071 --- Comment #6 from Richard Earnshaw --- Whilst the patch is probably fine and a better way of doing this, it won't fix the test failure. I think your problem is that you're assuming that an exception will cause a trap in hardware. That's not

[Bug rtl-optimization/107057] [10/11/12/13 Regression] ICE in extract_constrain_insn, at recog.cc:2692

2022-09-29 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107057 Uroš Bizjak changed: What|Removed |Added Component|target |rtl-optimization Keywords|

[Bug libstdc++/78530] std::copy of volatile array triggers invalid conversion error

2022-09-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78530 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug middle-end/107087] New: bits/stl_algobase.h:431: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' reading between 8 and 2147483644 bytes from a region of size 4 [-Wstringop-ove

2022-09-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107087 Bug ID: 107087 Summary: bits/stl_algobase.h:431: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' reading between 8 and 2147483644 bytes from a region

[Bug c++/107079] [10/11/12/13 Regression] ICE initializing lifetime-extended constexpr variable that stores its this pointer

2022-09-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107079 Marek Polacek changed: What|Removed |Added Last reconfirmed||2022-09-29 Summary|ICE

[Bug middle-end/107028] [13 Regression][OpenACC] ICE in install_var_field, at omp-low.cc:797

2022-09-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107028 --- Comment #3 from CVS Commits --- The master branch has been updated by Julian Brown : https://gcc.gnu.org/g:8ace67ddb97698709a622b2f8ba2718524aa5eeb commit r13-2957-g8ace67ddb97698709a622b2f8ba2718524aa5eeb Author: Julian Brown Date:

[Bug target/106902] [11/12/13 Regression] Program compiled with -O3 -mfma produces different result

2022-09-29 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106902 --- Comment #18 from rguenther at suse dot de --- On Thu, 29 Sep 2022, amonakov at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106902 > > --- Comment #17 from Alexander Monakov --- > (In reply to Richard Biener from

[Bug libstdc++/68606] Reduce or disable the static emergency pool for C++ exceptions

2022-09-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68606 --- Comment #19 from Jonathan Wakely --- Dunno yet, I need to remind myself what that old patch did, and decide if it's the right approach. I'm busy with other things for now so haven't looked at it yet.

[Bug target/107057] [10/11/12/13 Regression] ICE in extract_constrain_insn, at recog.cc:2692

2022-09-29 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107057 --- Comment #2 from Uroš Bizjak --- Reload starts with: (insn 76 67 101 5 (set (reg/v:V2DF 108 [ x ]) (vec_concat:V2DF (reg:DF 182) (reg:DF 182))) "pr107057.c":7:10 5952 {vec_concatv2df} (expr_list:REG_EQUAL

[Bug c++/107085] __reference_constructs_from_temporary does not detect static up-cast

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

[Bug sanitizer/107086] gcc trunkc at -O1 failed to detect a stack-use-after-return

2022-09-29 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107086 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/68606] Reduce or disable the static emergency pool for C++ exceptions

2022-09-29 Thread dumoulin.thibaut at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68606 --- Comment #18 from Thibaut M. --- Jonathan, it looks like you have a good idea of what could be the patch, could you detail it please? :) Or are you referring to the one you already suggested here

[Bug sanitizer/107086] New: gcc trunkc at -O1 failed to detect a stack-use-after-return

2022-09-29 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107086 Bug ID: 107086 Summary: gcc trunkc at -O1 failed to detect a stack-use-after-return Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug c++/107085] __reference_constructs_from_temporary does not detect static up-cast

2022-09-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107085 Jonathan Wakely changed: What|Removed |Added Status|RESOLVED|NEW Ever confirmed|0

[Bug middle-end/106982] [10/11/12/13 Regression][OpenACC] ICE incorrect sharing of tree nodes with nested reduction / .GOACC_REDUCTION

2022-09-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106982 --- Comment #3 from CVS Commits --- The releases/gcc-12 branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:afea1ae84f0c3e64137289c44c756195babe1845 commit r12-8793-gafea1ae84f0c3e64137289c44c756195babe1845 Author: Tobias Burnus

[Bug c++/100616] [modules] ICE when a variable of class taking a non-type template argument is defined both inside and outside the module

2022-09-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100616 --- Comment #3 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:a1f7f9541c2b20eb44750b9c15cd831c62d67f21 commit r13-2953-ga1f7f9541c2b20eb44750b9c15cd831c62d67f21 Author: Nathan Sidwell Date:

[Bug target/107057] [10/11/12/13 Regression] ICE in extract_constrain_insn, at recog.cc:2692

2022-09-29 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107057 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug c++/107080] ICE in verify_symtab_nodes using _Float64x with long double

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

[Bug target/107076] ICE in gen_untyped_call, at config/i386/i386.md:15992

2022-09-29 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107076 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED CC|

[Bug target/106902] [11/12/13 Regression] Program compiled with -O3 -mfma produces different result

2022-09-29 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106902 --- Comment #17 from Alexander Monakov --- (In reply to Richard Biener from comment #16) > I do think that since the only way to > preserve expression boundaries is by PAREN_EXPR Yes, but... > that the middle-end > shouldn't care about FAST

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

2022-09-29 Thread kloczko.tomasz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #11 from Tomasz Kłoczko --- Tested -O2 + LTO + -flifetime-dse=1 and it crashes.

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

2022-09-29 Thread kloczko.tomasz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #10 from Tomasz Kłoczko --- Tested -O2 + LTO + -flifetime-dse=1 and it crashes.

[Bug middle-end/25521] change semantics of const volatile variables

2022-09-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25521 --- Comment #10 from CVS Commits --- The master branch has been updated by Jose E. Marchesi : https://gcc.gnu.org/g:a0aafbc324aa90421f0ce99c6f5bbf64ed163da6 commit r13-2952-ga0aafbc324aa90421f0ce99c6f5bbf64ed163da6 Author: Jose E. Marchesi

[Bug c++/107085] __reference_constructs_from_temporary does not detect static up-cast

2022-09-29 Thread roi.jacobson1 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107085 --- Comment #3 from Roy Jacobson --- Thanks! But a Base const& is still not detected: static_assert(__reference_constructs_from_temporary(Base const&, Derived)); And in this case I think it _is_ a bug that this doesn't compile?

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

2022-09-29 Thread kloczko.tomasz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #9 from Tomasz Kłoczko --- (In reply to Jakub Jelinek from comment #7) > Then as documented, -fno-lifetime-dse or -flifetime-dse=1 can be a temporary > workaround, but as has been said, such code is undefined behavior and should >

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

2022-09-29 Thread kloczko.tomasz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #8 from Tomasz Kłoczko --- (In reply to Andrew Pinski from comment #6) [..] > Then almost certainly -fno-lifetime-dse will help. Tested -O2 + LTO + -fno-lifetime-dse and it crashes.

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

2022-09-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #7 from Jakub Jelinek --- Then as documented, -fno-lifetime-dse or -flifetime-dse=1 can be a temporary workaround, but as has been said, such code is undefined behavior and should be fixed in the application. See

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

2022-09-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #6 from Andrew Pinski --- (In reply to Tomasz Kłoczko from comment #5) > FWD of the firebird developer from > https://github.com/FirebirdSQL/firebird/issues/7308#issuecomment-1262043660 > > "Firebird (that code left from interbase

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

2022-09-29 Thread kloczko.tomasz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #5 from Tomasz Kłoczko --- FWD of the firebird developer from https://github.com/FirebirdSQL/firebird/issues/7308#issuecomment-1262043660 "Firebird (that code left from interbase times) traditionally zeroes memory when allocating a

[Bug c++/107085] __reference_constructs_from_temporary does not detect static up-cast

2022-09-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107085 Jonathan Wakely changed: What|Removed |Added Resolution|--- |INVALID

[Bug fortran/107054] [10/11/12/13 Regression] ICE in gfc_simplify_unpack, at fortran/simplify.cc:8461

2022-09-29 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107054 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment

[Bug c++/107085] __reference_constructs_from_temporary does not detect static up-cast

2022-09-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107085 --- Comment #1 from Jonathan Wakely --- You can't bind a non-const Base& to a Derived prvalue, so this seems correct. The reference doesn't bind to it at all, so it doesn't bind to a temporary.

[Bug target/107025] gas doesn't accept code produced by -mcpu=thunderx3t110

2022-09-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107025 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:0f244d848cffeda68f0eb4c5bb9c7e629bf2e957 commit r13-2940-g0f244d848cffeda68f0eb4c5bb9c7e629bf2e957 Author: Richard Sandiford

[Bug c++/107085] New: __reference_constructs_from_temporary does not detect static up-cast

2022-09-29 Thread roi.jacobson1 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107085 Bug ID: 107085 Summary: __reference_constructs_from_temporary does not detect static up-cast Product: gcc Version: unknown Status: UNCONFIRMED Severity:

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

2022-09-29 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug bootstrap/107059] [13 regression] bootstrap failure after r13-2887-gb04208895fed34

2022-09-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107059 --- Comment #29 from Jakub Jelinek --- https://gcc.gnu.org/pipermail/gcc-patches/2022-September/602431.html still awaits review, the rest should be fixed.

[Bug bootstrap/107059] [13 regression] bootstrap failure after r13-2887-gb04208895fed34

2022-09-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107059 --- Comment #28 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a5a9237e2a78a9854f1f87e63ef5619cf8ba7360 commit r13-2932-ga5a9237e2a78a9854f1f87e63ef5619cf8ba7360 Author: Jakub Jelinek Date:

[Bug c++/107084] New: Program does not link with Standard Library Header Unit but with correspoding #include

2022-09-29 Thread karl.weber99 at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107084 Bug ID: 107084 Summary: Program does not link with Standard Library Header Unit but with correspoding #include Product: gcc Version: 12.2.0 Status: UNCONFIRMED

[Bug libstdc++/68606] Reduce or disable the static emergency pool for C++ exceptions

2022-09-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68606 --- Comment #17 from Jonathan Wakely --- (In reply to Richard Biener from comment #16) > Any such solution would also be OK to backport I think. Yeah, it would have no effect unless you explicitly enable the new option.

[Bug driver/106897] driver: support -gz=zstd

2022-09-29 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106897 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug driver/106897] driver: support -gz=zstd

2022-09-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106897 --- Comment #7 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:b7723e135334df95597c8c744276b9de5a88214a commit r13-2931-gb7723e135334df95597c8c744276b9de5a88214a Author: Martin Liska Date:

[Bug c++/107083] New: internal compiler error: in core_vals, at cp/module.cc:6127

2022-09-29 Thread karl.weber99 at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107083 Bug ID: 107083 Summary: internal compiler error: in core_vals, at cp/module.cc:6127 Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/107071] gfortran.dg/ieee/modes_1.f90 fails on aarch64-linux

2022-09-29 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107071 --- Comment #5 from Francois-Xavier Coudert --- Right now the code to test support is indeed like this for glibc targets except x86/x86_64 (libgfortran/config/fpu-glibc.h): int support_fpu_rounding_mode (int mode) { switch (mode) {

[Bug fortran/107071] gfortran.dg/ieee/modes_1.f90 fails on aarch64-linux

2022-09-29 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107071 --- Comment #4 from Andreas Schwab --- The problem is that set_fpu_trap_exceptions does not check if feenableexcept was successful. Just because FE_* are defined does not mean that the hardware supports fpu exceptions of that kind (it may

[Bug fortran/107075] ICE in get, at cgraph.h:461

2022-09-29 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107075 Mikael Morin changed: What|Removed |Added CC||mikael at gcc dot gnu.org --- Comment

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2022-09-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 105646, which changed state. Bug 105646 Summary: g++ does not raise "xxx may be used uninitialized" warning on dead code when optimizing https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105646 What|Removed

[Bug tree-optimization/105646] g++ does not raise "xxx may be used uninitialized" warning on dead code when optimizing

2022-09-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105646 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug tree-optimization/105646] g++ does not raise "xxx may be used uninitialized" warning on dead code when optimizing

2022-09-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105646 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:a1cd4d52d6ef90b977fb2d80c1cf17f3efa5b01d commit r13-2926-ga1cd4d52d6ef90b977fb2d80c1cf17f3efa5b01d Author: Richard Biener Date:

[Bug fortran/107071] gfortran.dg/ieee/modes_1.f90 fails on aarch64-linux

2022-09-29 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107071 --- Comment #3 from Andreas Schwab --- Still STOP 3.

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

2022-09-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #3 from Richard Biener --- IIRC there are also unfixed devirt issues (and some not backported yet?)

[Bug c/107077] __GIMPLE vs excess precision setting in std C with -m32 on x86_64 (ICE)

2022-09-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107077 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Blocks|

  1   2   >