Improve dump files for SRA early candidate check v2
authorAndi Kleen <ak@linux.intel.com>
Fri, 24 Jun 2011 07:45:37 +0000 (07:45 +0000)
committerAndi Kleen <ak@gcc.gnu.org>
Fri, 24 Jun 2011 07:45:37 +0000 (07:45 +0000)
commit949cfd0a8de02f0651eba086a98653a9be27e609
tree2f93c3c157ff7539e3e43af3d351574b073209a0
parent908e152c84b2f3f97f0b5d316e9402aeeeef2b76
Improve dump files for SRA early candidate check v2

v2: Include message improvements from Eric Botcazou

gcc/:
2011-06-24  Andi Kleen  <ak@linux.intel.com>

* tree-sra.c (type_internals_preclude_sra_p): Add msg
parameter. Split up ifs and report reason in *msg.
(reject): Add.
(find_var_candiate): Add msg variable.
Split up ifs and report reason to reject.
(find_param_candidates): Add msg variable.
Pass msg to type_internals_preclude_sra_p.

From-SVN: r175370
gcc/ChangeLog
gcc/tree-sra.c