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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [opt/] [vt1.C] - Blame information for rev 715

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

Line No. Rev Author Line
1 693 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.