[Bug middle-end/117354] ICE: in extract_bit_field_1, at expmed.cc:1838 with _BitInt (and asan in some cases)

2024-10-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117354 --- Comment #11 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:b39f62ff739e9ffea0e6485667f15b985f8cd63d commit r15-4796-gb39f62ff739e9ffea0e6485667f15b985f8cd63d Author: Jakub Jelinek Date:

[Bug target/117365] Captured this lost after assignment to std::function

2024-10-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117365 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug modula2/117371] [14.2 Regression] type incompatibility between ‘INTEGER’ and ‘CARDINAL’

2024-10-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117371 Richard Biener changed: What|Removed |Added Keywords||rejects-valid Priority|P3

[Bug analyzer/117373] [15 regression] -Wunused-parameter warning in analyzer/infinite-loop.cc

2024-10-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117373 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0

[Bug fortran/115700] [12/13 regression] Bogus warning for associate with assumed-length character array

2024-10-31 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115700 --- Comment #12 from Paul Thomas --- (In reply to GCC Commits from comment #11) > The master branch has been updated by Paul Thomas : > > https://gcc.gnu.org/g:159fb203231c503418e7ab9f45282957e40cb195 > > commit r15-4793-g159fb203231c503418e7a

[Bug fortran/112459] gfortran -w option causes derived-type finalization at creation time

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

[Bug tree-optimization/117385] Move phiopt away from doing a COND_EXPR with a comparison as first operand

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

[Bug fortran/117381] -fmax-identifier-length= is completely ignored

2024-10-31 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117381 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org --- Commen

[Bug ipa/117350] [15 Regression] ICE with autoprofiledbootstrap and bootstrap-lto after r15-4610-gbf43fe6aa966ea

2024-10-31 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117350 --- Comment #21 from ak at gcc dot gnu.org --- Thanks. I'll see if this patch is enough: diff --git a/gcc/tree.cc b/gcc/tree.cc index b4c059d3b0db..92f99eaccd72 100644 --- a/gcc/tree.cc +++ b/gcc/tree.cc @@ -787,8 +787,9 @@ need_assembler_name

[Bug c/117245] [13/14/15 Regression] ICE: verify_ssa failed (error: definition in block 2 follows the use) with VLA types in struct with a vector type rebuild and nested functions since r13-6128-g4782

2024-10-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117245 --- Comment #9 from GCC Commits --- The master branch has been updated by Martin Uecker : https://gcc.gnu.org/g:9eae9268e41463927c9383004e58708048ec379f commit r15-4812-g9eae9268e41463927c9383004e58708048ec379f Author: Martin Uecker Date: T

[Bug c/117145] [14/15 Regression] ICE: in make_ssa_name_fn, at tree-ssanames.cc:355 at -O1 and above with vector_size and VLA in struct argument since r14-1143-g42d1612eb5c3b2

2024-10-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117145 --- Comment #12 from GCC Commits --- The master branch has been updated by Martin Uecker : https://gcc.gnu.org/g:9eae9268e41463927c9383004e58708048ec379f commit r15-4812-g9eae9268e41463927c9383004e58708048ec379f Author: Martin Uecker Date:

[Bug c/100420] unspecified VLA bound formatted as [0] instead of [*] in -Wvla-parameter

2024-10-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100420 --- Comment #3 from GCC Commits --- The master branch has been updated by Martin Uecker : https://gcc.gnu.org/g:9eae9268e41463927c9383004e58708048ec379f commit r15-4812-g9eae9268e41463927c9383004e58708048ec379f Author: Martin Uecker Date: T

[Bug fortran/117381] -fmax-identifier-length= is completely ignored

2024-10-31 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117381 --- Comment #8 from kargls at comcast dot net --- (In reply to Jerry DeLisle from comment #6) > This begs the question whether we should support longer symbols as an > extension. This likely would require a big change to the frontend. There are

[Bug testsuite/38833] RFE - Need Makefile to test coverage of Testsuite

2024-10-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38833 --- Comment #1 from Andrew Pinski --- --enable-coverage has been there (and documented) since r0-44516-g22aa533ee7d277 (which was in 2002, 7 years before this bug was filed). So the first part of this bug was already existing. The second part o

[Bug fortran/117381] -fmax-identifier-length= is completely ignored

2024-10-31 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117381 --- Comment #9 from anlauf at gcc dot gnu.org --- (In reply to kargls from comment #8) > One could set GFC_MAX_SYMBOL_LEN to a value larger than 63, but what > value makes sense? (Note it will be less than 1, which is the > longest statement

