From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Li Subject: Re: Infinite loop with OOM while testing Sparse on Wine code Date: Tue, 18 Jul 2017 13:11:14 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from mail-pg0-f45.google.com ([74.125.83.45]:34489 "EHLO mail-pg0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751510AbdGRRLP (ORCPT ); Tue, 18 Jul 2017 13:11:15 -0400 Received: by mail-pg0-f45.google.com with SMTP id 123so16095833pgj.1 for ; Tue, 18 Jul 2017 10:11:15 -0700 (PDT) In-Reply-To: Sender: linux-sparse-owner@vger.kernel.org List-Id: linux-sparse@vger.kernel.org To: Michael Stefaniuc Cc: Sparse Mailing-list , Luc Van Oostenryck On Tue, Jul 18, 2017 at 10:47 AM, Michael Stefaniuc wrote: > > make[1]: Entering directory '/j/wine/build/sparse64/dlls/user32/tests' > cgcc -c -o menu.o /home/michi/work/wine/dlls/user32/tests/menu.c -I. \ > -I/home/michi/work/wine/dlls/user32/tests -I../../../include > -I/home/michi/work/wine/include \ > -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing > -Wdeclaration-after-statement \ > -Wempty-body -Wignored-qualifiers -Wshift-overflow=2 > -Wstrict-prototypes -Wtype-limits \ > -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith > -Wlogical-op -gdwarf-2 \ > -gstrict-dwarf -g -O2 Adding CC of Luc, It is much easier to reproduce the error from the command line as above. Just update the wine directory name is good enough for me. I can see how it is loop on the CSE phase. It is trying to simplify the set_ne constant follow by a branch. However it did not change the instruction and keep setting the CSE flag. Need more digging. My gut feeling is that we should fix this before the release. Chris