[LLVMbugs] [Bug 4391] New: Pretty-printing nested unary plus/minus prints preincrement /predecrement

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Jun 14 07:27:10 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=4391

           Summary: Pretty-printing nested unary plus/minus prints
                    preincrement/predecrement
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: AST
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: bagnara at cs.unipr.it
                CC: llvmbugs at cs.uiuc.edu


$ cat bug.c
int g(void) {
  int a = + +3;
  int b = - -3;
}
$ clang-cc -ast-print bug.c
typedef __int128_t __int128_t;
typedef __uint128_t __uint128_t;
struct __va_list_tag {
    unsigned int gp_offset;
    unsigned int fp_offset;
    void *overflow_arg_area;
    void *reg_save_area;
};
int g() {
    int a = ++3;
    int b = --3;
}


-- 
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