[Bug tree-optimization/113727] [14 Regression] csmith: differences from nothing to -O1

2024-03-18 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113727 --- Comment #14 from Sam James --- Created attachment 57731 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57731=edit reduced.i Maybe. I think it could go further even with cvise but I was playing with the sysctls for that ASAN ASLR

[Bug middle-end/113396] [13/14 Regression] csmith: differences from -O2 to -O3

2024-03-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113396 Andrew Pinski changed: What|Removed |Added Keywords|needs-reduction |needs-bisection --- Comment #27 from

[Bug middle-end/113396] [13/14 Regression] csmith: differences from -O2 to -O3

2024-03-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113396 Andrew Pinski changed: What|Removed |Added Attachment #57729|0 |1 is obsolete|

[Bug middle-end/113396] [13/14 Regression] csmith: differences from -O2 to -O3

2024-03-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113396 Andrew Pinski changed: What|Removed |Added Status|WAITING |NEW --- Comment #25 from Andrew Pinski

[Bug middle-end/113396] [13/14 Regression] csmith: differences from -O2 to -O3

2024-03-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113396 Andrew Pinski changed: What|Removed |Added Attachment #57727|0 |1 is obsolete|

[Bug middle-end/113396] [13/14 Regression] csmith: differences from -O2 to -O3

2024-03-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113396 --- Comment #23 from Andrew Pinski --- Created attachment 57728 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57728=edit Reduced slightly more, removes the string compare

[Bug middle-end/113396] [13/14 Regression] csmith: differences from -O2 to -O3

2024-03-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113396 --- Comment #22 from Andrew Pinski --- Adding -fno-tree-loop-im allows it to work.

[Bug middle-end/113396] [13/14 Regression] csmith: differences from -O2 to -O3

2024-03-18 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113396 --- Comment #21 from Sam James --- Created attachment 57727 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57727=edit reduced.c This aborts for me at >= -O1 but I'm not convinced it's right.

[Bug libstdc++/114387] New: Explicitly declared destructor makes basic_format_context sometimes not movable

2024-03-18 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114387 Bug ID: 114387 Summary: Explicitly declared destructor makes basic_format_context sometimes not movable Product: gcc Version: 14.0 Status: UNCONFIRMED

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

2024-03-18 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 112631, which changed state. Bug 112631 Summary: gcc rejects block-scope declaration of function in a module unit even if the function is attached to the global module fragment

[Bug c++/112631] gcc rejects block-scope declaration of function in a module unit even if the function is attached to the global module fragment

2024-03-18 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112631 Nathaniel Shead changed: What|Removed |Added Resolution|--- |FIXED Assignee|unassigned

[Bug c++/112631] gcc rejects block-scope declaration of function in a module unit even if the function is attached to the global module fragment

2024-03-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112631 --- Comment #2 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:c4845edfeaf44756ad9672e8d143f1c8f5c4c0f6 commit r14-9530-gc4845edfeaf44756ad9672e8d143f1c8f5c4c0f6 Author: Nathaniel Shead

[Bug libstdc++/77776] C++17 std::hypot implementation is poor

2024-03-18 Thread g.peterhoff--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6 --- Comment #23 from g.peterh...@t-online.de --- Hello Matthias, you've given me new ideas. I think we agree on implementing hypot3 using a scaling factor. But the correct value is not yet implemented here either; do you have a suggestion? A

[Bug target/112787] Codegen regression of large GCC vector extensions when enabling SVE

2024-03-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112787 --- Comment #9 from Andrew Pinski --- (In reply to Andrew Pinski from comment #8) > (In reply to Eric Botcazou from comment #7) > > This has introduced regressions on the 12 and 13 branches for x86-64/Linux: > > > > FAIL: g++.dg/opt/pr91838.C

[Bug target/112787] Codegen regression of large GCC vector extensions when enabling SVE

2024-03-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112787 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug analyzer/110928] [14 Regression] ICE with -fanalyzer on -Wanalyzer-out-of-bounds checker

2024-03-18 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110928 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug analyzer/110902] Missing cast in region_model_manager::maybe_fold_binop on MULT_EXPR by 1

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

[Bug analyzer/111305] [13/14 Regression] GCC Static Analyzer -Wanalyzer-out-of-bounds false postive

2024-03-18 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111305 David Malcolm changed: What|Removed |Added Priority|P2 |P3 Summary|[13/14

[Bug analyzer/111441] [14 Regression] ICE generating access diagram, in fold_binary_loc, at fold-const.cc:11580

2024-03-18 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111441 David Malcolm changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug analyzer/110902] Missing cast in region_model_manager::maybe_fold_binop on MULT_EXPR by 1

2024-03-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110902 --- Comment #2 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:1579394c9ecf3d1f678daa54b835c7fc3b76fb6d commit r14-9527-g1579394c9ecf3d1f678daa54b835c7fc3b76fb6d Author: David Malcolm Date:

[Bug middle-end/88670] [meta-bug] generic vector extension issues

2024-03-18 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88670 Bug 88670 depends on bug 112787, which changed state. Bug 112787 Summary: Codegen regression of large GCC vector extensions when enabling SVE https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112787 What|Removed

[Bug analyzer/111441] [14 Regression] ICE generating access diagram, in fold_binary_loc, at fold-const.cc:11580

2024-03-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111441 --- Comment #6 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:1579394c9ecf3d1f678daa54b835c7fc3b76fb6d commit r14-9527-g1579394c9ecf3d1f678daa54b835c7fc3b76fb6d Author: David Malcolm Date:

[Bug analyzer/111305] [13/14 Regression] GCC Static Analyzer -Wanalyzer-out-of-bounds FP and ICE problem

2024-03-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111305 --- Comment #3 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:1579394c9ecf3d1f678daa54b835c7fc3b76fb6d commit r14-9527-g1579394c9ecf3d1f678daa54b835c7fc3b76fb6d Author: David Malcolm Date:

[Bug analyzer/110928] [14 Regression] ICE with -fanalyzer on -Wanalyzer-out-of-bounds checker

2024-03-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110928 --- Comment #1 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:1579394c9ecf3d1f678daa54b835c7fc3b76fb6d commit r14-9527-g1579394c9ecf3d1f678daa54b835c7fc3b76fb6d Author: David Malcolm Date:

[Bug target/112787] Codegen regression of large GCC vector extensions when enabling SVE

2024-03-18 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112787 Eric Botcazou changed: What|Removed |Added Resolution|FIXED |--- CC|

[Bug middle-end/114348] Corrupt SARIF output on stderr

2024-03-18 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114348 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug tree-optimization/114386] [11/12/13 Regression] Miscompile at -O1

2024-03-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114386 --- Comment #6 from Andrew Pinski --- Note after my r13-7928-gcda1992a56779e5c60a70f251542a6f662fdfa60 patch we get from phiopt: ``` if (a.1_1 != 0) goto ; [50.00%] else goto ; [50.00%] [local count: 536870913]: _3 = MAX_EXPR

[Bug tree-optimization/111331] [11/12 Regression] Wrong code at -O1 on x86_64-linux-gnu since

2024-03-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111331 Andrew Pinski changed: What|Removed |Added CC||patrick at rivosinc dot com ---

[Bug tree-optimization/114386] [11/12/13 Regression] Miscompile at -O1

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

[Bug tree-optimization/114386] [11/12/13 Regression] Miscompile at -O1

2024-03-18 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114386 --- Comment #4 from Patrick O'Neill --- (In reply to Patrick O'Neill from comment #0) > ... > Issue is not present when targeting risc-v. This was in reference to tip-of-tree gcc - forgot to update this when I determined the upper bound of the

[Bug fortran/80012] FIXME in diagnostic "%s procedure at %L is already declared as %s procedure" from symbol.c

2024-03-18 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80012 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug tree-optimization/114386] [11/12/13 Regression] Miscompile at -O1

2024-03-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114386 --- Comment #3 from Andrew Pinski --- Note the reason why it might work on the trunk is due to replacement of `MAX_EXPR ` with `c.0_1 | a.2_2` so it might be a latent bug still on the trunk ...

[Bug tree-optimization/114386] [11/12/13 Regression] Miscompile at -O1

2024-03-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114386 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug tree-optimization/114386] [11/12/13 Regression] Miscompile at -O1

2024-03-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114386 Andrew Pinski changed: What|Removed |Added Summary|[11/12 Regression] |[11/12/13 Regression]

[Bug tree-optimization/114386] [11/12 Regression] Miscompile at -O1

2024-03-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114386 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Target Milestone|---

[Bug target/114386] New: [10/11/12 Regression] Miscompile at -O1

2024-03-18 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114386 Bug ID: 114386 Summary: [10/11/12 Regression] Miscompile at -O1 Product: gcc Version: 12.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/80012] FIXME in diagnostic "%s procedure at %L is already declared as %s procedure" from symbol.c

2024-03-18 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80012 --- Comment #8 from Roland Illig --- (In reply to Jakub Jelinek from comment #7) > (In reply to Jerry DeLisle from comment #5) > > Another way is to build an error message with snprintf for example and use > > that string in the error message. >

[Bug analyzer/114285] Use of uninitialized value when copying a struct field by field

2024-03-18 Thread bouanto at zoho dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114285 --- Comment #8 from Antoni --- Created attachment 57726 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57726=edit Reproducer using union I tried switching to a union and I still get the same error. A union is used by std::optional, so I

[Bug tree-optimization/114385] -Wrestrict false positive creating std::string from iterators

2024-03-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114385 --- Comment #3 from Andrew Pinski --- I think this might be due to changes to std::copy which tries to skip memcpy if it is only one element. My bet is maybe std::copy could add `if (end < begin) __builtin_unreachable();` in it and the code

[Bug tree-optimization/114385] -Wrestrict false positive creating std::string from iterators

2024-03-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114385 --- Comment #2 from Andrew Pinski --- This also works: if (end < begin) __builtin_unreachable();

[Bug tree-optimization/114385] -Wrestrict false positive creating std::string from iterators

2024-03-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114385 --- Comment #1 from Andrew Pinski --- Another workaround is to add: if (end-begin < 0) __builtin_unreachable(); I notice that this is not the same as: [[assume(end-begin >= 0)]]; but that seems related to another bug report dealing

[Bug c++/114385] New: -Wrestrict false positive creating std::string from iterators

2024-03-18 Thread wsf at fultondesigns dot co.uk via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: wsf at fultondesigns dot co.uk Target Milestone: --- Observed in gcc-13.1.0, 13.2.0, gcc-14 (gcc-trunk-20240318). Minimal testcase: #include template< class String_t

[Bug target/111822] [12/13/14 Regression] during RTL pass: lr_shrinkage ICE: in operator[], at vec.h:910 with -O2 -m32 -flive-range-shrinkage -fno-dce -fnon-call-exceptions since r12-5301-g04520645038

2024-03-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111822 --- Comment #19 from GCC Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:b96c5436880d7926299314a33c953171082ab59e commit r14-9523-gb96c5436880d7926299314a33c953171082ab59e Author: Uros Bizjak Date: Mon

[Bug testsuite/114384] Use of `target c++98/c++11/c++20` etc. is not documented

2024-03-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114384 --- Comment #4 from Jonathan Wakely --- Libstdc++ uses the same effective-target keywords, but uses its own variables to override the defaults: # Allow v3_std_list to be set in configuration files, e.g., ~/.dejagnurc if ![info exists

[Bug testsuite/114384] Use of `target c++98/c++11/c++20` etc. is not documented

2024-03-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114384 --- Comment #3 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #2) > (In reply to Andrew Pinski from comment #0) > > and even how to describe the above > > would be very useful. Do we need 3 testcases, one for pre C++11, one

[Bug testsuite/114384] Use of `target c++98/c++11/c++20` etc. is not documented

2024-03-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114384 --- Comment #2 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #0) > While trying to understand how to use `{ target c++20 }` option to dg-do I > noticed it is not documented in the internals manual (sourcebuild.texi) > while

[Bug fortran/80012] FIXME in diagnostic "%s procedure at %L is already declared as %s procedure" from symbol.c

2024-03-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80012 --- Comment #7 from Jakub Jelinek --- (In reply to Jerry DeLisle from comment #5) > Another way is to build an error message with snprintf for example and use > that string in the error message. That is translation unfriendly.

[Bug fortran/80012] FIXME in diagnostic "%s procedure at %L is already declared as %s procedure" from symbol.c

2024-03-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80012 --- Comment #6 from Jakub Jelinek --- At least in the middle-end or C/C++ FEs such diagnostics is done with error{,_at}/warning{,_at} etc. followed by inform, for warning inform only called if warning* returned true, and wrapped with

[Bug target/114175] [13/14] Execution test failures on gcc.dg/c23-stdarg-6.c on multiple targets

2024-03-18 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114175 --- Comment #32 from Edwin Lu --- riscv patch: https://gcc.gnu.org/pipermail/gcc-patches/2024-March/647963.html tested with rv64gcv-lp64d. waiting on precommit testing results

[Bug fortran/80012] FIXME in diagnostic "%s procedure at %L is already declared as %s procedure" from symbol.c

2024-03-18 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80012 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org ---

[Bug testsuite/114384] Use of `target c++98/c++11/c++20` etc. is not documented

2024-03-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114384 --- Comment #1 from Andrew Pinski --- Oh and how it interacts with -std=gnu++17 vs -std=c++17 (etc.).

[Bug testsuite/114384] New: Use of `target c++98/c++11/c++20` etc. is not documented

2024-03-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114384 Bug ID: 114384 Summary: Use of `target c++98/c++11/c++20` etc. is not documented Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: documentation

[Bug fortran/103715] [11/12/13/14 Regression] ICE in gfc_find_gsymbol, at fortran/symbol.c:4301 since r9-3803-ga5fbc2f36a291cbe

2024-03-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103715 --- Comment #8 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:3be2b8f475f22c531d6cef1b041c0573b3ea5133 commit r14-9522-g3be2b8f475f22c531d6cef1b041c0573b3ea5133 Author: Harald Anlauf Date:

[Bug c++/114383] Wrong std::enable_if mangling ?

2024-03-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114383 --- Comment #4 from Andrew Pinski --- https://github.com/llvm/llvm-project/commit/aaa79a59317f859485d701d1eb68ac4cb213e1d1

[Bug analyzer/114286] ICE: in deref_rvalue, at analyzer/region-model.cc:2762 with _Atomic _BitInt() and -fanalyzer

2024-03-18 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114286 --- Comment #5 from David Malcolm --- Aha - thanks! Am working on a fix.

[Bug c++/114383] Wrong std::enable_if mangling ?

2024-03-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114383 Andrew Pinski changed: What|Removed |Added Status|SUSPENDED |NEW See Also|

[Bug analyzer/114286] ICE: in deref_rvalue, at analyzer/region-model.cc:2762 with _Atomic _BitInt() and -fanalyzer

2024-03-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114286 --- Comment #4 from Jakub Jelinek --- No, the documentation is correct. It describes all that the user cares about, what arguments should be passed to it when it is called. Under the hood, it is then either optimized into

[Bug analyzer/114286] ICE: in deref_rvalue, at analyzer/region-model.cc:2762 with _Atomic _BitInt() and -fanalyzer

2024-03-18 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114286 --- Comment #3 from David Malcolm --- Looking at https://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html#index-_005f_005fatomic_005fload I see this signature for __atomic_load with 3 arguments: Built-in Function: void __atomic_load

[Bug fortran/103715] [11/12/13/14 Regression] ICE in gfc_find_gsymbol, at fortran/symbol.c:4301 since r9-3803-ga5fbc2f36a291cbe

2024-03-18 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103715 --- Comment #7 from anlauf at gcc dot gnu.org --- (In reply to Jerry DeLisle from comment #6) > (In reply to anlauf from comment #5) > > Obvious fix for the invalid read (untested): > > > If it test OK feel free to commit. Unsurprisingly it

[Bug fortran/103715] [11/12/13/14 Regression] ICE in gfc_find_gsymbol, at fortran/symbol.c:4301 since r9-3803-ga5fbc2f36a291cbe

2024-03-18 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103715 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org ---

[Bug libobjc/48626] --enable-objc-gc should be automatic

2024-03-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48626 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug fortran/103715] [11/12/13/14 Regression] ICE in gfc_find_gsymbol, at fortran/symbol.c:4301 since r9-3803-ga5fbc2f36a291cbe

2024-03-18 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103715 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot

[Bug c++/114383] Wrong std::enable_if mangling ?

2024-03-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114383 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |SUSPENDED Ever confirmed|0

[Bug fortran/114373] [12/13 Regression] BLOCK construct not correctly analyzed with -fopenmp

2024-03-18 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114373 anlauf at gcc dot gnu.org changed: What|Removed |Added Summary|BLOCK construct not |[12/13 Regression] BLOCK

[Bug c++/114383] Wrong std::enable_if mangling ?

2024-03-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114383 Andrew Pinski changed: What|Removed |Added See Also||https://github.com/itanium-

[Bug c++/114383] Wrong std::enable_if mangling ?

2024-03-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114383 --- Comment #1 from Andrew Pinski --- https://github.com/llvm/llvm-project/commit/4b163e343cfa54c8d55c9da73c70d58f55ea9df2

[Bug c++/114383] New: Wrong std::enable_if mangling ?

2024-03-18 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114383 Bug ID: 114383 Summary: Wrong std::enable_if mangling ? Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug analyzer/114286] ICE: in deref_rvalue, at analyzer/region-model.cc:2762 with _Atomic _BitInt() and -fanalyzer

2024-03-18 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114286 David Malcolm changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #2 from David

[Bug target/113960] [11 Regression] std::map with std::vector as input overwrites itself with c++20, on s390x platform

2024-03-18 Thread miladfarca at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113960 --- Comment #20 from mfarca --- Thank you for your help Jonathan.

[Bug modula2/114380] Incorrect type specified in an error message

2024-03-18 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114380 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug modula2/114380] Incorrect type specified in an error message

2024-03-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114380 --- Comment #4 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:d2029bbc69df7341775faf6cf1aa13d978c223a1 commit r14-9520-gd2029bbc69df7341775faf6cf1aa13d978c223a1 Author: Gaius Mulley Date:

[Bug target/111822] [12/13/14 Regression] during RTL pass: lr_shrinkage ICE: in operator[], at vec.h:910 with -O2 -m32 -flive-range-shrinkage -fno-dce -fnon-call-exceptions since r12-5301-g04520645038

2024-03-18 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111822 --- Comment #18 from Uroš Bizjak --- When we split (insn 37 36 38 10 (set (reg:DI 104 [ _18 ]) (mem:DI (reg/f:SI 98 [ CallNative_nclosure.0_1 ]) [6 MEM[(struct SQRefCounted *)CallNative_nclosure.0_1]._uiRef+0 S8 A32])) "test.C":22:42 84

[Bug pch/114381] (Sporadic) crash generating x86_64-pc-cygwin/bits/extc++.h.gch/O2g.gch

2024-03-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114381 --- Comment #1 from Andrew Pinski --- *** Bug 114382 has been marked as a duplicate of this bug. ***

[Bug pch/114382] (Sporadic) crash generating x86_64-pc-cygwin/bits/extc++.h.gch/O2g.gch

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

[Bug pch/114382] New: (Sporadic) crash generating x86_64-pc-cygwin/bits/extc++.h.gch/O2g.gch

2024-03-18 Thread roland.mainz at nrubsig dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114382 Bug ID: 114382 Summary: (Sporadic) crash generating x86_64-pc-cygwin/bits/extc++.h.gch/O2g.gch Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity:

[Bug pch/114381] New: (Sporadic) crash generating x86_64-pc-cygwin/bits/extc++.h.gch/O2g.gch

2024-03-18 Thread roland.mainz at nrubsig dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114381 Bug ID: 114381 Summary: (Sporadic) crash generating x86_64-pc-cygwin/bits/extc++.h.gch/O2g.gch Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity:

[Bug c++/36587] Feature: add warning for constructor call with discarded return.

2024-03-18 Thread kkylheku at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36587 --- Comment #19 from Kaz Kylheku --- (In reply to Jonathan Wakely from comment #18) > Was there an earlier submission? No there wasn't; that's my mistake in my comment.

[Bug tree-optimization/114154] gcc.dg/vect/vect-alias-check-1.c XPASSes

2024-03-18 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114154 --- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE Uni-Bielefeld.DE> --- >> --- Comment #2 from Richard Biener --- >> possibly "fallout" of r14-9193-ga0b1798042d033 > > It's

[Bug target/105522] [powerpc-darwin] ICE: in decode_addr_const, at varasm.c:3059

2024-03-18 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105522 --- Comment #16 from Iain Sandoe --- (In reply to Sergey Fedorov from comment #15) > (In reply to Peter Bergner from comment #12) > > (In reply to Sergey Fedorov from comment #11) > > > (In reply to GCC Commits from comment #10) > > > > The

[Bug tree-optimization/114374] [12/13/14 Regression] snprintf Wformat-truncation

2024-03-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114374 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-03-18

[Bug modula2/114380] Incorrect type specified in an error message

