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

Subversion Repositories openrisc_me

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

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.