Bug 91084 - gcc internal error with -fprofile-arcs
Summary: gcc internal error with -fprofile-arcs
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gcc
Version: 9
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-05-17 15:32 UTC by Laurent Deniel
Modified: 2007-04-18 16:53 UTC (History)
0 users

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


Attachments (Terms of Use)

Description Laurent Deniel 2003-05-17 15:32:09 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20021120
Netscape/7.01

Description of problem:
# gcc -c -g -fprofile-arcs  util-bug.c
util-bug.c: In function `susystem':
util-bug.c:10: Internal compiler error in branch_prob, at profile.c:592
Please submit a full bug report,

#include <sys/types.h>
#include <unistd.h>
int susystem(void)
{
        int status;
        pid_t pid;
        pid = vfork();
        /* ... */
        return (status);
}

Version-Release number of selected component (if applicable):
3.2.2

How reproducible:
Always

Steps to Reproduce:
1.gcc -c -g -fprofile-arcs  util-bug.c
2.
3.
    

Expected Results:  compilation OK.

Additional info:

Comment 1 Richard Henderson 2004-10-03 23:28:16 UTC
Fails through gcc 3.3; fixed in gcc 3.4.


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