Commit b8621d81 by Andrew Haley Committed by Andrew Haley

re PR debug/21022 ([4.0 only] ICE while compiling GdkFontMetrics.class with stabs debugging)

2005-04-19  Andrew Haley  <aph@redhat.com>

        PR java/21022
        * dbxout.c (dbxout_type_fields): Check DECL_IGNORED_P before
        looking at a field's bitpos.

From-SVN: r98412
parent 61e72330
2005-04-19 Andrew Haley <aph@redhat.com>
PR java/21022
* dbxout.c (dbxout_type_fields): Check DECL_IGNORED_P before
looking at a field's bitpos.
2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* system.h (fopen, fdopen, freopen): Define these to the unlocked * system.h (fopen, fdopen, freopen): Define these to the unlocked
......
...@@ -1404,14 +1404,14 @@ dbxout_type_fields (tree type) ...@@ -1404,14 +1404,14 @@ dbxout_type_fields (tree type)
/* Omit here local type decls until we know how to support them. */ /* Omit here local type decls until we know how to support them. */
if (TREE_CODE (tem) == TYPE_DECL if (TREE_CODE (tem) == TYPE_DECL
/* Omit here the nameless fields that are used to skip bits. */
|| DECL_IGNORED_P (tem)
/* Omit fields whose position or size are variable or too large to /* Omit fields whose position or size are variable or too large to
represent. */ represent. */
|| (TREE_CODE (tem) == FIELD_DECL || (TREE_CODE (tem) == FIELD_DECL
&& (! host_integerp (bit_position (tem), 0) && (! host_integerp (bit_position (tem), 0)
|| ! DECL_SIZE (tem) || ! DECL_SIZE (tem)
|| ! host_integerp (DECL_SIZE (tem), 1))) || ! host_integerp (DECL_SIZE (tem), 1))))
/* Omit here the nameless fields that are used to skip bits. */
|| DECL_IGNORED_P (tem))
continue; continue;
else if (TREE_CODE (tem) != CONST_DECL) else if (TREE_CODE (tem) != CONST_DECL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment