[Bug target/118892] [14/15 Regression] ICE (segfault) in rebuild_jump_labels on aarch64-linux-gnu since r14-5289

2025-02-27 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118892 --- Comment #13 from Tamar Christina --- (In reply to Jakub Jelinek from comment #12) > E.g. the i386 backend usually uses force_reg in this case. If the operand > is a REG, it does nothing, if it is a SUBREG, it is forced into a temporary > an

[Bug libstdc++/112490] infinite meta error in reverse_iterator::iterator>>

2025-02-27 Thread gessos.paul at yahoo dot gr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112490 --- Comment #8 from Chameleon --- No, it is partially fixed. Please patch also this: template<__detail::__not_a_const_iterator _Sent, same_as _Self> requires sized_sentinel_for<_Sent, _It> friend constexpr differenc

[Bug jit/117047] [15 regression] Segfault in libgccjit garbage collection when compiling GNU Emacs with Native Compilation since r15-571-g1e0ae1f52741f7

2025-02-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117047 --- Comment #39 from Richard Biener --- playback::rvalue * playback::context:: new_bitcast (location *loc, rvalue *expr, type *type_) { tree expr_size = TYPE_SIZE (expr->get_type ()->as_tree ()); Hmm, so the issue is

[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-27 Thread shankerwangmiao at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 --- Comment #17 from Miao Wang --- (In reply to GCC Commits from comment #15) > The master branch has been updated by Vladimir Makarov > : > > https://gcc.gnu.org/g:3071eb2848a2e748cfd67e8c897890ce06c69d06 > > commit r15-7730-g3071eb2848a2e748

[Bug jit/117047] [15 regression] Segfault in libgccjit garbage collection when compiling GNU Emacs with Native Compilation since r15-571-g1e0ae1f52741f7

2025-02-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117047 --- Comment #38 from Jakub Jelinek --- (In reply to Andrew Pinski from comment #34) > from ggc.h: > ``` > /* The internal primitive. */ > extern void *ggc_internal_alloc (size_t, void (*)(void *), size_t, > size

[Bug libstdc++/112490] infinite meta error in reverse_iterator::iterator>>

2025-02-27 Thread gessos.paul at yahoo dot gr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112490 --- Comment #7 from Chameleon --- It seems fixed.

[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-27 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 Depends on||115458 Assignee|unassigned at gcc

[Bug target/118538] throw not caught causing an seg fault rather than a `terminate called after throwing an instance of 'int'` message

2025-02-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118538 --- Comment #21 from Sam James --- (In reply to Disservin from comment #20) Could you try build a vanilla GCC in the github runner (possibly with --enable-default-pie or whatever else) and see if it fails using that? I can try spend some time

[Bug target/118996] Should TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P return false for APX?

2025-02-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118996 --- Comment #12 from H.J. Lu --- (In reply to H.J. Lu from comment #11) > Created attachment 60609 [details] > An untested patch Tested on x86-64 with RUNTESTFLAGS="--target_board='unix{-m32,}'". There are no regressions.

[Bug tree-optimization/89967] Inefficient code generation for vld2q_lane_u8 under aarch64

2025-02-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89967 --- Comment #7 from Andrew Pinski --- Ok, so my current patches actually make it worse because SRA decided to scalarize inbetween the builtins. That is because we don't look back over things that don't alias (in this case the clobber): ``` # .

[Bug c/119053] Miscompile at -O2/3

2025-02-27 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119053 --- Comment #2 from Yunbo Ni --- (In reply to Andrew Pinski from comment #1) > Dup. The only difference between this and PR 118922 is the variable names > and the offset is slightly different. > > Since this is the third issue you filed for th

[Bug target/118465] un-needed aligning the stack in some cases

2025-02-27 Thread bonzini at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118465 Paolo Bonzini changed: What|Removed |Added CC||bonzini at gnu dot org --- Comment #1 f

[Bug tree-optimization/118922] [13/14/15 regression] Miscompile at -O2/3 since r13-6945-g429a7a88438cc8

2025-02-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118922 --- Comment #10 from Andrew Pinski --- *** Bug 119053 has been marked as a duplicate of this bug. ***

[Bug c/119053] Miscompile at -O2/3

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

[Bug c/119053] New: Miscompile at -O2/3

2025-02-27 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119053 Bug ID: 119053 Summary: Miscompile at -O2/3 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassi

[Bug ipa/119012] [riscv] Bootstrap comparison failure: gcc/rust/rust-lex.o differs

2025-02-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119012 --- Comment #5 from Sam James --- Can you link me to your packaging script? Thanks.

[Bug ipa/119012] [riscv] Bootstrap comparison failure: gcc/rust/rust-lex.o differs

2025-02-27 Thread rsworktech at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119012 --- Comment #7 from Levi Zim --- (In reply to Levi Zim from comment #4) > (In reply to Andrew Pinski from comment #1) > > Can you attach the preprocessed source for rust-lex.cc ? > > > > The big difference between stage1 and stage2 is debug inf

[Bug ipa/119012] [riscv] Bootstrap comparison failure: gcc/rust/rust-lex.o differs

2025-02-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119012 --- Comment #8 from Sam James --- Thanks. First, try strip out various bits from the packaging like STAGE1_*FLAGS (which is only really safe if you're 100% sure the stage1 compiler is robust, and I would not make that bet for riscv at this time)

[Bug ipa/119012] [riscv] Bootstrap comparison failure: gcc/rust/rust-lex.o differs

2025-02-27 Thread rsworktech at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119012 --- Comment #6 from Levi Zim --- (In reply to Sam James from comment #5) > Can you link me to your packaging script? Thanks. Our packaging script is a patch[1] over Arch Linux's one[2]. After applying the patch, it is https://paste.rs/578r4 T

[Bug other/119052] New: [15 regression] Uninitialized memory use in selftest::check_line

2025-02-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119052 Bug ID: 119052 Summary: [15 regression] Uninitialized memory use in selftest::check_line Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: build

[Bug target/118996] Should TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P return false for APX?

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

[Bug other/119052] [15 regression] Uninitialized memory use in selftest::check_line

2025-02-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119052 Sam James changed: What|Removed |Added CC||ak at gcc dot gnu.org Target Milestone|--

[Bug ipa/119012] [riscv] Bootstrap comparison failure: gcc/rust/rust-lex.o differs

2025-02-27 Thread rsworktech at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119012 --- Comment #4 from Levi Zim --- (In reply to Andrew Pinski from comment #1) > Can you attach the preprocessed source for rust-lex.cc ? > > The big difference between stage1 and stage2 is debug info. Here are the preprocessed source (*.ii, *.s

[Bug target/118996] Should TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P return false for APX?

2025-02-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118996 --- Comment #9 from H.J. Lu --- (In reply to H.J. Lu from comment #8) > Created attachment 60607 [details] > A patch > > Here is the patch to change TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P to > return false for x86-64. This doesn't work: /ex

[Bug target/118996] Should TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P return false for APX?

2025-02-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118996 --- Comment #10 from H.J. Lu --- Testing this: diff --git a/gcc/ira.cc b/gcc/ira.cc index 885239d1b43..e93a596e2a9 100644 --- a/gcc/ira.cc +++ b/gcc/ira.cc @@ -2158,6 +2158,10 @@ decrease_live_ranges_number (void) || (targetm.small_regis

[Bug d/116961] [12/13/14/15 regression] Valgrind reports uninitialized memory use in dstruct.d (dmd.dstruct._isZeroInit(dmd.expression.Expression))

2025-02-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116961 --- Comment #11 from Sam James --- Bootstrap passed. I'll give it a few more runs but I suspect that's done it. Thank you!

[Bug c/41471] inline function calling inline function causes undef with -std=c99

2025-02-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41471 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #3 from Andrew Pin

[Bug c/37917] inline functions are lost when defining c99/gnu99 without inline optimizations

2025-02-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37917 Andrew Pinski changed: What|Removed |Added CC||bmei at broadcom dot com --- Comment #9

[Bug c/37917] inline functions are lost when defining c99/gnu99 without inline optimizations

2025-02-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37917 Andrew Pinski changed: What|Removed |Added CC||adam at adamrosenfield dot com --- Comme

[Bug middle-end/119051] New: Inline Function Behavior Varies Across Optimization Levels

2025-02-27 Thread xieym3 at zohomail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119051 Bug ID: 119051 Summary: Inline Function Behavior Varies Across Optimization Levels Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal

[Bug c/86360] "inline" (and neither static nor extern) function not emitted.

2025-02-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86360 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #7 from Andrew Pin

[Bug c/97945] undefined reference err when a function defined inline

2025-02-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97945 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #2 from Andrew Pin

[Bug c/37917] inline functions are lost when defining c99/gnu99 without inline optimizations

2025-02-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37917 Andrew Pinski changed: What|Removed |Added CC||dongjianqiang2 at huawei dot com --- Co

[Bug c/37917] inline functions are lost when defining c99/gnu99 without inline optimizations

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

[Bug c/37917] inline functions are lost when defining c99/gnu99 without inline optimizations

2025-02-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37917 Andrew Pinski changed: What|Removed |Added CC||garyfunck at gmail dot com --- Comment #

[Bug c/65219] GCC wrongly deletes a function which is not completely inlined.

2025-02-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65219 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #2 from Andrew Pin

[Bug c/49653] Undefined reference to inlined function with -O0,-std=c99

2025-02-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49653 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #12 from Andrew Pi

[Bug c/48194] gcc -std=c99 fails to link when calling inline function

2025-02-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48194 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #2 from Andrew Pin

[Bug jit/117047] [15 regression] Segfault in libgccjit garbage collection when compiling GNU Emacs with Native Compilation since r15-571-g1e0ae1f52741f7

2025-02-27 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117047 --- Comment #37 from David Malcolm --- Created attachment 60608 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60608&action=edit Excerpt from jit-playback.s This is an excerpt from the .s file for _ZN3gcc3jit8playback7context11new_bitcas

[Bug c/37917] inline functions are lost when defining c99/gnu99 without inline optimizations

2025-02-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37917 Andrew Pinski changed: What|Removed |Added CC||sje at cup dot hp.com --- Comment #6 fro

[Bug c/38754] C99 and inline has a linker problem

2025-02-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38754 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #3 from Andrew Pin

[Bug c/37917] inline functions are lost when defining c99/gnu99 without inline optimizations

2025-02-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37917 Andrew Pinski changed: What|Removed |Added CC||klein at cage dot ugent.be --- Comment #

[Bug c/119051] Inline Function Behavior Varies Across Optimization Levels

2025-02-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119051 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Component|middle-end

[Bug c/37917] inline functions are lost when defining c99/gnu99 without inline optimizations

2025-02-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37917 Andrew Pinski changed: What|Removed |Added CC||xieym3 at zohomail dot com --- Comment #

[Bug target/118996] Should TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P return false for APX?

2025-02-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118996 --- Comment #8 from H.J. Lu --- Created attachment 60607 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60607&action=edit A patch Here is the patch to change TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P to return false for x86-64.

[Bug d/116961] [12/13/14/15 regression] Valgrind reports uninitialized memory use in dstruct.d (dmd.dstruct._isZeroInit(dmd.expression.Expression))

2025-02-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116961 --- Comment #10 from Sam James --- Testing it now

[Bug d/116961] [12/13/14/15 regression] Valgrind reports uninitialized memory use in dstruct.d (dmd.dstruct._isZeroInit(dmd.expression.Expression))

2025-02-27 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
86_64-pc-linux-gnu/15/ -isystem ./gcc/include -isystem ./gcc/include-fixed ==4062041== GNU D (GCC) version 15.0.1 20250227 (experimental) (x86_64-pc-linux-gnu) compiled by GNU C version 15.0.1 20250227 (experimental), GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl

[Bug jit/117047] [15 regression] Segfault in libgccjit garbage collection when compiling GNU Emacs with Native Compilation since r15-571-g1e0ae1f52741f7

2025-02-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117047 --- Comment #36 from Sam James --- (In reply to Andrew Pinski from comment #34) > a simple test is to mark ggc_free as noinline (or noipa) or remove the > ATTRIBUTE_MALLOC usage from ggc.h header file. --- a/gcc/ggc.h +++ b/gcc/ggc.h @@ -127,8

[Bug rtl-optimization/116336] [14 Regression] LRA causes a compare debug with uninitialized variable since r14-8435-g476226290dba8c

2025-02-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116336 Sam James changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at g

[Bug d/116961] [12/13/14/15 regression] Valgrind reports uninitialized memory use in dstruct.d (dmd.dstruct._isZeroInit(dmd.expression.Expression))

2025-02-27 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116961 --- Comment #8 from Iain Buclaw --- Created attachment 60606 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60606&action=edit Patch in testing @Sam, currently building with the attached patch, if you are able to confirm it fixes PR118802

[Bug jit/117047] [15 regression] Segfault in libgccjit garbage collection when compiling GNU Emacs with Native Compilation since r15-571-g1e0ae1f52741f7

2025-02-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117047 --- Comment #35 from Sam James --- On another note -- David, at the moment, we're building libgccjit separately as is recommended at https://gcc.gnu.org/onlinedocs/jit/internals/index.html#packaging-notes but with --disable-bootstrap on the firs

[Bug d/116961] [12/13/14/15 regression] Valgrind reports uninitialized memory use in dstruct.d (dmd.dstruct._isZeroInit(dmd.expression.Expression))

2025-02-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116961 Sam James changed: What|Removed |Added Summary|Valgrind reports|[12/13/14/15 regression]

[Bug d/116961] Valgrind reports uninitialized memory use in dstruct.d (dmd.dstruct._isZeroInit(dmd.expression.Expression))

2025-02-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116961 Sam James changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/118996] Should TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P return false for APX?

2025-02-27 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118996 --- Comment #7 from Hongtao Liu --- (In reply to H.J. Lu from comment #6) > SMALL_REGISTER_CLASSES was added by > > commit c98f874233428d7e6ba83def7842fd703ac0ddf1 > Author: James Van Artsdalen > Date: Sun Feb 9 13:28:48 1992 + > >

[Bug d/116961] Valgrind reports uninitialized memory use in dstruct.d (dmd.dstruct._isZeroInit(dmd.expression.Expression))

2025-02-27 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116961 --- Comment #7 from Iain Buclaw --- Minimal test passes with gdc-11, fails from gdc-12 onwards.

[Bug d/116961] Valgrind reports uninitialized memory use in dstruct.d (dmd.dstruct._isZeroInit(dmd.expression.Expression))

2025-02-27 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116961 --- Comment #5 from Iain Buclaw --- (In reply to Andrei Horodniceanu from comment #4) > Sorry for the wait: > - > $ cat repro.d > module object; > struct Gcx > { > float thing = 0.0; > } Thanks, tweaked your test into: ``` module object

[Bug bootstrap/118802] [15 regression] Bootstrap comparison failure on libphobos/libdruntime/core/internal/gc/impl/conservative/gc.o since r15-7400-gd3ff498c478ace

2025-02-27 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 Depends on||116961 --- Comment #24 from Sam James ---

[Bug d/116961] Valgrind reports uninitialized memory use in dstruct.d (dmd.dstruct._isZeroInit(dmd.expression.Expression))

2025-02-27 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116961 --- Comment #6 from Iain Buclaw --- (In reply to Iain Buclaw from comment #2) > (In reply to Sam James from comment #0) > > When bootstrapping with some patches for improving Valgrind support (see > > PR116947), I hit this: > > > > ==26778== Co

[Bug bootstrap/118802] [15 regression] Bootstrap comparison failure on libphobos/libdruntime/core/internal/gc/impl/conservative/gc.o since r15-7400-gd3ff498c478ace

2025-02-27 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118802 --- Comment #23 from Iain Buclaw --- @Sam, I have a suspicion that this is related to PR116961.

[Bug target/118996] Should TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P return false for APX?

2025-02-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118996 --- Comment #6 from H.J. Lu --- SMALL_REGISTER_CLASSES was added by commit c98f874233428d7e6ba83def7842fd703ac0ddf1 Author: James Van Artsdalen Date: Sun Feb 9 13:28:48 1992 + Initial revision which became TARGET_SMALL_REGISTER_CLA

[Bug jit/117047] [15 regression] Segfault in libgccjit garbage collection when compiling GNU Emacs with Native Compilation since r15-571-g1e0ae1f52741f7

2025-02-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117047 --- Comment #34 from Andrew Pinski --- from ggc.h: ``` /* The internal primitive. */ extern void *ggc_internal_alloc (size_t, void (*)(void *), size_t, size_t CXX_MEM_STAT_INFO) ATTRIBUTE_MALLOC; ... /*

[Bug jit/117047] [15 regression] Segfault in libgccjit garbage collection when compiling GNU Emacs with Native Compilation since r15-571-g1e0ae1f52741f7

2025-02-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117047 Sam James changed: What|Removed |Added Summary|[15 regression] Segfault in |[15 regression] Segfault in

[Bug target/118892] [14/15 Regression] ICE (segfault) in rebuild_jump_labels on aarch64-linux-gnu since r14-5289

2025-02-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118892 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug libstdc++/119050] libstdc++ headers are not `-Wsystem-headers -Wundef ` friendly

