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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [epiphany/] [interrupt-2.c] - Blame information for rev 753

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

Line No. Rev Author Line
1 691 jeremybenn
/* { dg-options "-g" } */
2
 
3
void __attribute__((interrupt))
4
universal_handler (void)
5
{
6
}
7
 
8
void __attribute__((interrupt("dma0","Vss","dma1")))
9
g (void)
10
{ /* { dg-warning "is not \"reset\"" } */
11
}
12
 
13
void __attribute__((interrupt("dma0","dma1","timer1","reset"),
14
                    forwarder_section("test")))
15
misc_handler (void)
16
{
17
}
18
 
19
void __attribute__((interrupt(dma0,42)))
20
h (void)
21
{ /* { dg-warning "is not a string constant" } */
22
}
23
 
24
/* { dg-final { scan-assembler-times "b\[ \t\]*_misc_handler" 4 } } */

powered by: WebSVN 2.1.0

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