The attached change fixes an ICE in dbxout_type on hppa2.0w-hp- hpux11.11 compiling auto-fn24.C.

Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11.

OK for trunk and 4.9?

Dave
--
John David Anglin       dave.ang...@bell.net


2014-09-07  John David Anglin  <dang...@gcc.gnu.org>

        PR debug/60433
        * dbxout.c (dbxout_type): Treat TEMPLATE_TYPE_PARM as a void type.

Index: dbxout.c
===================================================================
--- dbxout.c    (revision 214357)
+++ dbxout.c    (working copy)
@@ -1946,6 +1946,7 @@
     case VOID_TYPE:
     case NULLPTR_TYPE:
     case LANG_TYPE:
+    case TEMPLATE_TYPE_PARM:
       /* For a void type, just define it as itself; i.e., "5=5".
         This makes us consider it defined
         without saying what it is.  The debugger will make it

Reply via email to