[llvm-commits] [llvm-gcc-4.2] r59058 - /llvm-gcc-4.2/trunk/gcc/config/darwin.c
Bill Wendling
isanbard at gmail.com
Tue Nov 11 10:38:15 PST 2008
Author: void
Date: Tue Nov 11 12:38:07 2008
New Revision: 59058
URL: http://llvm.org/viewvc/llvm-project?rev=59058&view=rev
Log:
Add braces to silence warning.
Modified:
llvm-gcc-4.2/trunk/gcc/config/darwin.c
Modified: llvm-gcc-4.2/trunk/gcc/config/darwin.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/darwin.c?rev=59058&r1=59057&r2=59058&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/darwin.c (original)
+++ llvm-gcc-4.2/trunk/gcc/config/darwin.c Tue Nov 11 12:38:07 2008
@@ -2695,13 +2695,14 @@
|| strverscmp (darwin_macosx_version_min, "10.6") >= 0))
flag_stack_protect = 1;
#else
- if (flag_stack_protect == -1 && darwin_macosx_version_min)
+ if (flag_stack_protect == -1 && darwin_macosx_version_min) {
{
if (strverscmp (darwin_macosx_version_min, "10.5") >= 0)
flag_stack_protect = 0;
else if (strverscmp (darwin_macosx_version_min, "10.6") >= 0)
flag_stack_protect = 1;
}
+ }
#endif
/* LLVM LOCAL end - Don't enable stack protectors by default for Leopard. */
/* APPLE LOCAL end stack-protector default 5095227 */
More information about the llvm-commits
mailing list