public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/19816] New: C++ front-end produces a cast instead of just &a.b (empty base class)
@ 2005-02-08 15:09 pinskia at gcc dot gnu dot org
2005-03-17 17:50 ` [Bug c++/19816] " pinskia at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-08 15:09 UTC (permalink / raw)
To: gcc-bugs
For the following code, the C++ front-end produces a case instead of doing &v.base which seems
wrong in my mind.
struct base { base(); };
struct vector : public base { };
int f() { vector v; }
This might be the cause of PR 19786 but it might not (I have not looked at the aliasing sets for that bug
yet).
--
Summary: C++ front-end produces a cast instead of just &a.b
(empty base class)
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19816
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/19816] C++ front-end produces a cast instead of just &a.b (empty base class)
2005-02-08 15:09 [Bug c++/19816] New: C++ front-end produces a cast instead of just &a.b (empty base class) pinskia at gcc dot gnu dot org
@ 2005-03-17 17:50 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-17 17:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-17 17:50 -------
Confirmed
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |missed-optimization, TREE
Last reconfirmed|0000-00-00 00:00:00 |2005-03-17 17:50:13
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19816
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-17 17:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-08 15:09 [Bug c++/19816] New: C++ front-end produces a cast instead of just &a.b (empty base class) pinskia at gcc dot gnu dot org
2005-03-17 17:50 ` [Bug c++/19816] " pinskia at gcc dot gnu dot 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).