Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!mas!jdn From: jdn@mas.UUCP (Jeff Nisewanger) Newsgroups: gnu.gcc.bug Subject: Possible Bug Message-ID: <1765@mas1.mas.UUCP> Date: 3 Apr 89 20:04:48 GMT Organization: Measurex Automation Systems, Cupertino CA Lines: 26 In gcc-1.34 In file varasm.c In function make_decl_rtl Near line 213 1 /* Now handle ordinary static variables and functions (in memory). 2 Also handle vars declared register invalidly. */ 3 X if (DECL_RTL (decl) == 0) 4 X { 5 X if (DECL_RTL (decl) && asmspec == 0) 6 name = XSTR (XEXP (DECL_RTL (decl), 0), 0); 7 8 /* Can't use just the variable's own name for a variable 9 whose scope is less than the whole file. 10 Concatenate a distinguishing number. */ 11 else if (!top_level && !TREE_EXTERNAL (decl) && asmspec == 0) 12 { Since DECL_RTL(decl) is checked for "0" on psuedo-line 3 the "if" statement conditional expression on psuedo-line 5 will never be true. Jeff Nisewanger Measurex Automation Systems ...apple!mas1!jdn