Bug 927931 - ICE when building hunt on ARM
Summary: ICE when building hunt on ARM
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 19
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
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)

Clone Of:
Last Closed: 2013-03-26 17:27:14 UTC

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

External Trackers
Tracker ID Priority Status Summary Last Updated
GNU Compiler Collection 56745 None None None Never

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

Complete build:



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)
 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.