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

2007-03-19 Thread TabonyEE at austin dot rr dot com
--- Comment #3 from TabonyEE at austin dot rr dot com 2007-03-20 00:39 --- C. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31136

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

2007-03-19 Thread pinskia 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++? -

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

2007-03-19 Thread TabonyEE at austin dot rr dot com
--- Comment #1 from TabonyEE at austin dot rr dot com 2007-03-19 23:19 --- GCC 4.1.2 returns 0. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31136