Commit 1ab53893 by Richard Guenther Committed by Richard Biener

re PR lto/41915 (FAIL: gcc.dg/torture/builtin-math-7.c -O2 -flto execution test)

2009-12-11  Richard Guenther  <rguenther@suse.de>

	PR lto/41915
	* lto-lang.c (lto_init_options): Initialize flag_complex_method
	to the C99 default.  Do not set flag_unit_at_a_time.

From-SVN: r155164
parent dad02715
2009-12-11 Richard Guenther <rguenther@suse.de>
PR lto/41915
* lto-lang.c (lto_init_options): Initialize flag_complex_method
to the C99 default. Do not set flag_unit_at_a_time.
2009-11-28 Jakub Jelinek <jakub@redhat.com>
* lto-lang.c (handle_nonnull_attribute): Remove unused attr_arg_num
......
......@@ -600,9 +600,11 @@ static unsigned int
lto_init_options (unsigned int argc ATTRIBUTE_UNUSED,
const char **argv ATTRIBUTE_UNUSED)
{
/* Always operate in unit-at-time mode so that we can defer
decisions about what to output. */
flag_unit_at_a_time = 1;
/* By default, C99-like requirements for complex multiply and divide.
??? Until the complex method is encoded in the IL this is the only
safe choice. This will pessimize Fortran code with LTO unless
people specify a complex method manually or use -ffast-math. */
flag_complex_method = 2;
return CL_LTO;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment