mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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
1 changed files with 4 additions and 1 deletions
|
|
@ -501,7 +501,10 @@ decode_options (unsigned int argc, const char **argv)
|
|||
flag_reorder_functions = 1;
|
||||
flag_tree_store_ccp = 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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue