[Bug c/69960] "initializer element is not constant"

2023-02-23 Thread daniel.lundin.mail at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69960 --- Comment #25 from Daniel Lundin --- (In reply to jos...@codesourcery.com from comment #24) > On Thu, 23 Feb 2023, daniel.lundin.mail at gmail dot com via Gcc-bugs wrote: > Regardless of how one chose to read that part of the standard, fact

[Bug d/106977] [13 regression] d21 dies with SIGBUS on 32-bit Darwin

2023-02-23 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106977 --- Comment #23 from Iain Sandoe --- (In reply to ibuclaw from comment #21) > There is something about the Darwin ABI I'm just not getting from looking at > the front-end alone though: > > C++ Darwin 32-bit calling a method that returns an 8

[Bug target/108902] Conversions std::float16_t<->float with FP16C are not vectorized

2023-02-23 Thread g.peterhoff--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108902 --- Comment #5 from g.peterh...@t-online.de --- add test case (https://godbolt.org/z/q65cWKhWx) void inc_builtin(array_t& arr)noexcept { auto load_cvt = [](const std::float16_t*const ptr) noexcept { return

[Bug debug/108917] ICE when specifying optimization level and debuging for C++ contracts code

2023-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108917 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug testsuite/108730] gcc.target/powerpc/bfp/scalar-test-neg-8.c fails on power 9 BE

2023-02-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108730 Kewen Lin changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug target/108902] Conversions std::float16_t<->float with FP16C are not vectorized

2023-02-23 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108902 --- Comment #4 from Hongtao.liu --- (In reply to Hongtao.liu from comment #3) > Yes, in sse.md the corresponding expanders are only defined under > TARGET_AVX512FP16. Even w/ -mavx512fp16, it's still not vectorized since it relied on

[Bug libstdc++/108918] New: PR107701 breaks windows targets

2023-02-23 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108918 Bug ID: 108918 Summary: PR107701 breaks windows targets Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug c++/108917] New: ICE when specifying optimization level for C++ contracts code

2023-02-23 Thread saifi.khan at nishan dot io via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108917 Bug ID: 108917 Summary: ICE when specifying optimization level for C++ contracts code Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/108916] Miss vectorization for masked gather w/o restrict qualifier.

2023-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108916 Andrew Pinski changed: What|Removed |Added Blocks||49774, 53947 Keywords|

[Bug tree-optimization/108916] Miss vectorization for masked gather w/o restrict qualifier.

2023-02-23 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108916 Hongtao.liu changed: What|Removed |Added Target||x86_64-*-* i?86-*-* --- Comment #1 from

[Bug tree-optimization/108916] New: Miss vectorization for masked gather w/o restrict qualifier.

2023-02-23 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108916 Bug ID: 108916 Summary: Miss vectorization for masked gather w/o restrict qualifier. Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/108915] invalid pointer access preserved in optimized code

2023-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108915 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |INVALID --- Comment #5 from Andrew

[Bug target/108902] Conversions std::float16_t<->float with FP16C are not vectorized

2023-02-23 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108902 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #3

[Bug tree-optimization/108915] invalid pointer access preserved in optimized code

2023-02-23 Thread hiraditya at msn dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108915 AK changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #4 from AK --- Adding

[Bug tree-optimization/108915] invalid pointer access preserved in optimized code

2023-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108915 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > The way to fix uboot code is to change the ll_entry_start/ll_entry_end to: That is because you cannot take the difference between two distinct objects and have

[Bug tree-optimization/108915] invalid pointer access preserved in optimized code

2023-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108915 --- Comment #2 from Andrew Pinski --- ll_start/ll_end needs a similar change.

[Bug tree-optimization/108915] invalid pointer access preserved in optimized code

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

[Bug c/108915] New: invalid pointer access preserved in optimized code

2023-02-23 Thread hiraditya at msn dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108915 Bug ID: 108915 Summary: invalid pointer access preserved in optimized code Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/108914] during RTL pass: internal compiler error

2023-02-23 Thread andreas.kanzler at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108914 --- Comment #1 from Andreas Kanzler --- Created attachment 54524 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54524=edit preprocessed file

[Bug c/108914] New: during RTL pass: internal compiler error

2023-02-23 Thread andreas.kanzler at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108914 Bug ID: 108914 Summary: during RTL pass: internal compiler error Product: gcc Version: 11.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug d/106977] [13 regression] d21 dies with SIGBUS on 32-bit Darwin

2023-02-23 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106977 --- Comment #22 from ibuclaw at gcc dot gnu.org --- (In reply to ibuclaw from comment #21) > There is something about the Darwin ABI I'm just not getting from looking at > the front-end alone though: Taken from a test Iain had sent me, and I've

[Bug d/106977] [13 regression] d21 dies with SIGBUS on 32-bit Darwin

2023-02-23 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106977 --- Comment #21 from ibuclaw at gcc dot gnu.org --- There is something about the Darwin ABI I'm just not getting from looking at the front-end alone though: C++ Darwin 32-bit calling a method that returns an 8 byte struct: ``` __Z4testP3Bar:

[Bug testsuite/108898] [13 Regression] Test introduced by r13-6278-g3da77f217c8b2089ecba3eb201e727c3fcdcd19d failed on i386

2023-02-23 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108898 --- Comment #2 from Haochen Jiang --- (In reply to Andrew Stubbs from comment #1) > I tested it on i686-pc-linux-gnu before I posted the patch, and it was > working then. Can you be more specific what configuration you were testing, > please?

[Bug testsuite/108899] [13 Regression] ERROR: can't rename to "saved-unsupported": command already exists on i386

2023-02-23 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108899 --- Comment #9 from Haochen Jiang --- (In reply to Jakub Jelinek from comment #8) > Should be fixed now. Sorry for the late reply. Yes, it fixed for me now. Thx a lot!

[Bug d/106977] [13 regression] d21 dies with SIGBUS on 32-bit Darwin

2023-02-23 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106977 --- Comment #20 from ibuclaw at gcc dot gnu.org --- (In reply to Andrew Pinski from comment #19) > (In reply to Andrew Pinski from comment #18) > > > I think the visibility type is POD (assuming D has that concept) > > At least the front-end

[Bug target/108881] "__builtin_ia32_cvtne2ps2bf16_v16hi" compiled only with option -mavx512bf16 report ICE.

2023-02-23 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108881 --- Comment #4 from Hongtao.liu --- (In reply to Jakub Jelinek from comment #3) > Created attachment 54520 [details] > gcc13-pr108881.patch > > Untested fix. Yes, patch LGTM.

[Bug other/108907] ira-color.cc:3028:1: error: definition in block 5 follows the use

2023-02-23 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108907 John David Anglin changed: What|Removed |Added Resolution|--- |FIXED

[Bug d/106977] [13 regression] d21 dies with SIGBUS on 32-bit Darwin

2023-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106977 --- Comment #19 from Andrew Pinski --- (In reply to Andrew Pinski from comment #18) > > I think the visibility type is POD (assuming D has that concept) At least the front-end does. See dmd/dstruct.d:443 if isPOD return false,

[Bug d/106977] [13 regression] d21 dies with SIGBUS on 32-bit Darwin

2023-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106977 --- Comment #18 from Andrew Pinski --- (In reply to Iain Sandoe from comment #17) > (In reply to Andrew Pinski from comment #15) > > (In reply to Iain Sandoe from comment #14) > > > So it would seem that we might want to find a reproducer that

[Bug c++/107938] [11/12/13 Regression] ICE directly returning `this` of `extern` variable in template since r11-557

2023-02-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107938 Marek Polacek changed: What|Removed |Added Keywords||patch --- Comment #4 from Marek

[Bug debug/108905] Debugging information refers to the wrong file with function defined in toplevel inline-asm

2023-02-23 Thread lveyde at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108905 --- Comment #2 from Lev Veyde --- So the incorrect filename and line comes from not setting it properly in inline assembly the macro resolves to? So it's basically an issue in the Linux kernel source code? I tried to add .line to the inline

