[Bug sanitizer/116984] -fsanitize=bounds triggers within __builtin_dynamic_object_size()

2024-10-04 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116984 --- Comment #5 from Kees Cook --- (In reply to Kees Cook from comment #0) > It should be be possible to trigger -fsanitize=bounds within > __builtin_dynamoc_object_size() (which should have no side-effects). Ugh typo. I meant "It should *not* b

[Bug sanitizer/116984] -fsanitize=bounds triggers within __builtin_dynamic_object_size()

2024-10-04 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116984 --- Comment #4 from Kees Cook --- (In reply to Andrew Pinski from comment #1) > I don't think so since &p->array[negative] is undefined behavior even inside > a dynamic boz. Without counted_by, that is true. With counted_by all out of bounds ca

[Bug sanitizer/116984] -fsanitize=bounds triggers within __builtin_dynamic_object_size()

2024-10-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116984 --- Comment #3 from Sam James --- (In reply to Kees Cook from comment #0) > It should be be possible to trigger -fsanitize=bounds within > __builtin_dynamoc_object_size() (which should have no side-effects). > Can you give some more background

[Bug sanitizer/116984] -fsanitize=bounds triggers within __builtin_dynamic_object_size()

2024-10-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116984 --- Comment #2 from Andrew Pinski --- > which should have no side-effects I don't think that is how it is defined either.

[Bug sanitizer/116984] -fsanitize=bounds triggers within __builtin_dynamic_object_size()

2024-10-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116984 --- Comment #1 from Andrew Pinski --- I don't think so since &p->array[negative] is undefined behavior even inside a dynamic boz.

[Bug c/116984] New: -fsanitize=bounds triggers within __builtin_dynamic_object_size()

2024-10-04 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116984 Bug ID: 116984 Summary: -fsanitize=bounds triggers within __builtin_dynamic_object_size() Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c/116983] New: counted_by not used to identify singleton pointers

2024-10-04 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116983 Bug ID: 116983 Summary: counted_by not used to identify singleton pointers Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug libstdc++/116958] std::views::transform loses track of the range size

2024-10-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116958 --- Comment #12 from Jonathan Wakely --- Created attachment 59284 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59284&action=edit Implement vector(from_range_t, R&&) etc. Untested patch adding the P1206R7 changes to

[Bug sanitizer/110553] -fsanitize=undefined needs -latomic on powerpc-unknown-linux-gnu

2024-10-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110553 --- Comment #3 from Sam James --- I don't remember if this got fixed in 14 with a libsanitizer sync or not.

[Bug sanitizer/110553] -fsanitize=undefined needs -latomic on powerpc-unknown-linux-gnu

2024-10-04 Thread awilfox at adelielinux dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110553 A. Wilcox (awilfox) changed: What|Removed |Added CC||awilfox at adelielinux dot org --

[Bug other/116978] ICE with -fdiagnostics-format=sarif-file when main_input_filename is null

2024-10-04 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116978 --- Comment #4 from David Malcolm --- Note that if you're invoking cc1 or another compiler directly, rather than via the "gcc" or "xgcc" driver, add -dumpbase foo or similar before -fdiagnostics-format=sarif-file, so that it will write to foo.

[Bug other/116978] ICE with -fdiagnostics-format=sarif-file when main_input_filename is null

2024-10-04 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116978 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug other/116978] ICE with -fdiagnostics-format=sarif-file when main_input_filename is null

2024-10-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116978 --- Comment #2 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:385a232229a5b4ee3f4d2a2472bcda28cd8d17b2 commit r15-4081-g385a232229a5b4ee3f4d2a2472bcda28cd8d17b2 Author: David Malcolm Date: F

[Bug tree-optimization/116982] [14/15 Regregression] ICE on valid code at -O3 with "-fno-tree-dce -fno-tree-dominator-opts -fno-tree-pre -fno-tree-dse -fno-tree-copy-prop -fno-tree-fre -fno-code-hoist

2024-10-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116982 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Summary|ICE

[Bug tree-optimization/116982] New: ICE on valid code at -O3 with "-fno-tree-dce -fno-tree-dominator-opts -fno-tree-pre -fno-tree-dse -fno-tree-copy-prop -fno-tree-fre -fno-code-hoisting" on x86_64-li

2024-10-04 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
read model: posix Supported LTO compression algorithms: zlib gcc version 15.0.0 20241004 (experimental) (GCC) [581] % [581] % gcctk -O3 -fno-tree-dce -fno-tree-dominator-opts -fno-tree-pre -fno-tree-dse -fno-tree-copy-prop -fno-tree-fre -fno-code-hoisting small.c during GIMPLE pass: vect small.c: I

[Bug middle-end/116933] various issues of -ftrivial-auto-var-init=zero with Ada

2024-10-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116933 --- Comment #12 from Eric Botcazou --- > We added one more argument for __builtin_clear_padding to distinguish > whether this call is for AUTO_INIT or not. > > > > diff --git a/gcc/tree.cc b/gcc/tree.cc > > index bc50afca9a3..095c02c5474 10064

[Bug middle-end/116933] various issues of -ftrivial-auto-var-init=zero with Ada

2024-10-04 Thread qing.zhao at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116933 --- Comment #11 from Qing Zhao --- > On Oct 4, 2024, at 14:03, ebotcazou at gcc dot gnu.org > wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116933 > > --- Comment #7 from Eric Botcazou --- > Another installment in the series "How

[Bug c++/116981] wrongly accepted non-more-specialized partial specialization of class template member for an instantiated enclosing template

2024-10-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116981 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-10-04 Ever confirmed|0

[Bug c++/116981] wrongly accepted non-more-specialized partial specialization of class template member for an instantiated enclosing template

2024-10-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116981 Andrew Pinski changed: What|Removed |Added Keywords||accepts-invalid --- Comment #3 from And

[Bug c++/116981] wrongly accepted non-more-specialized partial specialization of class template member for an instantiated enclosing template

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

[Bug c++/32071] Partial explicit specialization template parameters not checked

2024-10-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32071 Andrew Pinski changed: What|Removed |Added CC||ing.russomauro at gmail dot com --- Comm

[Bug c++/116981] wrongly accepted non-more-specialized partial specialization of class template member for an instantiated enclosing template

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

[Bug c++/116943] wrong(?) indication of specialization after (implicit) instantiation

2024-10-04 Thread ing.russomauro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116943 mauro russo changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c++/116981] New: wrongly accepted non-more-specialized partial specialization of class template member for an instantiated enclosing template

2024-10-04 Thread ing.russomauro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116981 Bug ID: 116981 Summary: wrongly accepted non-more-specialized partial specialization of class template member for an instantiated enclosing template Product: gcc

[Bug target/116972] _march=x86_64 uses rep instead of sse to do the zeroing

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

[Bug target/108585] memset uses SSE stores but afterwards does not but if used "" will use them

2024-10-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108585 Andrew Pinski changed: What|Removed |Added CC||652023330028 at smail dot nju.edu.

[Bug target/116979] [12/13/14/15 regression] fma not always used in complex product

2024-10-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116979 Andrew Pinski changed: What|Removed |Added Summary|[12 regression] fma not |[12/13/14/15 regression]

[Bug target/116979] [12 regression] fma not always used in complex product

2024-10-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116979 --- Comment #3 from Andrew Pinski --- vect___r$_M_value$real_8.21_4 = MEM [(float *)a_2(D)]; vect___r$_M_value$real_8.22_24 = VEC_PERM_EXPR ; vect___r$_M_value$real_8.30_35 = VEC_PERM_EXPR ; vect__10.25_28 = MEM [(float *)b_3(D)]; ve

[Bug middle-end/116933] various issues of -ftrivial-auto-var-init=zero with Ada

2024-10-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116933 --- Comment #10 from Eric Botcazou --- Created attachment 59283 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59283&action=edit Tentative fix

[Bug ada/114964] Ada Address_To_Access_Conversions gnat_to_gnu_entity internal error

2024-10-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114964 --- Comment #5 from Eric Botcazou --- > I have read the detailed instructions for submitting bug reports and > they are not realistic for a project as large as mine.  It is, perhaps, > the largest open source Ada project.  I don't think you wa

[Bug target/116962] Bad interaction between __attribute__((naked)) and -fstack-protector-all

