20010320-1.c: New test.

2001-03-20  Philip Blundell  <philb@gnu.org>

	* gcc.c-torture/compile/20010320-1.c: New test.

From-SVN: r40651
This commit is contained in:
Phil Blundell 2001-03-20 10:49:38 +00:00
parent bd2950d208
commit a44a935fe4
2 changed files with 33 additions and 1 deletions

View File

@ -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.

View File

@ -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))) ) ;
}
}