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

Subversion Repositories openrisc

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

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
 
5
     extern "C" {
6
   typedef struct __locale_struct {
7
  }
8
   *__locale_t;
9
   }
10
       typedef void * POVMSContext;
11
       struct POVMSData {
12
   };
13
        int POVMS_OpenContext (POVMSContext *contextrefptr);
14
       enum {
15
    kPOVMsgIdent_InitInfo = 'InIn',  kPOVMsgIdent_RenderOptions = 'ROpt',  kPOVMsgIdent_RenderAll = 'RAll',  kPOVMsgIdent_RenderArea = 'RAre',  kPOVMsgIdent_RenderPause = 'RPau',  kPOVMsgIdent_RenderStop = 'RSto',  kPOVMsgIdent_RenderStarted = 'RRun',  kPOVMsgIdent_RenderDone = 'REnd',  kPOVMsgIdent_FrameStatistics = 'FSta',  kPOVMsgIdent_ParseStatistics = 'PSta',  kPOVMsgIdent_RenderStatistics = 'RSta',  kPOVMsgIdent_Progress = 'Prog',  kPOVMsgIdent_Warning = 'Warn',  kPOVMsgIdent_Error = 'ErrW',  kPOVMsgIdent_FatalError = 'ErrF',  kPOVMsgIdent_Debug = 'Dbug' };
16
       namespace pov {
17
   }
18
       using namespace pov;
19
       namespace pov {
20
   int pre_init_flag = 0;
21
   }
22
       POVMSContext POVMS_Render_Context = __null;
23
       void povray_init() {
24
      if (pre_init_flag == 0)    {
25
        int err;
26
        err = POVMS_OpenContext(&POVMS_Render_Context);
27
     }
28
   }

powered by: WebSVN 2.1.0

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