This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR14841 and PR15838



On Aug 31, 2004, at 9:43 AM, Richard Kenner wrote:


If this is just the case where B is a CONSTRUCTOR, I don't understand
the issue you are raising.

If you read the PRs you would understand what was going on:


static const int a[1]={1};

int f(){return a[0];}


And


static const struct {int a} b = {1};

int f1() { return a.b;}


Thanks, Andrew Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]