[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#123155: gcc-3.0 does not build on PPC



On Mon, Dec 10, 2001 at 11:57:12AM +0100, Franz Sirl wrote:
> 
> No, that isn't the problem, Alan Modra broke it with his "obvious" patch ;-).

Oops, sorry.  I should have pressed harder to move the simplified (and
corrected!) 3.1 rs6000_unique_section over to the branch.  That
horrible section index expression

  sec = ((TREE_CODE (decl) == FUNCTION_DECL ? 0 : 1)
	 + (readonly ? 0 : 2) 
	 + (needs_sdata ? 1 : 0)
	 + ((DECL_INITIAL (decl) == 0
	     || DECL_INITIAL (decl) == error_mark_node) ? 4 : 0));

goes wrong with DECL_INITIAL (decl) == 0 && TREE_CODE (decl) != FUNCTION_DECL




Reply to: