PATCH to avoid copying tail padding (was: GCC 3.2)

Jason Merrill jason@redhat.com
Tue Oct 15 15:04:00 GMT 2002


On Thu, 29 Aug 2002 19:40:35 -0700, Richard Henderson <rth@redhat.com> wrote:

> On Fri, Aug 23, 2002 at 03:45:26PM +0100, Jason Merrill wrote:
>> If we're not going to try to DTRT, I think I'd rather change it to a call
>> to abort() or some such.
>
> Note that expand_builtin_va_arg calls expand_builtin_trap 
> in a case like this.  The front end could similarly expand
> a call to __builtin_trap().

Voila.  Sorry this took me so long to check in.

2002-10-15  Jason Merrill  <jason@redhat.com>

	* call.c (call_builtin_trap): New fn.
	(convert_arg_to_ellipsis): Use it.  Downgrade error to warning.
	(build_call): Don't set current_function_returns_abnormally outside
	a function.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 2554 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20021015/6daba7c2/attachment.bin>


More information about the Gcc-patches mailing list