/* Test that the correct data prefetch instructions are generated for i386
variants that use SSE prefetch instructions. */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-require-e
// { dg-do assemble }
// The standard sez that a use of a name gets the most access it can through
// the various paths that can reach it. Here, the access decl in B gives
// us access.
struct A
{
// { dg-do run }
// Test that we only call f once and that pointers to different subobjects
// compare as different.
struct A { void f() { } };
struct B: public A { };
struct C: public A { };
struct
// { dg-do assemble }
// { dg-options "-Wconversion" }
// Test that we resolve this case as mandated by the standard, but also
// warn about it. We choose op char* not because it is a member of B -
// { dg-do run }
// GROUPS passed copy-ctors
/*
This report is for GCC 2.3.3 running on a Sun/4. The bug is that when
a class instance is passed-by-value, GCC does not correctly copy the value.
At t
// { dg-do assemble { target alpha*-*-* } }
// { dg-options "-Wno-deprecated" }
// This test verifies that return type promotion is working correctly.
// The Alpha ABI specifies that 32-bit return
// { dg-do assemble }
// g++ 1.37.1 bug 900404_02
// g++ fails to treat multicharacter literals as type "int" as required by
// section 2.5.2 of the C++ Reference Manual.
// The result is that the
// { dg-do assemble }
// Bug: g++ thinks that int->long is a promotion.
long f (long, long);
double f (double, double);
void g (double d)
{
f (d, 0);
}