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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20030704-1.c] - Diff between revs 297 and 338

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

Rev 297 Rev 338
/* PR c/11428.  */
/* PR c/11428.  */
 
 
/* fold_single_bit_test() failed to return a tree of the type that the
/* fold_single_bit_test() failed to return a tree of the type that the
   outer expression was looking for.  Specifically, it returned a tree
   outer expression was looking for.  Specifically, it returned a tree
   whose type corresponded to QImode for !p->m, but the desired result
   whose type corresponded to QImode for !p->m, but the desired result
   type was int, which corresponded to SImode.  emit_move_insn() later
   type was int, which corresponded to SImode.  emit_move_insn() later
   tried to copy a reg:QI to reg:SI, causing an ICE.  */
   tried to copy a reg:QI to reg:SI, causing an ICE.  */
 
 
struct s {
struct s {
  int m : 1;
  int m : 1;
};
};
 
 
int
int
foo (struct s *p)
foo (struct s *p)
{
{
  return !p->m;
  return !p->m;
}
}
 
 

powered by: WebSVN 2.1.0

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