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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20030704-1.c] - Blame information for rev 859

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

Line No. Rev Author Line
1 297 jeremybenn
/* PR c/11428.  */
2
 
3
/* fold_single_bit_test() failed to return a tree of the type that the
4
   outer expression was looking for.  Specifically, it returned a tree
5
   whose type corresponded to QImode for !p->m, but the desired result
6
   type was int, which corresponded to SImode.  emit_move_insn() later
7
   tried to copy a reg:QI to reg:SI, causing an ICE.  */
8
 
9
struct s {
10
  int m : 1;
11
};
12
 
13
int
14
foo (struct s *p)
15
{
16
  return !p->m;
17
}

powered by: WebSVN 2.1.0

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