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: Fix compile/20030224-1.c


In message <20030226005357 dot GW12967 at redhat dot com>, Richard Henderson writes:
 >On Tue, Feb 25, 2003 at 04:43:55PM -0700, law at redhat dot com wrote:
 >> %eax is marked as used by the call.  Put a breakpoint on use_reg 
 >> and try to compile the testcase.  You'll see %eax marked as used 
 >> by the call.
 >
 >Distinctly odd.  And definitely a bug.
 >
 >Look at the .00.rtl dump -- eax is marked used, but
 >never initialized.
I didn't say it wasn't odd :-)  I've got no clue why we're considering
%eax an argument register in this case.  Someone with more intimate
knowledge of the x86 port would probably need to delve into that.    I
don't mind backing out my patch if someone wants to look more deeply at
the %eax usage.

jeff


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