[3.3/3.4] wrong handling of "extern const" variables

Jason Merrill jason@redhat.com
Thu Aug 21 18:11:00 GMT 2003


On Wed, 20 Aug 2003 09:37:26 -0700, Richard Henderson <rth@redhat.com> wrote:

> On Wed, Aug 20, 2003 at 03:35:47PM +0200, Gunther Nikl wrote:
>> extern const char bar[];
>
> TREE_STATIC must be set here.  If it isn't, that's the bug.

TREE_STATIC has never been set on decls with DECL_EXTERNAL set.

Jason



More information about the Gcc mailing list