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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [pragma-re-4.c] - Rev 154

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

/* Copyright (C) 2006 Free Software Foundation, Inc. */
/* Contributed by Carlos O'Donell on 2006-01-27 */
 
/* Origin: Carlos O'Donell <carlos@codesourcery.com> */
/* { dg-do compile { target *-*-solaris* } } */
/* { dg-final { scan-assembler "_foo" } } */
/* { dg-final { scan-assembler-not "_foo64" } } */
 
#define foo     _foo
#define foo64   _foo64
extern int foo(void);
extern int foo64(void);
#pragma redefine_extname foo64 foo
int
bar()
{
        return (foo64());
}
 

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

powered by: WebSVN 2.1.0

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