2024-03-18 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114380 --- Comment #3 from Gaius Mulley --- $ gm2 tiny4.mod tiny4.mod:13:17: error: In program module ‘tiny4’: type incompatibility between ‘BITSET’ and ‘WORD’ 13 |b := func () - {6..31} | ^

[Bug modula2/114380] Incorrect type specified in an error message

2024-03-18 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114380 --- Comment #2 from Gaius Mulley --- Created attachment 57725 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57725=edit Proposed fix PR modula2/114380 Incorrect type specified in an error message This patch corrects an error message

[Bug libstdc++/114368] FAIL: 25_algorithms/pstl/alg_sorting/set_symmetric_difference.cc -std=gnu++17 execution test

2024-03-18 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114368 --- Comment #2 from dave.anglin at bell dot net --- I'll see if it's reproducible,

[Bug modula2/114380] Incorrect type specified in an error message

2024-03-18 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114380 Gaius Mulley changed: What|Removed |Added Last reconfirmed||2024-03-18 Ever confirmed|0

[Bug modula2/114380] New: Incorrect type specified in an error message

2024-03-18 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114380 Bug ID: 114380 Summary: Incorrect type specified in an error message Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/114275] using std::thread within a templated function in a module fails to compile

2024-03-18 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114275 --- Comment #5 from Patrick Palka --- (In reply to Nathaniel Shead from comment #4) > I suspect there are a number of issues tied together here. Some of the > things I've discovered so far: > > - 'tsubst_friend_class' calls 'lookup_name',

[Bug libstdc++/114368] FAIL: 25_algorithms/pstl/alg_sorting/set_symmetric_difference.cc -std=gnu++17 execution test

2024-03-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114368 --- Comment #1 from Jonathan Wakely --- I don't see this on aarch64-unknown-linux-gnu or x86_64-pc-linux-gnu.

[Bug c++/114379] stringop-overflow warning on C++ code with -O2 (or -O1 -fexpensive-optimizations)

2024-03-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114379 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2024-03-18 Ever confirmed|0

[Bug sanitizer/112709] [13 Regression] address sanitize and returns_twice causes an ICE

2024-03-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112709 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/114339] [13 regression] Tor miscompiled with -O2 -mavx -fno-vect-cost-model since r14-6822

2024-03-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114339 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

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

2024-03-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110079 Jakub Jelinek changed: What|Removed |Added Summary|[11/12/13 Regression] ICE |[11/12 Regression] ICE with

[Bug target/114310] [11/12 Regression] [aarch64] __sync_val_compare_and_swap fails on __int128_t with newval = 0

2024-03-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114310 Jakub Jelinek changed: What|Removed |Added Summary|[11/12/13 Regression] |[11/12 Regression]

[Bug rtl-optimization/114211] [13 Regression] wrong code with -O -fno-tree-coalesce-vars since r13-1907

2024-03-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114211 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/114184] [12 Regression] ICE: in extract_insn, at recog.cc:2812 (unrecognizable insn ) with _Complex long double and vector VCE

2024-03-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114184 Jakub Jelinek changed: What|Removed |Added Summary|[12/13 Regression] ICE: in |[12 Regression] ICE: in

[Bug c++/114379] stringop-overflow warning on C++ code with -O2 (or -O1 -fexpensive-optimizations)

2024-03-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114379 Richard Biener changed: What|Removed |Added Keywords||diagnostic Blocks|

[Bug libstdc++/111172] Dead code in std::get for variant?

2024-03-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72 Jonathan Wakely changed: What|Removed |Added Target Milestone|13.3|12.4

[Bug libstdc++/111172] Dead code in std::get for variant?

2024-03-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72 --- Comment #5 from Jonathan Wakely --- Fixed for 13.3 and 12.4 too.

[Bug libstdc++/112473] integer_sequence accepts non-integer types

2024-03-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112473 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/114147] [11 Regression] tuple allocator-extended constructor requires non-explicit default constructor

2024-03-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114147 Jonathan Wakely changed: What|Removed |Added Summary|[11/12 Regression] tuple|[11 Regression] tuple

[Bug libstdc++/107376] regex executor requires allocator to be default constructible

2024-03-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107376 Jonathan Wakely changed: What|Removed |Added Target Milestone|13.0|12.4 --- Comment #5 from Jonathan

  1   2   >