public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/102781] New: -ftrivial-auto-var-init might not clear paddings for long double/_Complex long double variables that have explicit initializer
@ 2021-10-15 15:17 qinzhao at gcc dot gnu.org
2021-10-15 15:21 ` [Bug middle-end/102781] " qinzhao at gcc dot gnu.org
2021-10-18 6:24 ` rguenth at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: qinzhao at gcc dot gnu.org @ 2021-10-15 15:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102781
Bug ID: 102781
Summary: -ftrivial-auto-var-init might not clear paddings for
long double/_Complex long double variables that have
explicit initializer
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: qinzhao at gcc dot gnu.org
Target Milestone: ---
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug middle-end/102781] -ftrivial-auto-var-init might not clear paddings for long double/_Complex long double variables that have explicit initializer
2021-10-15 15:17 [Bug middle-end/102781] New: -ftrivial-auto-var-init might not clear paddings for long double/_Complex long double variables that have explicit initializer qinzhao at gcc dot gnu.org
@ 2021-10-15 15:21 ` qinzhao at gcc dot gnu.org
2021-10-18 6:24 ` rguenth at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: qinzhao at gcc dot gnu.org @ 2021-10-15 15:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102781
--- Comment #1 from qinzhao at gcc dot gnu.org ---
This is a placeholder to an known issue with -ftrivial-auto-var-init:
If a long double/_Complex long double auto variable has explicit initializer,
and when this variable is spilled into stack memory, its padding is not cleared
with this option.
Right now, I cannot come up with a good testing case yet.
Please see PR 102281 for more details.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug middle-end/102781] -ftrivial-auto-var-init might not clear paddings for long double/_Complex long double variables that have explicit initializer
2021-10-15 15:17 [Bug middle-end/102781] New: -ftrivial-auto-var-init might not clear paddings for long double/_Complex long double variables that have explicit initializer qinzhao at gcc dot gnu.org
2021-10-15 15:21 ` [Bug middle-end/102781] " qinzhao at gcc dot gnu.org
@ 2021-10-18 6:24 ` rguenth at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-10-18 6:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102781
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2021-10-18
Target| |x86_64-*-* i?86-*-*
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-10-18 6:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-15 15:17 [Bug middle-end/102781] New: -ftrivial-auto-var-init might not clear paddings for long double/_Complex long double variables that have explicit initializer qinzhao at gcc dot gnu.org
2021-10-15 15:21 ` [Bug middle-end/102781] " qinzhao at gcc dot gnu.org
2021-10-18 6:24 ` rguenth at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).