[llvm-commits] [llvm-gcc-4.2] r54260 - /llvm-gcc-4.2/trunk/gcc/c-common.c
Mon P Wang
wangmp at apple.com
Thu Jul 31 20:16:54 PDT 2008
Author: wangmp
Date: Thu Jul 31 22:16:51 2008
New Revision: 54260
URL: http://llvm.org/viewvc/llvm-project?rev=54260&view=rev
Log:
Removed an unnecessary condition check that seems to cause an optimization
error that prevent building after r54240
Modified:
llvm-gcc-4.2/trunk/gcc/c-common.c
Modified: llvm-gcc-4.2/trunk/gcc/c-common.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/c-common.c?rev=54260&r1=54259&r2=54260&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/c-common.c (original)
+++ llvm-gcc-4.2/trunk/gcc/c-common.c Thu Jul 31 22:16:51 2008
@@ -8821,7 +8821,7 @@
goto incompatible;
type = TREE_TYPE (type);
- if (!INTEGRAL_TYPE_P (type) && !POINTER_TYPE_P (type))
+ if (!INTEGRAL_TYPE_P (type))
goto incompatible;
size = tree_low_cst (TYPE_SIZE_UNIT (type), 1);
More information about the llvm-commits
mailing list