[Bug middle-end/31980] ICE in cancel_option() for Negative marked options

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

[Bug tree-optimization/19831] Missing DSE/malloc/free optimization

2024-10-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19831 Sam James changed: What|Removed |Added CC||hubicka at gcc dot gnu.org Keyword

[Bug fortran/117381] -fmax-identifier-length= is completely ignored

2024-10-31 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117381 --- Comment #10 from kargls at comcast dot net --- (In reply to anlauf from comment #9) > (In reply to kargls from comment #8) > > One could set GFC_MAX_SYMBOL_LEN to a value larger than 63, but what > > value makes sense? (Note it will be less

[Bug c++/31158] wrong line number in warning: overflow in implicit constant conversion

2024-10-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31158 --- Comment #6 from Andrew Pinski --- Looks fixed in GCC 9, Let me see if I can find the commit.

[Bug c++/57342] [C++11] Warning for narrowing conversion has ugly formatting for floating point number

2024-10-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57342 Bug 57342 depends on bug 31158, which changed state. Bug 31158 Summary: wrong line number in warning: overflow in implicit constant conversion https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31158 What|Removed |Ad

[Bug c++/88375] Vague source location for bad initialization

2024-10-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88375 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug fortran/117381] -fmax-identifier-length= is completely ignored

2024-10-31 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117381 --- Comment #5 from anlauf at gcc dot gnu.org --- While Nvidia and flang seem to allow the sample code, even the latest Intel ifx 2025.0 rejects it: pr117381.f90(5): error #6439: This symbol has too many characters. [VK_STRUCTURE_TYPE_PHYSICAL

[Bug target/114175] [13/14] Execution test failures on gcc.dg/c23-stdarg-6.c on multiple targets

2024-10-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114175 --- Comment #64 from Sam James --- I think the bug was kept open for other targets to check if they needed adaptation. jakub's guess in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114175#c24 said: > aarch64, alpha, arc, maybe arm, csky, maybe

[Bug c/117380] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in get_unwidened, at tree.cc:8019

2024-10-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117380 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug tree-optimization/115274] [14/15 regression] Bogus -Wstringop-overread in SQLite source code

2024-10-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115274 --- Comment #15 from Sam James --- On the original with Qing's v3 patch, quoting output from bundled copy in nodejs but it happens with upstream too: ``` ../../deps/sqlite/sqlite3.c:35003:28: warning: ‘strlen’ reading 1 or more bytes from a regi

[Bug fortran/117381] -fmax-identifier-length= is completely ignored

2024-10-31 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117381 --- Comment #7 from kargls at comcast dot net --- (In reply to anlauf from comment #5) > While Nvidia and flang seem to allow the sample code, even the latest > Intel ifx 2025.0 rejects it: > > pr117381.f90(5): error #6439: This symbol has too m

[Bug target/100165] fmov could be used to zero out the upper bits instead of movi/zip or movi/ins with __builtin_shuffle and zero vector

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

[Bug testsuite/117183] gcc.dg/c23-constexpr-2a.c: comment mismatch with dg-do

2024-10-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117183 --- Comment #4 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:2a4ee57b04398e54284e3d6b5ed4f8842ee26a5c commit r15-4813-g2a4ee57b04398e54284e3d6b5ed4f8842ee26a5c Author: Sam James Date: Thu Oct 3

[Bug testsuite/117183] gcc.dg/c23-constexpr-2a.c: comment mismatch with dg-do

2024-10-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117183 Sam James changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug testsuite/117183] gcc.dg/c23-constexpr-2a.c: comment mismatch with dg-do

2024-10-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117183 Sam James changed: What|Removed |Added Keywords||patch --- Comment #3 from Sam James --- Pa

[Bug testsuite/117183] gcc.dg/c23-constexpr-2a.c: comment mismatch with dg-do

2024-10-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117183 Sam James changed: What|Removed |Added Target Milestone|--- |15.0

[Bug ipa/108040] -fdevirtualize causes part of function to be missing in output

2024-10-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108040 Sam James changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug target/109494] inline const variables interfere with source_location

2024-10-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109494 Sam James changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|2023-04-13 00:00:00

[Bug c++/31158] wrong line number in warning: overflow in implicit constant conversion

2024-10-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31158 Andrew Pinski changed: What|Removed |Added Target Milestone|10.0|9.0

[Bug c++/88375] Vague source location for bad initialization

2024-10-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88375 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.0

