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] |
Tested on i686-linux, committed on trunk. Remove all code from the front end that causes trampolines to be generated. This is so we can run on systems with DEP (data execution protection) enabled. This required replacing all uses of Heap_Sort_A (passing 'Unrestricted_Access of nested subprograms to Sort) with uses of the generic Heap_Sort_G. In addition, it required moving Sem_Res.Is_Definite_Access_Type to the outermost level, so 'Access of it doesn't generate a trampoline. 2007-10-15 Bob Duff <duff@adacore.com> * sem_case.adb, sem_ch13.adb, lib-sort.adb: Replace use of Heap_Sort_A (passing'Unrestricted_Access of nested subprograms to Sort) with use of the generic Heap_Sort_G, in order to avoid trampolines.
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] |