URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 384 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-Wall" } */
|
/* { dg-options "-Wall" } */
|
/* { dg-error "" "" { target { { *arm*-*-*elf* xtensa*-*-elf* } || vxworks_kernel } } 0 } */
|
/* { dg-error "" "" { target { { *arm*-*-*elf* xtensa*-*-elf* } || vxworks_kernel } } 0 } */
|
|
|
/* Compile with -Wall to get a warning if built-in and system intmax_t don't
|
/* Compile with -Wall to get a warning if built-in and system intmax_t don't
|
match. */
|
match. */
|
|
|
#include <inttypes.h>
|
#include <inttypes.h>
|
|
|
__INTMAX_TYPE__ __im_t__;
|
__INTMAX_TYPE__ __im_t__;
|
__UINTMAX_TYPE__ __uim_t__;
|
__UINTMAX_TYPE__ __uim_t__;
|
intmax_t *im_t_p;
|
intmax_t *im_t_p;
|
uintmax_t *uim_t_p;
|
uintmax_t *uim_t_p;
|
|
|
void
|
void
|
imt (void)
|
imt (void)
|
{
|
{
|
im_t_p = &__im_t__;
|
im_t_p = &__im_t__;
|
}
|
}
|
|
|
void
|
void
|
uimt (void)
|
uimt (void)
|
{
|
{
|
uim_t_p = &__uim_t__;
|
uim_t_p = &__uim_t__;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.