Bug 927931 - ICE when building hunt on ARM
Summary: ICE when building hunt on ARM
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ARMTracker
TreeView+ depends on / blocked
 
Reported: 2013-03-26 14:23 UTC by Peter Robinson
Modified: 2013-04-02 09:57 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-26 17:27:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
preprocessed source (220.82 KB, application/octet-stream)
2013-03-26 14:23 UTC, Peter Robinson
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 56745 0 None None None Never

Description Peter Robinson 2013-03-26 14:23:28 UTC
Created attachment 716544 [details]
preprocessed source

Complete build:

http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=1633315

Excerpt:

armv7hl-redhat-linux-gnueabi-gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -march=armv7-a -mfpu=vfpv3-d16  -mfloat-abi=hard -D_REENTRANT   -c -o c/array.o c/array.c
armv7hl-redhat-linux-gnueabi-gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -march=armv7-a -mfpu=vfpv3-d16  -mfloat-abi=hard -D_REENTRANT   -c -o util.o util.c
armv7hl-redhat-linux-gnueabi-gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -march=armv7-a -mfpu=vfpv3-d16  -mfloat-abi=hard -D_REENTRANT   -c -o net.o net.c
armv7hl-redhat-linux-gnueabi-gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -march=armv7-a -mfpu=vfpv3-d16  -mfloat-abi=hard -D_REENTRANT   -c -o rst.o rst.c
util.c: In function 'suggest_mac':
util.c:339:1: internal compiler error: in merge_if_block, at ifcvt.c:3194
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.

Comment 1 Jakub Jelinek 2013-03-26 17:27:14 UTC
Tracking upstream.

Comment 2 Jakub Jelinek 2013-04-02 09:57:18 UTC
BTW, the source is clearly broken, so you'd better fix this:
unsigned char __suggest_mac[6] = {0xEA, 0x1A, 0xDE, 0xAD, 0xBE, 0x00};
unsigned char *suggest_mac(void)
{
 int i;

 for (i = 6 - 1; i >= 0; i++) {
  if (++__suggest_mac[i] != 0)
   break;
  ++__suggest_mac[i];
 }
 return __suggest_mac;
}

I bet i++ was meant to be i-- instead.


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