re PR tree-optimization/83141 (SRA and memcpy folding interact badly generating wrong...
authorRichard Biener <rguenther@suse.de>
Tue, 28 Nov 2017 11:58:45 +0000 (11:58 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 28 Nov 2017 11:58:45 +0000 (11:58 +0000)
commitd725717165707b49ee2484e462bbb7fbd278b919
treefbb6ac2e0acaeb635b3ab0940c55b3874cea45b4
parentfa69d74bd841dd75bd235f482b335e4c474ad3d5
re PR tree-optimization/83141 (SRA and memcpy folding interact badly generating wrong-code)

2017-11-28  Richard Biener  <rguenther@suse.de>

PR middle-end/83141
* gimple-fold.c (gimple_fold_builtin_memory_op): For aggregate
copies generated from memcpy use a character array as reference
type.

From-SVN: r255197
gcc/ChangeLog
gcc/gimple-fold.c