This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: C++ test-case regression
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Re: C++ test-case regression
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Fri, 28 Jan 2000 00:03:33 -0800
- Cc: Richard Henderson <rth at twiddle dot net>
- Organization: CodeSourcery, LLC
- References: <20000127234325G.mitchell@codesourcery.com>
Richard --
This one turns out to be the result of:
2000-01-25 Richard Henderson <rth@cygnus.com>
* Makefile.in (flow.o): Depend on $(EXPR_H).
* flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
duplicate the structure of diddle_return_value for keeping regs live.
Here's the test-case again -- run cc1plus on x86-linux-gnu.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
extern "C" int printf (const char*, ...);
struct S { ~S () { } };
double f (S) { return 5; }
int main() { S s; double dist = f (s); printf ("%g\n", dist); return 0; }