[Bug c/106886] ice in vect_schedule_slp_node

2022-09-07 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106886 --- Comment #1 from David Binderman --- Git range seems to be 2985049049f12b0a..0b0a3cdbff64d97e, from near the start of the month. There are 29 commits in that range.

[Bug c/106886] New: ice in vect_schedule_slp_node

2022-09-07 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106886 Bug ID: 106886 Summary: ice in vect_schedule_slp_node Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/103499] C++20 modules error: invalid use of non-static member function

2022-09-07 Thread markmigm at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103499 --- Comment #3 from Mark Millard --- (In reply to Mark Millard from comment #2 and #1) Since my example shows that std::is_nothrow_constructible_v<. . .> can run into the problem, adding bugzilla 99227 ("[meta] [modules] Bugs relating to

[Bug c++/99426] [modules] failed to read compiled module cluster 1186: Bad file data

2022-09-07 Thread markmigm at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99426 Mark Millard changed: What|Removed |Added CC||markmigm at gmail dot com --- Comment #5

[Bug target/106875] [11/12/13 Regression] ICE in ix86_emit_outlined_ms2sysv_save, at config/i386/i386.cc:8343 since r11-3183-gba948b37768c99cd

2022-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106875 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.4

[Bug target/83052] ICE in extract_insn, at recog.c:2305 with -mcmodel=large

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

[Bug target/89289] ICE with -mforce-indirect-call and TLS and PIC

2022-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89289 Andrew Pinski changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment

[Bug target/106876] ICE in extract_insn with -mforce-indirect-call -fPIC and TLS

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

[Bug target/89289] ICE with -mforce-indirect-call and TLS and PIC

2022-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89289 --- Comment #2 from Andrew Pinski --- *** Bug 106876 has been marked as a duplicate of this bug. ***

[Bug target/106876] ICE in extract_insn with -mforce-indirect-call -fPIC and TLS

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

[Bug target/106876] ICE in extract_insn with -mforce-indirect-call -fPIC -fprofile-generate

2022-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106876 Andrew Pinski changed: What|Removed |Added Known to fail||8.1.0 Summary|[13

[Bug target/106876] [13 Regression] ICE in extract_insn, at recog.cc:2791 since r13-465-g4df735e01e319997

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

[Bug target/106877] [12/13 Regression] ICE in move_for_stack_reg, at reg-stack.cc:1076 since r12-248-gb58dc0b803057c0e

2022-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106877 --- Comment #2 from Andrew Pinski --- (In reply to Martin Liška from comment #1) > Started with r12-248-gb58dc0b803057c0e. Obvious this just exposed the issue ...

[Bug sanitizer/106885] New: -(a-b) is folded to b-a before the UBSAN pass is run

2022-09-07 Thread kristerw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106885 Bug ID: 106885 Summary: -(a-b) is folded to b-a before the UBSAN pass is run Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/106884] New: ifcombine may move shift so it shifts more than bitwidth

2022-09-07 Thread kristerw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106884 Bug ID: 106884 Summary: ifcombine may move shift so it shifts more than bitwidth Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/106883] New: SLSR may generate signed wrap

2022-09-07 Thread kristerw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106883 Bug ID: 106883 Summary: SLSR may generate signed wrap Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug c++/106820] [modules] internal compiler error: in function_and_variable_visibility [for std::shared_ptr{b,??} use via header unit]: mishandling of "weak" usage generated via __gthr

2022-09-07 Thread markmigm at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106820 --- Comment #5 from Mark Millard --- I probably should have reported the backtrace when fancy_abort has been called (stopped there via breakpoint): (lldb) bt * thread #1, name = 'cc1plus', stop reason = breakpoint 1.1 * frame #0:

[Bug middle-end/106806] [13 regression] gcc.dg/tree-ssa/gen-vect-34.c fails after r13-2333-gca8f4e8af14869

2022-09-07 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106806 John David Anglin changed: What|Removed |Added Last reconfirmed||2022-09-07

[Bug c++/106820] internal compiler error: in function_and_variable_visibility [for std::shared_ptr{b,??} use via module]

2022-09-07 Thread markmigm at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106820 --- Comment #4 from Mark Millard --- (In reply to Mark Millard from comment #3) > . . . > And in a debugger I see: > > (lldb) print node->decl->decl_with_vis.weak_flag > (unsigned int) $2 = 1 > (lldb) print

[Bug c++/106820] internal compiler error: in function_and_variable_visibility [for std::shared_ptr{b,??} use via module]

2022-09-07 Thread markmigm at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106820 --- Comment #3 from Mark Millard --- (In reply to Mark Millard from comment #2) I managed to build lang/gcc12 with -g -O0 in use and so can report: The failing assert looks like: gcc_assert ((!DECL_WEAK (node->decl)

[Bug c++/106882] passing X as 'this' argument discards qualifiers

2022-09-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106882 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gcc

[Bug c++/106882] New: passing X as 'this' argument discards qualifiers

2022-09-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106882 Bug ID: 106882 Summary: passing X as 'this' argument discards qualifiers Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/106877] [12/13 Regression] ICE in move_for_stack_reg, at reg-stack.cc:1076 since r12-248-gb58dc0b803057c0e

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

[Bug target/106876] [13 Regression] ICE in extract_insn, at recog.cc:2791 since r13-465-g4df735e01e319997

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

[Bug c++/106875] [11/12/13 Regression] ICE in ix86_emit_outlined_ms2sysv_save, at config/i386/i386.cc:8343 since r11-3183-gba948b37768c99cd

2022-09-07 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106875 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-09-07 Summary|[11/12/13

[Bug tree-optimization/106881] [13 Regression] ice in init_from_control_deps, at gimple-predicate-analysis.cc:1740 since r13-2500-g0a4a2667dc115ca7

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

[Bug tree-optimization/106881] [13 Regression] ice in init_from_control_deps, at gimple-predicate-analysis.cc:1740

2022-09-07 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106881 --- Comment #4 from David Binderman --- (In reply to Andrew Pinski from comment #3) > Are you sure this was not already fixed by r13-2518-ga262f969d6fd936f4fb5 > (aka PR 106866) Pretty sure. The git range I gave includes this commit. Feel free

[Bug c++/106829] [12/13 Regression] OpenMP offload internal compiler error: in gimplify_expr, at gimplify.cc:16222 since r12-5835

2022-09-07 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106829 Ye Luo changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/106878] [11/12/13 Regression] ICE: verify_gimple failed at -O2 with pointers and bitwise caluclation

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

[Bug tree-optimization/106878] [11/12/13 Regression] ICE: verify_gimple failed at -O2 with pointers and bitwise caluclation

2022-09-07 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106878 Alex Coplan changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug tree-optimization/106881] [13 Regression] ice in init_from_control_deps, at gimple-predicate-analysis.cc:1740

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

[Bug tree-optimization/106881] [13 Regression] ice in init_from_control_deps, at gimple-predicate-analysis.cc:1740

2022-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106881 Andrew Pinski changed: What|Removed |Added Summary|ice in |[13 Regression] ice in

[Bug c/106881] ice in init_from_control_deps, at gimple-predicate-analysis.cc:1740

2022-09-07 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106881 --- Comment #2 from David Binderman --- Reduced C code seems to be: inline auto_free(void *a) { void **p = a; l_free(*p); } eap_gtc_check_settings() { char *identity __attribute__((cleanup(auto_free))); char password

[Bug c/106881] ice in init_from_control_deps, at gimple-predicate-analysis.cc:1740

2022-09-07 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106881 --- Comment #1 from David Binderman --- Git range seems to be d6582c662ca0da05..cdcc27c1ca9c485c, i.e. since yesterday.

[Bug c/106881] New: ice in init_from_control_deps, at gimple-predicate-analysis.cc:1740

2022-09-07 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106881 Bug ID: 106881 Summary: ice in init_from_control_deps, at gimple-predicate-analysis.cc:1740 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/106500] ICE on function as an argument to c_sizeof()

2022-09-07 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106500 kargl at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/106880] [12/13 Regression] "error: use of deleted function" printed twice

2022-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106880 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.3

[Bug c++/106880] [12/13 Regression] "error: use of deleted function" printed twice

2022-09-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106880 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug c++/106880] New: [12/13 Regression] "error: use of deleted function" printed twice

2022-09-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106880 Bug ID: 106880 Summary: [12/13 Regression] "error: use of deleted function" printed twice Product: gcc Version: 12.2.1 Status: UNCONFIRMED Keywords:

[Bug libstdc++/106607] Regex integer overflow on large backreference value

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

[Bug libstdc++/106695] [11/12 Regression] Explicit copy constructor does not work for a parameter passed via std::async

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

[Bug libstdc++/106248] [11 Regression] operator>>std::basic_istream at boundary condition behave differently in different opt levels

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

[Bug libstdc++/104443] common_iterator::operator-> is not correctly implemented

2022-09-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104443 Jonathan Wakely changed: What|Removed |Added Target Milestone|12.2|11.4 --- Comment #9 from Jonathan

[Bug libstdc++/106248] [11 Regression] operator>>std::basic_istream at boundary condition behave differently in different opt levels

2022-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106248 --- Comment #12 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:3d17eaabb3e771472d7bfa1f654564a5db57f5ef commit r11-10241-g3d17eaabb3e771472d7bfa1f654564a5db57f5ef Author: Jonathan

[Bug libstdc++/106607] Regex integer overflow on large backreference value

2022-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106607 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:d023d805d9e20c3f46654dc7ea96c9228d650ddb commit r11-10243-gd023d805d9e20c3f46654dc7ea96c9228d650ddb Author: Jonathan

[Bug libstdc++/106695] [11/12 Regression] Explicit copy constructor does not work for a parameter passed via std::async

2022-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106695 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:da67352690c8ed7f3045487e6e1ea391aeab7fc8 commit r11-10242-gda67352690c8ed7f3045487e6e1ea391aeab7fc8 Author: Jonathan

[Bug libstdc++/104443] common_iterator::operator-> is not correctly implemented

2022-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104443 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:c5038b792525fedeb0297189516d0157ba98c1d1 commit r11-10240-gc5038b792525fedeb0297189516d0157ba98c1d1 Author: Jonathan

[Bug c++/106863] ICE in write_template_arg_literal, at cp/mangle.cc:3678 since r12-4782-geca767aa51d1f696

2022-09-07 Thread jehova at existiert dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106863 --- Comment #2 from jehova at existiert dot net --- I'm not sure if 'ice-on-valid-code' is appropriate here, since the example code is *not* valid. It is if 'void{}' is replaced by 'void()' (which is perfectly accepted by GCC).

[Bug tree-optimization/106878] [11/12/13 Regression] ICE: verify_gimple failed at -O2 on arm-none-eabi

2022-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106878 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.4 Summary|ICE:

[Bug c++/106793] poor diagnostic for missing template argument list on function parameter

2022-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106793 --- Comment #5 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:b9cb441c98f265bff86a1c228932524c5fd37dd3 commit r13-2527-gb9cb441c98f265bff86a1c228932524c5fd37dd3 Author: Jason Merrill Date:

[Bug c++/106793] poor diagnostic for missing template argument list on function parameter

2022-09-07 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106793 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug testsuite/106879] New: [13 regression] new test case gcc.dg/vect/bb-slp-layout-19.c fails

2022-09-07 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106879 Bug ID: 106879 Summary: [13 regression] new test case gcc.dg/vect/bb-slp-layout-19.c fails Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/106878] New: ICE: verify_gimple failed at -O2 on arm-none-eabi

2022-09-07 Thread acoplan at gcc dot gnu.org via Gcc-bugs
20220907 (experimental) (GCC) $ cat t.c int a; void b(const int *c) { unsigned d = ((long)c | (long)) & 65535 << 16; long e = (long)c; if (d != (e & 65535 << 16)) return; } $ gcc/xgcc -B gcc -c t.c -O2 -S -o /dev/null t.c: In function ‘b’: t.c:7:1: error: invalid typ

[Bug c++/106877] New: [12/13 Regression] ICE in move_for_stack_reg, at reg-stack.cc:1076

2022-09-07 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106877 Bug ID: 106877 Summary: [12/13 Regression] ICE in move_for_stack_reg, at reg-stack.cc:1076 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug c++/106876] New: [13 Regression] ICE in extract_insn, at recog.cc:2791

2022-09-07 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106876 Bug ID: 106876 Summary: [13 Regression] ICE in extract_insn, at recog.cc:2791 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/106875] New: [11/12/13 Regression] ICE in ix86_emit_outlined_ms2sysv_save, at config/i386/i386.cc:8343

2022-09-07 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106875 Bug ID: 106875 Summary: [11/12/13 Regression] ICE in ix86_emit_outlined_ms2sysv_save, at config/i386/i386.cc:8343 Product: gcc Version: 13.0 Status:

[Bug c/106874] New: [10/11/12/13 Regression] out of memory allocating 9223372036854453969 bytes after a total of 462848 bytes

2022-09-07 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106874 Bug ID: 106874 Summary: [10/11/12/13 Regression] out of memory allocating 9223372036854453969 bytes after a total of 462848 bytes Product: gcc Version: 13.0

[Bug fortran/106500] ICE on function as an argument to c_sizeof()

2022-09-07 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106500 G. Steinmetz changed: What|Removed |Added CC||gs...@t-online.de --- Comment #2 from

[Bug c++/106873] unsigned short skips byte when used for memory mapping depending on position in structure

2022-09-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106873 --- Comment #5 from Jonathan Wakely --- Read https://en.cppreference.com/w/c/language/object#Alignment (for C) and https://en.cppreference.com/w/cpp/language/object#Alignment (for C++). Instead of filing bugs like this and PR 106869, please

[Bug c++/106873] unsigned short skips byte when used for memory mapping depending on position in structure

2022-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106873 --- Comment #4 from Andrew Pinski --- (In reply to Kemal Akcam from comment #3) > I did not report as if unsigned short was different than 2 bytes. > > Please check the output and explain > 1. why output values changes? > 2. why it

[Bug c++/106873] unsigned short skips byte when used for memory mapping depending on position in structure

2022-09-07 Thread info at kemalakcam dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106873 --- Comment #3 from Kemal Akcam --- I did not report as if unsigned short was different than 2 bytes. Please check the output and explain 1. why output values changes? 2. why it reads/advances 10 bytes instead of 8 bytes?

[Bug c++/106873] unsigned short skips byte when used for memory mapping depending on position in structure

2022-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106873 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > Which I think is what you are missing is that the ABI is layed out this way. The reason why it is layout this way is for alignment reasons. In many ABIs, the

[Bug c++/106873] unsigned short skips byte when used for memory mapping depending on position in structure

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

[Bug libstdc++/106873] New: unsigned short skips byte when used for memory mapping depending on position in structure

2022-09-07 Thread info at kemalakcam dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106873 Bug ID: 106873 Summary: unsigned short skips byte when used for memory mapping depending on position in structure Product: gcc Version: 12.1.0 Status: UNCONFIRMED

[Bug rtl-optimization/105586] [11/12/13 Regression] -fcompare-debug failure (length) with -O2 -fno-if-conversion -mtune=power4 -fno-guess-branch-probability

2022-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105586 --- Comment #5 from CVS Commits --- The master branch has been updated by Surya Kumari Jangala : https://gcc.gnu.org/g:bec35caafae8db0278e1d037a7ba00c3e6899bbd commit r13-2525-gbec35caafae8db0278e1d037a7ba00c3e6899bbd Author: Surya Kumari

[Bug c++/106793] poor diagnostic for missing template argument list on function parameter

2022-09-07 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106793 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug other/106872] New: [13 regression] gcc.dg/uninit-pred-12.c fails after r13-2500-g0a4a2667dc115c

2022-09-07 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106872 Bug ID: 106872 Summary: [13 regression] gcc.dg/uninit-pred-12.c fails after r13-2500-g0a4a2667dc115c Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug c++/106713] [11/12/13 Regression] Coroutine regression in GCC 11.3.0: if (co_await ...) crashes with a jump to ud2 since r12-3529-g70ee703c479081ac

