public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/47028] New: [4.6 Regression] gcc.dg/tree-ssa/tailrecursion-[57].c FAIL with -foptimize-sibling-calls -fno-forward-propagate -fno-tree-copy-prop -fno-tree-dominator-opts
@ 2010-12-20 18:56 zsojka at seznam dot cz
  2010-12-20 19:20 ` [Bug rtl-optimization/47028] " zsojka at seznam dot cz
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: zsojka at seznam dot cz @ 2010-12-20 18:56 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47028

           Summary: [4.6 Regression] gcc.dg/tree-ssa/tailrecursion-[57].c
                    FAIL with -foptimize-sibling-calls
                    -fno-forward-propagate -fno-tree-copy-prop
                    -fno-tree-dominator-opts
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


Created attachment 22832
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22832
reduced testcase

Output:
$ gcc -O -foptimize-sibling-calls -fno-forward-propagate -fno-tree-copy-prop
-fno-tree-dominator-opts pr47028.c
$ ./a.out 
Aborted

At the assembly level, fib() is reduced to "return 1;":
fib:
    mov    eax, 0    # add_acc.0,
    add    eax, 1    # tmp73,
    ret

it seems to first appear in the pr47028.c.179r.combine dump

Tested revision:
r168061 - fail
r165699 - fail
r161659 - OK
4.5 r168062 -OK


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-01-02 17:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-20 18:56 [Bug rtl-optimization/47028] New: [4.6 Regression] gcc.dg/tree-ssa/tailrecursion-[57].c FAIL with -foptimize-sibling-calls -fno-forward-propagate -fno-tree-copy-prop -fno-tree-dominator-opts zsojka at seznam dot cz
2010-12-20 19:20 ` [Bug rtl-optimization/47028] " zsojka at seznam dot cz
2010-12-27 19:06 ` jakub at gcc dot gnu.org
2010-12-30 13:19 ` jakub at gcc dot gnu.org
2010-12-30 14:44 ` hjl.tools at gmail dot com
2010-12-30 16:00 ` jakub at gcc dot gnu.org
2010-12-30 18:57 ` rguenth at gcc dot gnu.org
2011-01-02 17:07 ` jakub at gcc dot gnu.org
2011-01-02 17:24 ` jakub at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).