This is the mail archive of the gcc-bugs@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]

Re: C++ test-case regression



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; }

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