mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 15:22:43 +00:00
Do not imply -ftree-vrp with -O2 and above. One must implicitly specify
'-ftree-vrp' if one wants it. Some bad code generation has been tracked to -ftree-vrp. jdk1{5,6} are notable examples. Approved by: re(kensmith)
This commit is contained in:
parent
bd53924f04
commit
efd1233d59
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=172419
@ -501,7 +501,10 @@ decode_options (unsigned int argc, const char **argv)
|
|||||||
flag_reorder_functions = 1;
|
flag_reorder_functions = 1;
|
||||||
flag_tree_store_ccp = 1;
|
flag_tree_store_ccp = 1;
|
||||||
flag_tree_store_copy_prop = 1;
|
flag_tree_store_copy_prop = 1;
|
||||||
flag_tree_vrp = 1;
|
/* XXX: some issues with ports have been traced to -ftree-vrp.
|
||||||
|
So remove it from -O2 and above. Note that jdk1{5,6} are affected
|
||||||
|
and they build with w/-O3 - so we cannot just move it to -O3. */
|
||||||
|
// flag_tree_vrp = 1;
|
||||||
|
|
||||||
if (!optimize_size)
|
if (!optimize_size)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user