OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lto/] [pr45679-2_0.C] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-lto-do link }
2
// { dg-lto-options {{-O3 -Wno-multichar}} }
3
// { dg-extra-ld-options "-flto -flto-partition=1to1 -r -nostdlib" }
4
    extern "C" {
5
  typedef struct {
6
    union   {
7
   }
8
  __value;
9
  }
10
  __mbstate_t;
11
  struct _IO_marker {
12
  };
13
  extern "C" {
14
    }
15
  };
16
    namespace pov_base {
17
  class IOBase {
18
  };
19
  }
20
    namespace pov {
21
  typedef double VECTOR[3];
22
  enum {
23
   X = 0,  Y = 1,  Z = 2,  T = 3 };
24
  inline void Assign_Vector(VECTOR d, VECTOR s) {
25
  }
26
  typedef float BBOX_VAL;
27
  typedef BBOX_VAL BBOX_VECT[3];
28
  typedef struct Bounding_Box_Struct BBOX;
29
  struct Bounding_Box_Struct {
30
  };
31
  inline void Make_BBox_from_min_max(BBOX& BBox, BBOX_VECT mins, BBOX_VECT maxs) {
32
  }
33
  typedef long long COUNTER;
34
  inline double DBL_Counter(COUNTER x) {
35
  }
36
  struct Image_Struct {
37
    union   {
38
   }
39
  data;
40
  };
41
  struct Density_file_Data_Struct {
42
  union {
43
 }
44
  Vals;
45
  };
46
  struct Pigment_Struct {
47
  union {
48
 struct {
49
 }
50
 Brick;
51
 struct {
52
 }
53
 Fractal;
54
 struct {
55
 }
56
 Function;
57
 }
58
  Vals;
59
  };
60
  typedef enum shelltype {
61
     PRE_SCENE_SHL = 0,    PRE_FRAME_SHL,    POST_FRAME_SHL,    POST_SCENE_SHL,    USER_ABORT_SHL,    FATAL_SHL,    MAX_SHL }
62
  SHELLRET;
63
  }
64
    typedef void * POVMSContext;
65
    struct POVMSData {
66
  };
67
     int POVMS_OpenContext (POVMSContext *contextrefptr);
68
    namespace pov_base {
69
  enum {
70
   kFalseErr = 1,  kOutOfSyncErr = 2,  kNotNowErr = kOutOfSyncErr,  kQueueFullErr = 3 };
71
  }
72
    namespace pov_base {
73
  class OTextStream {
74
  };
75
  }
76
    enum {
77
   kPOVMsgClass_RenderControl = 'Ctrl',  kPOVMsgClass_RenderOutput = 'Outp',  kPOVMsgClass_IniOptions = 'IniO',  kPOVMsgClass_Miscellaneous = 'Misc' };
78
    namespace pov_base {
79
  class PlatformBase {
80
  };
81
  }
82
    class POVMS_Container {
83
    template void Read(T& stream)   {
84
    }
85
  };
86
    class POVMS_MessageReceiver {
87
   private:   class HandlerOO   {
88
    };
89
   protected:   template class MemberHandlerOO : public HandlerOO   {
90
    };
91
    class FunctionHandlerOO : public HandlerOO   {
92
    };
93
    template void InstallFront(unsigned int hclass, unsigned int hid, T *cptr, typename MemberHandlerOO::MemberHandlerPtr hptr)   {
94
  }
95
  };
96
    namespace pov_base {
97
  class TextStreamBuffer {
98
  };
99
  }
100
    namespace pov_frontend {
101
  using namespace pov_base;
102
  class MessageOutput : public POVMS_MessageReceiver {
103
  };
104
  class DefaultPlatformBase : public PlatformBase {
105
  };
106
  }
107
    using namespace pov;
108
    namespace pov {
109
  int pre_init_flag = 0;
110
  }
111
    POVMSContext POVMS_Render_Context = __null;
112
    int main(int argc, char **argv) {
113
  }
114
    void povray_init() {
115
     if (pre_init_flag == 0)    {
116
        int err;
117
        err = POVMS_OpenContext(&POVMS_Render_Context);
118
     }
119
  }

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.