[Bug fortran/117381] -fmax-identifier-length= is completely ignored

2024-10-31 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117381 kargls at comcast dot net changed: What|Removed |Added CC||kargls at comcast dot net --

[Bug rtl-optimization/117360] [15 regression] ext-dce.cc:573:15: runtime error: shift exponent 127 is too large for 64-bit type 'long long unsigned int'

2024-10-31 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117360 --- Comment #3 from Jeffrey A. Law --- What's interesting is I did a bootstrap with ubsan a while back to chase down this stuff. Could be something recently introduced or a path we didn't trigger before. Regardless I'll case it down. Yes, we

[Bug ipa/117350] [15 Regression] ICE with autoprofiledbootstrap and bootstrap-lto after r15-4610-gbf43fe6aa966ea

2024-10-31 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117350 --- Comment #17 from ak at gcc dot gnu.org --- http://firstfloor.org/~andi/fbdata.afdo is the gcov file for the reproducer above.

[Bug middle-end/117375] ICE with -fdiagnostics-details patch in sink pass when building opus-1.5.2

2024-10-31 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117375 qinzhao at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|UN

[Bug tree-optimization/117363] [15 regression] ICE during GIMPLE pass: ldist since r15-4763-g4af8db3eca12b2

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

[Bug libstdc++/77686] [6/7 Regression] wrong code on arm-linux-gnueabi and arm-linux-gnueabihf

2024-10-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77686 Andrew Pinski changed: What|Removed |Added CC||Koen.Poppe at vandewiele dot com --- Co

[Bug target/117365] Captured this lost after assignment to std::function

2024-10-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117365 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|WAITING

[Bug c++/101887] [12/13/14/15 Regression] ICE with invalid declaration of 'operator delete'

2024-10-31 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101887 Simon Martin changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/117093] Missing detection of REV64 vector permute

2024-10-31 Thread jschmitz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117093 Jennifer Schmitz changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jschmitz at gcc dot gnu.org

[Bug tree-optimization/117176] [15 regression] ICE when building netpbm-11.8.0

2024-10-31 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117176 --- Comment #13 from Sergei Trofimovich --- The change fixed netpbm-11.8.0 build for me. Thank you!

[Bug rtl-optimization/117360] [15 regression] ext-dce.cc:573:15: runtime error: shift exponent 127 is too large for 64-bit type 'long long unsigned int'

2024-10-31 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117360 --- Comment #4 from Martin Jambor --- (In reply to Jeffrey A. Law from comment #3) > What's interesting is I did a bootstrap with ubsan a while back to chase > down this stuff. Could be something recently introduced or a path we didn't > trigge

[Bug ipa/117350] [15 Regression] ICE with autoprofiledbootstrap and bootstrap-lto after r15-4610-gbf43fe6aa966ea

2024-10-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117350 --- Comment #19 from Andrew Pinski --- (In reply to ak from comment #18) > Okay I looked into need_assembler_name_p. For __ct function_decl it bails > out due to > I assume that means HAS_DECL_ASSEMBLER_NAME_P returns false. HAS_DECL_ASSEMBLER

[Bug target/114801] [14/15 Regression] arm: ICE in find_cached_value, at rtx-vector-builder.cc:100 with MVE intrinsics

2024-10-31 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114801 --- Comment #36 from Richard Earnshaw --- I've been looking at this. I think the real problem is that trunc_int_for mode is doing something incompatible with what the later code expects. We have /* Canonicalize BImode to 0 and STORE_FLAG_VA

[Bug middle-end/117384] [15 regression] ICE when building gwenhywfar-5.10.1 (error: non-trivial conversion in ‘var_decl’)

2024-10-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117384 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2024-10-31 Assignee|unassigne

[Bug middle-end/117375] ICE with -fdiagnostics-details patch in sink pass when building opus-1.5.2

2024-10-31 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117375 --- Comment #7 from qinzhao at gcc dot gnu.org --- The reason for the ICE is: The destination of the code movement due to tree sinking might not be the immediate destination block of the block in which the statement locates. for example:

[Bug ipa/117350] [15 Regression] ICE with autoprofiledbootstrap and bootstrap-lto after r15-4610-gbf43fe6aa966ea

2024-10-31 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117350 --- Comment #16 from ak at gcc dot gnu.org --- I'm not sure the revision in the subject is right. Given the reproduction in gcc 13 it seems to me this is a latent bug that is just triggered by changes in the bootstrapped input source. Strangely i

[Bug ipa/117350] [15 Regression] ICE with autoprofiledbootstrap and bootstrap-lto after r15-4610-gbf43fe6aa966ea

2024-10-31 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117350 --- Comment #18 from ak at gcc dot gnu.org --- Okay I looked into need_assembler_name_p. For __ct function_decl it bails out due to 784 /* If DECL already has its assembler name set, it does not need a 785 new one. */ 786

[Bug tree-optimization/117358] [12/13/14/15 Regression] ICE: in execute_todo, at passes.cc:2138 at -O2 and above with const attribute

2024-10-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117358 Andrew Pinski changed: What|Removed |Added Summary|ICE: in execute_todo, at|[12/13/14/15 Regression]

[Bug ipa/117350] [15 Regression] ICE with autoprofiledbootstrap and bootstrap-lto after r15-4610-gbf43fe6aa966ea

2024-10-31 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117350 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #2

[Bug bootstrap/117361] [15 Regression] GCC build fails with "gcc/opts-diagnostic.cc:599: test_output_arg_parsing: FAIL: ASSERT_STREQ (pt.get_diagnostic_text ()" when using some locales

2024-10-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117361 Sam James changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/117385] New: Move phiopt away from doing a COND_EXPR with a comparison as first operand

2024-10-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117385 Bug ID: 117385 Summary: Move phiopt away from doing a COND_EXPR with a comparison as first operand Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: int

[Bug target/114175] [13/14] Execution test failures on gcc.dg/c23-stdarg-6.c on multiple targets

2024-10-31 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114175 Edwin Lu changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/117383] New: gcc relies on RISC-V vcompress instruction undefined behaviour

2024-10-31 Thread anton at ozlabs dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117383 Bug ID: 117383 Summary: gcc relies on RISC-V vcompress instruction undefined behaviour Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/116783] Wrong code at -O2 with late pair fusion pass (wrong alias analysis)

2024-10-31 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116783 Alex Coplan changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/63783] [4.9/5 Regression] [SH] Miscompilation of boolean negation on SH4 using -O2

2024-10-31 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63783 --- Comment #26 from John Paul Adrian Glaubitz --- (In reply to Richard Biener from comment #25) > Fixed I assume. Yes, I just verified that the original reproducer does no longer trigger the assertion both with GCC 14 and GCC 15.

[Bug c++/110137] implement clang -fassume-sane-operator-new

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

[Bug tree-optimization/117363] [15 regression] ICE during GIMPLE pass: ldist since r15-4763-g4af8db3eca12b2

2024-10-31 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117363 --- Comment #12 from Sergei Trofimovich --- (In reply to Andrew Pinski from comment #11) > Created attachment 59512 [details] > Fixed up patch That fixes `waybar-0.11.0` build for me. Thank you!

[Bug middle-end/117384] New: [15 regression] ICE when building gwenhywfar-5.10.1 (error: non-trivial conversion in ‘var_decl’)

2024-10-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117384 Bug ID: 117384 Summary: [15 regression] ICE when building gwenhywfar-5.10.1 (error: non-trivial conversion in ‘var_decl’) Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug fortran/115700] [12/13 regression] Bogus warning for associate with assumed-length character array

2024-10-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115700 --- Comment #11 from GCC Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:159fb203231c503418e7ab9f45282957e40cb195 commit r15-4793-g159fb203231c503418e7ab9f45282957e40cb195 Author: Paul Thomas Date: Thu

[Bug c/117380] New: ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in get_unwidened, at tree.cc:8019

2024-10-31 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117380 Bug ID: 117380 Summary: ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in get_unwidened, at tree.cc:8019 Product: gcc Version: 15.0

[Bug c++/86878] G++ should warn about invalid alignments passed to allocation functions

2024-10-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86878 --- Comment #3 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:646b24efaa50b149c12d0ae432999cb5a0cd12f2 commit r15-4797-g646b24efaa50b149c12d0ae432999cb5a0cd12f2 Author: Jonathan Wakely Date:

[Bug middle-end/117354] ICE: in extract_bit_field_1, at expmed.cc:1838 with _BitInt (and asan in some cases)

2024-10-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117354 --- Comment #12 from Jakub Jelinek --- Should be fixed now for 15.1+ so far.

[Bug target/117353] [15 regression] RISC-V: ICE when building libcrypt since r15-3228-g771256bcb9ddc4

2024-10-31 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117353 --- Comment #6 from Jeffrey A. Law --- So my approach would be to note the insn number, then set a conditional breakpoint in make_insn_raw (after it initializes INSN_UID in the new insn). The condition would be insn->u2.insn_uid == or somethi

