This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r139447 - /trunk/gcc/ada/exp_ch5.adb
- From: charlet at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 22 Aug 2008 12:41:31 -0000
- Subject: r139447 - /trunk/gcc/ada/exp_ch5.adb
Author: charlet
Date: Fri Aug 22 12:41:30 2008
New Revision: 139447
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139447
Log:
2008-08-22 Ed Schonberg <schonberg@adacore.com>
* exp_ch5.adb (Expand_Simple_Function_Return): If secondary stack is
involved and the return type is class-wide, use the type of the expression
for the generated access type. Suppress useless discriminant checks on the
allocator.
Modified:
trunk/gcc/ada/exp_ch5.adb