This service will be undergoing maintenance at 00:00 UTC, 2016-09-28. It is expected to last about 1 hours
Bug 87383 - Internal compiler error in bundling, at config/ia64/ia64.c:6448
Internal compiler error in bundling, at config/ia64/ia64.c:6448
Status: CLOSED WORKSFORME
Product: Red Hat Raw Hide
Classification: Retired
Component: gcc (Show other bugs)
1.0
ia64 Linux
medium Severity medium
: ---
: ---
Assigned To: Vladimir Makarov
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-03-26 10:46 EST by Tim Waugh
Modified: 2007-04-18 12:52 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-04-05 18:14:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
conf.c (267.05 KB, text/plain)
2003-03-26 10:48 EST, Tim Waugh
no flags Details

  None (edit)
Description Tim Waugh 2003-03-26 10:46:38 EST
Description of problem:
ICE while compiling cups-1.1.18-1 on ia64.

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

How reproducible:
100%

Steps to Reproduce:
1. Save attached file as conf.c
2. gcc -O2 -c conf.c
    
Actual results:
conf.c: In function `get_address':
conf.c:1929: Internal compiler error in bundling, at config/ia64/ia64.c:6448
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
Comment 1 Tim Waugh 2003-03-26 10:48:14 EST
Created attachment 90724 [details]
conf.c

Preprocessed source file.
Comment 2 Jakub Jelinek 2003-04-03 04:35:27 EST
I believe this is the same as distilled testcase from glibc:

/* { dg-do compile { target ia64-*-* } } */
/* { dg-options "-O2" } */

int
foo (int x, int y)
{
  if (y == 0)
    {
      register long r8 asm ("r8");
      register long r15 asm ("r15") = 1;
      long retval;
      __asm __volatile ("" : "=r" (r8), "=r" (r15) : "1" (r15));
      retval = r8;
      y = retval;
    }

  {
    register long r8 asm ("r8");
    register long r15 asm ("r15") = 2;
    long retval;
    register long _out1 asm ("out1") = x;
    register long _out0 asm ("out0") = y;
    __asm __volatile (""
                      : "=r" (r8), "=r" (r15) , "=r" (_out0), "=r" (_out1)
                      : "1" (r15) , "2" (_out0), "3" (_out1));
    retval = r8;
    return retval;
  }
}
Comment 3 Vladimir Makarov 2004-04-05 18:14:21 EDT
  Sorry, I should have closed the bug.  It was fixed long ago and the
patch was been committed into gcc-3_2-rhl8_branch and into gcc public
repository.  I've checked gcc-3.2.3-31 (RHEL 3 Update 1) and
gcc-3_2-rhl8-branch, the bug is really gone.

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