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

2024-10-07 Thread qing.zhao at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116933 --- Comment #18 from Qing Zhao --- > On Oct 7, 2024, at 11:34, ebotcazou at gcc dot gnu.org > wrote: > I see, thanks for investigation! This was overlooked because the C family of > compiler do not use the declaration built in common_builtin_

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

2024-10-07 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116933 --- Comment #17 from Eric Botcazou --- > Okay, by searching the history, looks like that the following patch forget > to update the above routine when merging the 2nd and 3rd parameters for > __builtin_clear_padding: I see, thanks for investig

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

2024-10-07 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116933 --- Comment #16 from qinzhao at gcc dot gnu.org --- (In reply to Eric Botcazou from comment #12) > > We added one more argument for __builtin_clear_padding to distinguish > > whether this call is for AUTO_INIT or not. > > > > > > diff --git a/g

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

2024-10-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116933 --- Comment #15 from Sam James --- Thank you.

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

2024-10-05 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 Target Milestone|--- |15.0 Resolution|---

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

2024-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116933 --- Comment #13 from GCC Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:a8e6360765336969e3f45ac16e4340e5e5468768 commit r15-4085-ga8e6360765336969e3f45ac16e4340e5e5468768 Author: Eric Botcazou Date:

[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 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