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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [intmax_t-1.c] - Diff between revs 149 and 154

Only display areas with differences | Details | Blame | View Log

Rev 149 Rev 154
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "-Wall" } */
/* { dg-options "-Wall" } */
/* { dg-error "" "" { target *-*-solaris2.5.1 *arm*-*-*elf* xscale*-*-elf* xtensa-*-elf* } 0 } */
/* { dg-error "" "" { target *-*-solaris2.5.1 *arm*-*-*elf* xscale*-*-elf* xtensa-*-elf* } 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__;
}
}
 
 

powered by: WebSVN 2.1.0

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