[Bug inline-asm/48435] [4.7 Regression] Assertion failure during IRA (df_scan)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48435 Georg-Johann Lay gjl at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED CC||gjl at gcc dot gnu.org Resolution||WORKSFORME --- Comment #8 from Georg-Johann Lay gjl at gcc dot gnu.org 2011-04-16 21:33:51 UTC --- Closed as resolved+works for me, i.e. for target avr. The two test cases compile for target avr and avr-libc builds again.
[Bug inline-asm/48435] [4.7 Regression] Assertion failure during IRA (df_scan)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48435 --- Comment #6 from Vladimir Makarov vmakarov at gcc dot gnu.org 2011-04-08 17:48:27 UTC --- Author: vmakarov Date: Fri Apr 8 17:48:23 2011 New Revision: 172202 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=172202 Log: Fix PR # 48435 instead of 4435 Modified: trunk/gcc/ChangeLog
[Bug inline-asm/48435] [4.7 Regression] Assertion failure during IRA (df_scan)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48435 --- Comment #7 from Georg-Johann Lay avr at gjlay dot de 2011-04-08 18:22:13 UTC --- Proper patch: Author: vmakarov Date: Fri Apr 8 17:17:50 2011 New Revision: 172201 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=172201 Log: 2011-04-08 Vladimir Makarov vmaka...@redhat.com PR 4435 * ira-color.c (setup_profitable_hard_regs): Add comments. Don't take prohibited hard regs into account. (setup_conflict_profitable_regs): Rename to get_conflict_profitable_regs. (check_hard_reg_p): Check prohibited hard regs. Modified: trunk/gcc/ChangeLog trunk/gcc/ira-color.c
[Bug inline-asm/48435] [4.7 Regression] Assertion failure during IRA (df_scan)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48435 Eric Botcazou ebotcazou at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2011.04.07 14:03:22 CC||ebotcazou at gcc dot ||gnu.org Ever Confirmed|0 |1 --- Comment #5 from Eric Botcazou ebotcazou at gcc dot gnu.org 2011-04-07 14:03:22 UTC --- All pseudos got 0 available hard regs and therefore spills. Something wrong with calculation of number of available hard regs for targets which can use reg pairs starting only on even/odd hard regs. I'm seeing this on the SPARC as well (gcc.target/sparc/combined-1.c): Loop 0 (parent -1, header bb0, depth 0) bbs: 2 all: 0r122 1r121 2r115 3r116 4r120 5r119 modified regnos: 115 116 119 120 121 122 border: Pressure: GENERAL_OR_EXTRA_FP_REGS=8 [...] Allocno a0r122 of EXTRA_FP_REGS(64) has 0 avail. regs obj 0 32 [...] Allocno a1r121 of EXTRA_FP_REGS(64) has 0 avail. regs obj 0 32 [...] Coalescing spilled allocnos a1r121-a5r119 Coalescing spilled allocnos a0r122-a2r115 Slot 1 (freq,size): a0r122(2000,8) a2r115(4000,8) Slot 2 (freq,size): a3r116(4000,8) Slot 3 (freq,size): a1r121(2000,8) a5r119(2000,8) Slot 4 (freq,size): a4r120(2000,8) Assigning 120(freq=2000) a new slot 3 Assigning 119(freq=2000) a new slot 2 Assigning 121(freq=2000) slot 2 of 119 Assigning 116(freq=4000) a new slot 1 Assigning 115(freq=4000) a new slot 0 Assigning 122(freq=2000) slot 0 of 115
[Bug inline-asm/48435] [4.7 Regression] Assertion failure during IRA (df_scan)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48435 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC||vmakarov at redhat dot com --- Comment #4 from Vladimir Makarov vmakarov at redhat dot com 2011-04-06 19:42:56 UTC --- All pseudos got 0 available hard regs and therefore spills. Something wrong with calculation of number of available hard regs for targets which can use reg pairs starting only on even/odd hard regs. The fix will need changes in very sensitive part of IRA code and need some time to write it, test, and benchmark it. I hope it will be done at the end of week. Sorry for the inconvenience.
[Bug inline-asm/48435] [4.7 Regression] Assertion failure during IRA (df_scan)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48435 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Keywords||ice-on-valid-code, ra Target Milestone|--- |4.7.0 Summary|Assertion failure during|[4.7 Regression] Assertion |IRA (df_scan) |failure during IRA ||(df_scan)