This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[basic-improvements-branch] Fix bootstrap and comments...


This patch will fix the bootstrap. A couple of comments though:

1) There should probably be an abort in layout_type if mode is VOIDmode.
I started with this and stopped when I couldn't get all of the cases and
the bootstrap was still failing :)

It still happens a few times in C, and then there's the
reference_types_internal in ADA which appears to be a hack around as
well.  build_pointer_type () or build_pointer_type_for_mode () should
probably be used instead.

Anyhow, that's another patch.

OK for branch?

-eric


2002-10-15  Eric Christopher  <echristo@redhat.com>

	* stor-layout.c (layout_type): Call GET_MODE_BITSIZE once.
	* java/parse.y (obtain_incomplete_type): Make pointer
	ptr_mode.
-- 
Yeah, I used to play basketball...

Attachment: bib.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]