re PR c++/15142 (Internal compiler error when passing a string where a char* is expec...
authorJason Merrill <jason@redhat.com>
Tue, 1 Jun 2004 20:28:38 +0000 (16:28 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 1 Jun 2004 20:28:38 +0000 (16:28 -0400)
commita90f9bb112ebc8e243432ea776a374c3adc8b3c7
treeeca409bda5926b42008edec068db781250b76ccf
parent95c73b23dc40a6ba5a6f130d3f981aa36a7de1e5
re PR c++/15142 (Internal compiler error when passing a string where a char* is expecteted in a throw statement)

        PR c++/15142
        * call.c (call_builtin_trap): Remove type parm.
        (convert_arg_to_ellipsis): Change a non-POD argument to integer type.
        (build_x_va_arg): Dereference a null pointer for a non-POD argument.

From-SVN: r82556
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/g++.dg/overload/ellipsis1.C [new file with mode: 0644]