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]

Fix bootstrap


Gaby,
your recent java patch broke the bootstrap. I've installed the attached
fix.

nathan
--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
         The voices in my head said this was stupid too
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk

2003-07-25  Nathan Sidwell  <nathan@codesourcery.com>

	* decl.c (force_poplevels): Fix warning call.

Index: java/decl.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/decl.c,v
retrieving revision 1.157
diff -c -3 -p -r1.157 decl.c
*** java/decl.c	25 Jul 2003 10:27:43 -0000	1.157
--- java/decl.c	25 Jul 2003 10:57:01 -0000
*************** force_poplevels (int start_pc)
*** 1500,1507 ****
    while (current_binding_level->start_pc > start_pc)
      {
        if (pedantic && current_binding_level->start_pc > start_pc)
! 	warning (current_function_decl, 
!                  "%HIn %D: overlapped variable and exception ranges at %d",
                   &DECL_SOURCE_LOCATION (current_function_decl),
                   current_function_decl, current_binding_level->start_pc);
        expand_end_bindings (getdecls (), 1, 0);
--- 1500,1506 ----
    while (current_binding_level->start_pc > start_pc)
      {
        if (pedantic && current_binding_level->start_pc > start_pc)
! 	warning ("%HIn %D: overlapped variable and exception ranges at %d",
                   &DECL_SOURCE_LOCATION (current_function_decl),
                   current_function_decl, current_binding_level->start_pc);
        expand_end_bindings (getdecls (), 1, 0);

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