summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpb <pb@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-20 10:49:38 +0000
committerpb <pb@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-20 10:49:38 +0000
commitb615d858c3d0bda4fe827ffdb8f6914ee1ae1c80 (patch)
tree9ec40436114b196d40f772505605a16a557200d5
parentce025d673bfa8d9173f82ca7e2bb8e6dbe1f363e (diff)
downloadppe42-gcc-b615d858c3d0bda4fe827ffdb8f6914ee1ae1c80.tar.gz
ppe42-gcc-b615d858c3d0bda4fe827ffdb8f6914ee1ae1c80.zip
2001-03-20 Philip Blundell <philb@gnu.org>
* gcc.c-torture/compile/20010320-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40651 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/20010320-1.c28
2 files changed, 33 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index e3c4710ff40..57583fe4fc9 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2001-03-20 Philip Blundell <philb@gnu.org>
+
+ * gcc.c-torture/compile/20010320-1.c: New test.
+
2001-03-17 Richard Henderson <rth@redhat.com>
* g++.old-deja/g++.other/eh4.C: Add expected error text.
@@ -126,7 +130,6 @@
* g++.old-deja/g++.other/using9.C: New test.
->>>>>>> 1.1111
2001-02-28 Ovidiu Predescu <ovidiu@cup.hp.com>
* objc/execute/bycopy-3.m: Added new test from Nicola Pero.
@@ -150,6 +153,7 @@
* g++.old-deja/g++.pt/overload15.C: New test to stress overloaded
templatized constructors.
+>>>>>>> 1.1119
2001-02-24 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/20010224-1.c: New test.
diff --git a/gcc/testsuite/gcc.c-torture/compile/20010320-1.c b/gcc/testsuite/gcc.c-torture/compile/20010320-1.c
new file mode 100644
index 00000000000..14686d62318
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/compile/20010320-1.c
@@ -0,0 +1,28 @@
+typedef struct sec {
+const char *name;
+int id;
+int index;
+struct sec *next;
+unsigned int flags;
+unsigned int user_set_vma : 1;
+unsigned int reloc_done : 1;
+unsigned int linker_mark : 1;
+unsigned int gc_mark : 1;
+unsigned int segment_mark : 1;
+unsigned long long vma; } asection;
+
+static void pe_print_pdata (asection *section)
+{
+ unsigned long long i;
+ unsigned long long start = 0, stop = 0;
+ int onaline = (3*8) ;
+
+ for (i = start; i < stop; i += onaline)
+ {
+ if (i + (3*8) > stop)
+ break;
+
+ f (((unsigned long) ((( i + section->vma ) >> 32) & 0xffffffff)) , ((unsigned long) ((( i + section->vma ) & 0xffffffff))) ) ;
+ }
+}
+
OpenPOWER on IntegriCloud