From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Joseph S. Myers" To: Jan Hubicka Cc: Subject: Re: spec2000 regression Date: Wed, 15 Aug 2001 06:40:00 -0000 Message-id: References: <20010815144127.V19872@atrey.karlin.mff.cuni.cz> X-SW-Source: 2001-08/msg00910.html On Wed, 15 Aug 2001, Jan Hubicka wrote: > I am now testing following patch. OK to install if it succeeds? You should add a testcase to the testsuite for this bug. You can do this by calling a non-existent function such that the call will be optimised away if the optimisation succeeds. (Look e.g. at gcc.c-torture/execute/builtin-abs-1.c - in this case you'll want to use 'set additional_flags "-fstrict-aliasing"' in the .x file so that the optimisation works at -O1 (which doesn't include -fstrict-aliasing) and #ifndef __OPTIMIZE__ is the only test needed for the dummy version of the function that aborts.) -- Joseph S. Myers jsm28@cam.ac.uk