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/26719] [4.1/4.2 Regression] Computed (integer) table changes with -O



------- Comment #2 from rakdver at gcc dot gnu dot org  2006-03-16 18:50 -------
This is a scev analysis problem; on code

  D.2160_17 = (signed char) j_15;
  D.2161_18 = (int) D.2160_17;

it says D.2161_18 = {0, +, 1};  however, since it wraps at 128 to -127, this is
not correct -- (int) {0, +, 1}  (where the type of the chrec is char) would be.


-- 

rakdver at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sebastian dot pop at cri dot
                   |                            |ensmp dot fr


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26719


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