2025-02-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119050 --- Comment #1 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #0) > Or maybe -Wundef can be refinded not to warn about the C++ feature macros ... Even with that change, it would be a big project to clean up hundreds of other

[Bug target/118931] [15 Regression] RISC-V: rv64gcv miscompile at -O[23] since r15-3228-g771256bcb9d

2025-02-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118931 --- Comment #4 from GCC Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:e7287cbbb208b676991096dd9081ff8a61c49781 commit r15-7743-ge7287cbbb208b676991096dd9081ff8a61c49781 Author: Pan Li Date: Sat Feb 22 19:3

[Bug c++/109431] [12/13/14/15 Regression] ICE in output_constructor_regular_field with static constexpr array inside a template constexpr function since r9-1483-g307193b82cecb8

2025-02-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109431 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug rtl-optimization/117712] [15 regression] ICE when building x265: internal compiler error: in expand_fix, at optabs.cc:5936 since r15-2890

2025-02-27 Thread mixython at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117712 --- Comment #14 from Max Ivan --- I built gcc using this patch, and the resulting gcc was able to build the mesa package without any problems.

[Bug libstdc++/119050] New: libstdc++ headers are not `-Wsystem-headers -Wundef ` friendly

2025-02-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119050 Bug ID: 119050 Summary: libstdc++ headers are not `-Wsystem-headers -Wundef ` friendly Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug target/118813] [14/15 regression] avx512bwintrin.h is not `-Wsystem-headers -Wundef` clean since r14-4490-g03a8504815d539

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

[Bug c++/119034] Nested using-declaration doesn't do ADL or uses wrong associated namespace (overly strict use of deleted function before ADL)

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

[Bug c++/119038] Internal compiler error calling method with explicit this parameter from generic lambda with implicitly captured this

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

[Bug fortran/119049] Procedures are mishandled in -fc-prototypes-external

2025-02-27 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119049 Thomas Koenig changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gcc

[Bug fortran/119049] New: Procedures are mishandled in -fc-prototypes-external

2025-02-27 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119049 Bug ID: 119049 Summary: Procedures are mishandled in -fc-prototypes-external Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug tree-optimization/119030] [15 Regression] wrong optimization since r15-7597

2025-02-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119030 --- Comment #6 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:8371e7f240c1130a3827be1afb94f73c26df81a6 commit r15-7740-g8371e7f240c1130a3827be1afb94f73c26df81a6 Author: Jakub Jelinek Date: T

[Bug middle-end/118860] [15 Regression] ICE Segfault with --param=file-cache-files= since r15-7431-g66af77cbed6c5b

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

[Bug tree-optimization/119030] [15 Regression] wrong optimization since r15-7597

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

[Bug middle-end/118860] [15 Regression] ICE Segfault with --param=file-cache-files= since r15-7431-g66af77cbed6c5b

2025-02-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118860 --- Comment #5 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:518def14ef1a8e6e307079f205ff98ad619ccd7b commit r15-7739-g518def14ef1a8e6e307079f205ff98ad619ccd7b Author: Jakub Jelinek Date: T

[Bug tree-optimization/119042] Optimize more !struct.x && !struct.y codegen cases

2025-02-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119042 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/119048] ICE Segfault on lambda with variadic parameters and static specifier

2025-02-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119048 Marek Polacek changed: What|Removed |Added Last reconfirmed||2025-02-27 Keywords|

[Bug fortran/108369] FM509 Fails to compile with error when using undocumented -x option

2025-02-27 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108369 Jerry DeLisle changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug fortran/107635] [Coarray] Allocatable components of types defined in module's interface are not handled correctly when used in coarrays.

2025-02-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107635 --- Comment #16 from GCC Commits --- The trunk branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:bac2d8a246892334e24dfa7d62be0cd0648c5606 commit r15-7736-gbac2d8a246892334e24dfa7d62be0cd0648c5606 Author: Thomas Schwinge Date:

[Bug c++/119048] New: ICE Segfault on lambda with variadic parameters and static specifier

2025-02-27 Thread eczbek.void at gmail dot com via Gcc-bugs
=/opt/compiler-explorer/gcc-snapshot/bin/g++ Target: x86_64-linux-gnu Configured with: ../gcc-trunk-20250227/configure --prefix=/opt/compiler-explorer/gcc-build/staging --enable-libstdcxx-backtrace=yes --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --disable-bootstrap

[Bug fortran/108369] FM509 Fails to compile with error when using undocumented -x option

2025-02-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108369 --- Comment #24 from GCC Commits --- The master branch has been updated by Jerry DeLisle : https://gcc.gnu.org/g:cfc9f42122f41668b986126ba7e65e3dd8bf1e9e commit r15-7732-gcfc9f42122f41668b986126ba7e65e3dd8bf1e9e Author: Jerry DeLisle Date:

[Bug target/118538] throw not caught causing an seg fault rather than a `terminate called after throwing an instance of 'int'` message

2025-02-27 Thread disservin.social at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118538 --- Comment #20 from Disservin --- I just tried the reproduction on a public runner from github using their "ubuntu 24.04 arm" you can see the segmentation fault happening there as well.. https://github.com/Disservin/gcc-bug/actions/runs/135750

[Bug target/114222] gcc.c-torture/execute/builtin-bitops-1.c fails for H8/300

2025-02-27 Thread jdx at o2 dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114222 --- Comment #4 from Jan Dubiec --- I agree, there is an infinite recursion, but I do not think it is a newlib problem. The implementation of ffs() in newlib just calls __builtin_ffs() (https://sourceware.org/git/?p=newlib-cygwin.git;a=blob;f=new

[Bug c++/118928] [15 Regression] ICE in cxx_eval_constant_expression, at cp/constexpr.cc:8694

2025-02-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118928 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/118928] [15 Regression] ICE in cxx_eval_constant_expression, at cp/constexpr.cc:8694

2025-02-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118928 --- Comment #2 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:9792126ac769f2962c0f305991818c64f9e51221 commit r15-7731-g9792126ac769f2962c0f305991818c64f9e51221 Author: Marek Polacek Date: We

[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-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 --- Comment #15 from GCC Commits --- The master branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:3071eb2848a2e748cfd67e8c897890ce06c69d06 commit r15-7730-g3071eb2848a2e748cfd67e8c897890ce06c69d06 Author: Vladimir N. Makarov

[Bug jit/117047] [15 regression] Segfault in libgccjit garbage collection when compiling GNU Emacs with Native Compilation

2025-02-27 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117047 --- Comment #32 from David Malcolm --- Thanks for the script and the notes. I can now reproduce the crash on my main development box, with e.g. test-bitcast.c It seems to not be writing a vtable ptr to an object; the class's operator new alloc

[Bug c++/118285] [14 Regression] GCC rejects some constexpr std::string usages

2025-02-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118285 --- Comment #10 from GCC Commits --- The releases/gcc-14 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:3003d404b436c2dbd5a3a282c25b797d887237d9 commit r14-11346-g3003d404b436c2dbd5a3a282c25b797d887237d9 Author: Jason Merrill

[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-27 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 --- Comment #14 from Vladimir Makarov --- (In reply to Jakub Jelinek from comment #13) > The inline asm stresses the RA to the maximum, it needs 6 registers, di, cx, > ax + 3 others and sp is fixed and bp is used as frame pointer. > But at least

[Bug fortran/118793] request NAMELIST reports of input errors indicate position of error and show line containing error

2025-02-27 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118793 Jerry DeLisle changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug rtl-optimization/116336] [14/15 Regression] LRA causes a compare debug with uninitialized variable since r14-8435-g476226290dba8c

2025-02-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116336 --- Comment #7 from GCC Commits --- The master branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:e59dd301aea9c8d5a5d04e808c87d591a26e85bb commit r15-7729-ge59dd301aea9c8d5a5d04e808c87d591a26e85bb Author: Vladimir N. Makarov

[Bug c++/118673] [14 regression] LLVM's libMLIR miscompiled since r14-1705-g2764335bd336f2

2025-02-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118673 --- Comment #23 from GCC Commits --- The releases/gcc-14 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:19bf2732ae4ad0c37c2493e82cc500724de746a8 commit r14-11348-g19bf2732ae4ad0c37c2493e82cc500724de746a8 Author: Iain Sandoe

[Bug rtl-optimization/116336] [14/15 Regression] LRA causes a compare debug with uninitialized variable since r14-8435-g476226290dba8c

2025-02-27 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116336 --- Comment #6 from Vladimir Makarov --- (In reply to Sam James from comment #5) > This works for me on trunk now. I assume Vlad's fix for PR116234 may have > done it. Yes, exactly. https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=decc6c0d4d909c

[Bug c++/118285] [14 Regression] GCC rejects some constexpr std::string usages

2025-02-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118285 --- Comment #11 from GCC Commits --- The releases/gcc-14 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:a72e782528749bf553158039783ce79fa760e3a4 commit r14-11349-ga72e782528749bf553158039783ce79fa760e3a4 Author: Jason Merrill

[Bug c++/118673] [14 regression] LLVM's libMLIR miscompiled since r14-1705-g2764335bd336f2

2025-02-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118673 --- Comment #22 from GCC Commits --- The releases/gcc-14 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:b4f66a79e0c9b65d78aed6c982bdcff48ed098d5 commit r14-11347-gb4f66a79e0c9b65d78aed6c982bdcff48ed098d5 Author: Jason Merrill

[Bug c++/55004] [meta-bug] constexpr issues

2025-02-27 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 118285, which changed state. Bug 118285 Summary: [14 Regression] GCC rejects some constexpr std::string usages https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118285 What|Removed |Added --

[Bug c++/118285] [14 Regression] GCC rejects some constexpr std::string usages

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

[Bug c++/118673] [14 regression] LLVM's libMLIR miscompiled since r14-1705-g2764335bd336f2

2025-02-27 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118673 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

  1   2   >