Properly expand strlen to Pmode.
authorH.J. Lu <hongjiu.lu@intel.com>
Tue, 14 Jun 2011 16:31:57 +0000 (16:31 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Tue, 14 Jun 2011 16:31:57 +0000 (09:31 -0700)
commitfa4657624c6609bbfffb4ec5fb1e19e44691c864
tree84db851d1d9699a10ee7a3b9f5df564beb59ed58
parent652de9ffb6a941775908325ad1a057f34fbcfbd5
Properly expand strlen to Pmode.

2011-06-14  H.J. Lu  <hongjiu.lu@intel.com>

PR middle-end/47364
* builtins.c (expand_builtin_strlen): Expand strlen to Pmode
and properly handle result not in Pmode.

From-SVN: r175034
gcc/ChangeLog
gcc/builtins.c