[cfe-commits] r155342 - /cfe/trunk/test/CodeGen/arm-homogenous.c

Anton Korobeynikov asl at math.spbu.ru
Mon Apr 23 02:02:13 PDT 2012


Author: asl
Date: Mon Apr 23 04:02:13 2012
New Revision: 155342

URL: http://llvm.org/viewvc/llvm-project?rev=155342&view=rev
Log:
Do not use stdint.h, driver might provide invalid location for it. Instead, provide the types directly.
This should fix PR12628

Modified:
    cfe/trunk/test/CodeGen/arm-homogenous.c

Modified: cfe/trunk/test/CodeGen/arm-homogenous.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm-homogenous.c?rev=155342&r1=155341&r2=155342&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm-homogenous.c (original)
+++ cfe/trunk/test/CodeGen/arm-homogenous.c Mon Apr 23 04:02:13 2012
@@ -1,5 +1,7 @@
 // RUN: %clang_cc1 -triple armv7---eabi -target-abi aapcs -mfloat-abi hard -emit-llvm %s -o - | FileCheck %s
-#include <stdint.h>
+
+typedef long long int64_t;
+typedef unsigned int uint32_t;
 
 /* This is not a homogenous aggregate - fundamental types are different */
 typedef union {





More information about the cfe-commits mailing list