OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [opt/] [vt1.C] - Blame information for rev 302

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

Line No. Rev Author Line
1 301 jeremybenn
// Test whether vtable for S is not put into read-only section.
2
// { dg-do compile { target fpic } }
3
// { dg-options "-O2 -fpic -fno-rtti" }
4
// { dg-skip-if "requires unsupported run-time relocation" { spu-*-* } { "*" } { "" } }
5
// { dg-skip-if "No Windows PIC" { *-*-mingw* *-*-cygwin } { "*" } { "" } }
6
// Origin: Jakub Jelinek 
7
 
8
struct S
9
{
10
  virtual void vm (void) {};
11
} x;
12
 
13
// { dg-final { scan-assembler-not "section\[^\n\r\]*_ZTV1S\[^\n\r\]*\"\[^w\"\n\r\]*\"" } }

powered by: WebSVN 2.1.0

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