This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/58209] [4.7 Regression] ICE in extract_range_from_binary_expr, at tree-vrp.c:2294


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.8.2, 4.9.0
            Summary|[4.7/4.8/4.9 Regression]    |[4.7 Regression] ICE in
                   |ICE in                      |extract_range_from_binary_e
                   |extract_range_from_binary_e |xpr, at tree-vrp.c:2294
                   |xpr, at tree-vrp.c:2294     |
      Known to fail|4.9.0                       |

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Aug 23 07:30:40 2013
New Revision: 201935

URL: http://gcc.gnu.org/viewcvs?rev=201935&root=gcc&view=rev
Log:
    PR tree-optimization/58209
    * tree-tailcall.c (process_assignment): Handle POINTER_PLUS_EXPR.
    (find_tail_calls): Give up for pointer result types if m is non-NULL.
    (adjust_return_value_with_ops): For PLUS_EXPR and pointer result type
    emit POINTER_PLUS_EXPR.
    (create_tailcall_accumulator): For pointer result type accumulate in
    sizetype type.

    * gcc.c-torture/execute/pr58209.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/execute/pr58209.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-tailcall.c

Author: jakub
Date: Fri Aug 23 07:35:01 2013
New Revision: 201937

URL: http://gcc.gnu.org/viewcvs?rev=201937&root=gcc&view=rev
Log:
    PR tree-optimization/58209
    * tree-tailcall.c (find_tail_calls): Give up for pointer result types
    if m or a is non-NULL.

    * gcc.c-torture/execute/pr58209.c: New test.

Added:
    branches/gcc-4_8-branch/gcc/testsuite/gcc.c-torture/execute/pr58209.c
Modified:
    branches/gcc-4_8-branch/gcc/ChangeLog
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_8-branch/gcc/tree-tailcall.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]