2022-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106713 --- Comment #5 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:a961ad1b13b9c294d4565344912b8e35ba71b369 commit r13-2524-ga961ad1b13b9c294d4565344912b8e35ba71b369 Author: Arsen ArsenoviÄ Date:

[Bug c++/106188] [coroutines] Incorrect frame layout after transforming conditional statement without top-level bind expression

2022-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106188 --- Comment #1 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:a961ad1b13b9c294d4565344912b8e35ba71b369 commit r13-2524-ga961ad1b13b9c294d4565344912b8e35ba71b369 Author: Arsen ArsenoviÄ Date:

[Bug libstdc++/106695] [11/12 Regression] Explicit copy constructor does not work for a parameter passed via std::async

2022-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106695 --- Comment #4 from CVS Commits --- The releases/gcc-12 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:47f0bd269403762ddb71b8c6165b30ace4f70a8b commit r12-8747-g47f0bd269403762ddb71b8c6165b30ace4f70a8b Author: Jonathan

[Bug libstdc++/106607] Regex integer overflow on large backreference value

2022-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106607 --- Comment #2 from CVS Commits --- The releases/gcc-12 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:87da20c6e280925d885c5472de9189515f46880b commit r12-8746-g87da20c6e280925d885c5472de9189515f46880b Author: Jonathan

[Bug middle-end/106870] ctrl_altering flag is not set correctly

2022-09-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106870 --- Comment #1 from Richard Biener --- gcc.dg/torture/pr57036-2.c shows how inlining and non-local gotos come into play here. Note the flag was specifically invented to not make CFG verification ICE when a function in the middle of a block

[Bug middle-end/106833] Miss to handle OPAQUE_TYPE specially in verify_type

2022-09-07 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106833 --- Comment #12 from Segher Boessenkool --- (In reply to Kewen Lin from comment #10) > (In reply to Segher Boessenkool from comment #9) > > Although, preferably we should not allow assigning one opaque type to > > another > > opaque type just

[Bug analyzer/106854] [[gnu::malloc(deallocator)]] for non-pointer functions (e.g., fd)

2022-09-07 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106854 --- Comment #7 from David Malcolm --- (In reply to Alejandro Colomar from comment #6) > timerfd_create() might not be important if the timer is not correctly > deleted. pthread_mutex_init() is another one that is quite more important, > as

[Bug libstdc++/100824] ranges::size should treat the subexpression as an lvalue

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

[Bug libstdc++/100824] ranges::size should treat the subexpression as an lvalue

2022-09-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100824 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |11.2 --- Comment #13 from Jonathan

[Bug libstdc++/98978] Consider packing _M_Engaged in the tail padding of T in optional<>

2022-09-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98978 --- Comment #5 from Jonathan Wakely --- (In reply to andysem from comment #3) > Is there no way to improve standard components implementation? I'd imagine > you could provide the new implementation in the new version inline namespace > and still

[Bug libstdc++/88101] Implement P0528R3, C++20 cmpxchg and padding bits

2022-09-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88101 Jonathan Wakely changed: What|Removed |Added Keywords||patch --- Comment #13 from Jonathan

[Bug bootstrap/106855] [13 Regression] Removal of stabs/xcoff debugging broke bootstrap on AIX

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

[Bug bootstrap/106855] [13 Regression] Removal of stabs/xcoff debugging broke bootstrap on AIX

2022-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106855 --- Comment #5 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:7abcdb06e31d82d4933cb6e0a626c3ccb28fa0c3 commit r13-2519-g7abcdb06e31d82d4933cb6e0a626c3ccb28fa0c3 Author: Martin Liska Date:

[Bug tree-optimization/106866] [13 Regression] ICE in predicate::init_from_control_deps

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

[Bug tree-optimization/106866] [13 Regression] ICE in predicate::init_from_control_deps

2022-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106866 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:a262f969d6fd936f4fb5d9e1d5756b0dcbc925b2 commit r13-2518-ga262f969d6fd936f4fb5d9e1d5756b0dcbc925b2 Author: Richard Biener Date:

[Bug target/106861] [12/13 Regression] ICE in add_cfi_args_size, at dwarf2cfi.cc:501

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

[Bug debug/106859] [10/11/12/13 Regression] ICE in val_store, at var-tracking.cc:2532 since r7-3839-gde0a3fa38e2ad8f3

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

