This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/35518] [4.4 Regression] FAIL: gcc.c-torture/execute/20040709-1.c execution at -O2 and above
- From: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jun 2008 21:34:08 -0000
- Subject: [Bug tree-optimization/35518] [4.4 Regression] FAIL: gcc.c-torture/execute/20040709-1.c execution at -O2 and above
- References: <bug-35518-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from dave at hiauly1 dot hia dot nrc dot ca 2008-06-22 21:34 -------
Subject: Re: [4.4 Regression] FAIL: gcc.c-torture/execute/20040709-1.c
execution at -O2 and above
> > x$B0F7_8 = BIT_FIELD_REF <x, 7, 0>;
> > D.1258.i ={v} x$i_5;
> > D.1258.j ={v} x$j_7;
> > SR.12_9 = x$B0F7_8 >> 1;
> > BIT_FIELD_REF <D.1258, 7, 0> ={v} SR.12_9;
> > return D.1258;
> Well, SRA is broken (cost-wise at least) since lxos changes.
Why the shift? It seems incorrect.
SRA also seems to be manipulating the k and l fields together for
some reason. Why not all the fields since K is packed and the total
bit length is less than a word?
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35518