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] Fix PR c/5420 (-foptimize-sibling-calls + compound literal miscompilation)


On Wed, Feb 06, 2002 at 01:56:36PM -0800, Dale Johannesen wrote:
> the second time.  But the args to the constructor included a call to a 
> static
> inline, whose expansion included a label, and the label was only emitted 
> once.
> I was thinking in terms of cloning the label somehow, but I think disabling
> the sibcall in this case is probably better; certainly simpler.  Thanks.

My patch actually doesn't disable the sibcall (well, in the testcase I've
included it cannot be sibcall for other reasons), but only causes
expand_call to expand_expr argument containing it before starting
tail call/normal call insn sequences.

	Jakub


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