This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/31136] FRE ignores bit-field truncation
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Mar 2007 00:24:25 -0000
- Subject: [Bug tree-optimization/31136] FRE ignores bit-field truncation
- References: <bug-31136-12896@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-03-20 00:24 -------
> D.1879_8 was replaced by 31, ignoring the fact that the value should have been
> truncated to 15 when assigned to s.b4.
The front-end should have truncated that to 15. Which front-end are you using,
C or C++?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31136