C++ test-case regression
Mark Mitchell
mark@codesourcery.com
Fri Jan 28 00:02:00 GMT 2000
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; }
More information about the Gcc-bugs
mailing list