re PR lto/50165 (Huge build time regression (Firefox lto build))
authorMichael Matz <matz@suse.de>
Fri, 26 Aug 2011 16:02:17 +0000 (16:02 +0000)
committerMichael Matz <matz@gcc.gnu.org>
Fri, 26 Aug 2011 16:02:17 +0000 (16:02 +0000)
commit0b11d702dbe669203a2f36430892905c526e03ab
treee68f12f2d233581eae7cbc7118f64ed2260e8e29
parentf13677ba9982a07d1892ebff6a77666f6eca0ab6
re PR lto/50165 (Huge build time regression (Firefox lto build))

PR lto/50165
* lto-streamer-in.c (canon_file_name): Initialize new_slot->len;
don't call strlen twice, use memcpy.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r178118
gcc/ChangeLog
gcc/lto-streamer-in.c