Summary: | [4.6 Regression] ICE: tree check: expected ssa_name, have integer_cst in copy_phis_for_bb, at tree-inline.c:1986 | ||
---|---|---|---|
Product: | gcc | Reporter: | John Regehr <regehr> |
Component: | tree-optimization | Assignee: | Jakub Jelinek <jakub> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chenyang, hubicka, jakub |
Priority: | P3 | ||
Version: | 4.6.0 | ||
Target Milestone: | 4.6.0 | ||
Host: | x86_64-unknown-linux-gnu | Target: | x86_64-unknown-linux-gnu |
Build: | x86_64-unknown-linux-gnu | Known to work: | |
Known to fail: | Last reconfirmed: | 2011-01-24 05:32:15 | |
Attachments: |
gcc46-pr47428.patch
gcc46-pr47427.patch |
Description
John Regehr
2011-01-24 04:19:54 UTC
It is caused by revision 160124: http://gcc.gnu.org/ml/gcc-cvs/2010-06/msg00036.html Guess it is related to the implicit declaration of func_106 and too few parameters passed to it. Looking... Created attachment 23095 [details] gcc46-pr47428.patch Untested fix. Created attachment 23100 [details] gcc46-pr47427.patch Different untested fix. (In reply to comment #4) > Created attachment 23100 [details] > gcc46-pr47427.patch > > Different untested fix. Looks good. Author: jakub Date: Tue Jan 25 12:01:54 2011 New Revision: 169226 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169226 Log: PR tree-optimization/47427 PR tree-optimization/47428 * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't coalesce if the new root var would be TREE_READONLY. * gcc.c-torture/compile/pr47427.c: New test. * gcc.c-torture/compile/pr47428.c: New test. Added: trunk/gcc/testsuite/gcc.c-torture/compile/pr47427.c trunk/gcc/testsuite/gcc.c-torture/compile/pr47428.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-copyrename.c Fixed. Author: dnovillo Date: Wed Feb 2 17:46:04 2011 New Revision: 169577 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169577 Log: PR tree-optimization/47427 PR tree-optimization/47428 * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't coalesce if the new root var would be TREE_READONLY. * gcc.c-torture/compile/pr47427.c: New test. * gcc.c-torture/compile/pr47428.c: New test. Added: branches/google/integration/gcc/testsuite/gcc.c-torture/compile/pr47427.c branches/google/integration/gcc/testsuite/gcc.c-torture/compile/pr47428.c Modified: branches/google/integration/gcc/ChangeLog branches/google/integration/gcc/testsuite/ChangeLog branches/google/integration/gcc/tree-ssa-copyrename.c |