[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-08-24 Thread lucier at math dot purdue.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #31 from lucier at math dot purdue.edu --- Are there plans to support the __attribute__((musttail)) notation for C code? It appears that with heine:~/programs/gambit/gambit> clang -v Ubuntu clang version 14.0.0-1ubuntu1.1 one needs

[Bug lto/116478] New: x86_64-w64-mingw32-gcc -flto should support and not warn about __attribute__ ((visibility("default")))

2024-08-24 Thread public at timruffing dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116478 Bug ID: 116478 Summary: x86_64-w64-mingw32-gcc -flto should support and not warn about __attribute__ ((visibility("default"))) Product: gcc Version: 13.1.0 Status: UNCON

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

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

[Bug tree-optimization/109410] [13/14/15 Regression] ICE: verify_flow_info failed

2024-08-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109410 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2023-04-11 00:00:00 |2024-8-24 --- Comment #20 from Andrew P

[Bug c++/110635] Segmentation fault when the awaiter's await_resume in initial-suspend returns a class type.

2024-08-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110635 --- Comment #2 from GCC Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:c442a9b78bdbebdbcb4a8f91bc36961eb732fbdf commit r15-3155-gc442a9b78bdbebdbcb4a8f91bc36961eb732fbdf Author: Iain Sandoe Date: Mon

[Bug c++/102051] [coroutines] ICE in gimplify_var_or_parm_decl, at gimplify.c:2848

2024-08-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102051 --- Comment #8 from GCC Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:f0315f7a325ffccb446fe378fcdfccda6eead8ba commit r15-3154-gf0315f7a325ffccb446fe378fcdfccda6eead8ba Author: Iain Sandoe Date: Sun

[Bug c++/115908] [coroutines] Wrong behavior of using get_return_object() when creating coroutines

2024-08-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115908 --- Comment #5 from GCC Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:68ee624bc52ba1154040a904db56dd2f9c3af1f6 commit r15-3153-g68ee624bc52ba1154040a904db56dd2f9c3af1f6 Author: Iain Sandoe Date: Sun

[Bug c++/109682] coroutines: ICE in morph_fn_to_coro on wrong return type for get_return_object_on_allocation_failure

2024-08-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109682 --- Comment #4 from GCC Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:f4915e6c4cd42e7d6f397dc36fab507cc47dad05 commit r15-3152-gf4915e6c4cd42e7d6f397dc36fab507cc47dad05 Author: Iain Sandoe Date: Sat

[Bug c++/100476] coroutines: questionable handling of void get_return_object

2024-08-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100476 --- Comment #9 from GCC Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:a0b431033c307982123abbff752045cfe7eda47f commit r15-3151-ga0b431033c307982123abbff752045cfe7eda47f Author: Iain Sandoe Date: Sat

[Bug c++/113773] coroutines: promise deconstructed twice if throwing from return object

2024-08-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113773 --- Comment #3 from GCC Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:efc99ab2d5fdb7f2a942199b0e5b16e1e2bb8c27 commit r15-3150-gefc99ab2d5fdb7f2a942199b0e5b16e1e2bb8c27 Author: Iain Sandoe Date: Sat

[Bug c++/113746] [14/15 Regression] ICE: tree check: expected enumeral_type, have error_mark in tsubst_expr, at cp/pt.cc:21458 with missing typename since r14-4796-g3e3d73ed5e85e7

2024-08-24 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113746 Simon Martin changed: What|Removed |Added Target Milestone|14.3|15.0 Resolution|---

[Bug c++/113746] [14/15 Regression] ICE: tree check: expected enumeral_type, have error_mark in tsubst_expr, at cp/pt.cc:21458 with missing typename since r14-4796-g3e3d73ed5e85e7

2024-08-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113746 --- Comment #11 from GCC Commits --- The master branch has been updated by Simon Martin : https://gcc.gnu.org/g:1d09ccc4a5fe7c9a3dd37fcef34c1523a5c95819 commit r15-3145-g1d09ccc4a5fe7c9a3dd37fcef34c1523a5c95819 Author: Simon Martin Date: Fr

[Bug target/116472] Wrong offset format when generating assembly with -masm=intel and -fPIE/-fPIC

2024-08-24 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116472 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #4 fr

[Bug c++/116477] New: ICE in instantiate_decl, instead of "cannot use concept as function"

2024-08-24 Thread michael at cadilhac dot name via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116477 Bug ID: 116477 Summary: ICE in instantiate_decl, instead of "cannot use concept as function" Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal

[Bug target/116472] Wrong offset format when generating assembly with -masm=intel and -fPIE/-fPIC

2024-08-24 Thread 8dcc.git at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116472 --- Comment #3 from 8dcc.git at gmail dot com --- > Are you sure you don't have some patch which breaks this? I haven't manually patched GCC, it was installed it from the Arch repository, which is apparently configured with `--enable-default-pie`

[Bug c++/116476] [14/15 regression] error: binding reference of type 'int&&' to 'const int' discards qualifiers for std::vector> f{2}; (OK under Clang and GCC<=13)

2024-08-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116476 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.3

[Bug c++/116476] [14/15 regression] error: binding reference of type 'int&&' to 'const int' discards qualifiers for std::vector> f{2}; (OK under Clang and GCC<=13)

2024-08-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116476 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/116476] New: error: binding reference of type 'int&&' to 'const int' discards qualifiers for std::vector> f{2}; (OK under Clang and GCC<=13)

2024-08-24 Thread nabijaczleweli at nabijaczleweli dot xyz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116476 Bug ID: 116476 Summary: error: binding reference of type 'int&&' to 'const int' discards qualifiers for std::vector> f{2}; (OK under Clang and GCC<=13) Product: gcc

[Bug ada/116438] Ada FE should use libbacktrace to print backtraces on ICE with bug boxes

2024-08-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116438 --- Comment #5 from Sam James --- It also makes triage a lot easier and makes the FEs more consistent too.

[Bug c/80060] RFE: -Wformat knob to ignore same-width incorrect types

2024-08-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80060 --- Comment #2 from Eric Gallager --- Another example: off_t is sometimes defined as long long, and sometimes as just long, but in each case sizeof(off_t) == 8, so it shouldn't really matter whether you use "ll" or just "l" as the modifier for it

[Bug c++/116449] Miscompilation and missing bounds check with UBSAN with pointer to member functions and array accesses

2024-08-24 Thread sirl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116449 --- Comment #5 from Franz Sirl --- This small change fixes the bug and passes bootstrap and regtests on x86_64. --- a/gcc/cp/typeck.cc +++ b/gcc/cp/typeck.cc @@ -4195,7 +4195,7 @@ get_member_function_from_ptrfunc (tree *instance_ptrptr, tree fu

[Bug tree-optimization/116460] [14/15 Regression] LTO ICE with -g during GIMPLE pass: forwprop

2024-08-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-08-24 Status|UNCONFIRM

[Bug tree-optimization/116460] [14/15 Regression] LTO ICE with -g during GIMPLE pass: forwprop

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

[Bug preprocessor/116458] [15 regression] New valgrind error in search_line_ssse3

2024-08-24 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116458 --- Comment #12 from Alexander Monakov --- Thanks. It's probably nicer to deduplicate computation of required padding to a common header (libcpp/internal.h), I'll send a patch to that effect.

[Bug preprocessor/116458] [15 regression] New valgrind error in search_line_ssse3

2024-08-24 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116458 --- Comment #11 from David Binderman --- I confirm that the fix works for me. On a more subtle note, if two functions are strongly related, would it be wise to have them in the same file with some comments and maybe even some asserts to ensure

[Bug tree-optimization/116460] [14/15 Regression] LTO ICE with -g during GIMPLE pass: forwprop

2024-08-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 --- Comment #10 from Andrew Pinski --- Created attachment 58992 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58992&action=edit much more reduced testcase Now this testcase also ICEs on x86_64-linux-gnu with `-O3 -g`.

[Bug debug/116470] [15 regression] Enabling -gvariable-location-views breaks Solaris/x86 bootstrap

2024-08-24 Thread bernd.edlinger at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116470 --- Comment #11 from Bernd Edlinger --- Created attachment 58991 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58991&action=edit proposed patch I would appreciate when you could check if this patch fixes the problem. Thanks!

[Bug tree-optimization/116460] [14/15 Regression] LTO ICE with -g during GIMPLE pass: forwprop

2024-08-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 --- Comment #9 from Andrew Pinski --- Created attachment 58990 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58990&action=edit single file testcase Reduced down to single file testcase; `-g -O3` is enough, no LTO needed now.