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 rtl-optimization/29631] [4.1 regression] bug with promoted induction variable



------- Comment #7 from ebotcazou at gcc dot gnu dot org  2006-10-31 23:34 -------
Subject: Bug 29631

Author: ebotcazou
Date: Tue Oct 31 23:34:05 2006
New Revision: 118346

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118346
Log:
        PR rtl-optimization/29631
        * loop.c (basic_induction_var): Add new parameter inner_mode.
        <PLUS>: If set, convert the increment to it before sign-extending.
        <CONST_INT>: Likewise.
        <SUBREG>: Set it.
        <ASHIFTRT>: Likewise.  Return 0 if flag_wrapv.


Added:
    branches/gcc-4_1-branch/gcc/testsuite/gcc.c-torture/execute/20061031-1.c
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/loop.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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


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