2024-10-04 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116962 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug ada/114964] Ada Address_To_Access_Conversions gnat_to_gnu_entity internal error

2024-10-04 Thread ken at pegasoft dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114964 --- Comment #4 from Ken Burtch --- Hello Eric, I'm involved with a college and two non-profit organizations.  I do not personally have the time or resources to bootstrap GCC 14 from sources and test against my programming language.  I also do

[Bug target/116962] Bad interaction between __attribute__((naked)) and -fstack-protector-all

2024-10-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116962 --- Comment #6 from GCC Commits --- The releases/gcc-12 branch has been updated by H.J. Lu : https://gcc.gnu.org/g:7a51946e00fa2fb2ffacdd7c8d0a80e056c1f7ff commit r12-10742-g7a51946e00fa2fb2ffacdd7c8d0a80e056c1f7ff Author: H.J. Lu Date: Fri

[Bug target/116962] Bad interaction between __attribute__((naked)) and -fstack-protector-all

2024-10-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116962 --- Comment #5 from GCC Commits --- The releases/gcc-13 branch has been updated by H.J. Lu : https://gcc.gnu.org/g:bd9f62324853686c65e1b4331a187102e1e526b0 commit r13-9085-gbd9f62324853686c65e1b4331a187102e1e526b0 Author: H.J. Lu Date: Fri

[Bug target/116980] New: Fixed includes don’t work with XCode 16

2024-10-04 Thread simon at pushface dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116980 Bug ID: 116980 Summary: Fixed includes don’t work with XCode 16 Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/116962] Bad interaction between __attribute__((naked)) and -fstack-protector-all

2024-10-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116962 --- Comment #4 from GCC Commits --- The releases/gcc-14 branch has been updated by H.J. Lu : https://gcc.gnu.org/g:1032b72548c47a199e0407c69d6740d6c3341f43 commit r14-10746-g1032b72548c47a199e0407c69d6740d6c3341f43 Author: H.J. Lu Date: Fri

[Bug middle-end/116933] internal error on basic Ada program with -ftrivial-auto-var-init=zero

2024-10-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116933 --- Comment #9 from Eric Botcazou --- But that's not sufficient and passing LOC to build_string_literal does not change anything either since gimplify_arg has this: /* FIXME diagnostics: This will mess up gcc.dg/Warray-bounds.c. */ /* Make

[Bug target/116962] Bad interaction between __attribute__((naked)) and -fstack-protector-all

2024-10-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116962 --- Comment #3 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:7d2845da112214f064e7b24531cc67e256b5177e commit r15-4080-g7d2845da112214f064e7b24531cc67e256b5177e Author: H.J. Lu Date: Fri Oct 4 16:

[Bug middle-end/116933] internal error on basic Ada program with -ftrivial-auto-var-init=zero

2024-10-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116933 --- Comment #8 from Eric Botcazou --- Note that: location_t loc = EXPR_LOCATION (decl); is equivalent to: location_t loc = UNKNOWN_LOCATION; I presume that DECL_SOURCE_LOCATION was meant instead here.

[Bug target/116953] [avr] error: operands to %T/%t must be reg + const_int

2024-10-04 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116953 Georg-Johann Lay changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/116934] [15 Regression] ICE building 526.blender_r

2024-10-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116934 --- Comment #4 from GCC Commits --- The master branch has been updated by Saurabh Jha : https://gcc.gnu.org/g:20ce363c557d6458ec3193ab4e7df760fbe34976 commit r15-4079-g20ce363c557d6458ec3193ab4e7df760fbe34976 Author: Saurabh Jha Date: Thu O

[Bug target/116953] [avr] error: operands to %T/%t must be reg + const_int

2024-10-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116953 --- Comment #2 from GCC Commits --- The releases/gcc-14 branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:93a6fab364343218e58fd7618e87e5202ae18542 commit r14-10745-g93a6fab364343218e58fd7618e87e5202ae18542 Author: Georg-Johan

[Bug target/116953] [avr] error: operands to %T/%t must be reg + const_int

2024-10-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116953 --- Comment #1 from GCC Commits --- The master branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:58b9024c996951f8d768f1c83a74e5f3eef8a1c7 commit r15-4078-g58b9024c996951f8d768f1c83a74e5f3eef8a1c7 Author: Georg-Johann Lay Dat

[Bug middle-end/116933] internal error on basic Ada program with -ftrivial-auto-var-init=zero

2024-10-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116933 --- Comment #7 from Eric Botcazou --- Another installment in the series "How come this worked before?": diff --git a/gcc/tree.cc b/gcc/tree.cc index bc50afca9a3..095c02c5474 100644 --- a/gcc/tree.cc +++ b/gcc/tree.cc @@ -9848,7 +9848,6 @@ build

Re: School Districts Contacts 2024

2024-10-04 Thread elizabeth reed via Gcc-bugs
Hi there, We are excited to offer you a comprehensive email list of school districts that includes key contact information such as phone numbers, email addresses, mailing addresses, company revenue, size, and web addresses. Our databases also cover related industries such as: * K-12 schools

[Bug middle-end/116933] internal error on basic Ada program with -ftrivial-auto-var-init=zero

2024-10-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116933 Eric Botcazou changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc dot gnu.org

[Bug middle-end/116933] internal error on basic Ada program with -ftrivial-auto-var-init=zero

2024-10-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116933 --- Comment #6 from Eric Botcazou --- > -ftrivial-auto-var-init was initially added for C/C++. It was not fully > tested for other FEs. > I guess that there should be issues for other FEs in addition to ada. > > So, shall we disable this feat

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

2024-10-04 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116961 Iain Buclaw changed: What|Removed |Added CC||ibuclaw at gcc dot gnu.org --- Comment #2

[Bug target/116979] [12 regression] fma not always used in complex product

2024-10-04 Thread vincenzo.innocente at cern dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116979 vincenzo Innocente changed: What|Removed |Added Target||x86_64-pc-linux-gnu --- Comment #2

[Bug target/116979] [12 regression] fma not always used in complex product

2024-10-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116979 Andrew Pinski changed: What|Removed |Added Component|rtl-optimization|target --- Comment #1 from Andrew Pinsk

[Bug rtl-optimization/116979] New: [12 regression] fma not always used in complex product

2024-10-04 Thread vincenzo.innocente at cern dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116979 Bug ID: 116979 Summary: [12 regression] fma not always used in complex product Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug ada/115376] ICE with if expression in value setting of a constant declaration

2024-10-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115376 --- Comment #4 from Eric Botcazou --- Any news about this? Did you try with GCC 14.1 or GCC 14.2? If you still get the bugbox, then proceed as explained in the detailed instructions written at https://gcc.gnu.org/bugs/#gnat in particular: "If

[Bug ada/114964] Ada Address_To_Access_Conversions gnat_to_gnu_entity internal error

2024-10-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114964 --- Comment #3 from Eric Botcazou --- Any news about this? Did you try with GCC 14.1 or GCC 14.2? If you still get the bugbox, then proceed as explained in the detailed instructions written at https://gcc.gnu.org/bugs/#gnat in particular: "If

[Bug analyzer/116977] Analyzer: track OpenACC "host" vs. "device" pointers

2024-10-04 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116977 --- Comment #3 from David Malcolm --- (In reply to Thomas Schwinge from comment #1) > David, re (a) and (c), do we teach directly the Analyzer about specific > functions (like 'acc_malloc', 'acc_free' if '-fopenacc' is enabled), or do > we add G

[Bug analyzer/116977] Analyzer: track OpenACC "host" vs. "device" pointers

2024-10-04 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116977 --- Comment #2 from David Malcolm --- Thanks for looking at this, and for filing the bug. There are two ways of tracking state in the analyzer: (a) using state machines, like in sm-malloc.cc, which let program_state instances track per-svalue

[Bug target/116444] gcc.target/arm/thumb-ifcvt-2.c fails on Cortex-M55 and misses possible Cortex-M optimization

2024-10-04 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116444 --- Comment #5 from avieira at gcc dot gnu.org --- Posted a fix, I believe it's related to the fact that for the cases where we were using noce before, it was using the default hook to do a cost check, my patch blankly approved those, this fix ca

[Bug other/116970] -ftime-report -fdiagnostics-format=sarif-file causes ICE

2024-10-04 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116970 David Malcolm changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug other/116978] ICE with -fdiagnostics-format=sarif-file when main_input_filename is null

2024-10-04 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116978 David Malcolm changed: What|Removed |Added CC||andi-gcc at firstfloor dot org --- Comm

[Bug other/116978] New: ICE with -fdiagnostics-format=sarif-file when main_input_filename is null

2024-10-04 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116978 Bug ID: 116978 Summary: ICE with -fdiagnostics-format=sarif-file when main_input_filename is null Product: gcc Version: unknown Status: UNCONFIRMED Keywords: S

[Bug target/65710] [4.9/5 Regression] Thumb1 ICE caused by no register to spill

2024-10-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65710 --- Comment #34 from GCC Commits --- The trunk branch has been updated by Thiago Bauermann : https://gcc.gnu.org/g:115857bf1e32637e258a9329fdf25cf924d01e90 commit r15-4075-g115857bf1e32637e258a9329fdf25cf924d01e90 Author: Thiago Jung Bauermann

[Bug target/97969] [9 Regression][ARM/Thumb] Certain combo of codegen options leads to compilation infinite loop with growing memory use

2024-10-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97969 --- Comment #29 from GCC Commits --- The trunk branch has been updated by Thiago Bauermann : https://gcc.gnu.org/g:115857bf1e32637e258a9329fdf25cf924d01e90 commit r15-4075-g115857bf1e32637e258a9329fdf25cf924d01e90 Author: Thiago Jung Bauermann

[Bug target/65647] [5 Regression] GCC won't stop when compile for armv6-m

2024-10-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65647 --- Comment #15 from GCC Commits --- The trunk branch has been updated by Thiago Bauermann : https://gcc.gnu.org/g:115857bf1e32637e258a9329fdf25cf924d01e90 commit r15-4075-g115857bf1e32637e258a9329fdf25cf924d01e90 Author: Thiago Jung Bauermann

[Bug rtl-optimization/59858] [4.8 Regression] ICE: assign_by_spills, at lra-assigns.c:1283

2024-10-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59858 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Thiago Bauermann : https://gcc.gnu.org/g:115857bf1e32637e258a9329fdf25cf924d01e90 commit r15-4075-g115857bf1e32637e258a9329fdf25cf924d01e90 Author: Thiago Jung Bauermann

[Bug tree-optimization/112358] [14/15 Regression] glibc -Wstringop-overflow= build failure on hppa since r14-4089-gd45ddc2c04e471

2024-10-04 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112358 --- Comment #10 from John David Anglin --- The following patch also fixes the warning/error. diff --git a/elf/dl-find_object.c b/elf/dl-find_object.c index 449302eda3..b18a1b209d 100644 --- a/elf/dl-find_object.c +++ b/elf/dl-find_object.c @@ -

[Bug gcov-profile/116743] [12/13/14/15 regression] Commit r12-5817-g3d9e6767939e96 causes ~10% perf regression w AutoFDO

2024-10-04 Thread rvmallad at amazon dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116743 --- Comment #11 from Rama Malladi --- Hi Eugene, Could you please review the test-case attached? Thanks.

[Bug modula2/116918] The -fswig option is broken as the generated interface file has incorrect syntax

2024-10-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116918 --- Comment #7 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:e2a701cd0419a1898a2a359711572a8bcf4f8eb3 commit r15-4072-ge2a701cd0419a1898a2a359711572a8bcf4f8eb3 Author: Gaius Mulley Date: Fri

[Bug middle-end/116933] internal error on basic Ada program with -ftrivial-auto-var-init=zero

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

[Bug analyzer/116977] Analyzer: track OpenACC "host" vs. "device" pointers

2024-10-04 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116977 Thomas Schwinge changed: What|Removed |Added Last reconfirmed||2024-10-04 Ever confirmed|0

[Bug analyzer/116977] New: Analyzer: track OpenACC "host" vs. "device" pointers

2024-10-04 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116977 Bug ID: 116977 Summary: Analyzer: track OpenACC "host" vs. "device" pointers Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: openacc Severity: normal

[Bug target/116444] gcc.target/arm/thumb-ifcvt-2.c fails on Cortex-M55 and misses possible Cortex-M optimization

2024-10-04 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116444 --- Comment #4 from avieira at gcc dot gnu.org --- No hadn't seen that yet. Will look at it thanks!

[Bug c++/116976] New: vector::iterator fails to meet Cpp17InputIterator requirements

2024-10-04 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116976 Bug ID: 116976 Summary: vector::iterator fails to meet Cpp17InputIterator requirements Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: rejects-valid

[Bug target/116444] gcc.target/arm/thumb-ifcvt-2.c fails on Cortex-M55 and misses possible Cortex-M optimization

2024-10-04 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116444 --- Comment #3 from Torbjorn SVENSSON --- @Andre, did you see the email I sent you yesterday about the regression that this change introduced?

[Bug target/116444] gcc.target/arm/thumb-ifcvt-2.c fails on Cortex-M55 and misses possible Cortex-M optimization

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

[Bug target/116444] gcc.target/arm/thumb-ifcvt-2.c fails on Cortex-M55 and misses possible Cortex-M optimization

2024-10-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116444 --- Comment #1 from GCC Commits --- The master branch has been updated by Andre Simoes Dias Vieira : https://gcc.gnu.org/g:7766a2c1eb683352ce117e8ed014665f392f commit r15-4066-g7766a2c1eb683352ce117e8ed014665f392f Author: Andre Vieira

[Bug target/116725] operand size mismatch for vfpclasssd and vfpclassss when using -masm=intel for AVX512 builtins

2024-10-04 Thread bouanto at zoho dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116725 --- Comment #6 from Antoni --- Actually, the bug was not fixed on master: I was confusing my gcc install directories. I'll send the real patch soon.

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2024-10-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 116936, which changed state. Bug 116936 Summary: [UBSAN] gcc/diagnostic.cc: null pointer passed as argument https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116936 What|Removed |Added --

[Bug pch/116936] [UBSAN] gcc/diagnostic.cc: null pointer passed as argument

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

[Bug pch/116936] [UBSAN] gcc/diagnostic.cc: null pointer passed as argument

2024-10-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116936 --- Comment #5 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f82055f8247478d9e2c00f2a442248e42188b8d1 commit r15-4064-gf82055f8247478d9e2c00f2a442248e42188b8d1 Author: Jakub Jelinek Date: F

[Bug libstdc++/116210] 17_intro/names.cc test fails with >=glibc-2.35 and _FORTIFY_SOURCE

2024-10-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116210 --- Comment #10 from Jonathan Wakely --- Hmm, 17_intro/names.cc is supposed to test libstdc++ not libc headers. But running it again with _FORTIFY_SOURCE defined is really only going to find problems in Glibc, and that test belongs in Glibc itse

[Bug d/116975] New: Implement STAGE1_GDCFLAGS

2024-10-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116975 Bug ID: 116975 Summary: Implement STAGE1_GDCFLAGS Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: d Assignee:

[Bug tree-optimization/116974] omp inscan reduction not supported with SLP

2024-10-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116974 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug tree-optimization/116974] New: omp inscan reduction not supported with SLP

2024-10-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116974 Bug ID: 116974 Summary: omp inscan reduction not supported with SLP Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree

[Bug preprocessor/96842] enhancement: copy clang Wheader-guard

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

[Bug middle-end/87403] [Meta-bug] Issues that suggest a new warning

2024-10-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87403 Bug 87403 depends on bug 96842, which changed state. Bug 96842 Summary: enhancement: copy clang Wheader-guard https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96842 What|Removed |Added --

[Bug preprocessor/96842] enhancement: copy clang Wheader-guard

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

[Bug target/116921] [14 Regression] ICE: in extract_insn, at recog.cc:2882 unrecognizable insn: UNSPEC_PTEST with -O -msse4 since r14-2464

2024-10-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116921 Jakub Jelinek changed: What|Removed |Added Summary|[14/15 Regression] ICE: in |[14 Regression] ICE: in

[Bug target/116972] _march=x86_64 uses rep instead of see to do the zeroing

2024-10-04 Thread 652023330028 at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116972 --- Comment #2 from Yi <652023330028 at smail dot nju.edu.cn> --- (In reply to Andrew Pinski from comment #1) > This is not exactly a missed optimization. Rather the default settings for > the generic x86_64 is to use rep stosq for the memset of

[Bug middle-end/28614] gcc.c-torture/compile/20001226-1.c times out

2024-10-04 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28614 --- Comment #9 from rguenther at suse dot de --- On Fri, 4 Oct 2024, tschwinge at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28614 > > --- Comment #8 from Thomas Schwinge --- > (In reply to myself from comment #7) >

[Bug target/116921] [14/15 Regression] ICE: in extract_insn, at recog.cc:2882 unrecognizable insn: UNSPEC_PTEST with -O -msse4 since r14-2464

2024-10-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116921 --- Comment #3 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:92e9e971ced90af5a825ae4b35ad6c98c9ab86da commit r15-4063-g92e9e971ced90af5a825ae4b35ad6c98c9ab86da Author: Jakub Jelinek Date: F

[Bug target/116972] _march=x86_64 uses rep instead of see to do the zeroing

2024-10-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116972 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |target Summary|missed vector

[Bug target/116955] [15 Regression] GCN '-march=gfx1100': [-PASS:-]{+FAIL:+} gcc.dg/vect/pr81740-2.c execution test

2024-10-04 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116955 --- Comment #3 from rguenther at suse dot de --- On Fri, 4 Oct 2024, tschwinge at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116955 > > Thomas Schwinge changed: > >What|Removed |

[Bug tree-optimization/116973] FAIL: gcc.dg/vect/pr52252-st.c with forced SLP

2024-10-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116973 --- Comment #2 from Richard Biener --- Note the load in question isn't lowered because of /* When the load permutation accesses a contiguous unpermuted, power-of-two aligned and sized chunk leave the load alone. We can l

[Bug libstdc++/116969] '__ibm128' '-Wformat' diagnostics in 'libstdc++-v3/include/bits/locale_facets_nonio.tcc'

2024-10-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116969 --- Comment #4 from Jonathan Wakely --- We could just drop the format attribute from the decl and then we don't need to suppress a warning. The attribute isn't useful here, since we know the format string is correct for the arguments we're using

[Bug modula2/116918] The -fswig option is broken as the generated interface file has incorrect syntax

2024-10-04 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116918 --- Comment #6 from Gaius Mulley --- Many thanks for spotting this - will fix.

[Bug middle-end/28614] gcc.c-torture/compile/20001226-1.c times out

2024-10-04 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28614 --- Comment #8 from Thomas Schwinge --- (In reply to myself from comment #7) > for '--target=amdgcn-amdhsa' (tested '-march=gfx908', '-march=gfx1100'; > with '--enable-checking=yes,extra,rtl') -- but for '-O1' only: > > PASS: gcc.c-torture/c

[Bug target/116925] [15 regression] ICE with _mm_min_ps and `-O1 -mavx -ffloat-store` (building newton-3.14) since r15-1742

2024-10-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116925 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/116925] [15 regression] ICE with _mm_min_ps and `-O1 -mavx -ffloat-store` (building newton-3.14) since r15-1742

2024-10-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116925 --- Comment #9 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:67b750c20e1f9428ef89a6fed0103e912bea8679 commit r15-4062-g67b750c20e1f9428ef89a6fed0103e912bea8679 Author: Jakub Jelinek Date: F

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

2024-10-04 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 116911, which changed state. Bug 116911 Summary: [15 regression] reference to a variable in anonymous namespace no longer considered constexpr in C++11 since r15-3910-gaf4471cb422a86 https://gcc.gnu.org/bugzilla/show_bug.

[Bug c++/116913] [15 regression] ICE when building firefox-130.0.1 (tree check: expected var_decl or function_decl or field_decl or type_decl or concept_decl or template_decl, have using_decl in cp_pa

2024-10-04 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116913 Nathaniel Shead changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/116911] [15 regression] reference to a variable in anonymous namespace no longer considered constexpr in C++11 since r15-3910-gaf4471cb422a86

2024-10-04 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116911 Nathaniel Shead changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

  1   2   >