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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [pragma-re-4.c] - Blame information for rev 455

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

Line No. Rev Author Line
1 149 jeremybenn
/* Copyright (C) 2006 Free Software Foundation, Inc. */
2
/* Contributed by Carlos O'Donell on 2006-01-27 */
3
 
4
/* Origin: Carlos O'Donell <carlos@codesourcery.com> */
5
/* { dg-do compile { target *-*-solaris* } } */
6
/* { dg-final { scan-assembler "_foo" } } */
7
/* { dg-final { scan-assembler-not "_foo64" } } */
8
 
9
#define foo     _foo
10
#define foo64   _foo64
11
extern int foo(void);
12
extern int foo64(void);
13
#pragma redefine_extname foo64 foo
14
int
15
bar()
16
{
17
        return (foo64());
18
}

powered by: WebSVN 2.1.0

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