This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Don't expand if flag_syntax_only


We shouldn't be expanding with flag_syntax_only.

Andrew.


2004-10-20  Andrew Haley  <aph@redhat.com>

	* decl.c (end_java_method): Don't expand if flag_syntax_only.

Index: decl.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/decl.c,v
retrieving revision 1.178.4.11
diff -c -2 -p -w -r1.178.4.11 decl.c
*** decl.c	12 Oct 2004 12:42:42 -0000	1.178.4.11
--- decl.c	20 Oct 2004 14:32:20 -0000
*************** end_java_method (void)
*** 1933,1938 ****
--- 1933,1941 ----
    BLOCK_SUPERCONTEXT (DECL_INITIAL (fndecl)) = fndecl;
  
+   if (! flag_syntax_only)
+     {
        flag_unit_at_a_time = 0;
        finish_method (fndecl);
+     }
  
    if (! flag_unit_at_a_time)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]