lang.c (java_classify_record): Don't return RECORD_IS_INTERFACE for now.
authorAlexandre Oliva <aoliva@redhat.com>
Thu, 20 Dec 2007 17:18:10 +0000 (17:18 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Thu, 20 Dec 2007 17:18:10 +0000 (17:18 +0000)
* lang.c (java_classify_record): Don't return
RECORD_IS_INTERFACE for now.

From-SVN: r131105

gcc/java/ChangeLog
gcc/java/lang.c

index 5d4f273..6da577a 100644 (file)
@@ -1,3 +1,8 @@
+2007-12-20  Alexandre Oliva  <aoliva@redhat.com>
+
+       * lang.c (java_classify_record): Don't return
+       RECORD_IS_INTERFACE for now.
+
 2007-12-18  Andrew Haley  <aph@redhat.com>
 
        PR java/27643
index 0b98bf5..4dc1f19 100644 (file)
@@ -965,7 +965,9 @@ java_classify_record (tree type)
   if (! CLASS_P (type))
     return RECORD_IS_STRUCT;
 
-  if (CLASS_INTERFACE (TYPE_NAME (type)))
+  /* ??? GDB does not support DW_TAG_interface_type as of December,
+     2007.  Re-enable this at a later time.  */
+  if (0 && CLASS_INTERFACE (TYPE_NAME (type)))
     return RECORD_IS_INTERFACE;
 
   return RECORD_IS_CLASS;