[Bug 1296601] Re: ICE in push_minipool_fix when building rtl8723ae kernel driver
** Changed in: gcc Status: In Progress = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1296601 Title: ICE in push_minipool_fix when building rtl8723ae kernel driver To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1296601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1296601] Re: ICE in push_minipool_fix when building rtl8723ae kernel driver
Launchpad has imported 33 comments from the remote bug at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49423. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2011-06-15T13:49:53+00:00 Philip Blundell wrote: $ arm-oe-linux-gnueabi-gcc -march=armv7-a -O2 -S -mfloat-abi=softfp -mfpu=vfp svga_tgsi_insn.i svga_tgsi_insn.c: In function 'svga_shader_emit_instructions': svga_tgsi_insn.c:2969:1: internal compiler error: in push_minipool_fix, at config/arm/arm.c:12138 Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html for instructions. $ Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-4.8-armhf- cross/+bug/1296601/comments/0 On 2011-06-15T13:50:23+00:00 Philip Blundell wrote: Created attachment 24537 testcase Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-4.8-armhf- cross/+bug/1296601/comments/1 On 2011-06-20T11:10:11+00:00 Mikpelinux wrote: I can reproduce the ICE on armv5tel-linux-gnueabi with gcc-4.6.0 and 4.6-20110617, but not with gcc-4.5.3 or the latest 4.7 snapshot. The ICE stopped occurring on trunk with r170984 (PR41490 fix). However that's a generic missed-optimization fix, so I suspect the bug is latent on trunk. Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-4.8-armhf- cross/+bug/1296601/comments/2 On 2011-06-20T17:06:18+00:00 Mikpelinux wrote: It's caused by r164136: Author: jamborm Date: Thu Sep 9 23:38:23 2010 New Revision: 164136 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164136 Log: 2010-09-10 Martin Jambor mjam...@suse.cz PR tree-optimization/44972 * tree-sra.c: Include toplev.h. (build_ref_for_offset): Entirely reimplemented. ... That makes it probably related to PR49094, although in this PR's test case the one occurrence of attribute((aligned(N)) doesn't matter for the ICE. Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-4.8-armhf- cross/+bug/1296601/comments/3 On 2011-06-21T12:48:36+00:00 Jamborm wrote: Possibly, yes. I plan to submit a fix for PR49094 this week, please try after that. Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-4.8-armhf- cross/+bug/1296601/comments/4 On 2011-06-29T15:35:12+00:00 Ramana-gcc wrote: doesn't seem to occur on 4.5 branch or on trunk. Ramana Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-4.8-armhf- cross/+bug/1296601/comments/5 On 2011-07-11T17:39:09+00:00 Jamborm wrote: I have just committed a fix for PR 49094 to the 4.6 branch. Please try again now. Thanks. Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-4.8-armhf- cross/+bug/1296601/comments/6 On 2011-07-20T12:35:53+00:00 Mikpelinux wrote: gcc-4.6-20110715 still ICEs on this test case, so unfortunately the PR49094 fix didn't solve this problem. Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-4.8-armhf- cross/+bug/1296601/comments/7 On 2012-04-17T16:37:26+00:00 Jamborm wrote: I'm sorry I forgot about this bug but I finally remembered to have a look today. Unfortunately, on i686 host I was able to reproduce the ICE also with revisions 164134 and 164135 and so I assumed that Mikael made a mistake when he tracked the cause of the ICE to my commit in comment #3. When verifying that on an x86_64 host, I realized that the ICE indeed started happening with my commit but it re-appeared quickly with previous revisions when I added -fno-tree-sra to the command line options. Therefore I believe my patch did not cause any bug but uncovered some other issue elsewhere. In order to help at least a little, I did my own bisecting, this time with -fno-tree-sra, and to me it appears the ICE (still present on the 4.6 branch) is introduced by revision 163935: 2010-09-07 Bernd Schmidt ber...@codesourcery.com PR target/43137 * config/arm/iterators.md (qhs_zextenddi_cond, qhs_sextenddi_cond): New define_mode_attrs. * config/arm/arm.md (zero_extendsidi2, arm_zero_extendsidi2, arm_exxtendsidi2, arm_extendsidi2): Delete patterns. (zero_extendmodedi2, extendmodedi2 and related splits): New. (thumb1_zero_extendhisi2): Remove code to handle LABEL_REFs.
[Bug 1296601] Re: ICE in push_minipool_fix when building rtl8723ae kernel driver
Fixed on trunk under PR49423. Now tracked to in Linaro bugzilla https://bugs.linaro.org/show_bug.cgi?id=598 to ensure that the backports to 4.8 and 4.9 are made. ** Bug watch added: Linaro Bug Tracking System #598 https://bugs.linaro.org/show_bug.cgi?id=598 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1296601 Title: ICE in push_minipool_fix when building rtl8723ae kernel driver To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1296601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1296601] Re: ICE in push_minipool_fix when building rtl8723ae kernel driver
** Also affects: gcc via http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49423 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1296601 Title: ICE in push_minipool_fix when building rtl8723ae kernel driver To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1296601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1296601] Re: ICE in push_minipool_fix when building rtl8723ae kernel driver
** Changed in: gcc-linaro Assignee: (unassigned) = Charles Baylis (cbaylis) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1296601 Title: ICE in push_minipool_fix when building rtl8723ae kernel driver To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/1296601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1296601] Re: ICE in push_minipool_fix when building rtl8723ae kernel driver
** Also affects: gcc-linaro Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1296601 Title: ICE in push_minipool_fix when building rtl8723ae kernel driver To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/1296601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1296601] Re: ICE in push_minipool_fix when building rtl8723ae kernel driver
Attaching another testcase that reproduces the issue (or at least a very similar one). $ arm-linux-gnueabihf-gcc -marm -march=armv7-a -fsanitize=address -Os -w testcase.i testcase.i: In function ‘fn1’: testcase.i:24:1: internal compiler error: in push_minipool_fix, at config/arm/arm.c:14040 } ^ Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-4.8/README.Bugs for instructions. Preprocessed source stored into /tmp/cchbrz4F.out file, please attach this to your bugreport. $ arm-linux-gnueabihf-gcc --version arm-linux-gnueabihf-gcc (Ubuntu/Linaro 4.8.1-10ubuntu7) 4.8.1 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ** Attachment added: another testcase https://bugs.launchpad.net/ubuntu/+source/gcc-4.8-armhf-cross/+bug/1296601/+attachment/4117028/+files/testcase.i -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1296601 Title: ICE in push_minipool_fix when building rtl8723ae kernel driver To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.8-armhf-cross/+bug/1296601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1296601] Re: ICE in push_minipool_fix when building rtl8723ae kernel driver
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gcc-4.8-armhf-cross (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/1296601 Title: ICE in push_minipool_fix when building rtl8723ae kernel driver To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.8-armhf-cross/+bug/1296601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1296601] Re: ICE in push_minipool_fix when building rtl8723ae kernel driver
Apparently fixed in gcc-4.9 (trunk) According to [1] this may still be a latent issue but hidden on trunk because LRA is enabled by default on ARM now. [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49423#c26 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1296601 Title: ICE in push_minipool_fix when building rtl8723ae kernel driver To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.8-armhf-cross/+bug/1296601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1296601] Re: ICE in push_minipool_fix when building rtl8723ae kernel driver
Seems to be similar to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49423 ** Bug watch added: GCC Bugzilla #49423 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49423 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1296601 Title: ICE in push_minipool_fix when building rtl8723ae kernel driver To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.8-armhf-cross/+bug/1296601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1296601] Re: ICE in push_minipool_fix when building rtl8723ae kernel driver
Reduced test case attached. arm-unknown-linux-gnueabihf-gcc -marm -O2 -fno-strict-aliasing -fno- common -fno-omit-frame-pointer -c reduce.c reduce.c:84:1: internal compiler error: in push_minipool_fix, at config/arm/arm.c:14059 } ^ 0x96b9cf push_minipool_fix /home/cbaylis/srcarea/gcc/gcc-linaro-4.8/gcc/config/arm/arm.c:14059 0x98fc2d note_invalid_constants /home/cbaylis/srcarea/gcc/gcc-linaro-4.8/gcc/config/arm/arm.c:14238 0x98fc2d arm_reorg /home/cbaylis/srcarea/gcc/gcc-linaro-4.8/gcc/config/arm/arm.c:14539 0x787699 rest_of_handle_machine_reorg /home/cbaylis/srcarea/gcc/gcc-linaro-4.8/gcc/reorg.c:3939 ** Attachment added: reduce.c https://bugs.launchpad.net/ubuntu/+source/gcc-4.8-armhf-cross/+bug/1296601/+attachment/4042868/+files/reduce.c -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1296601 Title: ICE in push_minipool_fix when building rtl8723ae kernel driver To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.8-armhf-cross/+bug/1296601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1296601] Re: ICE in push_minipool_fix when building rtl8723ae kernel driver
$ arm-linux-gnueabihf-gcc-4.8 --version # this time the right one arm-linux-gnueabihf-gcc-4.8 (Ubuntu/Linaro 4.8.1-10ubuntu7) 4.8.1 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ** Project changed: gcc-linaro = gcc-4.8-armhf-cross (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1296601 Title: ICE in push_minipool_fix when building rtl8723ae kernel driver To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.8-armhf-cross/+bug/1296601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1296601] Re: ICE in push_minipool_fix when building rtl8723ae kernel driver
Apparently fixed in gcc-4.9 (trunk) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1296601 Title: ICE in push_minipool_fix when building rtl8723ae kernel driver To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.8-armhf-cross/+bug/1296601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs