[Bug target/49423] [arm] internal compiler error: in push_minipool_fix
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49423 Martin Jambor changed: What|Removed |Added CC||bernds at codesourcery dot ||com --- Comment #8 from Martin Jambor 2012-04-17 16:37:26 UTC --- 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 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_extenddi2, extenddi2 and related splits): New. (thumb1_zero_extendhisi2): Remove code to handle LABEL_REFs. Remove pool_range attribute. (arm_zero_extendhisi2, arm_zero_extendhisi2_v6, arm_zero_extendqisi2, arm_zero_extendqisi2_v6, thumb1_zero_extendqisi2_v6): Remove pool_range and neg_pool_range attributes. * config/arm/thumb2.md (thumb2_zero_extendsidi2, thumb2_zero_extendhidi2, thumb2_zero_extendqidi2, thumb2_extendsidi2, thumb2_extendhidi2, thumb2_extendqidi2): Delete.
[Bug target/49423] [arm] internal compiler error: in push_minipool_fix
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49423 --- Comment #7 from Mikael Pettersson 2011-07-20 12:35:53 UTC --- gcc-4.6-20110715 still ICEs on this test case, so unfortunately the PR49094 fix didn't solve this problem.
[Bug target/49423] [arm] internal compiler error: in push_minipool_fix
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49423 --- Comment #6 from Martin Jambor 2011-07-11 17:39:09 UTC --- I have just committed a fix for PR 49094 to the 4.6 branch. Please try again now. Thanks.
[Bug target/49423] [arm] internal compiler error: in push_minipool_fix
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49423 Ramana Radhakrishnan changed: What|Removed |Added Keywords||ice-on-valid-code Status|UNCONFIRMED |NEW Last reconfirmed||2011.06.29 15:35:12 CC||ramana at gcc dot gnu.org Ever Confirmed|0 |1 Known to fail||4.6.0, 4.6.1 --- Comment #5 from Ramana Radhakrishnan 2011-06-29 15:35:12 UTC --- doesn't seem to occur on 4.5 branch or on trunk. Ramana
[Bug target/49423] [arm] internal compiler error: in push_minipool_fix
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49423 --- Comment #4 from Martin Jambor 2011-06-21 12:48:36 UTC --- Possibly, yes. I plan to submit a fix for PR49094 this week, please try after that.
[Bug target/49423] [arm] internal compiler error: in push_minipool_fix
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49423 Mikael Pettersson changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment #3 from Mikael Pettersson 2011-06-20 17:06:18 UTC --- 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=gcc&view=rev&rev=164136 Log: 2010-09-10 Martin Jambor 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.
[Bug target/49423] [arm] internal compiler error: in push_minipool_fix
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49423 Mikael Pettersson changed: What|Removed |Added CC||mikpe at it dot uu.se --- Comment #2 from Mikael Pettersson 2011-06-20 11:10:11 UTC --- 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.
[Bug target/49423] [arm] internal compiler error: in push_minipool_fix
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49423 --- Comment #1 from philb at gnu dot org 2011-06-15 13:50:23 UTC --- Created attachment 24537 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24537 testcase