[Bug tree-optimization/37024] [4.4 Regression] bad tail call from tuples merge

2008-08-05 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2008-08-05 18:24 --- Subject: Bug 37024 Author: pinskia Date: Tue Aug 5 18:23:07 2008 New Revision: 138735 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138735 Log: 2008-08-05 Andrew Pinski <[EMAIL PROTECTED]> PR tr

[Bug tree-optimization/37024] [4.4 Regression] bad tail call from tuples merge

2008-08-05 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2008-08-05 18:23 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/37024] [4.4 Regression] bad tail call from tuples merge

2008-08-05 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-08-05 08:54 --- Patch is pre-approved. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37024

[Bug tree-optimization/37024] [4.4 Regression] bad tail call from tuples merge

2008-08-04 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-08-05 00:22 --- Note the reason why this "works" on x86 and not rs6000 or really any other backend is that the x86 back-end assumes that the middle-end asks about some calls that could return in different locations: /* Check that

[Bug tree-optimization/37024] [4.4 Regression] bad tail call from tuples merge

2008-08-04 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-08-04 23:35 --- Simple testcase: /* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-tailc-details" } */ /* PR tree-opt/37024 */ double doubleValue(); long longValue () { return (long) doubleValue (); } /* We should not tai

[Bug tree-optimization/37024] [4.4 Regression] bad tail call from tuples merge

2008-08-04 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-04 21:48 --- Patch which I don't have time to test: Index: tree-tailcall.c === --- tree-tailcall.c (revision 138567) +++ tree-tailcall.c (working copy) @@ -2