This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/31136] FRE ignores bit-field truncation



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]