Bug 678530

Summary: drivers/isdn/hysdn/hysdn_boot.c:398:1: internal compiler error: in extract_insn, at recog.c:2109
Product: [Fedora] Fedora Reporter: Sami Farin <hvtaifwkbgefbaei>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: jakub
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: gcc-4.6.0-0.11.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-18 15:22:13 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
Preprocessed source none

Description Sami Farin 2011-02-18 11:24:41 UTC
Created attachment 479485 [details]
Preprocessed source

Description of problem:
Linux 2.6.36.4 does not compile

drivers/isdn/hysdn/hysdn_boot.c: In function ‘EvalSysrTokData’:
drivers/isdn/hysdn/hysdn_boot.c:398:1: error: unrecognizable insn:
(insn 291 56 292 10 (set (subreg:SI (reg:DI 37 r8) 0)
        (mem:QI (reg/v/f:DI 1 dx [orig:77 p ] [77]) [0 *p_94+0 S1 A8])) drivers/isdn/hysdn/hysdn_boot.c:351 -1
     (nil))
drivers/isdn/hysdn/hysdn_boot.c:398:1: internal compiler error: in extract_insn, at recog.c:2109
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccEZwsQT.out file, please attach this to your bugreport.

Version-Release number of selected component (if applicable):
gcc version 4.6.0 20110212 (Red Hat 4.6.0-0.7) (GCC) 


How reproducible:
100%

Steps to Reproduce:
1. make drivers/isdn/hysdn/hysdn_boot.o
2.
3.
  
Actual results:
ICE

Expected results:
no ICE

Additional info:

Comment 1 Jakub Jelinek 2011-02-18 13:00:18 UTC
Confirmed, reduced testcase with -O2 -march=nocona:
int
foo (unsigned char *x, unsigned char *y)
{
  unsigned char a;
  for (a = 0; x < y; x++)
    if (a & 0x80)
      a = (unsigned char) (a << 1) + 1 + *x;
    else
      a = (unsigned char) (a << 1) + *x;
  return a;
}

Comment 2 Jakub Jelinek 2011-02-18 15:22:13 UTC
Tracking upstream as http://gcc.gnu.org/PR47800

Comment 3 Fedora Update System 2011-02-20 14:36:25 UTC
gcc-4.6.0-0.8.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/gcc-4.6.0-0.8.fc15

Comment 4 Fedora Update System 2011-02-23 11:33:33 UTC
gcc-4.6.0-0.9.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/gcc-4.6.0-0.9.fc15

Comment 5 Fedora Update System 2011-03-01 16:06:59 UTC
Package gcc-4.6.0-0.11.fc15:
* should fix your issue,
* was pushed to the Fedora 15 updates-testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gcc-4.6.0-0.11.fc15'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/gcc-4.6.0-0.11.fc15
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2011-03-03 03:37:56 UTC
gcc-4.6.0-0.11.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.