Author: jakub
Date: Thu Dec  8 13:36:40 2011
New Revision: 182112

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182112
Log:
        Backport from mainline
        2011-12-05  Jakub Jelinek  <ja...@redhat.com>
                    Eric Botcazou  <ebotca...@adacore.com>

        PR middle-end/51323
        PR middle-end/50074
        * calls.c (internal_arg_pointer_exp_state): New variable.
        (internal_arg_pointer_based_exp_1,
        internal_arg_pointer_exp_scan): New functions.
        (internal_arg_pointer_based_exp): New function.
        (mem_overlaps_already_clobbered_arg_p): Use it.
        (expand_call): Free internal_arg_pointer_exp_state.cache vector
        and clear internal_arg_pointer_exp_state.scan_start.

        2011-11-26  Joern Rennecke  <joern.renne...@embecosm.com>

        PR middle-end/50074
        * calls.c (mem_overlaps_already_clobbered_arg_p):
        Return false if no outgoing arguments have been stored so far.

        2011-12-05  Jakub Jelinek  <ja...@redhat.com>
                    Eric Botcazou  <ebotca...@adacore.com>

        PR middle-end/51323
        PR middle-end/50074
        * gcc.c-torture/execute/pr51323.c: New test.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/gcc.c-torture/execute/pr51323.c
Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/calls.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/897583

Title:
  Code generation bug with -O2 (-foptimize-sibling-calls)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/897583/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to