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/] [tree-ssa/] [pr17153.C] - Diff between revs 149 and 154

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 149 Rev 154
/* The alias analyzer was marking RETVAL non-addressable, but RETVAL
/* The alias analyzer was marking RETVAL non-addressable, but RETVAL
   is a special variable that's available across different functions.  */
   is a special variable that's available across different functions.  */
void foo(const char*);
void foo(const char*);
struct A {};
struct A {};
struct B : A
struct B : A
{
{
    B(){}
    B(){}
    B bar()
    B bar()
    {
    {
        foo(__PRETTY_FUNCTION__);
        foo(__PRETTY_FUNCTION__);
        return B();
        return B();
    };
    };
};
};
B b=B().bar();
B b=B().bar();
 
 

powered by: WebSVN 2.1.0

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