[Bug 1584602] Re: internal compiler error: in fixup_reorder_chain, , at cfgrtl.c:3336

2016-05-24 Thread Andrew Cloke
I've raised https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1585174 to highlight the issue and suggest using the "-fno-if-conversion" option that Matthias has identifed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1584602] Re: internal compiler error: in fixup_reorder_chain, , at cfgrtl.c:3336

2016-05-24 Thread Ming Lei
** Changed in: gcc-4.8 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1584602 Title: internal compiler error: in fixup_reorder_chain,, at cfgrtl.c:3336 To

[Bug 1584602] Re: internal compiler error: in fixup_reorder_chain, , at cfgrtl.c:3336

2016-05-24 Thread Matthias Klose
$ cat notify.i _Bool a; fn1(unsigned int p1) { unsigned int b = a ? p1 : 0; if (p1 || b) fn2(0, p1, b); } $ gcc -c -O1 -fno-if-conversion notify.i $ gcc -c -O1 notify.i notify.i: In function 'fn1': notify.i:6:1: internal compiler error: in fixup_reorder_chain, at cfgrtl.c:3336 } ^

[Bug 1584602] Re: internal compiler error: in fixup_reorder_chain, , at cfgrtl.c:3336

2016-05-24 Thread Matthias Klose
workaround is to build the file with -fno-if-conversion. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1584602 Title: internal compiler error: in fixup_reorder_chain,, at cfgrtl.c:3336 To manage

[Bug 1584602] Re: internal compiler error: in fixup_reorder_chain, , at cfgrtl.c:3336

2016-05-23 Thread Ming Lei
Please see the gcc-4.8 crash log on trusty/arm64, which includes the gcc flag and PreprocessedSource. ** Attachment added: "gcc-4.8 crash log on trusty/arm64"

[Bug 1584602] Re: internal compiler error: in fixup_reorder_chain, , at cfgrtl.c:3336

2016-05-23 Thread Steve Langasek
Hi Tom, Can you please help us isolate a reduced test case for this issue, preferably with a single preprocessed source file and a minimal set of gcc flags necessary to reproduce it? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1584602] Re: internal compiler error: in fixup_reorder_chain, , at cfgrtl.c:3336

2016-05-23 Thread Ming Lei
Follos the steps to reproduce the issue: 1, find a arm64 machine or VM, which is installed trusty 2, prepare for building samba: sudo apt-get -y install dpkg-dev fakeroot sudo apt-get -y build-dep samba 3, download the following samba source: wget