OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [g++.dg/] [ext/] [attrib20.C] - Diff between revs 301 and 384

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

Rev 301 Rev 384
// { dg-do compile }
// { dg-do compile }
// { dg-options "-g" }
// { dg-options "-g" }
// Origin: 
// Origin: 
// PR c++/19508: avoid attributes for template parameters
// PR c++/19508: avoid attributes for template parameters
template 
template 
struct BVector
struct BVector
{
{
  typedef T T2;
  typedef T T2;
  typedef T value_type __attribute__ ((aligned(8)));    // { dg-bogus "attribute" "attribute" }
  typedef T value_type __attribute__ ((aligned(8)));    // { dg-bogus "attribute" "attribute" }
  typedef T2 value_type2 __attribute__ ((aligned(8)));  // { dg-bogus "attribute" "attribute" }
  typedef T2 value_type2 __attribute__ ((aligned(8)));  // { dg-bogus "attribute" "attribute" }
  value_type v;
  value_type v;
};
};
BVector m;
BVector m;
template