[Bug fortran/117381] -fmax-identifier-length= is completely ignored

2024-10-31 Thread 8e3g6jay6 at mozmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117381 --- Comment #3 from Jordan <8e3g6jay6 at mozmail dot com> --- I tested this: program main use, intrinsic :: iso_c_binding implicit none integer :: VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ACCELERATION_STRUCTURE_PROPERTIES_KHR = 1 end program mai

[Bug c++/110137] implement clang -fassume-sane-operator-new

2024-10-31 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110137 --- Comment #19 from Jason Merrill --- As I was suggesting on IRC, I think CALL_FROM_NEW_OR_DELETE_P already has the semantics we want, we could also set it on direct calls when assuming sane op new/delete. And maybe rename it to something like

[Bug c++/110137] implement clang -fassume-sane-operator-new

2024-10-31 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110137 --- Comment #22 from Jason Merrill --- But as Jonathan says in comment 10, the replaceable operator new is shared by the whole program, so I don't see why we would need a per-call flag for the global memory aliasing property; either the function

[Bug c++/110137] implement clang -fassume-sane-operator-new

2024-10-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110137 --- Comment #23 from Jakub Jelinek --- I've just tried: int i, j, k; void * foo () { i = 1; j = 2; void *p = __builtin_operator_new (32); j = 3; k = i; return p; } void * bar () { i = 1; j = 2; void *p = __builtin_malloc (32)

[Bug c++/110137] implement clang -fassume-sane-operator-new

2024-10-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110137 --- Comment #20 from Richard Biener --- Whether a call clobbers or uses memory is controlled by fnspec these days and a malloc attribute does _not_ indicate this. It works for malloc/free because we make it so via the builtins in builtin_fnspec

[Bug c++/117382] Conversion of integral to enumeration outside of range is UB but works in consteval context

2024-10-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117382 --- Comment #3 from Jonathan Wakely --- [dcl.enum] p5: Each enumeration also has an underlying type. The underlying type can be explicitly specified using an enum-base. For a scoped enumeration type, the underlying type is int if it is not expl

[Bug middle-end/117384] [15 regression] ICE when building gwenhywfar-5.10.1 (error: non-trivial conversion in ‘var_decl’)

2024-10-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117384 Sam James changed: What|Removed |Added Keywords|needs-reduction | CC|

[Bug c++/117382] Conversion of integral to enumeration outside of range is UB but works in consteval context

2024-10-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117382 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/110137] implement clang -fassume-sane-operator-new

2024-10-31 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110137 --- Comment #21 from Jason Merrill --- (In reply to Richard Biener from comment #20) > It still uses/clobbers global memory though. Hmm, I guess that's a separate issue from being able to elide the calls entirely, which is what CALL_FROM_NEW_OR

[Bug middle-end/117384] [15 regression] ICE when building gwenhywfar-5.10.1 (error: non-trivial conversion in ‘var_decl’)

2024-10-31 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117384 --- Comment #4 from Andreas Schwab --- s/unsigned/signed/ to make it fail the same with -funsigned-char.

[Bug tree-optimization/106073] [12/13/14/15 Regression] wrong code at -O3 on x86_64-linux-gnu since r12-3903-g0288527f47cec669

2024-10-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106073 --- Comment #14 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:df09173e355f30089b97090b19c095907242b35e commit r15-4803-gdf09173e355f30089b97090b19c095907242b35e Author: Sam James Date: Thu Oct

[Bug c++/110137] implement clang -fassume-sane-operator-new

2024-10-31 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110137 --- Comment #25 from Jason Merrill --- (In reply to Jakub Jelinek from comment #24) > Well, to be precise, it would need to be a per-call property if we want to > allow people to redefine those and don't use those call flags within the TUs > whe

[Bug middle-end/90348] [11 Regression] Partition of char arrays is incorrect in some cases

2024-10-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90348 --- Comment #38 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:df09173e355f30089b97090b19c095907242b35e commit r15-4803-gdf09173e355f30089b97090b19c095907242b35e Author: Sam James Date: Thu Oct 3

[Bug c++/110137] implement clang -fassume-sane-operator-new

2024-10-31 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110137 --- Comment #26 from rguenther at suse dot de --- On Thu, 31 Oct 2024, jason at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110137 > > --- Comment #25 from Jason Merrill --- > (In reply to Jakub Jelinek from comment

[Bug middle-end/117384] [15 regression] ICE when building gwenhywfar-5.10.1 (error: non-trivial conversion in ‘var_decl’)

2024-10-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117384 --- Comment #2 from Sam James --- ``` void a() { char b[] = { 144, 128, 112, 96, 80, 64, 48, 32, 1, 2, 3, 4, 5, 6, 7, 8, 9, 24, 39, 54, 69, 84, 99, 114, 17, 34, 51, 68, 85, 102, 119, 136, 153, 136, 119, 102, 8

[Bug middle-end/117384] [15 regression] ICE when building gwenhywfar-5.10.1 (error: non-trivial conversion in ‘var_decl’)

2024-10-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117384 --- Comment #3 from Sam James --- Works with -funsigned-char.

[Bug c++/110137] implement clang -fassume-sane-operator-new

2024-10-31 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110137 --- Comment #28 from Jan Hubicka --- We could make -fassume-sane-operator-new optimization attribute, but then we would need to prevent inlining functions with insane operators to functions with sane operators, or drop the sanity on caller.

[Bug tree-optimization/117176] [15 regression] ICE when building netpbm-11.8.0

2024-10-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117176 --- Comment #11 from GCC Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:d2f9159cfe7ea904e6476cabefea0c6ac9532e29 commit r15-4802-gd2f9159cfe7ea904e6476cabefea0c6ac9532e29 Author: Tamar Christina Date

[Bug c++/110137] implement clang -fassume-sane-operator-new

2024-10-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110137 --- Comment #24 from Jakub Jelinek --- (In reply to Jason Merrill from comment #22) > But as Jonathan says in comment 10, the replaceable operator new is shared > by the whole program, so I don't see why we would need a per-call flag for > the g

[Bug c++/110137] implement clang -fassume-sane-operator-new

2024-10-31 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110137 --- Comment #27 from Jan Hubicka --- This is somewhat weird testcase which makes two allocations which compiler can track as non-escaping and tests its ability to disambiguate them: int test3(int *data) { int *val = new int; *va

[Bug c++/110137] implement clang -fassume-sane-operator-new

2024-10-31 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110137 --- Comment #29 from Jan Hubicka --- For completeness note that we can also stick info into FUNCTION_DECLs (i.e. by an attribute) to avoid flags pollution. Then it could be TU sensitive since lto-symtab knows that in certain cases it should not

[Bug c++/99576] [coroutines] destructor of a temporary called too early within co_await expression

2024-10-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99576 Andrew Pinski changed: What|Removed |Added CC||sunsijie at buaa dot edu.cn --- Comment

[Bug c++/117389] std::string that is value-captured by lambda cannot be deconstruct correctly when the lamda is passed as a coroutine argument

2024-10-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117389 --- Comment #4 from Andrew Pinski --- Actually it is a dup of bug 101367. *** This bug has been marked as a duplicate of bug 101367 ***

[Bug c++/101367] [coroutines] destructor for capture in lambda temporary operand to co_yield expression called twice

2024-10-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101367 Andrew Pinski changed: What|Removed |Added CC||sunsijie at buaa dot edu.cn --- Comment

[Bug c++/101367] [coroutines] destructor for capture in lambda temporary operand to co_yield expression called twice

2024-10-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101367 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug c++/117389] std::string that is value-captured by lambda cannot be deconstruct correctly when the lamda is passed as a coroutine argument

2024-10-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117389 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > Actually it is a dup of bug 101367. And it describes what you found with lambda captures (of strings) to the tee too.

[Bug testsuite/100272] some incomplete dg-commands

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

[Bug c++/117390] Error message for trying to call an constructor with template arguments should be improved

2024-10-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117390 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/117390] New: Error message for trying to call an constructor with template arguments should be improved

2024-10-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117390 Bug ID: 117390 Summary: Error message for trying to call an constructor with template arguments should be improved Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug target/29838] should an option to disable use of TLS for -fstack-protector

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

[Bug fortran/116668] A very strange error when trying to copy substrings from a select type generic

2024-10-31 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116668 kargls at comcast dot net changed: What|Removed |Added CC||kargls at comcast dot net --

[Bug fortran/117381] -fmax-identifier-length= is completely ignored

2024-10-31 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117381 --- Comment #11 from anlauf at gcc dot gnu.org --- (In reply to kargls from comment #10) > (In reply to anlauf from comment #9) > > (In reply to kargls from comment #8) > > > One could set GFC_MAX_SYMBOL_LEN to a value larger than 63, but what >

  1   2   >