[Bug c++/56819] [4.7/4.8/4.9 Regression] ICE: SIGSEGV in int_cst_value (tree.h:4013) with -fcompare-debug

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 3 19:45:00 GMT 2013


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-04-03 19:45:32 UTC ---
Author: jakub
Date: Wed Apr  3 15:24:13 2013
New Revision: 197420

URL: http://gcc.gnu.org/viewcvs?rev=197420&root=gcc&view=rev
Log:
    PR debug/56819
    * tree.c (strip_typedefs): Copy NON_DEFAULT_TEMPLATE_ARGS_COUNT
    from args to new_args.
    (strip_typedefs_expr): Copy NON_DEFAULT_TEMPLATE_ARGS_COUNT from t to
    r instead of doing {S,G}ET_NON_DEFAULT_TEMPLATE_ARGS_COUNT.

    * g++.dg/debug/pr56819.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/debug/pr56819.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/tree.c
    trunk/gcc/testsuite/ChangeLog

Author: jakub
Date: Wed Apr  3 15:27:20 2013
New Revision: 197421

URL: http://gcc.gnu.org/viewcvs?rev=197421&root=gcc&view=rev
Log:
    PR debug/56819
    * tree.c (strip_typedefs): Copy NON_DEFAULT_TEMPLATE_ARGS_COUNT
    from args to new_args.
    (strip_typedefs_expr): Copy NON_DEFAULT_TEMPLATE_ARGS_COUNT from t to
    r instead of doing {S,G}ET_NON_DEFAULT_TEMPLATE_ARGS_COUNT.

    * g++.dg/debug/pr56819.C: New test.

Added:
    branches/gcc-4_8-branch/gcc/testsuite/g++.dg/debug/pr56819.C
Modified:
    branches/gcc-4_8-branch/gcc/cp/ChangeLog
    branches/gcc-4_8-branch/gcc/cp/tree.c
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog

Author: jakub
Date: Wed Apr  3 19:44:02 2013
New Revision: 197454

URL: http://gcc.gnu.org/viewcvs?rev=197454&root=gcc&view=rev
Log:
    PR debug/56819
    * tree.c (strip_typedefs): Copy NON_DEFAULT_TEMPLATE_ARGS_COUNT
    from args to new_args.
    (strip_typedefs_expr): Copy NON_DEFAULT_TEMPLATE_ARGS_COUNT from t to
    r instead of doing {S,G}ET_NON_DEFAULT_TEMPLATE_ARGS_COUNT.

    * g++.dg/debug/pr56819.C: New test.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/g++.dg/debug/pr56819.C
Modified:
    branches/gcc-4_7-branch/gcc/cp/ChangeLog
    branches/gcc-4_7-branch/gcc/cp/tree.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list