https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70701
Andrew Pinski changed:
What|Removed |Added
Target Milestone|--- |7.0
Severity|normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70701
--- Comment #4 from Richard Biener ---
Author: rguenth
Date: Mon Apr 18 11:39:04 2016
New Revision: 235131
URL: https://gcc.gnu.org/viewcvs?rev=235131&root=gcc&view=rev
Log:
2016-04-18 Richard Biener
PR tree-optimization/70701
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70701
Richard Biener changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Known to work|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70701
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70701
--- Comment #1 from Marc Glisse ---
Er, sorry, a "const" disappeared when I posted.
const int a[]={1,2,3};
int f(){
int*b=__builtin_malloc(12);
__builtin_memcpy(b,a,12);
return b[0];
}
this fails to optimize (without forwprop).
int a[]=