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] |
Thanks for Ian's advice. I updated the ChangeLog and resubmitted the patch. Index ChangeLog 2009-03-17 Jing Yu <jingyu@google.com> PR middle-end/39378 * function.h (struct rtl_data): Move is_thunk from here... (struct function): ...to here. * cp/method.c (use_thunk): Change is_thunk from crtl to cfun. * varasm.c (assemble_start_function): Change is_thunk from crtl to cfun. * config/alpha/alpha.c (alpha_sa_mask): Change is_thunk from crtl to cfun. (alpha_does_function_need_gp, alpha_start_function): Likewise. (alpha_output_function_end_prologue): Likewise. (alpha_end_function, alpha_output_mi_thunk_osf): Likewise. * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Likewise. (rs6000_output_function_epilogue): Likewise. * config/arm/arm.h (ARM_DECLARE_FUNCTION_NAME): Likewise. Index: testsuite/ChangeLog 2009-03-17 Jing Yu <jingyu@google.com> PR middle-end/39378 * g++.dg/inherit/thunk10.C: New test. The patch is attached to this email. Ok for trunk now? Thanks, Jing On Tue, Mar 17, 2009 at 7:26 AM, Ian Lance Taylor <iant@google.com> wrote: > Jing Yu <jingyuuiuc@gmail.com> writes: > >> Index: ChangeLog >> =================================================================== >> --- ChangeLog (revision 144793) >> +++ ChangeLog (working copy) >> @@ -1,3 +1,16 @@ >> +2009-03-12 ?Jing Yu ?<jingyu@google.com> >> + >> + ? ? PR middle-end/39378 >> + ? ? * function.h: Move is_thunk from rtl_data structure to function >> + ? ? structure. >> + ? ? * cp/method.c (use_thunk): Change is_thunk from crtl to cfun. >> + ? ? * varasm.c (assemble_start_function): Change is_thunk from crtl to >> + ? ? cfun. >> + ? ? * config/alpha/alpha.c: Change is_thunk from crtl to cfun. >> + ? ? * config/rs6000/rs6000.c: Change is_thunk from crtl to cfun. >> + ? ? * config/arm/arm.h: Change is_thunk from crtl to cfun. >> + ? ? * testsuite/g++.dg/inherit/thunk10.C: New file. >> + > > Thanks for the patch. ?In the future, please provide the ChangeLog entry > separately in the body of the message, rather than as part of the patch > itself. > > The ChangeLog entry should say what is being changed in each file. ?It > should look something like this: > > 2009-03-12 ?Jing Yu ?<jingyu@google.com> > > ? ? ? ?PR middle-end/39378 > ? ? ? ?* function.h (struct rtl): Move is_thunk field from here... > ? ? ? ?(struct function): ...to here. > ? ? ? ?* cp/method.c (use_thunk): Change is_thunk from crtl to cfun. > ? ? ? ?* varasm.c (assemble_start_function): Change is_thunk from crtl to > ? ? ? ?cfun. > ? ? ? ?* config/alpha/alpha.c (alpha_sa_mask): Change is_thunk from > ? ? ? ?crtl to cfun. > ? ? ? ?(alpha_does_function_need_gp, alpha_start_function): Likewise. > ? ? ? ?(alpha_output_function_end_prologue): Likewise. > ? ? ? ?(alpha_end_function, alpha_output_mi_thunk_osf): Likewise. > ? ? ? ?* config/rs6000/rs6000.c (rs6000_ra_ever_killed): Likewise. > ? ? ? ?(rs6000_output_function_epilogue): Likewise. > ? ? ? ?* config/arm/arm.h (ARM_DECLARE_FUNCTION_NAME): Likewise. > > Note that thunk10.C should not be mentioned in this ChangeLog file; it > should be in testsuite/ChangeLog, as you have done separately. > > >> +2009-03-12 ?Jing Yu ?<jingyu@google.com> >> + ? ? PR middle-end/39378 >> + ? ? * g++.dg/inherit/thunk10.C: New test. >> + > > Please add a blank line between your name and the start of ChangeLog > entry. > > > This is OK with the adjusted ChangeLog entries. > > Thanks. > > Ian >
Attachment:
patch_39378
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |