[Bug debug/104277] [meta-bug] gstatement-frontiers causes fcompare-debug issues

2024-08-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104277 Sam James changed: What|Removed |Added CC||aoliva at gcc dot gnu.org --- Comment #1 fr

[Bug target/55212] [SH] Switch to LRA

2024-08-05 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #138 from John Paul Adrian Glaubitz --- (In reply to Oleg Endo from comment #137) > (In reply to Kazumoto Kojima from comment #136) > > Hope these observations help for clarifying issues. > > Kaz, thanks so much for chiming in and lo

[Bug tree-optimization/116214] -Wmaybe-uninitialized in tree-vect-stmts.cc

2024-08-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116214 --- Comment #5 from Sam James --- (In reply to Sam James from comment #2) > Created attachment 58826 [details] > reduction-2.ii I can try bisect this/original if I need to but I'd prefer not to, as it's a pain because of libstdc++ vs float128 v

[Bug middle-end/116235] Add ASAN annotations to ggc like we do for Valgrind

2024-08-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116235 Sam James changed: What|Removed |Added Severity|normal |enhancement

[Bug bootstrap/90781] ubsan bootstrap with -O3 -march=native fails at compare stage

2024-08-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90781 Sam James changed: What|Removed |Added Status|NEW |WAITING --- Comment #6 from Sam James --- I

[Bug sanitizer/95496] [12/13/14/15 Regression] Bogus -Wformat-overflow= warnings with -fsanitize=undefined

2024-08-05 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95496 Paul Eggert changed: What|Removed |Added CC||eggert at cs dot ucla.edu --- Comment #10

[Bug middle-end/108102] rust bootstrap comparison failure on s390x-linux-gnu

2024-08-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108102 Sam James changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/111089] ODR violation warning in std::variant implementation when linking(LTO) C++20 and C++17 TUs

2024-08-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111089 Sam James changed: What|Removed |Added Last reconfirmed||2024-08-05 Ever confirmed|0

[Bug c++/85091] Compiler generates different code depending on whether -Wnonnull -Woverloaded-virtual given or not

2024-08-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85091 Sam James changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/91776] `-fsplit-paths` generates slower code on arm

2024-08-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91776 Sam James changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug libstdc++/116212] [13/14/15 regression] -Walloc-size-larger-than warning when building 20_util/specialized_algorithms/uninitialized_move/constrained.cc with -O3

2024-08-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116212 Richard Biener changed: What|Removed |Added Keywords||diagnostic Target Milestone|---

[Bug rtl-optimization/70902] GCC freezes while compiling for 'skylake-avx512' target

2024-08-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70902 --- Comment #11 from Sam James --- Per https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71657#c13, this might be ready to revisit.

[Bug target/71657] Wrong code on trunk gcc (std::out_of_range), westmere

2024-08-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71657 Sam James changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/116213] [14/15 regression] -Wmaybe-uninitialized in tree-ssa-loop-niter.cc since r14-3460-gabf915193fbf72

2024-08-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116213 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug tree-optimization/87576] Warnings (array-bounds,stringop-overflow) emitted on branch never taken

2024-08-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87576 Sam James changed: What|Removed |Added Summary|Static analysis generating |Warnings |errors on branch

[Bug target/116236] New: [LRA] [M68K] ICE insn does not satisfy its constraints

2024-08-05 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116236 Bug ID: 116236 Summary: [LRA] [M68K] ICE insn does not satisfy its constraints Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: build, ice-on-valid-code Severity

[Bug target/116236] [LRA] [M68K] ICE insn does not satisfy its constraints

2024-08-05 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116236 --- Comment #1 from Andreas Schwab --- lea (1468000,%d3,%a1.w),%a1 is not valid, lea (1468000,%a1,%d3.w),%a1 would be. Only the index register can be HImode, and the base register must be an address register.

[Bug jit/114105] --disable-bootstrap based builds vs libcc1 and gcc/jit use of gcc/system.h poisoning policy

2024-08-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114105 Sam James changed: What|Removed |Added Target Milestone|--- |14.0 Status|UNCONFIRMED

[Bug tree-optimization/116213] [14/15 regression] -Wmaybe-uninitialized in tree-ssa-loop-niter.cc since r14-3460-gabf915193fbf72

2024-08-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116213 --- Comment #5 from Richard Biener --- So the main issue is that vrange::~vrange keeps D.3193 aliased as it escapes there. Then we do not disambiguate it against a call to free () (in the reduced testcase - probably a bit more complicated in th

[Bug tree-optimization/116214] -Wmaybe-uninitialized in tree-vect-stmts.cc

2024-08-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116214 --- Comment #6 from Richard Biener --- It's a false positive, the init gate is 'costing_p' we have if (!costing_p) stride_step = ...; for (...) for (...) { if (costing_p) continue; ... use of stride_step ...

[Bug target/116215] [12/13/14/15 regression] -Wstringop-overflow in i386-expand.cc since r12-2132-ga110855667782d

2024-08-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116215 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.5

[Bug jit/114105] --disable-bootstrap based builds vs libcc1 and gcc/jit use of gcc/system.h poisoning policy

2024-08-05 Thread markmigm at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114105 --- Comment #9 from Mark Millard --- (In reply to Andrew Pinski from comment #2) > . . . > > >Part of the reason FreeBSD puts effort into making --disable-bootstrap work > This should not be done unless you are building with GCC itself. The rea

[Bug libstdc++/116140] [15 Regression] 5-35% slowdown of 483.xalancbmk and 523.xalancbmk_r since r15-2356-ge69456ff9a54ba

2024-08-05 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116140 --- Comment #7 from Alex Coplan --- So it turns out the reason #pragma GCC unroll doesn't work under LTO is because we don't propagate the `has_unroll` flag when streaming functions during LTO, so RTL loop2_unroll ends up not running at all. Th

[Bug middle-end/116216] [13/14/15 regression] -Wstringop-overread in attribs.cc since r13-754-ga1c9f779f75283

2024-08-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116216 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.4

[Bug lto/116220] -Wmaybe-uninitialized in lto_obj_begin_section (or libiberty)

2024-08-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116220 --- Comment #2 from Richard Biener --- simple_object_write_create_section never fails - it would crash on allocation error instead. *err and *errmsg are only touched when there's an error (a NULL return). On error this returns NULL, sets

[Bug lto/116220] -Wmaybe-uninitialized in lto_obj_begin_section (or libiberty)

2024-08-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116220 --- Comment #3 from Sam James --- (In reply to Richard Biener from comment #2) > Do you see this with an LTO build? Yeah.

[Bug ipa/116222] -Wmaybe-uninitialized in record_target_from_binfo in ipa-devirt.cc

2024-08-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116222 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org

[Bug tree-optimization/116226] ICE when building exp_aggr.adb with -Warray-bounds (tree check: expected integer_cst, have ssa_name in get_len, at ree.h:6509)

2024-08-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116226 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code Component|a

[Bug analyzer/116228] [14/15 regression] -fanalyzer ICE in get_or_create_null_ptr, at analyzer/region-model-manager.cc:271

2024-08-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116228 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.3

[Bug ipa/116231] missed constant prop on set only once static function ptr variable

2024-08-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116231 Richard Biener changed: What|Removed |Added Last reconfirmed||2024-08-05 Status|UNCONFIR

[Bug rtl-optimization/116200] [15 regression] ICE in stage 2 since r15-2696-gba730fd10934e4

2024-08-05 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116200 Richard Sandiford changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/116224] wrong code with _BitInt() division at -O1 and above (breaks in ccp2?)

2024-08-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116224 --- Comment #1 from Jakub Jelinek --- This needs to be signed char g; int foo (signed char c, int i, _BitInt(65) b) { __builtin_memmove (&g, &b, 1); return b / i / c; } int main () { int x = foo (-15, -15, 900); if (x != 4) __built

[Bug target/116145] SVE constant pool loads not hoisted outside loops

2024-08-05 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116145 Richard Sandiford changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug tree-optimization/116226] ICE when building exp_aggr.adb with -Warray-bounds (tree check: expected integer_cst, have ssa_name in get_len, at ree.h:6509)

2024-08-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116226 --- Comment #4 from Sam James --- I just added a crude break on internal_error: (gdb) bt #0 _Z14internal_errorPKcz (gmsgid=0x5840fd48 "tree check: %s, have %s in %s, at %s:%d") at /usr/src/debug/sys-devel/gcc-15.0./gcc-15.0./gcc/di

[Bug tree-optimization/116226] ICE when building exp_aggr.adb with -Warray-bounds (tree check: expected integer_cst, have ssa_name in get_len, at ree.h:6509)

2024-08-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116226 --- Comment #5 from Sam James --- (gdb) bt #0 internal_error(char const*, ...) (gmsgid=0x5840fd48 "tree check: %s, have %s in %s, at %s:%d") at /usr/src/debug/sys-devel/gcc-15.0./gcc-15.0./gcc/diagnostic-global-context.cc:486 #1 0x

[Bug tree-optimization/116224] wrong code with _BitInt() division at -O1 and above (breaks in ccp2?)

2024-08-05 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116224 --- Comment #2 from Zdenek Sojka --- (In reply to Jakub Jelinek from comment #1) > This needs to be > signed char g; > > int > foo (signed char c, int i, _BitInt(65) b) > { > __builtin_memmove (&g, &b, 1); > return b / i / c; > } > > int >

[Bug tree-optimization/116214] -Wmaybe-uninitialized in tree-vect-stmts.cc

2024-08-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116214 --- Comment #7 from Sam James --- Yeah, it's particularly egregious, to the extent I thought I made a mistake when reducing it.

[Bug fortran/101919] Inconsistent -Wstringop-overread warning with -flto

2024-08-05 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101919 Mikael Morin changed: What|Removed |Added CC||mikael at gcc dot gnu.org --- Comment #8

[Bug tree-optimization/116224] wrong code with _BitInt() division at -O1 and above (breaks in ccp2?)

2024-08-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116224 --- Comment #3 from Jakub Jelinek --- This feels like a bug in mul_internal, when trying to evaluate wi::mul of (_BitInt(65)) -15 times (_BitInt(65)) -15 it computes the right result (225) but sets *overflow to wi::OVF_UNKNOWN.

[Bug c++/114357] Add a way to not call deconstructors for non-auto decls, like clang's no_destroy attribute

2024-08-05 Thread redbeard0531 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114357 Mathias Stearn changed: What|Removed |Added CC||redbeard0531 at gmail dot com --- Comm

[Bug testsuite/116000] [15 Regression] gcc.dg/vect/vect-reduc-chain-dot-slp-1.c etc. FAIL

2024-08-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116000 --- Comment #4 from GCC Commits --- The master branch has been updated by Feng Xue : https://gcc.gnu.org/g:8e2c9360c2df4b16582d3b9eb34e8c448798a1f3 commit r15-2719-g8e2c9360c2df4b16582d3b9eb34e8c448798a1f3 Author: Feng Xue Date: Mon Aug 5 1

[Bug tree-optimization/116139] ICE with --param fully-pipelined-fma=1 since it was added in r14-6559-g8afdbcdd7abe1e

2024-08-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116139 --- Comment #3 from GCC Commits --- The master branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:44da85f4455ea11296667434172810ea76a62add commit r15-2720-g44da85f4455ea11296667434172810ea76a62add Author: Kyrylo Tkachov Date:

[Bug target/116237] New: gcc does not accept -weak_framework without -Wl on macOS

2024-08-05 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116237 Bug ID: 116237 Summary: gcc does not accept -weak_framework without -Wl on macOS Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal Pr

[Bug ipa/115767] [12/13/14/15 regression] GCC loses track of value on aarch64 with -O2 since r11-3308-gd119f34c952f87

2024-08-05 Thread bugs at qult dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115767 --- Comment #11 from Ignacy Gawędzki --- (In reply to Sam James from comment #10) > Could you try trunk or the 14.2 RC1? A bunch of IPA fixes landed. I tested with 162a1ed70303a031c81b0aaac499aaf394560390 and the problem is still there with van

[Bug target/116033] [14 only] RISC-V: -march=rv64gv_xtheadmemidx generates illegal vse8.v insn

2024-08-05 Thread cmuellner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116033 Christoph Müllner changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/115801] [modules] segfault instantiating a template with a templated friend declaration referring to an unexported template using a qualified name

2024-08-05 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115801 --- Comment #3 from TC --- (In reply to Nathaniel Shead from comment #2) > On looking further into it I believe this is ice-on-invalid. > > By https://eel.is/c++draft/temp.friend#2, within main.cpp the name ::Foo is > looked up as if the specia

[Bug target/116236] [LRA] [M68K] ICE insn does not satisfy its constraints

2024-08-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116236 --- Comment #2 from Richard Biener --- m68k makes use of the 'strict_p' parameter to legitimate_address_p which seems to be only ever set by reload but not LRA. It might be that both m68k_legitimate_index_reg_p and m68k_legitimate_base_reg_p ne

[Bug c++/115801] [modules] segfault instantiating a template with a templated friend declaration referring to an unexported template using a qualified name

2024-08-05 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115801 Nathaniel Shead changed: What|Removed |Added Keywords|ice-on-invalid-code |ice-on-valid-code --- Comment #4 from

[Bug target/116236] [LRA] [M68K] ICE insn does not satisfy its constraints

2024-08-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116236 --- Comment #3 from Richard Biener --- struct duration { duration(int); }; struct month { operator unsigned(); } _M_m; struct year { short _M_y; operator int() { return _M_y; } } _M_y; void _M_days_since_epoch() { auto __y1(_M_y); au

[Bug target/116236] [LRA] [M68K] ICE insn does not satisfy its constraints

2024-08-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116236 --- Comment #4 from Richard Biener --- We end up in process_address_1 doing /* Target hooks sometimes don't treat extra-constraint addresses as legitimate address_operands, so handle them specially. */ if (insn_extra_address_constrain

[Bug tree-optimization/111073] [13/14/15 regression] False-positive -Wstringop-overflow when building gdb from trunk with -D_GLIBCXX_ASSERTIONS

2024-08-05 Thread simon.marchi at polymtl dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111073 Simon Marchi changed: What|Removed |Added CC||simon.marchi at polymtl dot ca --- Comme

[Bug rtl-optimization/116238] New: [15 Regression] ICE building 526.blender_r on aarch64 SVE after 3b9b8d6cfdf59337f4b7ce10ce92a98044b2657b

2024-08-05 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116238 Bug ID: 116238 Summary: [15 Regression] ICE building 526.blender_r on aarch64 SVE after 3b9b8d6cfdf59337f4b7ce10ce92a98044b2657b Product: gcc Version: 15.0 Status: UNCON

[Bug rtl-optimization/116238] [15 Regression] ICE building 526.blender_r on aarch64 SVE after 3b9b8d6cfdf59337f4b7ce10ce92a98044b2657b

2024-08-05 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116238 ktkachov at gcc dot gnu.org changed: What|Removed |Added Target||aarch64 Known to fail

[Bug tree-optimization/111073] [13/14/15 regression] False-positive -Wstringop-overflow when building gdb from trunk with -D_GLIBCXX_ASSERTIONS

2024-08-05 Thread simon.marchi at polymtl dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111073 --- Comment #5 from Simon Marchi --- Created attachment 58840 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58840&action=edit creduced example To build the creduced example: $ g++ -x c++ -Wall -Werror -g3 -O2 -c creduced.cpp Note that

[Bug testsuite/116155] c-c++-common/fam-in-union-alone-in-struct-1.c fails on pru-unknown-elf

2024-08-05 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116155 --- Comment #12 from qinzhao at gcc dot gnu.org --- (In reply to Dimitar Dimitrov from comment #11) > > With that change, the test passes for both x86 and pru. thank you for the testing. could you please prepare the patch for this and submit it

[Bug c++/116239] New: Different function redeclaration in function scope is wrongly accepted

2024-08-05 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116239 Bug ID: 116239 Summary: Different function redeclaration in function scope is wrongly accepted Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity: norma

[Bug target/116236] [LRA] [M68K] ICE insn does not satisfy its constraints

2024-08-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116236 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug rtl-optimization/115912] [15 regression] Harfbuzz testsuite fails (mvar_partial_instance test) since r15-1901-g98914f9eba5f19

2024-08-05 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115912 --- Comment #22 from Jeffrey A. Law --- I'm going to need Stephan to do a bit of debugging on that s390x failure. ext-dce isn't doing anything with that test on s390.

[Bug c++/116223] [14/15 Regression] GCC rejects program involving integral conversion in non-type template parameter with auto

2024-08-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116223 Patrick Palka changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/116224] wrong code with _BitInt() division at -O1 and above (breaks in ccp2?)

2024-08-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116224 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug c++/116223] [14/15 Regression] GCC rejects program involving integral conversion in non-type template parameter with auto

2024-08-05 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116223 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug target/116236] [LRA] [M68K] ICE insn does not satisfy its constraints

2024-08-05 Thread matz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116236 Michael Matz changed: What|Removed |Added CC||matz at gcc dot gnu.org --- Comment #5 f

[Bug target/113939] Switch m68k to LRA

2024-08-05 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113939 Andreas Schwab changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug analyzer/116228] [14/15 regression] -fanalyzer ICE in get_or_create_null_ptr, at analyzer/region-model-manager.cc:271

2024-08-05 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116228 David Malcolm changed: What|Removed |Added Last reconfirmed||2024-08-05 Status|UNCONFIRM

[Bug c++/116223] [14/15 Regression] GCC rejects program involving integral conversion in non-type template parameter with auto

2024-08-05 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116223 --- Comment #2 from Jason Merrill --- We're effectively rejecting this under https://eel.is/c++draft/temp#deduct.type-20 If P has a form that contains , and if the type of i differs from the type of the corresponding template parameter of the t

[Bug target/116236] [LRA] [M68K] ICE insn does not satisfy its constraints

2024-08-05 Thread matz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116236 --- Comment #6 from Michael Matz --- This works for me for the full testcase. a) accept pseudos during lra_in_progress only when they're allocated to the right hardreg b) but _only_ do (a) if the pseudo is not one of those generated _during_

[Bug c++/116219] [14/15 regression] -O3 -march=znver3 -gno-statement-frontiers -fcompare-debug failure when building botan-3.2.0

2024-08-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116219 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug c++/116239] Different function redeclaration in function scope is wrongly accepted

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

[Bug target/116240] New: RISC-V: ICE during RTL pass: combine with -fwrapv -march=rv64imv_xtheadcondmov_xventanacondops at -O2

2024-08-05 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116240 Bug ID: 116240 Summary: RISC-V: ICE during RTL pass: combine with -fwrapv -march=rv64imv_xtheadcondmov_xventanacondops at -O2 Product: gcc Version: 15.0 Status: UNCONFIR

[Bug testsuite/116148] c-c++-common/fam-in-union-alone-in-struct-2.c fails on big-endian (finally tested starting with r15-2403-g136f364e26d9ad)

2024-08-05 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116148 John David Anglin changed: What|Removed |Added CC||danglin at gcc dot gnu.org

[Bug target/116033] [14 only] RISC-V: -march=rv64gv_xtheadmemidx generates illegal vse8.v insn

2024-08-05 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116033 --- Comment #5 from Patrick O'Neill --- Thanks for the quick fix!

[Bug c++/115987] False "possibly dangling reference" false positive when having an extra template parameter

2024-08-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115987 --- Comment #23 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:34d947134403e7482ba4f153d8faabee0bc4933e commit r15-2727-g34d947134403e7482ba4f153d8faabee0bc4933e Author: Marek Polacek Date: W

[Bug tree-optimization/116241] New: [15 Regression] internal compiler error: in operator[], at vec.h:910

2024-08-05 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116241 Bug ID: 116241 Summary: [15 Regression] internal compiler error: in operator[], at vec.h:910 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ice-on-va

[Bug tree-optimization/116241] [15 Regression] internal compiler error: in operator[], at vec.h:910

2024-08-05 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116241 ktkachov at gcc dot gnu.org changed: What|Removed |Added Known to fail||15.0 Target Milestone|--

[Bug tree-optimization/116166] risc-v (last) insn-emit-nn.c build takes hours

2024-08-05 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116166 --- Comment #12 from Mark Wielaard --- (In reply to Andreas Schwab from comment #11) > You can add target-specific flags like this: > > $(INSNEMIT_SEQ_O): ALL_COMPILERFLAGS += -fno-tree-dominator-opts Thanks. With "$(GIMPLE_MATCH_PD_SEQ_O) $(I

[Bug fortran/108889] [12/13/14 Regression] (Re)Allocate in assignment shows used uninitialized memory warning with -Wall if LHS is unallocated

2024-08-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108889 --- Comment #12 from GCC Commits --- The releases/gcc-14 branch has been updated by Paul Thomas : https://gcc.gnu.org/g:9906a9863d65386ee4045333eb26a2569783abb5 commit r14-10560-g9906a9863d65386ee4045333eb26a2569783abb5 Author: Paul Thomas Da

[Bug fortran/108889] [12/13/14 Regression] (Re)Allocate in assignment shows used uninitialized memory warning with -Wall if LHS is unallocated

2024-08-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108889 --- Comment #13 from GCC Commits --- The releases/gcc-13 branch has been updated by Paul Thomas : https://gcc.gnu.org/g:7195144e39e404ec712ca5401f2328c14d5020eb commit r13-8959-g7195144e39e404ec712ca5401f2328c14d5020eb Author: Paul Thomas Dat

[Bug fortran/108889] [12/13/14 Regression] (Re)Allocate in assignment shows used uninitialized memory warning with -Wall if LHS is unallocated

2024-08-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108889 --- Comment #14 from GCC Commits --- The releases/gcc-12 branch has been updated by Paul Thomas : https://gcc.gnu.org/g:0e945f6e8849ae4722ea7ac70d713f7b35d3fade commit r12-10657-g0e945f6e8849ae4722ea7ac70d713f7b35d3fade Author: Paul Thomas Da

[Bug fortran/108889] [12/13/14 Regression] (Re)Allocate in assignment shows used uninitialized memory warning with -Wall if LHS is unallocated

2024-08-05 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108889 --- Comment #15 from Paul Thomas --- Fixed on 12-branch through to mainline. Thanks for the report. Paul

[Bug fortran/77504] [12/13/14 Regression] "is used uninitialized" with allocatable string and array constructors

2024-08-05 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77504 Paul Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/108889] [12/13/14 Regression] (Re)Allocate in assignment shows used uninitialized memory warning with -Wall if LHS is unallocated

2024-08-05 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108889 Paul Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/116235] Add ASAN annotations to ggc like we do for Valgrind

2024-08-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116235 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-08-05 Status|UNCONFIRM

[Bug tree-optimization/116241] [15 Regression] internal compiler error: in operator[], at vec.h:910

2024-08-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116241 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-08-05 Status|UNCONFIRM

[Bug c/116016] enhancement: add __builtin_set_counted_by(P->FAM, COUNT) or equivalent

2024-08-05 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016 --- Comment #52 from qinzhao at gcc dot gnu.org --- (In reply to Alejandro Colomar from comment #51) > I would make it a compile-time error. Why would we want to allow a non-FAM > there? (Unless the [[gnu::counted_by()]] attribute makes sense e

[Bug c/116016] enhancement: add __builtin_set_counted_by(P->FAM, COUNT) or equivalent

2024-08-05 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016 --- Comment #53 from Alejandro Colomar --- (In reply to qinzhao from comment #52) > (In reply to Alejandro Colomar from comment #51) > > I would make it a compile-time error. Why would we want to allow a non-FAM > > there? (Unless the [[gnu::c

[Bug c/116016] enhancement: add __builtin_set_counted_by(P->FAM, COUNT) or equivalent

2024-08-05 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016 --- Comment #54 from Alejandro Colomar --- In a similar manner, I've made the following cases compile-time errors for __lengthof__ (still under development): extern int x[]; void f(int a[]) { size_t n; n = __lengthof__(a); n = __

[Bug target/116242] New: [meta-bug] Tracker for zvl issues in RISC-V

2024-08-05 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116242 Bug ID: 116242 Summary: [meta-bug] Tracker for zvl issues in RISC-V Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: targ

[Bug c/116016] enhancement: add __builtin_set_counted_by(P->FAM, COUNT) or equivalent

2024-08-05 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016 --- Comment #55 from Kees Cook --- (In reply to Alejandro Colomar from comment #49) > For reading the counted_by value, that is, for reading the number of > elements in the FAM, I'm implementing a __lengthof__ operator, which returns > the value

[Bug c++/94568] template specialization of equivalent nontype template argument involving member pointer considered distinct

2024-08-05 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94568 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug fortran/116221] -Wmaybe-uninitialized in symbol.cc's gfc_get_ha_symbol

2024-08-05 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116221 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org --

[Bug testsuite/115140] [15 regression] libgomp.oacc-c++/../libgomp.oacc-c-c++-common/acc_prof-kernels-1.c excess errors after r15-579-ga9251ab3c91c8c

2024-08-05 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115140 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #

[Bug tree-optimization/116166] risc-v (last) insn-emit-nn.c build takes hours

2024-08-05 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116166 --- Comment #13 from Andi Kleen --- Created attachment 58842 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58842&action=edit add a param to limit BBs for dominator pass Maybe something like this patch. It adds a check to disable the dom

[Bug c/116016] enhancement: add __builtin_set_counted_by(P->FAM, COUNT) or equivalent

2024-08-05 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016 --- Comment #56 from qinzhao at gcc dot gnu.org --- https://gcc.gnu.org/pipermail/gcc-patches/2024-August/659478.html

[Bug c/116016] enhancement: add __builtin_set_counted_by(P->FAM, COUNT) or equivalent

2024-08-05 Thread isanbard at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016 --- Comment #57 from Bill Wendling --- (In reply to Kees Cook from comment #47) > Yes, the counter must be manually set until Linux minimum compiler versions > are raised to include counted_by support, but this is about making the > transition t

[Bug target/113652] [14/15 regression] Failed bootstrap on ppc unrecognized opcode: `lfiwzx' with -mcpu=7450

2024-08-05 Thread erhard_f at mailbox dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113652 --- Comment #30 from Erhard F. --- (In reply to Sam James from comment #29) > csfore, erhard, could you test > https://inbox.sourceware.org/gcc-patches/zpioop6il_igm...@cowardly-lion.the- > meissners.org/? The patches apply cleanly on Gentoos' g

[Bug target/116145] SVE constant pool loads not hoisted outside loops

2024-08-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116145 --- Comment #13 from Andrew Pinski --- > Since the SVE load doesn't support the full LO_SUM range, there is no hint > that the address refers to invariant memory. IA64 has a similar issue IIRC and the idea then was to use cselib more to find t

[Bug c/116016] enhancement: add __builtin_set_counted_by(P->FAM, COUNT) or equivalent

2024-08-05 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016 --- Comment #58 from Alejandro Colomar --- (In reply to Kees Cook from comment #55) > I was expecting "s->n = 7", not " ...= m", and for > "__lengthof__(memberof(struct s, fam))" to be "== 7". It should be reporting > the array element count, no

[Bug c++/101288] Invalid instantiated redeclaration considered valid by gcc

2024-08-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101288 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug fortran/116128] missed optimisation: fortran sum instrinsic performed in order

2024-08-05 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116128 anlauf at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P5 --- Comment #2 from anlau

[Bug target/116189] [14/15 Regression] compare debug failure at -O2 on sh since r14-8319-g86de9b66480b71

2024-08-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116189 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

  1   2   >