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/] [g++.dg/] [other/] [ptrmem3.C] - Diff between revs 149 and 154

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

Rev 149 Rev 154
// Bug: The double cast had an TREE_INT_CST_HIGH of 0, while the single
// Bug: The double cast had an TREE_INT_CST_HIGH of 0, while the single
// cast had -1, so the comparison failed.
// cast had -1, so the comparison failed.
// { dg-do run }
// { dg-do run }
struct A { };
struct A { };
typedef int A::* aip;
typedef int A::* aip;
typedef long A::* alp;
typedef long A::* alp;
int main()
int main()
{
{
  return ((aip)(alp)0 != (aip)0);
  return ((aip)(alp)0 != (aip)0);
}
}
 
 

powered by: WebSVN 2.1.0

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