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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pragma-re-4.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 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-final { scan-assembler "_foo" } } */
6
/* { dg-final { scan-assembler-not "_foo64" } } */
7
 
8
#define foo     _foo
9
#define foo64   _foo64
10
extern int foo(void);
11
extern int foo64(void);
12
#pragma redefine_extname foo64 foo
13
int
14
bar()
15
{
16
        return (foo64());
17
}

powered by: WebSVN 2.1.0

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