[augeas-devel] [PATCH] Fix crasher in ast.c:dict_pos on i686 with gcc 4.5 and -O2

Matthew Booth mbooth at redhat.com
Fri Nov 12 14:21:26 UTC 2010


On 11/12/2010 11:24 AM, Matthew Booth wrote:
> This patch works around what appears to be an optimization bug in gcc 4.5. The
> symptom of the bug is that dict_pos, called from dict_lookup, receives an
> invalid value when accessing dict->used. The following ticket describes the bug,
> and includes a simple test case:

I just filed a gcc BZ here: 
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46452

Matt
-- 
Matthew Booth, RHCA, RHCSS
Red Hat Engineering, Virtualisation Team

GPG ID:  D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490




More information about the augeas-devel mailing list