Add an UNSPEC_PROLOGUE_USE to prevent the link register from being considered dead.
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.law / operators33.C
blobbdf5147b875a3b53a448a9aac2ca84f6e3126b3a
1 // Build don't link: 
2 // GROUPS passed operators
3 // opr-new file
4 // From: flisakow@cae.wisc.edu
5 // Date:     Thu, 1 Sep 94 18:21:09 CDT
6 // Subject:  g++ bug?
7 // Message-ID: <9409012321.AA05346@hprisc-19.cae.wisc.edu>
9 #include <stdio.h>
12 struct fcell {
13         FILE *fd;
14         struct fcell *next;
18 class FStack {
19 public:
20         struct fcell *top;
21         FStack() { top = NULL ; } ;
22         inline void push(FILE * fd1, int line_num, char *fname = NULL) {
23                 struct fcell *tmp = new struct fcell;
24                 tmp->fd = fd1;
25                 tmp->next = top;
26                 top = tmp ;
27         }