[Bug libfortran/118935] Segmentation fault in 'libgomp.fortran/rwlock_1.f90' when compiling libgfortran with '-O0'

2025-02-19 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118935 --- Comment #9 from Xi Ruoyao --- (In reply to Jerry DeLisle from comment #7) > More importantly I dont believe it is legitimate to run fortran IO in a > libgomp environment at all. It was and is not designed to run omp_parallel. > The fortran

[Bug tree-optimization/86270] [12/13/14 Regression] Simple loop needs an extra register and an extra instruction

2025-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86270 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Known to work|

[Bug target/118936] [15 Regression] ICE in ix86_finalize_stack_frame_flags, at config/i386/i386.cc:8683

2025-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118936 --- Comment #13 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:83bc61c9fd6581d0a4c4ee16bdfdaeedcdd6ebcd commit r15-7636-g83bc61c9fd6581d0a4c4ee16bdfdaeedcdd6ebcd Author: H.J. Lu Date: Wed Feb 19 1

[Bug tree-optimization/86270] [12/13/14/15 Regression] Simple loop needs an extra register and an extra instruction

2025-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86270 --- Comment #18 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:94d01a884702934bc03ccedff62e2c65515c8c83 commit r15-7637-g94d01a884702934bc03ccedff62e2c65515c8c83 Author: Richard Biener Date:

[Bug c++/118924] [12/13/14/15 regression] Wrong code at -O2 and above leading to uninitialized accesses on aarch64-linux-gnu since r10-917-g3b47da42de621c

2025-02-19 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118924 --- Comment #10 from rguenther at suse dot de --- On Wed, 19 Feb 2025, pinskia at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118924 > > --- Comment #9 from Andrew Pinski --- > The reason why it works with the C fron

[Bug target/118950] [14/15 regression] RISC-V: rv64gcv runtime mismatch at -O3 since r14-4038-gb975c0dc3be

2025-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118950 Richard Biener changed: What|Removed |Added Keywords||wrong-code Target|

[Bug c/118948] [15 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in tree_single_nonnegative_warnv_p, at fold-const.cc:14878 since r15-328

2025-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118948 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug rtl-optimization/118947] Missed optimization: GCC forgets stack buffer contents across function call

2025-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118947 Richard Biener changed: What|Removed |Added Keywords||alias, missed-optimization --- Comment

[Bug rtl-optimization/118946] Missed optimization: GCC reserves stack space for optimized-out variable

2025-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118946 Richard Biener changed: What|Removed |Added Keywords||missed-optimization --- Comment #1 fro

[Bug target/118940] [15 regression] [x86] Failure to build ipxe (inline assembly fails with 'asm' operand has impossible constraints or there are not enough registers) since r15-2217-ga3f03891065cb9

2025-02-19 Thread shankerwangmiao at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 --- Comment #12 from Miao Wang --- (In reply to Hongtao Liu from comment #11) > (In reply to Miao Wang from comment #10) > > (In reply to Hongtao Liu from comment #9) > > > > > > > > > Because I think the operands usage is broken. > > > > > >

[Bug libfortran/118935] Segmentation fault in 'libgomp.fortran/rwlock_1.f90' when compiling libgfortran with '-O0'

2025-02-19 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118935 --- Comment #8 from chenglulu --- (In reply to Jerry DeLisle from comment #7) > (In reply to chenglulu from comment #1) > > Upon debugging, it was discovered that if the '-O0' option is used to > > compile the `find_file0` function in `libgfortr

[Bug libstdc++/115209] The implementation of concat_view refers to p2542r7 rather than the p2542r8

2025-02-19 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115209 --- Comment #4 from 康桓瑋 --- > Our concat_view implementation is accidentally based off of an older > revision of the paper, P2542R7 instead of R8. As far as I can tell the > only semantic change in the final revision is the relaxed

[Bug c/118948] [15 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in tree_single_nonnegative_warnv_p, at fold-const.cc:14878 since r15-328

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

[Bug target/118940] [15 regression] [x86] Failure to build ipxe (inline assembly fails with 'asm' operand has impossible constraints or there are not enough registers) since r15-2217-ga3f03891065cb9

2025-02-19 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 --- Comment #11 from Hongtao Liu --- (In reply to Miao Wang from comment #10) > (In reply to Hongtao Liu from comment #9) > > > > > > > Because I think the operands usage is broken. > > > > > > Additionally, by removing the do{ ... } while(0)

[Bug libfortran/118935] Segmentation fault in 'libgomp.fortran/rwlock_1.f90' when compiling libgfortran with '-O0'

2025-02-19 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118935 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org --- Commen

[Bug tree-optimization/107699] [12/13/14/15 Regression] False positive -Warray-bounds, non-existent offset reported by GCC

2025-02-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107699 --- Comment #16 from Jeffrey A. Law --- Even if it doesn't help this diagnostic, it would be a good thing to do since it would make the second conditional statically computable.

[Bug target/118940] [15 regression] [x86] Failure to build ipxe (inline assembly fails with 'asm' operand has impossible constraints or there are not enough registers) since r15-2217-ga3f03891065cb9

2025-02-19 Thread shankerwangmiao at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 --- Comment #10 from Miao Wang --- (In reply to Hongtao Liu from comment #9) > > > > > Because I think the operands usage is broken. > > > > Additionally, by removing the do{ ... } while(0) wrap from > > bigint_test_exec(), the issue disappear

[Bug target/118940] [15 regression] [x86] Failure to build ipxe (inline assembly fails with 'asm' operand has impossible constraints or there are not enough registers) since r15-2217-ga3f03891065cb9

2025-02-19 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 --- Comment #9 from Hongtao Liu --- > > > Because I think the operands usage is broken. > > Additionally, by removing the do{ ... } while(0) wrap from > bigint_test_exec(), the issue disappears. I believe that if it is the > operands usage is

[Bug rtl-optimization/118914] [15 Regression] rev16_2.c fails since r15-268

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118914 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug tree-optimization/110645] [12/13/14/15 regression] False positive -Warray-bounds warning

2025-02-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110645 --- Comment #2 from Jeffrey A. Law --- In the bowels of the relevant code, if we don't know the range of the source size, then we set is to the range of the destination size. I vaguely recall Martin doing this, but nothing about the reasoning b

[Bug libstdc++/115209] The implementation of concat_view refers to p2542r7 rather than the p2542r8

2025-02-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115209 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug libstdc++/115209] The implementation of concat_view refers to p2542r7 rather than the p2542r8

2025-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115209 --- Comment #2 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:8543dc52d84662e3fc0b8b6ac5e98ce13ebe9ad9 commit r15-7632-g8543dc52d84662e3fc0b8b6ac5e98ce13ebe9ad9 Author: Patrick Palka Date: W

[Bug c/118948] [15 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in tree_single_nonnegative_warnv_p, at fold-const.cc:14878 since r15-328

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118948 Andrew Pinski changed: What|Removed |Added Summary|[15 Regression] ICE: tree |[15 Regression] ICE: tree

[Bug c/118948] [15 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in tree_single_nonnegative_warnv_p, at fold-const.cc:14878

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118948 --- Comment #1 from Andrew Pinski --- Created attachment 60538 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60538&action=edit Reduced testcase

[Bug c/118948] [15 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in tree_single_nonnegative_warnv_p, at fold-const.cc:14878

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118948 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0 Summary|ICE: tree check

[Bug libfortran/118935] Segmentation fault in 'libgomp.fortran/rwlock_1.f90' when compiling libgfortran with '-O0'

2025-02-19 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118935 --- Comment #6 from chenglulu --- I have obtained the following information: == WARNING: ThreadSanitizer: data race (pid=2647316) Read of size 8 at 0x7fffeb336f08 by thread T7 (mutexes: read M0): #0 find_file0 (libgfortran

[Bug rtl-optimization/81501] mulitple calls to __tls_get_addr() with -fPIC

2025-02-19 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81501 H.J. Lu changed: What|Removed |Added Attachment #53473|0 |1 is obsolete|

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2025-02-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 110764, which changed state. Bug 110764 Summary: [12/13/14/15 Regression] False positive -Warray-bounds warning swapping std::thread::id https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110764 What|Removed

[Bug middle-end/110764] [12/13/14/15 Regression] False positive -Warray-bounds warning swapping std::thread::id

2025-02-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110764 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/111696] [12/13/14/15 Regression] Spurious -Wstringop-overflow since r11-7497-g8d57bdadd2d9c2

2025-02-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111696 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/118940] [15 regression] [x86] Failure to build ipxe (inline assembly fails with 'asm' operand has impossible constraints or there are not enough registers) since r15-2217-ga3f03891065cb9

2025-02-19 Thread shankerwangmiao at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 --- Comment #8 from Miao Wang --- (In reply to Andrew Pinski from comment #5) > Note I suspect using C with some (generic) builtins might be faster than > what the inline-asm could provide these days than the inline-asm that was > used. Plus I d

[Bug target/118940] [15 regression] [x86] Failure to build ipxe (inline assembly fails with 'asm' operand has impossible constraints or there are not enough registers) since r15-2217-ga3f03891065cb9

2025-02-19 Thread shankerwangmiao at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 --- Comment #7 from Miao Wang --- (In reply to Andrew Pinski from comment #6) > (In reply to Miao Wang from comment #3) > > (In reply to Andrew Pinski from comment #2) > > > I am suspect the inline-asm is just broken rather than the compiler bei

[Bug target/118950] [14/15 regression] RISC-V: rv64gcv runtime mismatch at -O3 since r14-4038-gb975c0dc3be

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118950 --- Comment #3 from Andrew Pinski --- Note I think -O3 -fwhole-program is enough to reproduce it and you don't need -flto.

[Bug target/118950] [14/15 regression] RISC-V: rv64gcv runtime mismatch at -O3 since r14-4038-gb975c0dc3be

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118950 --- Comment #2 from Andrew Pinski --- _304 = _113 != 0; _373 = _113 == 0; _305 = _132 != 0; _377 = _132 == 0; _597 = () _377; _598 = [vec_duplicate_expr] _597; _599 = _359 + 20; _602 = VIEW_CONVERT_EXPR(_305); _603 = [vec_dupli

[Bug tree-optimization/114360] [12/13/14 regression] Bogus -Wmaybe-uninitialized inside std::map internals with -O3

2025-02-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114360 Jeffrey A. Law changed: What|Removed |Added Summary|[12/13/14/15 regression]|[12/13/14 regression] Bogus

[Bug tree-optimization/114592] [12/13/14 regression] Bogus `maybe-uninitialized` on std::variant with std::string with -O3

2025-02-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114592 Jeffrey A. Law changed: What|Removed |Added Summary|[12/13/14/15 regression]|[12/13/14 regression] Bogus

[Bug target/118950] [14/15 regression] RISC-V: rv64gcv runtime mismatch at -O3 since r14-4038-gb975c0dc3be

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118950 --- Comment #1 from Andrew Pinski --- Looks related to PR 116059 and the load mask issue.

[Bug target/118949] RISC-V: Extra FRM writes since GCC-14.2

2025-02-19 Thread andrew at sifive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118949 Andrew Waterman changed: What|Removed |Added CC||andrew at sifive dot com --- Comment

[Bug tree-optimization/117204] [12/13/14/15 regression] After r12-2132-ga1108556677, bogus -Warray-bounds warnings in std::vector::back()

2025-02-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117204 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2025-02-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 117204, which changed state. Bug 117204 Summary: [12/13/14/15 regression] After r12-2132-ga1108556677, bogus -Warray-bounds warnings in std::vector::back() https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117204 W

[Bug target/118950] New: [14/15 regression] RISC-V: rv64gcv runtime mismatch at -O3 since r14-4038-gb975c0dc3be

2025-02-19 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118950 Bug ID: 118950 Summary: [14/15 regression] RISC-V: rv64gcv runtime mismatch at -O3 since r14-4038-gb975c0dc3be Product: gcc Version: 15.0 Status: UNCONFIRMED S

[Bug target/118949] New: RISC-V: Extra FRM writes since GCC-14.2

2025-02-19 Thread palmer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118949 Bug ID: 118949 Summary: RISC-V: Extra FRM writes since GCC-14.2 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug middle-end/118948] New: ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in tree_single_nonnegative_warnv_p, at fold-const.cc:14878

2025-02-19 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118948 Bug ID: 118948 Summary: ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in tree_single_nonnegative_warnv_p, at fold-const.cc:14878

[Bug tree-optimization/117482] [12/13/14/15 Regression] Bogus -Wstringop-overflow warning in intrusive list implementation

2025-02-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117482 Jeffrey A. Law changed: What|Removed |Added Target Milestone|12.5|16.0 --- Comment #2 from Jeffrey A. La

[Bug rtl-optimization/118914] [15 Regression] rev16_2.c fails since r15-268

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118914 --- Comment #3 from Andrew Pinski --- Created attachment 60536 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60536&action=edit patch under testing

[Bug rtl-optimization/118914] [15 Regression] rev16_2.c fails since r15-268

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

[Bug target/118945] RISC-V: VSETL pass: Don't promote Vectors ops from Tail agnostic to Tail Undisturbed

2025-02-19 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118945 --- Comment #4 from Vineet Gupta --- The following hack does prevent the fusion + inline bool tail_policy_eq2_p (const vsetvl_info &prev, +const vsetvl_info &next) + { +return (((prev.get_policy_demand () =

[Bug target/118945] RISC-V: VSETL pass: Don't promote Vectors ops from Tail agnostic to Tail Undisturbed

2025-02-19 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118945 --- Comment #3 from Vineet Gupta --- (In reply to JuzheZhong from comment #2) > I have thought about this long time ago while I am working on supporting RVV > on upstream GCC. > > https://github.com/riscv-non-isa/riscv-toolchain-conventions/iss

[Bug rtl-optimization/118914] [15 Regression] rev16_2.c fails since r15-268

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118914 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Component|target

[Bug target/118945] RISC-V: VSETL pass: Don't promote Vectors ops from Tail agnostic to Tail Undisturbed

2025-02-19 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118945 --- Comment #2 from JuzheZhong --- I have thought about this long time ago while I am working on supporting RVV on upstream GCC. https://github.com/riscv-non-isa/riscv-toolchain-conventions/issues/37 I suggested we should have -mprefer-agnosti

[Bug rtl-optimization/118946] New: Missed optimization: GCC reserves stack space for optimized-out variable

2025-02-19 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118946 Bug ID: 118946 Summary: Missed optimization: GCC reserves stack space for optimized-out variable Product: gcc Version: unknown Status: UNCONFIRMED Severity: no

[Bug rtl-optimization/118947] New: Missed optimization: GCC forgets stack buffer contents across function call

2025-02-19 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118947 Bug ID: 118947 Summary: Missed optimization: GCC forgets stack buffer contents across function call Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug target/116623] [15 regression] regressions on arm-linux-gnueabihf since r15-1619-g3b9b8d6cfdf593

2025-02-19 Thread thiago.bauermann at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116623 Thiago Jung Bauermann changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONF

[Bug target/116623] [15 regression] regressions on arm-linux-gnueabihf since r15-1619-g3b9b8d6cfdf593

2025-02-19 Thread thiago.bauermann at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116623 --- Comment #3 from Thiago Jung Bauermann --- (In reply to Thiago Jung Bauermann from comment #2) > I also checked the bfloat16_scalar_*.c failures, and they're still present. I checked again today and now the bfloat16_scalar_*.c failures are

[Bug rtl-optimization/116604] [15 regression] regressions on aarch64 since r15-1619-g3b9b8d6cfdf593

2025-02-19 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116604 Richard Sandiford changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org

[Bug c++/118924] [12/13/14/15 regression] Wrong code at -O2 and above leading to uninitialized accesses on aarch64-linux-gnu since r10-917-g3b47da42de621c

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118924 --- Comment #9 from Andrew Pinski --- The reason why it works with the C front-end is actaully because of r9-6782-g2a82beaa820410. There C front-end explictly makes enum and the underlying integer types have the same aliasing set. So the questi

[Bug fortran/118932] Testcase gfortran.dg/binding_label_tests_34.f90 needs standard checking

2025-02-19 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118932 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment

[Bug c++/118924] [12/13/14/15 regression] Wrong code at -O2 and above leading to uninitialized accesses on aarch64-linux-gnu since r10-917-g3b47da42de621c

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118924 --- Comment #8 from Andrew Pinski --- https://lists.isocpp.org/std-discussion/2022/05/1656.php

[Bug other/118802] [15 regression] Bootstrap comparison failure on libphobos/libdruntime/core/internal/gc/impl/conservative/gc.o

2025-02-19 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118802 --- Comment #14 from Iain Buclaw --- (In reply to Sam James from comment #13) > Thanks Iain. > > Building stage0 with STAGE1_C{,XX}FLAGS="-O0" works. I'll try reproduce > manually next. At the bottom of the conservative/gc.d module (well, almos

[Bug target/118940] [15 regression] [x86] Failure to build ipxe (inline assembly fails with 'asm' operand has impossible constraints or there are not enough registers) since r15-2217-ga3f03891065cb9

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 --- Comment #6 from Andrew Pinski --- (In reply to Miao Wang from comment #3) > (In reply to Andrew Pinski from comment #2) > > I am suspect the inline-asm is just broken rather than the compiler being > > broken ... > > However, by replacing t

[Bug target/118945] RISC-V: VSETL pass: Don't promote Vectors ops from Tail agnostic to Tail Undisturbed

2025-02-19 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118945 --- Comment #1 from Vineet Gupta --- Looking at the VSETVL dumps: Splitting with gen_split_2313 (vector.md:1777) scanning new insn with uid = 70. # New VSETVL for vector load deleting insn with uid = 16. # or

[Bug target/118940] [15 regression] [x86] Failure to build ipxe (inline assembly fails with 'asm' operand has impossible constraints or there are not enough registers) since r15-2217-ga3f03891065cb9

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 --- Comment #5 from Andrew Pinski --- Note I suspect using C with some (generic) builtins might be faster than what the inline-asm could provide these days than the inline-asm that was used. Plus I doubt the speed of big-int would ever be the bo

[Bug target/118945] New: RISC-V: VSETL pass: Don't promote Vectors ops from Tail agnostic to Tail Undisturbed

2025-02-19 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118945 Bug ID: 118945 Summary: RISC-V: VSETL pass: Don't promote Vectors ops from Tail agnostic to Tail Undisturbed Product: gcc Version: 15.0 Status: UNCONFIRMED Key

[Bug testsuite/113005] 'libgomp.fortran/rwlock_1.f90', 'libgomp.fortran/rwlock_3.f90' execution test timeouts

2025-02-19 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113005 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org See Als

[Bug c++/118944] New: deduced conflicting types for explicitly specified (non-deduced) template parameter in explicit object member function of struct template

2025-02-19 Thread waffl3x at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118944 Bug ID: 118944 Summary: deduced conflicting types for explicitly specified (non-deduced) template parameter in explicit object member function of struct template Product: g

[Bug target/118938] C++ compiler fails to build for m68k-linux-gnu

2025-02-19 Thread wbx at openadk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118938 Waldemar Brodkorb changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/118938] C++ compiler fails to build for m68k-linux-gnu

2025-02-19 Thread wbx at openadk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118938 --- Comment #7 from Waldemar Brodkorb --- This code was the culprit: https://cgit.openadk.org/cgi/cgit/openadk.git/tree/toolchain/gcc/Makefile#n327 I have once got it from simplelinux from Greg Ungerer for coldfire/m68k builds. I don't remember

[Bug target/118938] C++ compiler fails to build for m68k-linux-gnu

2025-02-19 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118938 Mikael Pettersson changed: What|Removed |Added CC||mikpelinux at gmail dot com --- Com

[Bug ada/118939] ada: executable segfaults on arm-linux-gnueabi when assigning an access to controlled type

2025-02-19 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118939 Matthias Klose changed: What|Removed |Added CC||doko at gcc dot gnu.org --- Comment #1

[Bug target/118942] [14/15 Regression] vld1q_s{8,16}_x{3,4} use incorrect pointer type

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

[Bug tree-optimization/117829] [12/13/14/15 regression] False positive report for Warray-bounds with -O2

2025-02-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117829 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/71233] [ARM, AArch64] missing AdvSIMD intrinsics

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71233 --- Comment #76 from Andrew Pinski --- Note r14-7202-gc8ec3e1327cb1e added few more.

[Bug target/118942] [14/15 Regression] vld1q_s{8,16}_x{3,4} use incorrect pointer type

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118942 Andrew Pinski changed: What|Removed |Added CC||info at kleisauke dot nl --- Comment #1

[Bug target/118943] [Arm][Neon] incorrect types for vld1q_[s8,s16]_[x3,x4] intrinsics

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118943 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug target/118940] [15 regression] [x86] Failure to build ipxe (inline assembly fails with 'asm' operand has impossible constraints or there are not enough registers) since r15-2217-ga3f03891065cb9

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 --- Comment #4 from Andrew Pinski --- bigint_init_raw inline-asm is broken but I am not sure that is the issue though.

[Bug target/118943] New: [Arm][Neon] incorrect types for vld1q_[s8,s16]_[x3,x4] intrinsics

2025-02-19 Thread info at kleisauke dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118943 Bug ID: 118943 Summary: [Arm][Neon] incorrect types for vld1q_[s8,s16]_[x3,x4] intrinsics Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal

[Bug target/118942] New: [14/15 Regression] vld1q_s{8, 16}_x{3, 4} use incorrect pointer type

2025-02-19 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118942 Bug ID: 118942 Summary: [14/15 Regression] vld1q_s{8,16}_x{3,4} use incorrect pointer type Product: gcc Version: 14.2.0 Status: UNCONFIRMED Keywords: rejects-v

[Bug target/118936] [15 Regression] ICE in ix86_finalize_stack_frame_flags, at config/i386/i386.cc:8683

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118936 --- Comment #11 from Andrew Pinski --- Created attachment 60533 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60533&action=edit Reduced testcase

[Bug target/118940] [15 regression] [x86] Failure to build ipxe (inline assembly fails with 'asm' operand has impossible constraints or there are not enough registers) since r15-2217-ga3f03891065cb9

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 --- Comment #2 from Andrew Pinski --- I am suspect the inline-asm is just broken rather than the compiler being broken ...

[Bug target/118940] [15 regression] [x86] Failure to build ipxe (inline assembly fails with 'asm' operand has impossible constraints or there are not enough registers) since r15-2217-ga3f03891065cb9

2025-02-19 Thread shankerwangmiao at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 --- Comment #3 from Miao Wang --- (In reply to Andrew Pinski from comment #2) > I am suspect the inline-asm is just broken rather than the compiler being > broken ... However, by replacing the inline-asm with a simple nop, the issue persists. B

[Bug target/118938] C++ compiler fails to build for m68k-linux-gnu

2025-02-19 Thread wbx at openadk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118938 --- Comment #5 from Waldemar Brodkorb --- (In reply to Mikael Pettersson from comment #3) > Is that before or after you built the target glibc? It is after target glibc build.

[Bug target/118936] [15 Regression] ICE in ix86_finalize_stack_frame_flags, at config/i386/i386.cc:8683

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118936 Andrew Pinski changed: What|Removed |Added Keywords|needs-reduction | --- Comment #12 from Andrew Pinski --

[Bug target/114910] can't build a c6x cross compiler

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114910 Andrew Pinski changed: What|Removed |Added CC||joel at gcc dot gnu.org --- Comment #12

[Bug target/118941] tic6x-elf: "Error: label not at start of execute packet" when building libstdc++ for C++23

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118941 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug target/118940] [15 regression] [x86] Failure to build ipxe (inline assembly fails with 'asm' operand has impossible constraints or there are not enough registers) since r15-2217-ga3f03891065cb9

2025-02-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 Sam James changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org Summ

[Bug target/118940] [15 regression] [x86] Failure to build ipxe (inline assembly fails with 'asm' operand has impossible constraints or there are not enough registers)

2025-02-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 Sam James changed: What|Removed |Added Component|c |target Keywords|

[Bug target/118941] New: tic6x-elf: "Error: label not at start of execute packet" when building libstdc++ for C++23

2025-02-19 Thread joel at gcc dot gnu.org via Gcc-bugs
from their respective masters as of 19 February 2025 in one-tree style, a build targeting tic6x-elf fails if C++ is enabled. When built for just C, gcc reports this as the version: tic6x-elf-gcc (GCC) 15.0.1 20250219 (experimental) After enabling C++, failure output is as follows: libtool: compi

[Bug other/118802] [15 regression] Bootstrap comparison failure on libphobos/libdruntime/core/internal/gc/impl/conservative/gc.o

2025-02-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118802 Sam James changed: What|Removed |Added Keywords||wrong-code --- Comment #13 from Sam James

[Bug c/118940] New: [x86] inline assembly fails with 'asm' operand has impossible constraints or there are not enough registers

2025-02-19 Thread shankerwangmiao at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 Bug ID: 118940 Summary: [x86] inline assembly fails with 'asm' operand has impossible constraints or there are not enough registers Product: gcc Version: 15.0

[Bug tree-optimization/118521] [15 regression] std::vector Wstringop-overflow false positive since r15-4473

2025-02-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118521 Jeffrey A. Law changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug target/118938] C++ compiler fails to build for m68k-linux-gnu

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118938 --- Comment #4 from Andrew Pinski --- --enable-cxx-flags=-fPIC I am not sure why you are using that but this while building the -mcpu=68000 multi-lib.

[Bug ada/118939] New: ada: executable segfaults on arm-linux-gnueabi when assigning an access to controlled type

2025-02-19 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118939 Bug ID: 118939 Summary: ada: executable segfaults on arm-linux-gnueabi when assigning an access to controlled type Product: gcc Version: 14.2.0 Status: UNCONFIRMED

[Bug c++/118938] C++ compiler fails to build for m68k-linux-gnu

2025-02-19 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118938 --- Comment #3 from Mikael Pettersson --- Is that before or after you built the target glibc?

[Bug c++/118938] C++ compiler fails to build for m68k-linux-gnu

2025-02-19 Thread wbx at openadk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118938 --- Comment #2 from Waldemar Brodkorb --- with following command: /home/wbx/openadk/toolchain_build_qemu-m68k-q800_glibc_68040/w-gcc-14.2.0-1/gcc-14.2.0/configure --prefix=/home/wbx/openadk/toolchain_qemu-m68k-q800_glibc_68040/usr --with-bugurl

[Bug tree-optimization/118915] [12/13/14/15 Regression] Miscompile at -O2 since r5-4218-g73049af5fa62c7

2025-02-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118915 --- Comment #7 from Sam James --- In some older testcases, you may see (__builtin_)exit(1) as well, but it's not common. Thanks for looking!

[Bug tree-optimization/118915] [12/13/14/15 Regression] Miscompile at -O2 since r5-4218-g73049af5fa62c7

2025-02-19 Thread kristerw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118915 --- Comment #6 from Krister Walfridsson --- (In reply to Andrew Pinski from comment #3) > I am kinda of shock that smtgcc didn't find this earlier. My guess is that the relevant testcases are written similarly to ``` int main() { if (b(a + 21

[Bug tree-optimization/118521] [15 regression] std::vector Wstringop-overflow false positive since r15-4473

2025-02-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118521 --- Comment #7 from Jeffrey A. Law --- In the simplified testcase we have: [local count: 131235111]: MEM [(char * {ref-all})_53] = MEM [(char * {ref-all})&C.0]; __result_46 = _53 + 2; _150 = operator new (4); goto ; [100.00%] So _150 poin

[Bug tree-optimization/118915] [12/13/14/15 Regression] Miscompile at -O2 since r5-4218-g73049af5fa62c7

2025-02-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118915 Sam James changed: What|Removed |Added Keywords|needs-bisection | Summary|[12/13/14/15 Regression

[Bug ipa/118318] [15 regression] ICE when building firefox-134.0 with PGO

2025-02-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118318 --- Comment #14 from Sam James --- (In reply to Jan Hubicka from comment #13) > Thanks for running this through debugger > Breakpoint 2.2, profile_count::operator+= (this=0x76e7e888, other=...) > at > /usr/src/debug/sys-devel/gcc-15.0./g

[Bug c++/118938] C++ compiler fails to build for m68k-linux-gnu

2025-02-19 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118938 --- Comment #1 from Mikael Pettersson --- How did you configure this gcc?

  1   2   >