OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [libgloss/] [testsuite/] [libgloss.all/] [func.c] - Blame information for rev 617

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

Line No. Rev Author Line
1 148 jeremybenn
/* Oki bug report [OKI002](gcc008_2)
2
 
3
        The following program is not executed.
4
        Error message is as follow.
5
 
6
        illegal trap: 0x12 pc=d000d954
7
        d000d954 08000240  NOP
8
 
9
 */
10
 
11
#include <stdio.h>
12
#include <stdarg.h>
13
 
14
int func (int, ...);
15
 
16
void main ()
17
{
18
        func (2, 1., 2., 3.);
19
        pass ("func [OKI002]");
20
        fflush (stdout);
21
}
22
 
23
int func (int i, ...)
24
{
25
        return (i);
26
}

powered by: WebSVN 2.1.0

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