[Bug c++/104197] New: clang: gcc/cp/pt.cc:28481:19: warning: predefined identifier is only valid inside function [-Wpredefined-identifier-outside-function]

2022-01-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104197 Bug ID: 104197 Summary: clang: gcc/cp/pt.cc:28481:19: warning: predefined identifier is only valid inside function [-Wpredefined-identifier-outside-function] Product: gcc

[Bug tree-optimization/104156] [12 Regression] -fcompare-debug failure with -O2 -funswitch-loops since r12-4526-gd8edfadfc7a9795b

2022-01-23 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104156 --- Comment #10 from rguenther at suse dot de --- On Sat, 22 Jan 2022, cnsun at uwaterloo dot ca wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104156 > > --- Comment #9 from Chengnian Sun --- > Thanks, Andrew. > > What about -flto?

[Bug ipa/104187] Call site specific attribute to control inliner

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

[Bug ipa/100491] [11 Regression] IPA-SRA is not happening any more

2022-01-23 Thread fredrik.hederstierna--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100491 --- Comment #9 from Fredrik Hederstierna --- I tested with gcc-12-20220123 snapshot, and lastest gcc now produces the same result as gcc-10.2.0, so I agree I think this issue is resolved now. Thanks! BR Fredrik

[Bug libstdc++/104019] Testsuite 17_intro/headers/c++2020/stdc++_multiple_inclusion.cc failures

2022-01-23 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104019 --- Comment #9 from Rimvydas (RJ) --- Also there are more possible teststuite failures when running with: $ make check-target-libstdc++-v3 -k RUNTESTFLAGS="conformance.exp=17_intro* --target_board=unix/-Wall/-Wsystem-headers/-Wno-c++11-extensio

[Bug tree-optimization/104196] [12 Regression] wrong code at -O2 and above on x86_64-linux-gnu

2022-01-23 Thread belyshev at depni dot sinp.msu.ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104196 Serge Belyshev changed: What|Removed |Added CC||belyshev at depni dot sinp.msu.ru ---

[Bug libstdc++/104019] Testsuite 17_intro/headers/c++2020/stdc++_multiple_inclusion.cc failures

2022-01-23 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104019 --- Comment #8 from Rimvydas (RJ) --- Thank you for the patches.  Testsuite now gives: PASS: 17_intro/headers/c++1998/stdc++.cc (test for excess errors)PASS: 17_intro/headers/c++1998/stdc++_multiple_inclusion.cc (test for excess errors) PASS: 1

[Bug c++/59950] [9/10/11/12 Regression] Bogus diagnostic "taking address of temporary" taking address of trivial no-op assignment to temporary with empty class

2022-01-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59950 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Assig

[Bug c++/103598] [12 regression] __PRETTY_FUNCTION_ lost namespaces in types since r12-5783-gf78eaffd1538efb4

2022-01-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103598 Jason Merrill changed: What|Removed |Added Status|NEW |UNCONFIRMED Ever confirmed|1

[Bug regression/103997] [12 Regression] gcc.target/i386/pr88531-??.c scan-assembler-times FAILs

2022-01-23 Thread admin at levyhsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103997 Levy Hsu changed: What|Removed |Added CC||admin at levyhsu dot com --- Comment #9 from

[Bug middle-end/103950] [9/10/11/12 Regression] printf("\xff") incorrectly optimized to putchar(-1)

2022-01-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103950 --- Comment #10 from Andrew Pinski --- Note the reason why the standard is written this way is because in K&R C, every function argument was promoted to int as there were no prototypes and then the function would cast it back to char/unsigned ch

[Bug middle-end/103950] [9/10/11/12 Regression] printf("\xff") incorrectly optimized to putchar(-1)

2022-01-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103950 --- Comment #9 from Andrew Pinski --- strchr has the same wording too: The strchr function locates the first occurrence of c (converted to a char ) in the string pointed to by s .

[Bug middle-end/103950] [9/10/11/12 Regression] printf("\xff") incorrectly optimized to putchar(-1)

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

[Bug tree-optimization/104196] [12 Regression] wrong code at -O2 and above on x86_64-linux-gnu

2022-01-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104196 --- Comment #6 from Andrew Pinski --- Here is a new testcase where we have the same IR (including the range) in GCC 11.2.0 and the trunk: int a = 6; int main() { for (;;) { int c = 111; if (a < 0) c = 1;

[Bug tree-optimization/104196] [12 Regression] wrong code at -O2 and above on x86_64-linux-gnu

2022-01-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104196 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > The problem looks like a latent bug in reassoc1. So it looks like it is a new bug in reassoc1.

[Bug tree-optimization/104196] [12 Regression] wrong code at -O2 and above on x86_64-linux-gnu

2022-01-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104196 --- Comment #4 from Andrew Pinski --- The problem looks like a latent bug in reassoc1. Before: if (a.0_1 < 0) goto ; [41.00%] else goto ; [59.00%] [local count: 440234144]: # RANGE [-2147483646, 1] c_6 = -2147483647 - a.0_1;

[Bug tree-optimization/104196] [12 Regression] wrong code at -O2 and above on x86_64-linux-gnu

2022-01-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104196 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > Also for some reason using the C++ front-end also works around the issue ... > (but I don't see how though). -ffinite-loops is the difference there.

[Bug target/104188] [11/12 Regression] gcc omitting AVX-512 broadcast instruction

2022-01-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104188 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/104188] [11/12 Regression] gcc omitting AVX-512 broadcast instruction

2022-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104188 --- Comment #13 from CVS Commits --- The releases/gcc-11 branch has been updated by H.J. Lu : https://gcc.gnu.org/g:520147ba19db8034b1f911326beee104da606daa commit r11-9489-g520147ba19db8034b1f911326beee104da606daa Author: H.J. Lu Date: Sat

[Bug target/104188] [11/12 Regression] gcc omitting AVX-512 broadcast instruction

2022-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104188 --- Comment #12 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:4d2321314a656dd3e30117e2a5266cbacb1e60eb commit r12-6831-g4d2321314a656dd3e30117e2a5266cbacb1e60eb Author: H.J. Lu Date: Sat Jan 22 1

[Bug tree-optimization/104196] [12 Regression] wrong code at -O2 and above on x86_64-linux-gnu

2022-01-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104196 --- Comment #2 from Andrew Pinski --- Here is one which shows the issue just in case fold gets in the way: int a = 6; int main() { for (;;) { int c = 111; if (a < 0) c = -__INT_MAX__ - a; int b = a;

[Bug tree-optimization/104196] [12 Regression] wrong code at -O2 and above on x86_64-linux-gnu

2022-01-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104196 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug middle-end/104196] wrong code at -O2 and above on x86_64-linux-gnu

2022-01-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104196 --- Comment #1 from Jakub Jelinek --- Started with r12-4790-g4b3a325f07acebf47e82de227ce1d5ba62f5bcae Slightly adjusted testcase: int a = 6; int main () { while (1) { int b = a < 0 && 0 < -__INT_MAX__ - a ? 0 : a; if (b != 409

[Bug c/104196] New: wrong code at -O2 and above on x86_64-linux-gnu

2022-01-23 Thread cnsun at uwaterloo dot ca via Gcc-bugs
c-trunk --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.1 20220123 (experimental) [master -g9718bc4b0] (GCC) $

[Bug libstdc++/104032] Cannot move-assign a spanstream

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

[Bug libstdc++/104019] Testsuite 17_intro/headers/c++2020/stdc++_multiple_inclusion.cc failures

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

[Bug libstdc++/104174] [12 Regression] unordered_map fails

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

[Bug libstdc++/104032] Cannot move-assign a spanstream

2022-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104032 --- Comment #1 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:51631875a2fa0af62ebda7484ac48368e1805dff commit r12-6829-g51631875a2fa0af62ebda7484ac48368e1805dff Author: Jonathan Wakely Date:

[Bug libstdc++/104174] [12 Regression] unordered_map fails

2022-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104174 --- Comment #2 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:084680db9af077ca37c5523a58b6c11e090e7335 commit r12-6827-g084680db9af077ca37c5523a58b6c11e090e7335 Author: Jonathan Wakely Date:

[Bug libstdc++/104019] Testsuite 17_intro/headers/c++2020/stdc++_multiple_inclusion.cc failures

2022-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104019 --- Comment #6 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:2d8a9ad4a922e3248d0f6c60a6331be6f47dc435 commit r12-6826-g2d8a9ad4a922e3248d0f6c60a6331be6f47dc435 Author: Jonathan Wakely Date:

[Bug c++/104182] [12 Regression] Wrong code since r12-6329-g4f6bc28fc7dd86bd

2022-01-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104182 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/101072] [12 Regression] ICE in build_target_expr_with_type, at cp/tree.c:845 since r11-5681-gd9288bd28e24c755

2022-01-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101072 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/55227] designated initializer for char array by string constant

2022-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55227 --- Comment #16 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:2da90ad39bf8fa9ee287e040d1f4411cb7a2e7ed commit r12-6825-g2da90ad39bf8fa9ee287e040d1f4411cb7a2e7ed Author: Will Wray Date: Fri J

[Bug target/64821] [AArch64] Improve target folding for vsqrt_f64 intrinsic

2022-01-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64821 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/64821] [AArch64] Improve target folding for vsqrt_f64 intrinsic

2022-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64821 --- Comment #9 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:cbcf4a50fa21abd7a4a50a7ce47ada80b115febc commit r12-6824-gcbcf4a50fa21abd7a4a50a7ce47ada80b115febc Author: Andrew Pinski Date: Sun

[Bug fortran/103782] [9/10/11/12 Regression] internal error occurs when overloading intrinsic since r9-1566-g87c789f1c0b2df41

2022-01-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103782 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|ASS

[Bug fortran/103782] [9/10/11/12 Regression] internal error occurs when overloading intrinsic since r9-1566-g87c789f1c0b2df41

2022-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103782 --- Comment #9 from CVS Commits --- The releases/gcc-9 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:7fecbf36d174c8005e8c5cfb7089c6bd4d0f6a79 commit r9-9923-g7fecbf36d174c8005e8c5cfb7089c6bd4d0f6a79 Author: Harald Anlauf Da

[Bug libstdc++/104191] Incorrect max_size() for node-based containers

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

[Bug fortran/104128] ICE in gfc_widechar_to_char, at fortran/scanner.c:199

2022-01-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104128 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot gnu

[Bug fortran/104128] ICE in gfc_widechar_to_char, at fortran/scanner.c:199

2022-01-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104128 --- Comment #6 from anlauf at gcc dot gnu.org --- The remaining issues in this PR seem to be related to inconsistencies between expr->representation.string and expr->value.character.string that occur for non-default character kind that are create

[Bug fortran/83079] ICE in gfc_widechar_to_char, at fortran/scanner.c:198

2022-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83079 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:a8c234519366b9a93a4bbc0717d609de27ccdc0e commit r11-9487-ga8c234519366b9a93a4bbc0717d609de27ccdc0e Author: Harald Anlauf D

[Bug debug/104194] No way to distinguish IEEE and IBM long double in debug info

2022-01-23 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104194 --- Comment #1 from Segher Boessenkool --- Maybe we should say what actual mode is used in the DWARF info, not the C way of getting there? So something that denotes DP / double-double / QP, for our three options for long double?

[Bug target/104188] [11/12 Regression] gcc omitting AVX-512 broadcast instruction

2022-01-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104188 --- Comment #11 from H.J. Lu --- The v2 patch is posted at https://gcc.gnu.org/pipermail/gcc-patches/2022-January/589125.html

[Bug rtl-optimization/104195] Fails to optimize nested array indexing p[i/N].data[i%N]

2022-01-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104195 --- Comment #2 from Andrew Pinski --- For char, 2, unsigned int (on aarch64, I suspect x86_64 is similar): (set (reg/i:SI 0 x0) (zero_extend:SI (mem:QI (plus:DI (and:DI (subreg:DI (reg/v:SI 99 [ i ]) 0) (const_int 1 [0x1]

[Bug middle-end/104195] Fails to optimize nested array indexing p[i/N].data[i%N]

2022-01-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104195 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Severity|normal

[Bug c++/104192] Uninitialized object read is not detected in a constant expression

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

[Bug middle-end/104195] New: Fails to optimize nested array indexing p[i/N].data[i%N]

2022-01-23 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104195 Bug ID: 104195 Summary: Fails to optimize nested array indexing p[i/N].data[i%N] Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Prio

[Bug debug/104194] New: No way to distinguish IEEE and IBM long double in debug info

2022-01-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104194 Bug ID: 104194 Summary: No way to distinguish IEEE and IBM long double in debug info Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/39270] Explicit instantiation rejected

2022-01-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39270 Patrick Palka changed: What|Removed |Added CC||fchelnokov at gmail dot com --- Comment

[Bug c++/104193] Valid function template instantiation rejected

2022-01-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104193 --- Comment #2 from Patrick Palka --- er, dup of PR39270 rather *** This bug has been marked as a duplicate of bug 39270 ***

[Bug target/39720] [4.5 Regression][cond-optab] combine does not use LOAD_EXTEND_OP?

2022-01-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39720 Patrick Palka changed: What|Removed |Added CC||fchelnokov at gmail dot com --- Comment

[Bug c++/104193] Valid function template instantiation rejected

2022-01-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104193 Patrick Palka changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug c++/104193] New: Valid function template instantiation rejected

2022-01-23 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104193 Bug ID: 104193 Summary: Valid function template instantiation rejected Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/69818] warn for C++ functional cast expression on pointer or reference (i.e. add -Wfunctional-cast)

2022-01-23 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69818 Frank Heckenbach changed: What|Removed |Added CC||f.heckenb...@fh-soft.de --- Comment #

[Bug c++/104192] New: Uninitialized object read is not detected in a constant expression

2022-01-23 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104192 Bug ID: 104192 Summary: Uninitialized object read is not detected in a constant expression Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug target/104189] enable 64-bit compare-and-swap on SPARC/Linux with V9

2022-01-23 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104189 --- Comment #3 from John Paul Adrian Glaubitz --- (In reply to Eric Botcazou from comment #2) > Created attachment 52272 [details] > Tentative fix Thanks a lot for the quick fix. > This requires that the kernel preserves the full 64-bit regist

[Bug target/104189] enable 64-bit compare-and-swap on SPARC/Linux with V9

2022-01-23 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104189 --- Comment #2 from Eric Botcazou --- Created attachment 52272 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52272&action=edit Tentative fix This requires that the kernel preserves the full 64-bit registers even in 32-bit mode, like on S

[Bug target/104189] enable 64-bit compare-and-swap on SPARC/Linux with V9

2022-01-23 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104189 Eric Botcazou changed: What|Removed |Added Target Milestone|--- |12.0 Ever confirmed|0