mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-06 09:44:39 +00:00
Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17532 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d13e0ae12e
commit
e9af5d186b
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
/* Regression test. Just compile .c -> .ll to test */
|
||||
int foo(void) {
|
||||
unsigned char *pp;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
// This caused generation of the following type name:
|
||||
// %Array = uninitialized global [10 x %complex int]
|
||||
//
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
void *dlclose(void*);
|
||||
|
||||
void ap_os_dso_unload(void *handle)
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
/* Test problem where bad code was generated with a ?: statement was
|
||||
in a function call argument */
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
/* This triggered a problem in reload, fixed by disabling most of the
|
||||
* steps of compilation in GCC. Before this change, the code went through
|
||||
* the entire backend of GCC, even though it was unnecessary for LLVM output
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
/* This testcase causes a symbol table collision. Type names and variable
|
||||
* names should be in distinct namespaces
|
||||
*/
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
/* Testcase for a problem where GCC allocated xqic to a register,
|
||||
* and did not have a VAR_DECL that explained the stack slot to LLVM.
|
||||
* Now the LLVM code synthesizes a stack slot if one is presented that
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
/* GCC Used to generate code that contained a branch to the entry node of
|
||||
* the do_merge function. This is illegal LLVM code. To fix this, GCC now
|
||||
* inserts an entry node regardless of whether or not it has to insert allocas.
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
/* test that locals are renamed with . notation */
|
||||
|
||||
void abc(void *);
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
int test(int X) {
|
||||
return X;
|
||||
}
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
/* GCC wasn't handling 64 bit constants right fixed */
|
||||
|
||||
void main() {
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
|
||||
double FOO = 17;
|
||||
double BAR = 12.0;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
#include <string.h>
|
||||
|
||||
int test(char *X) {
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
/* GCC would generate bad code if not enough initializers are
|
||||
specified for an array.
|
||||
*/
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
|
||||
typedef struct Connection_Type {
|
||||
long to;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
/* GCC was not emitting string constants of the correct length when
|
||||
* embedded into a structure field like this. It thought the strlength
|
||||
* was -1.
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
/* GCC was generating PHI nodes with an arity < #pred of the basic block the
|
||||
* PHI node lived in. This was breaking LLVM because the number of entries
|
||||
* in a PHI node must equal the number of predecessors for a basic block.
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
/* This code used to break GCC's SSA computation code. It would create
|
||||
uses of B & C that are not dominated by their definitions. See:
|
||||
http://gcc.gnu.org/ml/gcc/2002-03/msg00697.html
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
/* GCC was not escaping quotes in string constants correctly, so this would
|
||||
* get emitted:
|
||||
* %.LC1 = internal global [32 x sbyte] c"*** Word "%s" on line %d is not\00"
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
int printf(const char *, ...);
|
||||
int foo();
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
/* GCC is not outputting the static array to the LLVM backend, so bad things
|
||||
* happen. Note that if this is defined static, everything seems fine.
|
||||
*/
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
struct S {
|
||||
int i;
|
||||
short s1, s2;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
|
||||
typedef struct {
|
||||
char p;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
/* Make sure the frontend is correctly marking static stuff as internal! */
|
||||
|
||||
int X;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
/* Testcase for when struct tag conflicts with typedef name... grr */
|
||||
|
||||
typedef struct foo {
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
void test() {
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
// Test list stuff
|
||||
|
||||
void *malloc(unsigned);
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
/* These are random tests that I used when working on the GCC frontend
|
||||
originally. */
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
|
||||
// Test ?: in function calls
|
||||
extern fp(int, char*);
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
|
||||
|
||||
void *malloc(unsigned);
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
char auto_kibitz_list[100][20] = {
|
||||
{"diepx"},
|
||||
{"ferret"},
|
||||
|
@ -1,2 +1,4 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
|
||||
char * foo() { return "\\begin{"; }
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
|
||||
union X {
|
||||
void *B;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
union X;
|
||||
struct Empty {};
|
||||
union F {};
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
int tcount;
|
||||
void test(char *, const char*, int);
|
||||
void foo() {
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
typedef struct
|
||||
{
|
||||
unsigned char type; /* Indicates, NORMAL, SUBNORMAL, etc. */
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
|
||||
typedef union {
|
||||
long (*ap)[4];
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
/* In this testcase, the return value of foo() is being promotedto a register
|
||||
* which breaks stuff
|
||||
*/
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
/* This testcase doesn't actually test a bug, it's just the result of me
|
||||
* figuring out the syntax for forward declaring a static variable. */
|
||||
struct list {
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
|
||||
int foo(int *A, unsigned X) {
|
||||
return A[X];
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
|
||||
struct DWstruct {
|
||||
char high, low;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
extern void start() __asm__("start");
|
||||
extern void _start() __asm__("_start");
|
||||
extern void __start() __asm__("__start");
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
|
||||
void foo() {}
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
/* Provide Declarations */
|
||||
|
||||
#ifndef NULL
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
|
||||
_Bool X = 0;
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
|
||||
const char *W = "foo";
|
||||
const int X = 7;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
extern char algbrfile[9];
|
||||
char algbrfile[9] = "abcdefgh";
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
typedef struct
|
||||
{
|
||||
void *stack;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
// XFAIL: linux,sun,darwin
|
||||
|
||||
union foo {
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
// XFAIL: *
|
||||
/* It is unlikely that LLVM will ever support nested functions, but if it does,
|
||||
here is a testcase. */
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
struct Blend_Map_Entry {
|
||||
union {
|
||||
float Colour[5];
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
double Test(double A, double B, double C, double D) {
|
||||
return -(A-B) - (C-D);
|
||||
}
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
typedef struct min_info {
|
||||
long offset;
|
||||
unsigned file_attr;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
/* This is apparently legal C.
|
||||
*/
|
||||
extern __inline__ void test() { }
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
|
||||
#include <setjmp.h>
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
|
||||
typedef struct {
|
||||
int op;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
void foo()
|
||||
{
|
||||
char *ap;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
|
||||
|
||||
static int foo(int);
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
extern int vfork(void);
|
||||
test() {
|
||||
vfork();
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
struct bar;
|
||||
|
||||
void foo()
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
|
||||
typedef struct {
|
||||
unsigned long val;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
struct {
|
||||
int *name;
|
||||
} syms = { L"NUL" };
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
|
||||
|
||||
union foo { int X; };
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
struct Word {
|
||||
short bar;
|
||||
short baz;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
void foo() {
|
||||
unsigned char int_latin1[] = "f\200\372b\200\343\200\340";
|
||||
}
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
struct foo {
|
||||
unsigned int I:1;
|
||||
unsigned char J[1];
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
// XFAIL: linux,sun,darwin
|
||||
struct istruct {
|
||||
unsigned char C;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
struct foo {
|
||||
unsigned int I:1;
|
||||
unsigned char J[1][123];
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
|
||||
typedef struct BF {
|
||||
int A : 1;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
enum En {
|
||||
ENUM_VAL
|
||||
};
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
union U{
|
||||
int i[8];
|
||||
char s[80];
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
|
||||
extern int A[10];
|
||||
void Func(int *B) {
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
struct Foo {
|
||||
unsigned a;
|
||||
unsigned b;
|
||||
|
@ -1,2 +1,4 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
|
||||
#ident "foo"
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
|
||||
struct foo { int X; };
|
||||
struct bar { int Y; };
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
typedef struct { int foo; } spinlock_t;
|
||||
typedef struct wait_queue_head_t { spinlock_t lock; } wait_queue_head_t;
|
||||
void call_usermodehelper(void) {
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
typedef struct { } the_coolest_struct_in_the_world;
|
||||
extern the_coolest_struct_in_the_world xyzzy;
|
||||
void *foo() { return &xyzzy; }
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
union bdflush_param {
|
||||
struct { int x; } b_un;
|
||||
int y[1];
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
typedef struct { } rwlock_t;
|
||||
struct fs_struct { rwlock_t lock; int umask; };
|
||||
void __copy_fs_struct(struct fs_struct *fs) { fs->lock = (rwlock_t) { }; }
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
void schedule_timeout(signed long timeout)
|
||||
{
|
||||
switch (timeout)
|
||||
|
@ -1,2 +1,4 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
void query_newnamebuf(void) { ((void)"query_newnamebuf"); }
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
void bar () {
|
||||
static char x[10];
|
||||
static char *xend = x + 10;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
typedef struct { unsigned long pgprot; } pgprot_t;
|
||||
|
||||
void split_large_page(unsigned long addr, pgprot_t prot)
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
struct _GIOChannel {
|
||||
int write_buf;
|
||||
char partial_write_buf[6];
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
struct face_cachel {
|
||||
unsigned int reverse :1;
|
||||
unsigned char font_specified[1];
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
int test() {
|
||||
__complex__ double C;
|
||||
double D;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
struct printf_spec {
|
||||
unsigned int minus_flag:1;
|
||||
char converter;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
unsigned long do_csum(const unsigned char *buff, int len, unsigned long result) {
|
||||
if (2 & (unsigned long) buff) result += 1;
|
||||
return result;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
struct i387_soft_struct {
|
||||
long cwd;
|
||||
};
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
struct i387_soft_struct {
|
||||
long cwd;
|
||||
long twd;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
/*
|
||||
* This regression test ensures that the C front end can compile initializers
|
||||
* even when it cannot determine the size (as below).
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
|
||||
extern __inline long int
|
||||
__strtol_l (int a)
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
/*
|
||||
* XFAIL: linux
|
||||
*/
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
|
||||
void test(__complex__ double D, double X) {
|
||||
D /= X;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
// Test that these initializers are handled efficiently
|
||||
|
||||
int test(int x) {
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
int code[]={0,0,0,0,1};
|
||||
void foo(int x) {
|
||||
volatile int b;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
||||
|
||||
int foo() {
|
||||
register int X __asm__("ebx");
|
||||
return X;
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user