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


Dale Johannesen <[EMAIL PROTECTED]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[EMAIL PROTECTED]
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #2 from Dale Johannesen <[EMAIL PROTECTED]>  2008-10-27 12:21:23 ---
First, b in uninitialized, so the program has undefined behavior.  However,
initializing b to 0 does result in the behavior you describe (as it does with
gcc).  Second, I think this behavior is valid; in C99, see 6.5p2 and p3, and
example 7 (p15) in 5.1.2.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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to