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] Fix biased types debug encoding


Tested on i686-linux, committed on HEAD

This fixes the encoding used to represent biased types.

Consider the following type:

   type Biased_Integer is range 10 .. 15;
   for Biased_Integer'Size use 3;

According to the spec, the encoded name should be
   rep__biased_integer___XB_10__15

and not
   rep__biased_integer___XBLU_10__15

2005-09-01  Nicolas Setton  <setton@adacore.com>

	* exp_dbug.adb (Get_Encoded_Name): Fixed bug that caused biaised types
	to be encoded as typ___XBLU_lowerbound__upperbound instead of
	typ___XB_lowerbound__upperbound.

Attachment: difs.16
Description: Text document


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