This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GIMPLE Question
On Fri, Feb 25, 2011 at 11:21 AM, Kyle Girard <kyle@kdmanalytics.com> wrote:
>
>> Â That *is* the content of the bar method. ÂWhat exactly do you expect to see
>> happening when you assign a class with no members? ÂThere's nothing to do!
>
>
> I was hoping to see the assignment. ÂMy example might have been a little
> too simple. ÂHere's a slightly more complex example:
>
> foo.hh
>
> class A
> {
> public:
> Â void yay(){};
> };
A is still an empty class, try adding "int a;" and you will see some code there.
Thanks,
Andrew Pinski