[Bug c++/111712] New: Syntax error when passing function parameter as NTTP in requires-clause

2023-10-05 Thread hewillk at gmail dot com via Gcc-bugs
requires { typename std::bool_constant; }; | ^ In file included from :1: /opt/compiler-explorer/gcc-trunk-20231005/include/c++/14.0.0/type_traits:120:11: note: 'template using std::bool_constant = std::__bool_constant<__v>' declared here

[Bug target/111260] arm: ice in maybe_legitimize_operand, at optabs.cc:8054

2023-10-05 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111260 --- Comment #4 from Zdenek Sojka --- (In reply to Andrew Pinski from comment #3) > (In reply to Zdenek Sojka from comment #2) ... > > ... > > That is 100% a different bug and should be filed separately. Than you for checking, I've created

[Bug rtl-optimization/111711] New: [14 Regression] ICE: in maybe_legitimize_operand, at optabs.cc:8046 at -O1 with division by zero

2023-10-05 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111711 Bug ID: 111711 Summary: [14 Regression] ICE: in maybe_legitimize_operand, at optabs.cc:8046 at -O1 with division by zero Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug target/111260] arm: ice in maybe_legitimize_operand, at optabs.cc:8054

2023-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111260 --- Comment #3 from Andrew Pinski --- (In reply to Zdenek Sojka from comment #2) > Different testcase: > $ cat testcase.c > long > bar (long x) > { > x *= x == 0 / 0; > return (x); > } > > long > foo (void) > { > return bar (822920); > }

[Bug target/111260] arm: ice in maybe_legitimize_operand, at optabs.cc:8054

2023-10-05 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111260 Zdenek Sojka changed: What|Removed |Added CC||zsojka at seznam dot cz --- Comment #2

[Bug ipa/111672] Inappropriate function splitting during pass_split_functions

2023-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111672 --- Comment #12 from Andrew Pinski --- (In reply to Hanke Zhang from comment #11) > But I have never seen this '_FORTIFY_SOURCE' before. So I'm a confused as > well. And when I try gcc@11.4 built in the default ubuntu 22.04, it's the > same. So

[Bug ipa/111672] Inappropriate function splitting during pass_split_functions

2023-10-05 Thread hkzhang455 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111672 --- Comment #11 from Hanke Zhang --- (In reply to Andrew Pinski from comment #10) > The difference between the 2 is the costing of the __printf_chk/puts: > _FORTIFY_SOURCE case: > freq:0.20 size: 3 time:2.43 __printf_chk (1, "Object code

[Bug c++/100825] function signature constraints are not a part of mangled name

2023-10-05 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100825 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/111632] gcc fails to bootstrap when using libc++

2023-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111632 Andrew Pinski changed: What|Removed |Added Summary|gcc's C++ components fail |gcc fails to bootstrap when

[Bug c++/111703] [12/13/14 Regression] [C++20]Compiler fails when using generic lambda in specific situation

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

[Bug middle-end/111699] [14 Regression] ICE: SIGSEGV: infinite recursion in fold_build3_loc/fold_ternary_loc/generic_simplify_VEC_COND_EXPR

2023-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111699 Andrew Pinski changed: What|Removed |Added Keywords||patch URL|

[Bug c++/67343] C++ mangler does not follow ABI for unresolved names in expressions

2023-10-05 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67343 Jason Merrill changed: What|Removed |Added CC||yedeng.yd at linux dot alibaba.com ---

[Bug c++/109887] Different mangled name for template specialization for clang and gcc

2023-10-05 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109887 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org

[Bug c++/100135] [modules] ICE when using constants in a module

2023-10-05 Thread nicolas.werner at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100135 --- Comment #2 from Nicolas Werner --- Possibly the gcc behaviour here is correct. There is a clang bug open for it not rejecting calls to functions with default parameters, when the default parameter is not exported:

[Bug regression/111709] [13 Regression] Miscompilation of sysdeps/ieee754/dbl-64/s_fma.c

2023-10-05 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111709 --- Comment #8 from joseph at codesourcery dot com --- Typically these sorts of issues result from floating-point operations being moved past environment manipulation (fesetround, feupdateenv, feholdexcept, etc.) - in either direction. This

[Bug c++/100135] [modules] ICE when using constants in a module

2023-10-05 Thread nicolas.werner at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100135 Nicolas Werner changed: What|Removed |Added CC||nicolas.werner at hotmail dot de ---

[Bug c/108896] provide "element_count" attribute to give more context to __builtin_dynamic_object_size() and -fsanitize=bounds

2023-10-05 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108896 --- Comment #48 from Martin Uecker --- Indicating a null terminated string should certainly use a different attribute name.

[Bug c/108896] provide "element_count" attribute to give more context to __builtin_dynamic_object_size() and -fsanitize=bounds

2023-10-05 Thread tg at mirbsd dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108896 Thorsten Glaser changed: What|Removed |Added CC||tg at mirbsd dot org --- Comment #47

[Bug libstdc++/111685] Segfault while sorting on array element address

2023-10-05 Thread knoepfel at fnal dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111685 Kyle Knoepfel changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug middle-end/111699] [14 Regression] ICE: SIGSEGV: infinite recursion in fold_build3_loc/fold_ternary_loc/generic_simplify_VEC_COND_EXPR

2023-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111699 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug c++/111710] [modules] ICE when compiling module where a lambda is assigned to a field in an exported class

2023-10-05 Thread nicolas.werner at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111710 --- Comment #2 from Nicolas Werner --- I don't really have sufficient knowledge to push this patch forward, since that currently exceeds my skillset. As such I have no confidence this patch is actually doing something beneficial, which is why I

[Bug c++/111710] [modules] ICE when compiling module where a lambda is assigned to a field in an exported class

2023-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111710 --- Comment #1 from Andrew Pinski --- Patches should be sent to gcc-patches@ after reading https://gcc.gnu.org/contribute.html .

[Bug c++/111710] New: [modules] ICE when compiling module where a lambda is assigned to a field in an exported class

2023-10-05 Thread nicolas.werner at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111710 Bug ID: 111710 Summary: [modules] ICE when compiling module where a lambda is assigned to a field in an exported class Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug regression/111709] [13 Regression] Miscompilation of sysdeps/ieee754/dbl-64/s_fma.c

2023-10-05 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111709 John David Anglin changed: What|Removed |Added CC||jsm28 at gcc dot gnu.org ---

[Bug c/111708] Calling external global function instead of local static function.

2023-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111708 --- Comment #2 from Andrew Pinski --- Note ICC rejects this as invalid: ``` (14): error #172: external/internal linkage conflict with previous declaration at line 10 int f(int); ^ ``` Which is what I had expected to

[Bug c/111708] Calling external global function instead of local static function.

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

[Bug regression/111709] [13 Regression] Miscompilation of sysdeps/ieee754/dbl-64/s_fma.c

2023-10-05 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111709 --- Comment #6 from John David Anglin --- Created attachment 56062 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56062=edit Diff between s_fma_12.s and s_fma_13.s

[Bug regression/111709] [13 Regression] Miscompilation of sysdeps/ieee754/dbl-64/s_fma.c

2023-10-05 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111709 --- Comment #5 from John David Anglin --- Created attachment 56061 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56061=edit non pic .s file for s_fma.c generated using gcc-13 without debug info

[Bug target/108396] [12/13 Regression] PPCLE: vec_vsubcuq missing since r12-5752-gd08236359eb229

2023-10-05 Thread carll at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108396 Carl Love changed: What|Removed |Added CC||carll at gcc dot gnu.org --- Comment #9

[Bug regression/111709] [13 Regression] Miscompilation of sysdeps/ieee754/dbl-64/s_fma.c

2023-10-05 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111709 --- Comment #4 from John David Anglin --- Created attachment 56060 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56060=edit non pic .s file for s_fma.c generated using gcc-12 without debug info

[Bug regression/111709] [13 Regression] Miscompilation of sysdeps/ieee754/dbl-64/s_fma.c

2023-10-05 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111709 --- Comment #3 from John David Anglin --- Created attachment 56059 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56059=edit .s file for s_fma.c generated using gcc-13

[Bug regression/111709] [13 Regression] Miscompilation of sysdeps/ieee754/dbl-64/s_fma.c

2023-10-05 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111709 --- Comment #2 from John David Anglin --- Created attachment 56058 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56058=edit .s file for s_fma.c generated using gcc-12

[Bug regression/111709] [13 Regression] Miscompilation of sysdeps/ieee754/dbl-64/s_fma.c

