* src/SDCCsymt.h: added IS_AUTO(symbol) test macro
authorepetrich <epetrich@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Fri, 14 May 2004 21:04:19 +0000 (21:04 +0000)
committerepetrich <epetrich@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Fri, 14 May 2004 21:04:19 +0000 (21:04 +0000)
commiteb7ad7a2f5c4bab308987f2de91ab37392e8ad06
tree624ecc10baa6e0a9d0b3d93e9651fee7781506fd
parent0ec1c5ce1015c8068d60bd2f21eee32875042a18
* src/SDCCsymt.h: added IS_AUTO(symbol) test macro
* src/SDCCopt.c (isLocalWithoutDef),
* src/SDCCicode.c (operandFromSymbol): use the IS_AUTO test macro
which adds a !IS_EXTERN codition. Fixes bugs #877426 and #751703.
(credit to Maarten Brock for patch #949363, on which this is based)
* support/regression/tests/bug-751703.c: some test cases of extern used
within inner scopes.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3308 4a8a32a2-be11-0410-ad9d-d568d2c75423
src/SDCCopt.c