aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2010-10-18 10:52:47 -0700
committerRichard Henderson <rth@gcc.gnu.org>2010-10-18 10:52:47 -0700
commit9887f1dcee5ba087d53ad187be5fb37e70a2e33e (patch)
tree0901081db268ed3d8131c88aa5c3d283469ee17a /gcc
parente1d4e035faf994e8d8a562ce8e6e3819aa32449d (diff)
downloadgcc-9887f1dcee5ba087d53ad187be5fb37e70a2e33e.zip
gcc-9887f1dcee5ba087d53ad187be5fb37e70a2e33e.tar.gz
gcc-9887f1dcee5ba087d53ad187be5fb37e70a2e33e.tar.bz2
* gcc.target/ia64/20101014.c: Fix double-paste of test case.
From-SVN: r165653
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.target/ia64/20101014.c68
2 files changed, 5 insertions, 67 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index d066a8d0..b9a9be7 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2010-10-18 Richard Henderson <rth@redhat.com>
+
+ * gcc.target/ia64/20101014.c: Fix double-paste of test case.
+
2010-10-18 Jakub Jelinek <jakub@redhat.com>
PR c/46015
diff --git a/gcc/testsuite/gcc.target/ia64/20101014.c b/gcc/testsuite/gcc.target/ia64/20101014.c
index 7511c90..c3e3e9f 100644
--- a/gcc/testsuite/gcc.target/ia64/20101014.c
+++ b/gcc/testsuite/gcc.target/ia64/20101014.c
@@ -1,71 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-O2 -g -fselective-scheduling2" } */
-
-typedef long unsigned int size_t;
-struct fileloc
-{
- const char *file;
-};
-typedef struct type *type_p;
-typedef const struct type *const_type_p;
-enum typekind
-{
- TYPE_STRUCT,
- TYPE_UNION,
- TYPE_POINTER,
- TYPE_LANG_STRUCT,
- TYPE_PARAM_STRUCT
-};
-struct type
-{
- enum typekind kind;
- union
- {
- struct
- {
- struct fileloc line;
- } s;
- struct
- {
- struct fileloc line;
- } param_struct;
- } u;
-};
-struct outf
-{
- size_t bufused;
- char *buf;
-};
-typedef struct outf *outf_p;
-oprintf (outf_p o, const char *format, ...)
-{
- char *s;
- size_t slength;
- memcpy (o->buf + o->bufused, s, slength);
-}
-output_mangled_typename (outf_p of, const_type_p t)
-{
- switch (t->kind)
- {
- case TYPE_POINTER: (fancy_abort ("/gcc/gengtype.c", 1988, __FUNCTION__));
- }
-}
-output_type_enum (outf_p of, type_p s)
-{
- if (s->kind == TYPE_PARAM_STRUCT && s->u.param_struct.line.file != ((void *)0))
- {
- oprintf (of, ", gt_e_");
- }
- else if (((s)->kind == TYPE_UNION || (s)->kind == TYPE_STRUCT || (s)->kind == TYPE_LANG_STRUCT) && s->u.s.line.file != ((void *)0))
- {
- oprintf (of, ", gt_ggc_e_");
- output_mangled_typename (of, s);
- }
- else
- oprintf (of, ", gt_types_enum_last");
-}
-/* { dg-do compile } */
-/* { dg-options "-O2 -g -fselective-scheduling2" } */
+/* { dg-options "-w -O2 -g -fselective-scheduling2" } */
typedef long unsigned int size_t;
struct fileloc