URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 338 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-O2 -Wall" } */
|
/* { dg-options "-O2 -Wall" } */
|
|
|
#include "Wobjsize-1.h"
|
#include "Wobjsize-1.h"
|
|
|
char buf[6];
|
char buf[6];
|
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
{
|
{
|
strcpy (buf,"hello ");
|
strcpy (buf,"hello ");
|
return 0;
|
return 0;
|
}
|
}
|
|
|
/* { dg-warning "will always overflow destination buffer" "" { target *-*-* } 6 } */
|
/* { dg-warning "will always overflow destination buffer" "" { target *-*-* } 6 } */
|
/* { dg-message "file included" "" { target *-*-* } 0 } */
|
/* { dg-message "file included" "" { target *-*-* } 0 } */
|
/* { dg-message "inlined from" "" { target *-*-* } 0 } */
|
/* { dg-message "inlined from" "" { target *-*-* } 0 } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.