[Bug d/106977] [13 regression] d21 dies with SIGBUS on 32-bit Darwin

2023-02-23 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106977 --- Comment #17 from Iain Sandoe --- (In reply to Andrew Pinski from comment #15) > (In reply to Iain Sandoe from comment #14) > > So it would seem that we might want to find a reproducer that we can look at > > the various tree dumps and see

[Bug d/106977] [13 regression] d21 dies with SIGBUS on 32-bit Darwin

2023-02-23 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106977 --- Comment #16 from Iain Sandoe --- (In reply to Iain Sandoe from comment #14) > (In reply to ibuclaw from comment #13) > If the caller is passing two regs it seems to me likely that (for some > reason it thinks that the value is returned via

[Bug d/106977] [13 regression] d21 dies with SIGBUS on 32-bit Darwin

2023-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106977 --- Comment #15 from Andrew Pinski --- (In reply to Iain Sandoe from comment #14) > So it would seem that we might want to find a reproducer that we can look at > the various tree dumps and see if/where an sret is introduced? > > (if that's

[Bug target/108874] [10/11/12/13 Regression] Missing bswap detection

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

[Bug d/106977] [13 regression] d21 dies with SIGBUS on 32-bit Darwin

2023-02-23 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106977 --- Comment #14 from Iain Sandoe --- (In reply to ibuclaw from comment #13) > Confirmed, D is doing NRVO return whereas C++ isn't. I am not sure that the NVRO is the issue (it is correct ABI for an 8 byte struct to be returned in EAX:EDX).

[Bug d/106977] [13 regression] d21 dies with SIGBUS on 32-bit Darwin

2023-02-23 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106977 --- Comment #13 from ibuclaw at gcc dot gnu.org --- Confirmed, D is doing NRVO return whereas C++ isn't. gdc-11 codegen of the `visible` method: --- struct Visibility visible (struct AggregateDeclaration * const this) { return =

[Bug c++/108913] GCC 12.1.0 h8300 ICE building libstdc++

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

[Bug target/101697] [11/12 regression] ICE compiling uClibc-ng for h8300-linux

2023-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101697 Andrew Pinski changed: What|Removed |Added CC||mike at mnmoran dot org --- Comment

[Bug c++/108913] New: GCC 12.1.0 h8300 ICE building libstdc++

2023-02-23 Thread mike at mnmoran dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108913 Bug ID: 108913 Summary: GCC 12.1.0 h8300 ICE building libstdc++ Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug d/106977] [13 regression] d21 dies with SIGBUS on 32-bit Darwin

2023-02-23 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106977 --- Comment #12 from ibuclaw at gcc dot gnu.org --- Looks like a bad mismatch between C++ and D. When C++ calls the method, it pushes one register. When D calls it, pushes two. Looks like the method itself returns the result in 2 registers as

[Bug tree-optimization/108912] A -Wstringop-overflow false positive in aarch64-linux-gnu-gcc 12.2.0

2023-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108912 --- Comment #5 from Andrew Pinski --- (In reply to Wan-Teh Chang from comment #4) > Andrew: Thank you very much for the quick reply. > > I am also curious about the 15 number. Do you know why the compiler seems to > think cfg->stage_num_col

[Bug tree-optimization/108912] A -Wstringop-overflow false positive in aarch64-linux-gnu-gcc 12.2.0

2023-02-23 Thread wtc at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108912 --- Comment #4 from Wan-Teh Chang --- Andrew: Thank you very much for the quick reply. I am also curious about the 15 number. Do you know why the compiler seems to think cfg->stage_num_col and cfg->stage_num_row can be equal to 15? I.e., why

[Bug tree-optimization/108912] A -Wstringop-overflow false positive in aarch64-linux-gnu-gcc 12.2.0

2023-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108912 --- Comment #3 from Andrew Pinski --- (In reply to Wan-Teh Chang from comment #1) > Also, I don't get these warnings if I compile with /usr/bin/cc on my Debian > x86_64 GNU/Linux system, which has the following verison: That is because the

[Bug tree-optimization/108912] A -Wstringop-overflow false positive in aarch64-linux-gnu-gcc 12.2.0

2023-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108912 --- Comment #2 from Andrew Pinski --- So the vectorizer is over vectorizing this code slightly. The easiest fix is at add: if (stage_num_col > 12) __builtin_unreachable(); and if (stage_num_row > 12) __builtin_unreachable(); I

[Bug tree-optimization/108912] A -Wstringop-overflow false positive in aarch64-linux-gnu-gcc 12.2.0

2023-02-23 Thread wtc at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108912 --- Comment #1 from Wan-Teh Chang --- If I increase the size of the `stage_range_col` and `stage_range_row` arrays in the `TXFM_2D_FLIP_CFG` struct from 12 to 13, 14, 15, the warning messages change and eventually disappear when the array size

[Bug translation/108890] Translation mistakes 2023

2023-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108890 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:7423f5b56ad436f51ac1b9defb954e2bdc5b06ab commit r13-6307-g7423f5b56ad436f51ac1b9defb954e2bdc5b06ab Author: Jakub Jelinek Date:

[Bug c/108912] New: A -Wstringop-overflow false positive in aarch64-linux-gnu-gcc 12.2.0

2023-02-23 Thread wtc at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108912 Bug ID: 108912 Summary: A -Wstringop-overflow false positive in aarch64-linux-gnu-gcc 12.2.0 Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal

[Bug libgcc/108891] libatomic: AArch64 SEQ_CST 16-byte load missing barrier

2023-02-23 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108891 Wilco changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug ipa/108695] [13 Regression] Wrong code since r13-5215-gb1f30bf42d8d47 for dd_rescue package

2023-02-23 Thread kurt at garloff dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108695 --- Comment #17 from Kurt Garloff --- jIt fixes it. Fix committed to git (on bad old sf.net). Will release new dd_rescue tomorrow ... Thanks, Martin, Jakub, Andrew for analyzing this!

[Bug target/108910] [12/13 Regression] Further ICE in aarch64_layout_arg

2023-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108910 --- Comment #4 from Jakub Jelinek --- There is another bug, in darktable actually such overaligned pointer isn't passed, but it is cvise reduced into: $ cat color_picker.c void bar (void) { float *__attribute__((aligned(64))) x; } $ cat

[Bug c++/108911] New: 0xe+100 gives talks about an impossible literal operator in error message

2023-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108911 Bug ID: 108911 Summary: 0xe+100 gives talks about an impossible literal operator in error message Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords:

[Bug preprocessor/24976] [10/11/12/13 Regression] simple hexadecimal number and plus/minus and no space

2023-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24976 --- Comment #27 from Andrew Pinski --- Something like this should improve the diagnostic, note the patch needs to be improved for wrapping: diff --git a/libcpp/expr.cc b/libcpp/expr.cc index 6e5bf68eae9..f70be382dd4 100644 --- a/libcpp/expr.cc

[Bug ada/108909] Build process does not honor discovered path to "gnatmake" and "gnatlink"

2023-02-23 Thread emr-gnu at hev dot psu.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108909 --- Comment #1 from Eric Reischer --- One more: --- gcc-12.2.0/gcc/ada/gcc-interface/Makefile.in2022-08-19 04:09:52.352659553 -0400 +++ gcc-12.2.0-fixed/gcc/ada/gcc-interface/Makefile.in 2023-02-23 16:27:59.604161728 -0500 @@ -616,7

[Bug tree-optimization/108908] [13 regression] r13-6278-g3da77f217c8b20 causes ICE

2023-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108908 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |DUPLICATE --- Comment #3 from Andrew

[Bug tree-optimization/108888] [13 Regression] error: definition in block 26 follows the use

2023-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10 Andrew Pinski changed: What|Removed |Added CC||seurer at gcc dot gnu.org --- Comment

[Bug target/108145] [13 regression] ICE in from_reg_br_prob_base, at profile-count.h:259

2023-02-23 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108145 --- Comment #6 from Vladimir Makarov --- FYI, I think my patch did not cause this problem. I've just check fresh trunk (w/o my patch and the compilation still fails). So the PR probably should be still open.

[Bug tree-optimization/108908] [13 regression] r13-6278-g3da77f217c8b20 causes ICE

2023-02-23 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108908 seurer at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug target/108892] [13 Regression] unable to generate reloads for at -Og on riscv64 since r13-4907

2023-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108892 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-02-23 Summary|[13

[Bug sanitizer/108894] -fsanitize=bounds missing bounds provided by __builtin_dynamic_object_size()

2023-02-23 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108894 --- Comment #11 from qinzhao at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #10) > I'd keep its current behavior, perhaps except for -fsanitize=bounds-strict > -fstrict-flex-arrays{,=3} so that -fsanitize=bounds >

[Bug target/108892] [13 Regression] ICE: in curr_insn_transform, at lra-constraints.cc:4168 (unable to generate reloads for: {*mvconst_internal}) at -Og on riscv64

2023-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108892 Andrew Pinski changed: What|Removed |Added Severity|normal |blocker --- Comment #1 from Andrew

[Bug sanitizer/108894] -fsanitize=bounds missing bounds provided by __builtin_dynamic_object_size()

2023-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108894 --- Comment #10 from Jakub Jelinek --- (In reply to qinzhao from comment #9) > (In reply to Jakub Jelinek from comment #8) > > Well, -fsanitize=bounds-strict certainly shouldn't imply > > -fstrict-flex-arrays=2, > > it should just treat [1] and

[Bug sanitizer/108894] -fsanitize=bounds missing bounds provided by __builtin_dynamic_object_size()

2023-02-23 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108894 --- Comment #9 from qinzhao at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #8) > Well, -fsanitize=bounds-strict certainly shouldn't imply > -fstrict-flex-arrays=2, > it should just treat [1] and [4] (but I think it does even [0]

[Bug target/108910] [12/13 Regression] Further ICE in aarch64_layout_arg

2023-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108910 --- Comment #3 from Jakub Jelinek --- As I've tried to explain in the past, C/C++ considers float * and float *__attribute__((aligned (64))) types to be compatible, similarly to int and int __attribute__((aligned (64))), so in calling

[Bug ipa/108695] [13 Regression] Wrong code since r13-5215-gb1f30bf42d8d47 for dd_rescue package

2023-02-23 Thread kurt at garloff dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108695 kurt at garloff dot de changed: What|Removed |Added CC||kurt at garloff dot de ---

[Bug target/108910] [12/13 Regression] Further ICE in aarch64_layout_arg

2023-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108910 Andrew Pinski changed: What|Removed |Added Target Milestone|13.0|12.3 Summary|[13

[Bug target/108910] [13 Regression] Further ICE in aarch64_layout_arg

2023-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108910 --- Comment #1 from Andrew Pinski --- What I don't understand is how the alignment of the function argument 64 bytes aligned being taken into account here ... The alignment of the argument type is still 4 byte aligned even because of the

[Bug target/108910] [13 Regression] Further ICE in aarch64_layout_arg

2023-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108910 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |13.0 Ever confirmed|0

[Bug target/108910] New: [13 Regression] Further ICE in aarch64_layout_arg

2023-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108910 Bug ID: 108910 Summary: [13 Regression] Further ICE in aarch64_layout_arg Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug preprocessor/48839] #error should terminate compilation - similar to missing #include

2023-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48839 --- Comment #13 from Andrew Pinski --- Note C23 has the following under "4. Conformance": The implementation shall not successfully translate a preprocessing translation unit containing a #error preprocessing directive unless it is part of a

[Bug preprocessor/48839] #error should terminate compilation - similar to missing #include

2023-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48839 Andrew Pinski changed: What|Removed |Added Assignee|paolo.carlini at oracle dot com|unassigned at gcc dot gnu.org

[Bug modula2/108261] modula-2 module registration process seems to fail with shared libraries.

2023-02-23 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108261 --- Comment #26 from Iain Sandoe --- (In reply to Gaius Mulley from comment #25) > Created attachment 54516 [details] > Proposed fix version 6 > > Version 6 (more coroutine tests) and RTint.mod with more descriptive > variable names. This

[Bug ada/108909] New: Build process does not honor discovered path to "gnatmake" and "gnatlink"

2023-02-23 Thread emr-gnu at hev dot psu.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108909 Bug ID: 108909 Summary: Build process does not honor discovered path to "gnatmake" and "gnatlink" Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity:

[Bug libstdc++/108030] `std::experimental::simd` not inlined

2023-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108030 --- Comment #11 from CVS Commits --- The releases/gcc-11 branch has been updated by Matthias Kretz : https://gcc.gnu.org/g:a1f70114f9bae5a1dbcec4b556c16716601fccf1 commit r11-10543-ga1f70114f9bae5a1dbcec4b556c16716601fccf1 Author: Matthias

[Bug sanitizer/108894] -fsanitize=bounds missing bounds provided by __builtin_dynamic_object_size()

2023-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108894 --- Comment #8 from Jakub Jelinek --- (In reply to qinzhao from comment #7) > 1. let -fstrict-flex-arrays=N to control the behavior of -fsanitize=bounds; I'm ok with that. > 2. -fsanitize=bounds-strict actually is an alias of

[Bug sanitizer/108894] -fsanitize=bounds missing bounds provided by __builtin_dynamic_object_size()

2023-02-23 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108894 qinzhao at gcc dot gnu.org changed: What|Removed |Added CC||qinzhao at gcc dot gnu.org

[Bug tree-optimization/108908] [13 regression] r13-6278-g3da77f217c8b20 causes ICE

2023-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108908 --- Comment #1 from Andrew Pinski --- Was this not fixed by r13-6296-g31cc5821223a096ef61743bff520f4a0dbba5872 (aka PR 10 )?

[Bug tree-optimization/108908] New: [13 regression] r13-6278-g3da77f217c8b20 causes ICE

2023-02-23 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108908 Bug ID: 108908 Summary: [13 regression] r13-6278-g3da77f217c8b20 causes ICE Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug other/108907] ira-color.cc:3028:1: error: definition in block 5 follows the use

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

[Bug other/108907] New: ira-color.cc:3028:1: error: definition in block 5 follows the use

2023-02-23 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108907 Bug ID: 108907 Summary: ira-color.cc:3028:1: error: definition in block 5 follows the use Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug c/69960] "initializer element is not constant"

2023-02-23 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69960 --- Comment #24 from joseph at codesourcery dot com --- On Thu, 23 Feb 2023, daniel.lundin.mail at gmail dot com via Gcc-bugs wrote: > In this code > > static const int y = 1; > static int x = y; > > y is not an integer constant expression,

[Bug libgomp/108895] [13.0.1 (exp)] Fortran + gfx90a !$acc update device produces a segfault.

2023-02-23 Thread hberre3 at gatech dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108895 --- Comment #2 from Henry Le Berre --- Thank you Thomas for your swift reply! I would also like to thank you for fixing the previous bug I had reported, it is sincerely appreciated. I will take a look at the devel/omp/gcc-12 branch to see how

[Bug preprocessor/107818] Overflow of linemap breaks its chronological order

2023-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107818 --- Comment #1 from Andrew Pinski --- include/line-map.h:const location_t LINE_MAP_MAX_LOCATION_WITH_PACKED_RANGES = 0x5000; include/line-map.h:const location_t LINE_MAP_MAX_LOCATION_WITH_COLS = 0x6000; include/line-map.h:const

[Bug fortran/108621] [12/13 regression]: bind(c) pointer array spurious maybe-uninitialized warning

2023-02-23 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108621 --- Comment #5 from Tobias Burnus --- The warning itself is bogus (false positive in the middle end). I get: Warning: ‘f.dim[idx.1_32].lbound’ may be used uninitialized [-Wmaybe-uninitialized] If I now look at the 021t.ssa dump, I see:

[Bug middle-end/108906] New: Bogus may be used uninitialized warning

2023-02-23 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108906 Bug ID: 108906 Summary: Bogus may be used uninitialized warning Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority:

[Bug target/108881] "__builtin_ia32_cvtne2ps2bf16_v16hi" compiled only with option -mavx512bf16 report ICE.

2023-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108881 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug libstdc++/108846] std::copy, std::copy_n and std::copy_backward on potentially overlapping subobjects

2023-02-23 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108846 --- Comment #11 from Arthur O'Dwyer --- (In reply to Jonathan Wakely from comment #10) > std::move(x,y,z) and std::copy(z,y,z) use the same underlying > implementation, so it does have the same issue, but will be fixed by the > same change.

[Bug libstdc++/108846] std::copy, std::copy_n and std::copy_backward on potentially overlapping subobjects

2023-02-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108846 --- Comment #10 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #7) > I suspect std::move has the same issue too. The ability to use memmove with > trivial copyable subobjects ... std::move(x,y,z) and std::copy(z,y,z) use the

[Bug libstdc++/108846] std::copy, std::copy_n and std::copy_backward on potentially overlapping subobjects

2023-02-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108846 --- Comment #9 from Jonathan Wakely --- (In reply to Giuseppe D'Angelo from comment #5) > https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/include/bits/ > stl_algobase.h#L417-L437 > > Is the extent of the fix just to add another

[Bug libstdc++/108846] std::copy, std::copy_n and std::copy_backward on potentially overlapping subobjects

2023-02-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108846 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/108881] "__builtin_ia32_cvtne2ps2bf16_v16hi" compiled only with option -mavx512bf16 report ICE.

2023-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108881 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug c++/108848] [10/11/12/13 Regression] template keyword incorreclty required to access template class static member of non-dependent expression using member syntax in dependent context

2023-02-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108848 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug target/108902] Conversions std::float16_t<->float with FP16C are not vectorized

2023-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108902 --- Comment #2 from Andrew Pinski --- -std=c++23 -march=x86-64-v3 -O3 -mno-vzeroupper

[Bug ipa/108871] attribute nonnull does not spot nullptr O2 and above when function inlined

2023-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108871 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug libstdc++/108030] `std::experimental::simd` not inlined

2023-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108030 --- Comment #10 from CVS Commits --- The releases/gcc-12 branch has been updated by Matthias Kretz : https://gcc.gnu.org/g:8e171d840584a564993201101cd1f2e920e7aecb commit r12-9200-g8e171d840584a564993201101cd1f2e920e7aecb Author: Matthias

[Bug testsuite/108899] [13 Regression] ERROR: can't rename to "saved-unsupported": command already exists on i386

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

[Bug ipa/108871] attribute nonnull does not spot nullptr O2 and above when function inlined

2023-02-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108871 --- Comment #5 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #3) > *** Bug 108893 has been marked as a duplicate of this bug. *** N.B. this one is about __attribute__((access(read_only, 1))) not nonnull. The docs already

[Bug testsuite/108899] [13 Regression] ERROR: can't rename to "saved-unsupported": command already exists on i386

2023-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108899 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:5592679df783547049efc6d73727c5ff809ec302 commit r13-6306-g5592679df783547049efc6d73727c5ff809ec302 Author: Jakub Jelinek Date:

[Bug middle-end/108854] [10/11/12/13 Regression] tbb-2021.8.0 fails on i686-linux (32-bit), internal compiler error: in expand_expr_real_1, at expr.c:10281 since r10-4511-g6cf67b62c8cda035dccac

2023-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108854 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug target/97276] A whole if-block is ignored by avr-gcc 9.3.0

2023-02-23 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97276 --- Comment #5 from Georg-Johann Lay --- ... also tried v9.2 via https://godbolt.org/z/9r3vMj1e3 and just like with v8.5, the respective block is around asm line 350.

  1   2   >