PR java/26858
* expr.c (build_field_ref): Don't check the field offset if
flag_syntax_only.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112640
138bc75d-0d04-0410-961f-
82ee72b054a4
+2006-04-03 Andrew Haley <aph@redhat.com>
+
+ PR java/26858
+ * expr.c (build_field_ref): Don't check the field offset if
+ flag_syntax_only.
+
2006-03-30 Andrew Haley <aph@redhat.com>
PR java/26858
memory may be allocated from any other page, so only field
offsets < pagesize are guaratneed to trap. We also assume
the smallest page size we'll encounter is 4k bytes. */
- if (check && ! flag_check_references && ! flag_indirect_dispatch)
+ if (! flag_syntax_only && check && ! flag_check_references
+ && ! flag_indirect_dispatch)
{
tree field_offset = byte_position (field_decl);
if (! page_size)