Bug 118311

Summary: -fmudflap missing MREMAP_MAYMOVE define
Product: [Fedora] Fedora Reporter: William Cohen <wcohen>
Component: gccAssignee: Diego Novillo <dnovillo>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-03-15 16:13:10 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:
Attachments:
Description Flags
Test case that demonstrates problem none

Description William Cohen 2004-03-15 15:18:29 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030922

Description of problem:
Mudflap appears to be missing an define. The following example
compiles fine without "-fmudflap". However compiled with "gcc-ssa  -c
mudflapx.c" it fails.


Version-Release number of selected component (if applicable):
gcc-ssa-3.5ssa-0.20040315.snapshot

How reproducible:
Always

Steps to Reproduce:
1. Compile the attached program with "gcc-ssa  -c mudflapx.c"


Actual Results:  mudflapx.c: In function `odb_hash_add_node':
mudflapx.c:17: error: `MREMAP_MAYMOVE' undeclared (first use in this
function)
mudflapx.c:17: error: (Each undeclared identifier is reported only once
mudflapx.c:17: error: for each function it appears in.)


Expected Results:  Program to compile without error.

Additional info:

Comment 1 William Cohen 2004-03-15 15:19:30 UTC
Created attachment 98533 [details]
Test case that demonstrates problem

Comment 2 Diego Novillo 2004-03-15 16:13:10 UTC
gcc-ssa is no longer included in FC, as it will become GCC 3.5.

Will, if you can reproduce this with the FSF branch, please report it
in GCC Bugzilla.


Thanks.

Comment 3 William Cohen 2004-03-15 19:00:09 UTC
Which branch in fsf would have the mudflap work?

-Will

Comment 4 Diego Novillo 2004-03-15 19:04:23 UTC
tree-ssa.  Branch name is tree-ssa-20020619-branch.  You can try the
daily RPM snapshots available off of 

http://gcc.gnu.org/projects/tree-ssa/

Comment 5 William Cohen 2004-03-15 21:06:09 UTC
I duplicated the problem on the tree-ssa-20020619-branch. It is filed
as the following on the gcc bugzilla:

 [Bug libmudflap/14588] New: -fmudflap doesn't define MREMAP_MAYMOVE

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14588