Bug 118311 - -fmudflap missing MREMAP_MAYMOVE define
Summary: -fmudflap missing MREMAP_MAYMOVE define
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Diego Novillo
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-03-15 15:18 UTC by William Cohen
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-03-15 16:13:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Test case that demonstrates problem (375 bytes, text/plain)
2004-03-15 15:19 UTC, William Cohen
no flags Details

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


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