Bug 150331

Summary: gcc4 miscompiles gnome-menus
Product: [Fedora] Fedora Reporter: Matthias Clasen <mclasen>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-03-04 19:57:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matthias Clasen 2005-03-04 17:12:58 UTC
gcc4 seems to miscompile gnome-menus at least on x86_64. The problem goes
away if an if-else with two identical branches is replaced by just the 
branch code.


http://bugzilla.gnome.org/show_bug.cgi?id=169200 has stacktraces and the patch

Tell me if you need any other details.

Comment 1 Matthias Clasen 2005-03-04 18:03:49 UTC
Sorry, the if-else idea was just me being shortsighted. The problem is actually
that cached_dir_add_entry is miscompiled, so that dir is valid at the entry of
the function, but when we try to access dir-entries later dir is NULL.

I have been unsuccessful in reducing this to a standalone testcase so far.

Comment 2 Matthias Clasen 2005-03-04 19:57:58 UTC
Turned out to be an unrelated 64bit problem