This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/51692] New: [4.7 Regression] ICE on several valgrind tests
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 28 Dec 2011 10:33:21 +0000
- Subject: [Bug tree-optimization/51692] New: [4.7 Regression] ICE on several valgrind tests
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51692
Bug #: 51692
Summary: [4.7 Regression] ICE on several valgrind tests
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: jakub@gcc.gnu.org
Target: x86_64-linux
int
main ()
{
volatile double d = 0.0;
double *p = __builtin_calloc (1, sizeof (double));
d += 1.0;
*p += 2.0;
__builtin_free (p);
return 0;
}
ICEs at -O2, the free argument becomes a freed SSA_NAME for some reason.
Started with http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182009