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 middle-end/61111] New: Infinite recursion between fold_build2_stat_loc and fold_binary_loc


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

            Bug ID: 61111
           Summary: Infinite recursion between fold_build2_stat_loc and
                    fold_binary_loc
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rearnsha at gcc dot gnu.org
              Host: x86_64-linux
            Target: arm-eabi

Compile the following with: -O2


typedef union expr_rec expr;
expr *GenBoolAndVec(expr *aExpr, expr *bExpr, int len)
{
    int lsubop;
    lsubop = ((((len) & 15) << 4) | ((0x00000007) & 15));
}

(testcase reduced from running csibe, while trying to identify another
seg-fault).


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