public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/39744] component references with VIEW_CONVERT_EXPR should be canonicalized
[not found] <bug-39744-4@http.gcc.gnu.org/bugzilla/>
@ 2012-02-01 20:44 ` pinskia at gcc dot gnu.org
2021-07-26 20:19 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-02-01 20:44 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39744
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-02-01
Ever Confirmed|0 |1
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-01 20:43:54 UTC ---
Confirmed, right now we get:
D.1711_2 = VIEW_CONVERT_EXPR<struct X>(1).y.z;
return D.1711_2;
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug middle-end/39744] component references with VIEW_CONVERT_EXPR should be canonicalized
[not found] <bug-39744-4@http.gcc.gnu.org/bugzilla/>
2012-02-01 20:44 ` [Bug middle-end/39744] component references with VIEW_CONVERT_EXPR should be canonicalized pinskia at gcc dot gnu.org
@ 2021-07-26 20:19 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-07-26 20:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39744
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed again:
Before FRE:
z = 1;
_4 = MEM[(struct X *)&z].y.z;
Note fre we are able to do the right thing but dom does not.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug middle-end/39744] component references with VIEW_CONVERT_EXPR should be canonicalized
2009-04-12 18:35 [Bug middle-end/39744] New: " rguenth at gcc dot gnu dot org
@ 2009-04-14 14:02 ` rguenth at gcc dot gnu dot org
0 siblings, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-04-14 14:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2009-04-14 14:02 -------
Testcase for the second case:
struct Y { int z; };
struct X { struct Y y; };
int foo()
{
int z = 1;
struct X *x = (struct X *)&z;
return x->y.z;
}
a testcase for the first case is harder.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39744
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-07-26 20:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-39744-4@http.gcc.gnu.org/bugzilla/>
2012-02-01 20:44 ` [Bug middle-end/39744] component references with VIEW_CONVERT_EXPR should be canonicalized pinskia at gcc dot gnu.org
2021-07-26 20:19 ` pinskia at gcc dot gnu.org
2009-04-12 18:35 [Bug middle-end/39744] New: " rguenth at gcc dot gnu dot org
2009-04-14 14:02 ` [Bug middle-end/39744] " rguenth 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).