[LLVMbugs] [Bug 13553] Different behavior between g++ and clang++ when evaluating function calls as parameters

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Aug 8 12:55:53 PDT 2012


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

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|                            |INVALID

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> 2012-08-08 14:55:53 CDT ---
> I am also not sure how this is defined in the C/C++ specs.

The order is unspecified, and varies from compiler to compiler (and for some
compilers even changes depending on compiler version, build flags, or which
platform you're targeting).

We generally don't change Clang to hide bugs in the source code it's compiling.

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