[Bug c++/106858] [12/13 Regression] ICE: tree check: expected tree that contains 'decl common' structure, have 'baselink' in cp_ubsan_maybe_instrument_member_access, at cp/cp-ubsan.cc:172 since r12-58

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

[Bug fortran/106857] [10/11/12/13 Regression] ICE in gfc_simplify_pack, at fortran/simplify.cc:6438 since r12-4278-g74ccca380cde5e79

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

[Bug fortran/106856] [12/13 Regression] ICE in gfc_conv_expr_present, at fortran/trans-expr.cc:1977 since r12-4346-geb92cd57a1ebe7cd

2022-09-07 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106856 Martin Liška changed: What|Removed |Added Summary|[12/13 Regression] ICE in |[12/13 Regression] ICE in

[Bug libstdc++/56551] A faster implementation of std::function

2022-09-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56551 --- Comment #4 from Jonathan Wakely --- As I just wrote on the duplicate bug: I've looked into this and I don't think it can be done without an ABI break. Objects constructed in old code compiled by an older GCC would still have a null pointer,

[Bug c++/106863] ICE in write_template_arg_literal, at cp/mangle.cc:3678 since r12-4782-geca767aa51d1f696

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

[Bug libstdc++/106871] std::function should not check func ptr on each call

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

[Bug libstdc++/56551] A faster implementation of std::function

2022-09-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56551 Jonathan Wakely changed: What|Removed |Added CC||rockeet at gmail dot com --- Comment

[Bug libstdc++/106871] New: std::function should not check func ptr on each call

2022-09-07 Thread rockeet at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106871 Bug ID: 106871 Summary: std::function should not check func ptr on each call Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug bootstrap/106855] [13 Regression] Removal of stabs/xcoff debugging broke bootstrap on AIX

2022-09-07 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106855 Martin Liška changed: What|Removed |Added Keywords||patch --- Comment #4 from Martin Liška

[Bug middle-end/106870] New: ctrl_altering flag is not set correctly

2022-09-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106870 Bug ID: 106870 Summary: ctrl_altering flag is not set correctly Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libstdc++/106869] ranges::unique does nothing unless ranges::sort called first or something else is wrong.

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

[Bug tree-optimization/106867] [13 Regression] ICE in set, at value-range.cc:372

2022-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106867 --- Comment #3 from CVS Commits --- The master branch has been updated by Aldy Hernandez : https://gcc.gnu.org/g:22cefe5c22a90d20e2d9f629402b0522c03fa59c commit r13-2516-g22cefe5c22a90d20e2d9f629402b0522c03fa59c Author: Aldy Hernandez Date:

Re: gcc cannot build correctly famous hello program, clang does it correctly

2022-09-07 Thread Jakub Jelinek via Gcc-bugs
On Wed, Sep 07, 2022 at 12:36:22PM +0200, Alex Ernst via Gcc-bugs wrote: > $ gcc -v > gcc version 10.2.1 20210110 (Debian 10.2.1-6) > > $ clang -v > Debian clang version 11.0.1-2 > > $ cat hello.c > int i;main(){for(;i["] o, world!\n",'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);} Garbage in,

[Bug c++/106869] New: ranges::unique does nothing unless ranges::sort called first or something else is wrong.

2022-09-07 Thread info at kemalakcam dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106869 Bug ID: 106869 Summary: ranges::unique does nothing unless ranges::sort called first or something else is wrong. Product: gcc Version: 12.1.0 Status: UNCONFIRMED

gcc cannot build correctly famous hello program, clang does it correctly

2022-09-07 Thread Alex Ernst via Gcc-bugs
$ gcc -v gcc version 10.2.1 20210110 (Debian 10.2.1-6) $ clang -v Debian clang version 11.0.1-2 $ cat hello.c int i;main(){for(;i["]

[Bug tree-optimization/106860] [12 Regression] ICE in single_pred_edge, at basic-block.h:347

2022-09-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106860 Richard Biener changed: What|Removed |Added Summary|[12/13 Regression] ICE in |[12 Regression] ICE in

  1   2   >