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]

Re: [patch] A fix for PR40386


Vladimir Makarov writes:
 >   The following patch fixes PR40386.  The problem in details is 
 > described on http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40386.
 > 
 > Is it ok to commit into trunk and gcc-4.4-branch?
 > 
 > 2010-09-08  Vladimir Makarov <vmakarov@redhat.com>
 > 
 >          PR middle-end/40386
 >          * ira.c (pseudo_for_reload_consideration_p): Don't use
 >          flag_ira_share_spill_slots.
 > 
 > 2010-09-08  Vladimir Makarov <vmakarov@redhat.com>
 > 
 >          PR middle-end/40386
 >          * gcc.c-torture/execute/{pr40386.c,pr40386.x}: New testcase.

The version checked into gcc-4_4-branch has a broken test case
which fails to compile due to redefinition errors.  It looks like
a patch to add the test case was applied twice, causing the files
to contain duplicated text.  Here's is what 4.4's pr40386.x looks
like right now:

> set additional_flags "-fno-ira-share-spill-slots"
> return 0
> set additional_flags "-fno-ira-share-spill-slots"
> return 0

pr40386.c has the same issue, which causes it to fail to compile.

/Mikael


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