public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Janis Johnson <janis187@us.ibm.com> To: jakub@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, Subject: Re: optimization/6631: Miscompiled structure access Date: Tue, 08 Oct 2002 11:46:00 -0000 [thread overview] Message-ID: <20021008184602.23149.qmail@sources.redhat.com> (raw) The following reply was made to PR optimization/6631; it has been noted by GNATS. From: Janis Johnson <janis187@us.ibm.com> To: gcc-gnats@gcc.gnu.org Cc: Subject: Re: optimization/6631: Miscompiled structure access Date: Tue, 8 Oct 2002 11:39:50 -0700 This is a regression from GCC 3.0 that was exposed by the following cp patch: 2002-04-30 Mark Mitchell <mark@codesourcery.com> ABI change, returning simple classes from functions. * class.c (finish_struct_bits): Only mark TREE_ADDRESSABLE if TYPE_HAS_TRIVIAL_INIT_REF is false or TYPE_HAS_NONTRIVIAL_DESTRUCTOR is true. The test passes with optimization on if it is altered by adding a destructor or a copy constructor to class QSize, or by removing "const" from "inline const QSize operator+". I'm not planning to investigate this further, but hope this additional information will be useful. Janis
next reply other threads:[~2002-10-08 18:46 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-10-08 11:46 Janis Johnson [this message] -- strict thread matches above, loose matches on Subject: below -- 2002-10-14 14:20 mmitchel 2002-05-13 0:14 jakub 2002-05-10 18:26 Andreas Schwab
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20021008184602.23149.qmail@sources.redhat.com \ --to=janis187@us.ibm.com \ --cc=gcc-prs@gcc.gnu.org \ --cc=jakub@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).