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] Wrong exit condition in Get_First_Interp


This change fixes an incorrect guard in a loop. Exiting the loop is a
serious internal error anyway, but the incorrect guard could cause the
compiler to get into an endless busy loop rather than crashing with
a proper diagnostic message.

No test (no behaviour change except for cases of unexpected internal
error caused by compiler bugs).

Tested on x86_64-pc-linux-gnu, committed on trunk

2009-07-22  Thomas Quinot  <quinot@adacore.com>

	* sem_type.adb (Get_First_Interp): Fix wrong loop exit condition.

Attachment: difs
Description: Text document


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