[LLVMbugs] [Bug 10936] New: clang/analyzer hangs when compiling postgresql 9.1.0

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Sep 15 12:08:50 PDT 2011


           Summary: clang/analyzer hangs when compiling postgresql 9.1.0
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Static Analyzer
        AssignedTo: kremenek at apple.com
        ReportedBy: lbalbalba at gmail.com
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=7278)
 --> (http://llvm.org/bugs/attachment.cgi?id=7278)
preprocessed file version of 'postgresql-9.1.0/src/backend/parser/gram.c'

When compiling and analyzing postgresql 9.1.0 with clang/analyzer, it freezes
at the point: "ANALYZE: gram.c base_yyparse".

Full cmd line is :

/usr/local/bin/clang -cc1 -triple i386-pc-linux-gnu -analyze -disable-free
-main-file-name gram.c -analyzer-store=region
-analyzer-opt-analyze-nested-blocks -analyzer-eagerly-assume
-analyzer-checker=core -analyzer-checker=deadcode -analyzer-checker=security
-analyzer-checker=unix -analyzer-output plist -w -mrelocation-model static
-mdisable-fp-elim -masm-verbose -mconstructor-aliases -target-cpu pentium4
-target-linker-version -momit-leaf-frame-pointer -resource-dir
/usr/local/bin/../lib/clang/3.0 -D _GNU_SOURCE -I . -I . -I
../../../src/include -Wno-error -ferror-limit 19 -fmessage-length 0
-fdiagnostics-show-option -analyzer-display-progress -analyzer-output=html -o
/tmp/postgresql/2011-09-15-1 -x c gram.c

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list