Skip to content
Snippets Groups Projects
Commit 5f3d07b1 authored by Paul Russo's avatar Paul Russo
Browse files

Do not set G__static_alloc when "const" is parsed, const variables

should not have static storage duration.

Abort whole function bytecode generation when an initialized const
int variable declaration is seen.  The standard allows this to be
used in an array declaration, which is very hard to support for whole
function bytecode generation because we have no place to store the
initializer since we do not allocate storage for variables during
the generation (instead we increment the space needed in the
whole function bytecode special variable).

These two changes together fix savannah bug #68471.


git-svn-id: http://root.cern.ch/svn/root/trunk@34089 27541ba8-7e3a-0410-8455-c3a389f83636
parent 3d46b79f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment