Bug 150331 - gcc4 miscompiles gnome-menus
Summary: gcc4 miscompiles gnome-menus
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-03-04 17:12 UTC by Matthias Clasen
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-03-04 19:57:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.