2023-10-05 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111709 --- Comment #1 from John David Anglin --- Created attachment 56057 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56057=edit Preprocessed source generated using gcc-13

[Bug middle-end/111699] [14 Regression] ICE: SIGSEGV: infinite recursion in fold_build3_loc/fold_ternary_loc/generic_simplify_VEC_COND_EXPR

2023-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111699 Andrew Pinski changed: What|Removed |Added Keywords|needs-bisection | --- Comment #3 from Andrew Pinski

[Bug regression/111709] New: [13 Regression] Miscompilation of sysdeps/ieee754/dbl-64/s_fma.c

2023-10-05 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111709 Bug ID: 111709 Summary: [13 Regression] Miscompilation of sysdeps/ieee754/dbl-64/s_fma.c Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/92798] -fshort-enums can break iterators of std::map

2023-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92798 --- Comment #5 from Andrew Pinski --- (In reply to Joseph Tilahun from comment #4) > Is there a reason why the _Rb_tree_color > enum does not have an explicit underlying type? Yes because it has to work with C++98 while enums with underlying

[Bug c/111708] New: Calling external global function instead of local static function.

2023-10-05 Thread k.frolov at samsung dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111708 Bug ID: 111708 Summary: Calling external global function instead of local static function. Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/92798] -fshort-enums can break iterators of std::map

2023-10-05 Thread josephttilahun at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92798 Joseph Tilahun changed: What|Removed |Added CC||josephttilahun at gmail dot com ---

[Bug middle-end/111699] [14 Regression] ICE: SIGSEGV: infinite recursion in fold_build3_loc/fold_ternary_loc/generic_simplify_VEC_COND_EXPR

2023-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111699 --- Comment #2 from Andrew Pinski --- (simplify (vec_cond (vec_cond:s @0 @3 integer_zerop) @1 @2) (if (optimize_vectors_before_lowering_p () && types_match (@0, @3)) (vec_cond (bit_and @0 @3) @1 @2))) goes into an infinite loop with

[Bug libgomp/111707] New: omp_target_alloc and omp_target_is_present - corner case handling & spec conformance

2023-10-05 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111707 Bug ID: 111707 Summary: omp_target_alloc and omp_target_is_present - corner case handling & spec conformance Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug middle-end/111699] [14 Regression] ICE: SIGSEGV: infinite recursion in fold_build3_loc/fold_ternary_loc/generic_simplify_VEC_COND_EXPR

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

[Bug target/111704] ICE in extract_insn, at recog.cc:2791 on aarch64-linux-gnu during RTL pass: cprop_hardreg

2023-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111704 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug target/111411] [14 regression] ICE when building opus-1.4, unrecognizable insn with -fstack-protector-strong

2023-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111411 Andrew Pinski changed: What|Removed |Added CC||Simon.Richter at hogyros dot de ---

[Bug ipa/111283] [14 Regression] gnat profilebootstrap broken on trunk 20230902 on 32bit targets

2023-10-05 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111283 Sergei Trofimovich changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/110368] Incorrect "is used uninitialized" warning message

2023-10-05 Thread clugstj at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110368 --- Comment #6 from Jon Clugston --- So, "undefined behavior" gives the compiler license to output any warning it wants? The warning message is utterly wrong and completely misleading.

[Bug gcov-profile/111559] [14 regression] ICE when building Python with PGO

2023-10-05 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111559 Sergei Trofimovich changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug gcov-profile/111559] [14 regression] ICE when building Python with PGO

2023-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111559 --- Comment #9 from CVS Commits --- The master branch has been updated by Sergei Trofimovich : https://gcc.gnu.org/g:043a6fcbc27f8721301eb2f72a7839f54f393003 commit r14-4421-g043a6fcbc27f8721301eb2f72a7839f54f393003 Author: Sergei Trofimovich

[Bug ipa/111283] [14 Regression] gnat profilebootstrap broken on trunk 20230902 on 32bit targets

2023-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111283 --- Comment #10 from CVS Commits --- The master branch has been updated by Sergei Trofimovich : https://gcc.gnu.org/g:043a6fcbc27f8721301eb2f72a7839f54f393003 commit r14-4421-g043a6fcbc27f8721301eb2f72a7839f54f393003 Author: Sergei

[Bug target/111657] Memory copy with structure assignment from named address space should be improved

2023-10-05 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111657 Uroš Bizjak changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug target/111657] Memory copy with structure assignment from named address space should be improved

2023-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111657 --- Comment #6 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:c6bff80d786919f2f64e8a9f3179d6d36888bdb3 commit r14-4418-gc6bff80d786919f2f64e8a9f3179d6d36888bdb3 Author: Uros Bizjak Date: Thu

[Bug c++/111703] [12/13/14 Regression] [C++20]Compiler fails when using generic lambda in specific situation

2023-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111703 Andrew Pinski changed: What|Removed |Added Keywords||c++-lambda --- Comment #1 from Andrew

[Bug c++/111703] [12/13/14 Regression] [C++20]Compiler fails when using generic lambda in specific situation

2023-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111703 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.4

[Bug c++/111705] [12/13/14 Regression] use of concepted copy constructored struct inside a template function messes up with -fchecking=2

2023-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111705 Andrew Pinski changed: What|Removed |Added Target Milestone|13.3|12.4

[Bug c++/111705] [13/14 Regression] use of concepted copy constructored struct inside a template function messes up with -fchecking=2

2023-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111705 Andrew Pinski changed: What|Removed |Added Known to fail||13.1.0 Known to work|

[Bug c++/111705] use of concepted copy constructored struct inside a template function messes up with -fchecking=2

2023-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111705 --- Comment #2 from Andrew Pinski --- Actually this is rejected in previous versions of GCC via -fchecking=2 option ...

[Bug c++/111705] use of concepted copy constructored struct inside a template function messes up with -fchecking=2

2023-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111705 Andrew Pinski changed: What|Removed |Added Target Milestone|14.0|--- Summary|[14 Regression]

[Bug c++/111705] [14 Regression] use of concepted copy constructored struct inside a template function messes up

2023-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111705 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 --- Comment #1 from Andrew Pinski

[Bug c++/111705] New: [14 Regression] use of concepted copy constructored struct inside a template function messes up

2023-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111705 Bug ID: 111705 Summary: [14 Regression] use of concepted copy constructored struct inside a template function messes up Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug target/111704] New: ICE in extract_insn, at recog.cc:2791 on aarch64-linux-gnu during RTL pass: cprop_hardreg

2023-10-05 Thread Simon.Richter at hogyros dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111704 Bug ID: 111704 Summary: ICE in extract_insn, at recog.cc:2791 on aarch64-linux-gnu during RTL pass: cprop_hardreg Product: gcc Version: 12.3.0 Status: UNCONFIRMED

[Bug c++/111703] New: [C++20]Compiler fails when using generic lambda in specific situation

2023-10-05 Thread watanabemakoto.math at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111703 Bug ID: 111703 Summary: [C++20]Compiler fails when using generic lambda in specific situation Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity:

[Bug rtl-optimization/111702] New: [14 Regression] ICE: in insert_regs, at cse.cc:1114 with -O2 -fstack-protector-all -frounding-math

2023-10-05 Thread zsojka at seznam dot cz via Gcc-bugs
4-unknown-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r14-4413-20231005141000-g1f7295af602-checking-yes-rtl-df-extra-aarch64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20231005 (experimental) (GCC)

[Bug ipa/111157] [14 Regression] 416.gamess fails with a run-time abort when compiled with -O2 -flto after r14-3226-gd073e2d75d9ed4

2023-10-05 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57 --- Comment #9 from Martin Jambor --- I have proposed a fix on the mailing list consisting of: - https://gcc.gnu.org/pipermail/gcc-patches/2023-October/632042.html and - https://gcc.gnu.org/pipermail/gcc-patches/2023-October/632044.html

[Bug ipa/108007] [11/12/13/14 Regression] wrong code at -Os and above with "-fno-dce -fno-tree-dce" on x86_64-linux-gnu

2023-10-05 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108007 Martin Jambor changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug bootstrap/111688] [14 regression] bootstrap failure after r14-4382-g1be18ea110a2d6

2023-10-05 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111688 Martin Jambor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug bootstrap/111688] [14 regression] bootstrap failure after r14-4382-g1be18ea110a2d6

2023-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111688 --- Comment #7 from CVS Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:1f7295af6029b6497e9928fe279fd166b94ce2c2 commit r14-4413-g1f7295af6029b6497e9928fe279fd166b94ce2c2 Author: Martin Jambor Date:

[Bug target/111698] Narrow memory access of compare to byte width

2023-10-05 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111698 --- Comment #2 from Uroš Bizjak --- (In reply to Richard Biener from comment #1) > I guess we could do this even on GIMPLE and in general to aligned sub-word > accesses (where byte accesses are always aligned). > > It might be also a good fit

[Bug bootstrap/111688] [14 regression] bootstrap failure after r14-4382-g1be18ea110a2d6

2023-10-05 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111688 Martin Jambor changed: What|Removed |Added Summary|[14 regression] bootstrap |[14 regression] bootstrap

[Bug libstdc++/111553] Incorrect visibility of std::format

2023-10-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111553 --- Comment #2 from Jonathan Wakely --- This is now documented as not-a-bug: https://gcc.gnu.org/bugs/#nonbugs_cxx

[Bug ipa/111643] __attribute__((flatten)) with -O1 runs out of memory (killed cc1)

2023-10-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111643 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/104338] RISC-V: Subword atomics result in library calls

2023-10-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104338 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |13.2

[Bug ipa/111643] __attribute__((flatten)) with -O1 runs out of memory (killed cc1)

2023-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111643 --- Comment #7 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:ffbd7c3d0fd1b9b10ef5a0f2b2e64bd234620167 commit r14-4404-gffbd7c3d0fd1b9b10ef5a0f2b2e64bd234620167 Author: Richard Biener Date:

[Bug middle-end/111701] New: [11/12/13/14 Regression] wrong code for __builtin_signbit(x*x)

2023-10-05 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111701 Bug ID: 111701 Summary: [11/12/13/14 Regression] wrong code for __builtin_signbit(x*x) Product: gcc Version: 13.2.1 Status: UNCONFIRMED Keywords: wrong-code

[Bug middle-end/111699] [14 Regression] ICE: SIGSEGV: infinite recursion in fold_build3_loc/fold_ternary_loc/generic_simplify_VEC_COND_EXPR

2023-10-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111699 Richard Biener changed: What|Removed |Added Keywords||needs-bisection Target

[Bug target/111698] Narrow memory access of compare to byte width

2023-10-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111698 Richard Biener changed: What|Removed |Added Target||x86_64-*-* Keywords|

[Bug tree-optimization/111697] Sub optimal code gen for initialising vector using loop

2023-10-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111697 --- Comment #3 from Richard Biener --- (In reply to Richard Biener from comment #2) > We have quite some code doing vector CTOR stuff in tree-ssa-forwprop.cc and > this should be optimized to > > v_2 = { x_6(D), x_6(D), x_6(D), x_6(D) }; > >

[Bug tree-optimization/111697] Sub optimal code gen for initialising vector using loop

2023-10-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111697 --- Comment #2 from Richard Biener --- We have quite some code doing vector CTOR stuff in tree-ssa-forwprop.cc and this should be optimized to v_2 = { x_6(D), x_6(D), x_6(D), x_6(D) }; note SLP vectorization can do this but it fails because

[Bug middle-end/111696] [11/12/13/14 Regression] Spurious -Wstringop-overflow

2023-10-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111696 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.5 Blocks|

[Bug tree-optimization/111694] [13/14 Regression] Wrong behavior for signbit of negative zero when optimizing

2023-10-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111694 Richard Biener changed: What|Removed |Added CC||aldyh at gcc dot gnu.org,

[Bug tree-optimization/98138] BB vect fail to SLP one case

2023-10-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98138 --- Comment #13 from Richard Biener --- (In reply to Jiangning Liu from comment #12) > Hi Richi, > > > That said, "failure" to identify the common (vector) load is known > > and I do have experimental patches trying to address that but did > >

[Bug middle-end/111669] bogus -Wnonnull in conditionally executed code

2023-10-05 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111669 Xi Ruoyao changed: What|Removed |Added Severity|normal |enhancement --- Comment #7 from Xi Ruoyao

[Bug middle-end/111669] bogus -Wnonnull in conditionally executed code

2023-10-05 Thread zfigura at codeweavers dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111669 --- Comment #6 from Zeb Figura --- It is my impression that gcc is interested in avoiding false positives for its warnings. This isn't to say that there aren't some number of false positives in existence, but it is my impression that gcc is