------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-17 18:46 ------- Subject: Bug 19408
CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-03-17 18:46:44 Modified files: gcc/ada : ChangeLog decl.c exp_util.adb trans.c Log message: PR ada/19408 PR ada/19900 Backport from mainline: 2005-03-15 Richard Kenner <[EMAIL PROTECTED]> * exp_util.adb (Remove_Side_Effects): Properly test for Expansion_Delayed and handle case when it's inside an N_Qualified_Expression. * decl.c (gnat_to_gnu_entity, case E_Component): Always look at Original_Record_Component if Present and not the entity. (gnat_to_gnu_entity, case E_Record_Subtype): Rework handling of subtype of tagged extension types by not making field for components that are inside the parent. * trans.c (gnat_to_gnu, case N_Aggregate): Verify that Expansion_Delayed is False. (assoc_to_constructor): Ignore fields that have a Corresponding_Discriminant. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.638.4.6&r2=1.638.4.7 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/decl.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.65.6.1&r2=1.65.6.2 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/exp_util.adb.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.32&r2=1.32.6.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/trans.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.90.6.1&r2=1.90.6.2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19408