This is the mail archive of the
mailing list for the GCC project.
Re: PR 2765
>>>>> "Joseph" == Joseph S Myers <email@example.com> writes:
Joseph> Could you post the exact diffs you are referring to (the
Joseph> reversion of which fixes that problem)? This changelog
Joseph> entry AFAICT refers to only one small part of those
Joseph> between revisions 1.108 and 1.109 of c-typeck.c, the
Joseph> single hunk
I clipped the wrong ChangeLog hunk. It was this bit:
else if (require_constant
&& initializer_constant_valid_p (inside_init, TREE_TYPE (inside_init)) == 0)
pedwarn ("initializer element is not computable at load time");
That used to be an error.
Mark Mitchell firstname.lastname@example.org
CodeSourcery, LLC http://www.codesourcery.com