[PATCH] Make disabled-optimization warning more informative; increase default max...
authorBrad Lucier <lucier@math.purdue.edu>
Thu, 12 Nov 2015 22:27:47 +0000 (22:27 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 12 Nov 2015 22:27:47 +0000 (15:27 -0700)
commit87d8dd6c4599c09fe4da43adac523cf81613217c
treee20097f88c7d396bf5c26e3833485b6bb7294026
parent6e232ba4246ca324a663ec5ddf0ba4db5cf3fbad
[PATCH] Make disabled-optimization warning more informative; increase default max-gcse-memory

* gcc/cprop.c (is_too_expensive): Remove.
(gcse.h): Include.
(one_cprop_pass): Call gcse_or_cprop_is_too_expensive, not
is_too_expensive.
* gcc/gcse.h (gcse_or_cprop_is_too_expensive): Declare.
* gcc/gcse.c (is_too_expensive): Rename to ...
(gcse_or_cprop_is_too_expensive): ... this.
Expand warning to add required size of max-gcse-memory.
(one_pre_gcse_pass): Use it.
(one_code_hoisting_pass): Use it.
  * gcc/params.def (max-gcse-memory): Increase from 50MB to 128MB.

From-SVN: r230276
gcc/ChangeLog
gcc/cprop.c
gcc/gcse.c
gcc/gcse.h
gcc/params.def