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]

[Ada] PR ada/19519


Tested under i686-linux, committed on mainline.

PR ada/19519
If an upper half character was used in an enumeration literal, then
the attempt to build the enumeration image tables could cause a
constraint error at compile time when using one of the encoding
methods for wide characters with upper half encoding (e.g. UTF-8).
This patch fixes this bug. The test program provided with PR 19519
will now compile without blowing up.

2005-03-17  Robert Dewar  <dewar@adacore.com>

	PR ada/19519

	* namet.adb (Copy_One_Character): Set proper wide character encoding
	for upper half character if we have upper half encoding.

Attachment: difs.12
Description: Text document


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