gcc.git
25 years agoDaily bump.
Jeff Law [Sat, 12 Dec 1998 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24268

25 years agoexpr.c (invoke_build_dtable): Renamed dtable -> vtable.
Tom Tromey [Fri, 11 Dec 1998 11:55:15 +0000 (11:55 +0000)]
expr.c (invoke_build_dtable): Renamed dtable -> vtable.

* expr.c (invoke_build_dtable): Renamed dtable -> vtable.
* decl.c (init_decl_processing): Renamed dtable -> vtable.
* class.c (make_class_data): Renamed dtable -> vtable, and
dtable_method_count -> vtable_method_count.

From-SVN: r24267

25 years agoPut small uninitialized data in .sbss, not .sdata
Michael Meissner [Fri, 11 Dec 1998 11:20:41 +0000 (11:20 +0000)]
Put small uninitialized data in .sbss, not .sdata

From-SVN: r24266

25 years agosh.c (print_operand): lookup interrupt_handler attribute instead of relying on static...
Stan Cox [Fri, 11 Dec 1998 11:18:26 +0000 (11:18 +0000)]
sh.c (print_operand): lookup interrupt_handler attribute instead of relying on static variable.

* sh.c (print_operand): lookup interrupt_handler attribute instead
of relying on static variable.
* (calc_live_regs): Likewise.
* (sh_pragma_insert_attributes): Create interrupt_handler
attribute if a pragma was specified
* (sh_valid_machine_decl_attribute): Don't set static flag.
* sh.h (PRAGMA_INSERT_ATTRIBUTES): New.

From-SVN: r24265

25 years ago* g++.old-deja/g++.benjamin/p12475.C: Expect failure on mips64 targets.
Jeffrey A Law [Fri, 11 Dec 1998 09:28:51 +0000 (09:28 +0000)]
* g++.old-deja/g++.benjamin/p12475.C: Expect failure on mips64 targets.

From-SVN: r24264

25 years agocccp.c: Do not #include <sys/stat.h> here; this is already done by "system.h".
Manfred Hollstein [Fri, 11 Dec 1998 08:32:49 +0000 (08:32 +0000)]
cccp.c: Do not #include <sys/stat.h> here; this is already done by "system.h".


* cccp.c: Do not #include <sys/stat.h> here; this is already done
by "system.h".
* collect2.c: Likewise.
* cpplib.h: Likewise.
* gcc.c: Likewise.
* gcov.c: Likewise.
* getpwd.c: Likewise.
* protoize.c: Likewise.
* toplev.c: Likewise.

From-SVN: r24263

25 years agocccp.c: Do not #include <sys/stat.h> here; this is already done by "system.h".
Manfred Hollstein [Fri, 11 Dec 1998 08:32:40 +0000 (08:32 +0000)]
cccp.c: Do not #include <sys/stat.h> here; this is already done by "system.h".

* cccp.c: Do not #include <sys/stat.h> here; this is already done
by "system.h".
* collect2.c: Likewise.
* cpplib.h: Likewise.
* gcc.c: Likewise.
* gcov.c: Likewise.
* getpwd.c: Likewise.
* protoize.c: Likewise.
* toplev.c: Likewise.

From-SVN: r24262

25 years agocccp.c: Do not #include <sys/stat.h> here; this is already done by "system.h".
Manfred Hollstein [Fri, 11 Dec 1998 08:32:37 +0000 (08:32 +0000)]
cccp.c: Do not #include <sys/stat.h> here; this is already done by "system.h".

p
* cccp.c: Do not #include <sys/stat.h> here; this is already done
by "system.h".
* collect2.c: Likewise.
* cpplib.h: Likewise.
* gcc.c: Likewise.
* gcov.c: Likewise.
* getpwd.c: Likewise.
* protoize.c: Likewise.
* toplev.c: Likewise.

From-SVN: r24261

25 years agocpplib.h (HOST_WIDE_INT): Get definition from "machmode.h" and don't try to define...
Manfred Hollstein [Fri, 11 Dec 1998 08:27:07 +0000 (08:27 +0000)]
cpplib.h (HOST_WIDE_INT): Get definition from "machmode.h" and don't try to define it here.


* cpplib.h (HOST_WIDE_INT): Get definition from "machmode.h"
and don't try to define it here.
* Makefile.in (cppmain.o): Depend on machmode.h.
(cpplib.o): Likewise.
(cpperror.o): Likewise.
(cppexp.o): Likewise.
(cppfiles.o): Likewise.
(cpphash.o): Likewise.
(cppalloc.o): Likewise.
(fix-header.o): Likewise.
(scan-decls.o): Likewise.

From-SVN: r24260

25 years agocpplib.h (HOST_WIDE_INT): Get definition from "machmode.h" and don't try to define...
Manfred Hollstein [Fri, 11 Dec 1998 08:27:02 +0000 (08:27 +0000)]
cpplib.h (HOST_WIDE_INT): Get definition from "machmode.h" and don't try to define it here.


* cpplib.h (HOST_WIDE_INT): Get definition from "machmode.h"
and don't try to define it here.
* Makefile.in (cppmain.o): Depend on machmode.h.
(cpplib.o): Likewise.
(cpperror.o): Likewise.
(cppexp.o): Likewise.
(cppfiles.o): Likewise.
(cpphash.o): Likewise.
(cppalloc.o): Likewise.
(fix-header.o): Likewise.
(scan-decls.o): Likewise.

From-SVN: r24259

25 years agoApproved by Jeffrey A Law:
J"orn Rennecke [Fri, 11 Dec 1998 04:59:25 +0000 (04:59 +0000)]
Approved by Jeffrey A Law:

* reload1.c (reload_combine): Use BASIC_BLOCK_LIVE_AT_START
to determine if a register is live at a jump destination.
Everything is dead at a BARRIER.

From-SVN: r24258

25 years agoDaily bump.
Jeff Law [Fri, 11 Dec 1998 00:45:15 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24257

25 years ago* gcc.c-torture/compile/981211-1.c: New test.
Zack Weinberg [Fri, 11 Dec 1998 00:14:59 +0000 (00:14 +0000)]
* gcc.c-torture/compile/981211-1.c: New test.

From-SVN: r24256

25 years agodecl.c (long_zero_node, [...]): New global variables, initialized.
Alexandre Petit-Bianco [Thu, 10 Dec 1998 20:28:00 +0000 (20:28 +0000)]
decl.c (long_zero_node, [...]): New global variables, initialized.

Thu Dec 10 20:00:54 1998  Alexandre Petit-Bianco  <apbianco@sendai.cygnus.com>
* decl.c (long_zero_node, float_zero_node, double_zero_node): New
  global variables, initialized.
* java-tree.h (long_zero_node, float_zero_node, double_zero_node):
  Declared new global variables.
* lex.c (java_lex): Return long_zero_node, float_zero_node,
  double_zero_node, integer_zero_node upon direct matching.
* parse.y (purify_type_name): Added function prototype.
(duplicate_declaration_error_p): Consider new_type as potentially
  being a incomplete type. Use purify_type_name on type string.
(method_header): saved_type: unused variable removed. Don't figure
  return type if method name is invalid.
(java_complete_tree): Set CAN_COMPLETE_NORMALLY after `node' was
  processed by patch_unaryop.
(patch_unaryop): Fixed typo in comment. Re-convert pre/post
  increment/decrement node into its original type after binary
  numeric promotion on its operands.
Fixes a bug occuring when an error occurs in constructor
declaration. Fixes a bug on ++/-- operators on non integer operands.

From-SVN: r24255

25 years agoFix alpha-x-m32r-elf bugs.
Jim Wilson [Thu, 10 Dec 1998 17:21:35 +0000 (17:21 +0000)]
Fix alpha-x-m32r-elf bugs.

* cse.c (simplify_unary_operation): Sign-extend constants when
they have the most significant bit set for the target.
* real.c (endian): Sign-extend 32 bit output values on a 64 bit
host.
* m32r/m32r.c (m32r_expand_prologue): Store pretend_size in
HOST_WIDE_INT temporary before negating it.
* m32r/m32r.md (movsi_insn+1): Use ~0xffff instead of 0xffff0000.

From-SVN: r24254

25 years agodecl.c (start_enum): Use push_obstacks, not end_temporary_allocation.
Mark Mitchell [Thu, 10 Dec 1998 15:08:45 +0000 (15:08 +0000)]
decl.c (start_enum): Use push_obstacks, not end_temporary_allocation.

* decl.c (start_enum): Use push_obstacks, not
end_temporary_allocation.
(finish_enum): Call pop_obstacks.

From-SVN: r24244

25 years ago(start_enum): Use push_obstacks, not end_temporary_allocation.
Mark Mitchell [Thu, 10 Dec 1998 15:05:29 +0000 (15:05 +0000)]
(start_enum): Use push_obstacks, not end_temporary_allocation.

(finish_enum): Call pop_obstacks.

From-SVN: r24243

25 years agoclass.c (instantiate_type): Return error_mark_node rather than junk.
Mark Mitchell [Thu, 10 Dec 1998 13:35:36 +0000 (13:35 +0000)]
class.c (instantiate_type): Return error_mark_node rather than junk.

* class.c (instantiate_type): Return error_mark_node rather than
junk.

From-SVN: r24240

25 years agoobjc-act.c (lang_init_options): Enclose cpplib related code in #if USE_CPPLIB.
Dave Brolley [Thu, 10 Dec 1998 12:09:04 +0000 (12:09 +0000)]
objc-act.c (lang_init_options): Enclose cpplib related code in #if USE_CPPLIB.

Thu Dec 10 15:05:59 1998  Dave Brolley  <brolley@cygnus.com>
* objc/objc-act.c (lang_init_options): Enclose cpplib related code in
#if USE_CPPLIB.

From-SVN: r24234

25 years agoparse.y (array_initializer:): Array init operand is NULL_TREE instead of a TREE_LIST...
Alexandre Petit-Bianco [Thu, 10 Dec 1998 11:24:46 +0000 (11:24 +0000)]
parse.y (array_initializer:): Array init operand is NULL_TREE instead of a TREE_LIST of NULL_TREEs when...

Thu Dec 10 11:02:49 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* parse.y (array_initializer:): Array init operand is NULL_TREE
  instead of a TREE_LIST of NULL_TREEs when parsing `{}'. `{,}' is
  now an error. Fixed indentation problems.
(patch_string): Handle error_mark_node as an argument.
(patch_new_array_init): Fixed indentation problems.
(array_constructor_check_entry): Removed check on null wfl_value.
   Return an error if wfl_value's walk returns an error.
Fixes and cleanups for array initializers.

From-SVN: r24233

25 years agorevert
Jason Merrill [Thu, 10 Dec 1998 11:07:33 +0000 (06:07 -0500)]
revert

From-SVN: r24232

25 years agocollect2.h: New header file for prototypes.
Kaveh R. Ghazi [Thu, 10 Dec 1998 10:48:27 +0000 (10:48 +0000)]
collect2.h: New header file for prototypes.

        * collect2.h: New header file for prototypes.
        * Makefile.in (collect2.o, tlink.o): Depend on collect2.h.
        * collect2.c: Include collect2.h.
        * tlink.c: Likewise.

From-SVN: r24231

25 years agoDaily bump.
Jeff Law [Thu, 10 Dec 1998 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24227

25 years ago* flow.c: Update some comments.
Jeffrey A Law [Wed, 9 Dec 1998 22:57:59 +0000 (22:57 +0000)]
* flow.c: Update some comments.

From-SVN: r24226

25 years agocp-tree.h (most_specialized_instantiation): New function.
Mark Mitchell [Wed, 9 Dec 1998 16:20:05 +0000 (16:20 +0000)]
cp-tree.h (most_specialized_instantiation): New function.

* cp-tree.h (most_specialized_instantiation): New function.
(print_candidates): Likewise.
* class.c (validate_lhs): Remove.
(resolve_address_of_overloaded_function): New function, split out
and then substantially reworked, from ...
(instantiate_type): Use it.  Simplify.
* cvt.c (convert_to_reference): Complain when caller has indicated
that's the right thing to do.  Don't crash if instantiate_type
fails.
* pt.c: Substitute `parameters' for `paramters' throughout.
(print_candidates): Don't make it static.
(most_specialized_instantiation): Split out from ...
(most_specialized): Here.

From-SVN: r24225

25 years agojava-tree.def (NEW_ARRAY_INIT): New Java tree code.
Alexandre Petit-Bianco [Wed, 9 Dec 1998 15:50:12 +0000 (15:50 +0000)]
java-tree.def (NEW_ARRAY_INIT): New Java tree code.

Wed Dec  9 15:37:05 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* java-tree.def (NEW_ARRAY_INIT): New Java tree code.
* lex.c (java_lex): Remember column position before advancing one
  token. Retain location information on OCB_TK.
* lex.h (typedef struct java_lc): Added new field.
* parse.h (GET_SKIP_TYPE): New macro.
(QUAL_DECL_TYPE): Redefined using GET_SKIP_TYPE.
* parse.y (build_new_array_init, patch_new_array_init,
  patch_array_constructor, maybe_build_array_element_wfl,
  array_constructor_check_entry): New function prototypes.
(switch_block:): Tagged <node>.
(OCB_TK): Tagged <operator>.
(array_initializer:): Installed actions.
(variable_initializer): Build location information on element if
  necessary.
(switch_statement:): Fixed indentation typo.
(switch_block:): Redefined default action.
(java_complete_tree): Handle NEW_ARRAY_INIT in MODIFY_EXPR:.
(patch_assignment): Removed duplicate code.
(maybe_build_array_element_wfl, build_new_array_init,
  patch_new_array_init, patch_array_constructor,
  array_constructor_check_entry): New functions.
Parse and walk array initializer nodes.

From-SVN: r24224

25 years agoupdate old-dejagnu proc to accompany jasons 12/7 change to g++.old-deja/old-deja.exp
Brendan Kehoe [Wed, 9 Dec 1998 12:53:34 +0000 (07:53 -0500)]
update old-dejagnu proc to accompany jasons 12/7 change to g++.old-deja/old-deja.exp

From-SVN: r24222

25 years agolex.c (lang_init_options): Initialize cpplib.
Dave Brolley [Wed, 9 Dec 1998 12:51:24 +0000 (12:51 +0000)]
lex.c (lang_init_options): Initialize cpplib.

Wed Dec  9 15:33:01 1998  Dave Brolley  <brolley@cygnus.com>
* lex.c (lang_init_options): Initialize cpplib.
* decl2.c (parse_options,cpp_initialized): Removed.
(lang_decode_option): Move initialization of cpplib to
lang_init_options.

From-SVN: r24221

25 years agoobjc-act.c (cpp_initialized): Removed.
Dave Brolley [Wed, 9 Dec 1998 12:47:51 +0000 (07:47 -0500)]
objc-act.c (cpp_initialized): Removed.

Wed Dec  9 15:29:26 1998  Dave Brolley  <brolley@cygnus.com>
* objc/objc-act.c (cpp_initialized): Removed.
(lang_init_options): Initialize cpplib.
(lang_decode_option): Move initialization of cpplib to
lang_init_options.

From-SVN: r24220

25 years agoc-lang.c: (parse_options,parse_in): Added.
Dave Brolley [Wed, 9 Dec 1998 12:47:28 +0000 (12:47 +0000)]
c-lang.c: (parse_options,parse_in): Added.

Wed Dec  9 15:29:26 1998  Dave Brolley  <brolley@cygnus.com>
* c-lang.c: (parse_options,parse_in): Added.
(lang_init_options): Initialized cpplib here.
* c-decl.c (parse_options,cpp_initialized): Removed.
(c_decode_option): Move initialization of cpplib to
lang_init_options.

From-SVN: r24219

25 years agodecl.c (grokdeclarator): Update the name of the TEMPLATE_DECL...
Mark Mitchell [Wed, 9 Dec 1998 11:46:02 +0000 (11:46 +0000)]
decl.c (grokdeclarator): Update the name of the TEMPLATE_DECL...

* decl.c (grokdeclarator): Update the name of the TEMPLATE_DECL, as
well as the TYPE_DECL, when a typedef name is assigned to a
previously anonymous type.

From-SVN: r24218

25 years agoTypo fix in last entry.
Joern Rennecke [Wed, 9 Dec 1998 11:41:26 +0000 (11:41 +0000)]
Typo fix in last entry.

From-SVN: r24217

25 years agoreload1.c (reload_combine, [...]): Make USE_RUID always valid.
J"orn Rennecke [Wed, 9 Dec 1998 11:39:17 +0000 (11:39 +0000)]
reload1.c (reload_combine, [...]): Make USE_RUID always valid.

* reload1.c (reload_combine, reload_combine_note_store):
Make USE_RUID always valid.
(reload_combine): Check if BASE is clobbered too early.

From-SVN: r24216

25 years agoIf an insn cannot be reloaded, display it before calling abort()
Nick Clifton [Wed, 9 Dec 1998 09:55:10 +0000 (09:55 +0000)]
If an insn cannot be reloaded, display it before calling abort()

From-SVN: r24210

25 years agocccp.c (create_definition): Fix end of bufer logic.
Dave Brolley [Wed, 9 Dec 1998 09:17:52 +0000 (09:17 +0000)]
cccp.c (create_definition): Fix end of bufer logic.

Wed Dec  9 12:15:26 1998  Dave Brolley  <brolley@cygnus.com>
* cccp.c (create_definition): Fix end of bufer logic.

From-SVN: r24205

25 years agoexcept.c (duplicate_eh_handlers, [...]): Function pointer parameters changed to use...
Kaveh R. Ghazi [Wed, 9 Dec 1998 07:27:21 +0000 (07:27 +0000)]
except.c (duplicate_eh_handlers, [...]): Function pointer parameters changed to use the PARAMS() macro.

       * except.c (duplicate_eh_handlers, rethrow_symbol_map): Function
       pointer parameters changed to use the PARAMS() macro.

From-SVN: r24204

25 years agoexcept.h (struct handler_info): Add handler_number field
Andrew MacLeod [Wed, 9 Dec 1998 06:15:20 +0000 (06:15 +0000)]
except.h (struct handler_info): Add handler_number field

* except.h (struct handler_info): Add handler_number field
* except.c (gen_exception_label): EH labels no longer need to be
on the permanent obstack.
(get_new_handler): Set the label number field.
(output_exception_table_entry): Regenerate handler label reference
from the label number field.
(init_eh): Remove a blank line
* integrate.c (get_label_from_map): Labels no longer need to be
on the permanent obstack.

From-SVN: r24203

25 years agoDaily bump.
Jeff Law [Wed, 9 Dec 1998 00:45:05 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24202

25 years ago* gcc.dg/ultrasp1.c: empty dg-options, avoid `long long' warnings
Alexandre Oliva [Wed, 9 Dec 1998 00:37:27 +0000 (00:37 +0000)]
* gcc.dg/ultrasp1.c: empty dg-options, avoid `long long' warnings

From-SVN: r24201

25 years ago* g++.old-deja/g++.pt/instantiate6.C: linker error, not crash
Alexandre Oliva [Wed, 9 Dec 1998 00:33:42 +0000 (00:33 +0000)]
* g++.old-deja/g++.pt/instantiate6.C: linker error, not crash

From-SVN: r24200

25 years agoFix bug found by i960 simulator testing.
Jim Wilson [Tue, 8 Dec 1998 22:08:13 +0000 (22:08 +0000)]
Fix bug found by i960 simulator testing.

* i960/i960.h (CONST_COSTS, case CONST_INT): Accept power2_operand
only when OUTER_CODE is SET.

From-SVN: r24199

25 years ago930510-1.c: Make C9X safe.
Franz Sirl [Tue, 8 Dec 1998 21:53:21 +0000 (21:53 +0000)]
930510-1.c: Make C9X safe.

        * gcc.special/930510-1.c: Make C9X safe.
        * gcc.misc-tests/gcov-1.c Similarly.
        * gcc.misc-tests/gcov-2.c Similarly.

From-SVN: r24198

25 years agoAdd missing ChangeLog entry for:
Jeff Law [Tue, 8 Dec 1998 21:49:03 +0000 (14:49 -0700)]
Add missing ChangeLog entry for:

        * configure.in (hppa2*-*-*): Handle like hppa1.1-*-* for now.
        * configure: Rebuilt.

From-SVN: r24197

25 years agoloop.c (strength_reduce): If scan_start points to the loop exit test...
J"orn Rennecke [Tue, 8 Dec 1998 14:50:03 +0000 (14:50 +0000)]
loop.c (strength_reduce): If scan_start points to the loop exit test...

* loop.c (strength_reduce): If scan_start points to the loop exit
test, be wary of subversive use of gotos inside expression statements.
Don't set maybe_multiple for a backward jump that does not
include the label under consideration into its range.
* unroll.c (biv_total_increment): Make use of maybe_multiple field.

From-SVN: r24196

25 years agoexplow.c (plus_constant_wide): Don't immediately return with result of recursive...
J"orn Rennecke [Tue, 8 Dec 1998 14:35:18 +0000 (14:35 +0000)]
explow.c (plus_constant_wide): Don't immediately return with result of recursive call.

* explow.c (plus_constant_wide): Don't immediately return with
result of recursive call.

From-SVN: r24195

25 years agoSee ChangeLog..
Andrew MacLeod [Tue, 8 Dec 1998 14:04:03 +0000 (14:04 +0000)]
See ChangeLog..

Tue Dec  8 15:32:56 EST 1998  Andrew MacLeod  <amacleod@cygnus.com>
See ChangeLog.. These are the files that were changed:
* eh-common.h (struct eh_context): Add table_index for rethrows.
* rtl.h (enum reg_note): Add REG_EH_REGION and REG_EH_RETHROW reg notes.
* rtl.c (reg_note_name): Add strings for new reg_note enums.
* expr.h (rethrow_libfunc): New library decl.
* optabs.c (rethrow_libfunc): Initialize.
* except.h (struct eh_entry): Add new field 'rethrow_label'.
* except.c (create_rethrow_ref): New function to create a single
* flow.c (make_edges): Add different edges for rethrow calls,
* integrate.c (save_for_inline_eh_labelmap): New callback routine to
* libgcc2.c (find_exception_handler): Generalize to enable it to
        * cp/except.c
        * cp/exception.cc

From-SVN: r24194

25 years agoMakefile.in (DEMANGLE_H): Change location to shared demangle.h.
Jeff Law [Tue, 8 Dec 1998 13:34:37 +0000 (06:34 -0700)]
Makefile.in (DEMANGLE_H): Change location to shared demangle.h.

        * Makefile.in (DEMANGLE_H): Change location to shared demangle.h.
        * demangle.h: Deleted.
Shit.  I'm starting to forget to check in changes again.

From-SVN: r24193

25 years ago* reload1.c (current_function_decl): Tweak declaration.
Jeffrey A Law [Tue, 8 Dec 1998 12:14:30 +0000 (12:14 +0000)]
* reload1.c (current_function_decl): Tweak declaration.

From-SVN: r24191

25 years agoc-decl.c (flag_isoc9x): Default off.
Richard Henderson [Tue, 8 Dec 1998 10:26:36 +0000 (02:26 -0800)]
c-decl.c (flag_isoc9x): Default off.

        * c-decl.c (flag_isoc9x): Default off.
        (c_decode_option): Kill -std=gnu, add -std=gnu89 and -std=gnu9x.
        * cccp.c (print_help, main): Likewise.
        * gcc.c (default_compilers): Update for -std=gnu*.

From-SVN: r24186

25 years ago* Make-lang.in (cxxmain.o): Depend on $(DEMANGLE_H), not demangle.h
Jeffrey A Law [Tue, 8 Dec 1998 09:50:33 +0000 (09:50 +0000)]
* Make-lang.in (cxxmain.o): Depend on $(DEMANGLE_H), not demangle.h

From-SVN: r24185

25 years agoMakefile.in (DEMANGLE_H): Change location to shared demangle.h.
Jeffrey A Law [Tue, 8 Dec 1998 09:49:49 +0000 (09:49 +0000)]
Makefile.in (DEMANGLE_H): Change location to shared demangle.h.

        * Makefile.in (DEMANGLE_H): Change location to shared demangle.h.
        * demangle.h: Deleted.

From-SVN: r24184

25 years ago* reload1.c (current_function_decl): Declare.
Jeffrey A Law [Tue, 8 Dec 1998 09:45:02 +0000 (09:45 +0000)]
* reload1.c (current_function_decl): Declare.

From-SVN: r24183

25 years agocpplib.c (convert_string): Use `0x00ff', not `0x00ffU'.
Kaveh R. Ghazi [Tue, 8 Dec 1998 09:00:26 +0000 (09:00 +0000)]
cpplib.c (convert_string): Use `0x00ff', not `0x00ffU'.

Tue Dec  8 11:58:51 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
* cpplib.c (convert_string): Use `0x00ff', not `0x00ffU'.

From-SVN: r24182

25 years ago* dbxout.c: If USG is defined use gstab.h, even if HAVE_STAB_H is set.
Kaveh R. Ghazi [Tue, 8 Dec 1998 06:38:10 +0000 (06:38 +0000)]
* dbxout.c: If USG is defined use gstab.h, even if HAVE_STAB_H is set.

From-SVN: r24181

25 years agoDaily bump.
Jeff Law [Tue, 8 Dec 1998 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24177

25 years ago* Makefile.in: Be more selective about what files to install.
Marc Espie [Tue, 8 Dec 1998 00:01:29 +0000 (01:01 +0100)]
* Makefile.in: Be more selective about what files to install.

From-SVN: r24176

25 years agoconfigure.in: Test for availability of putc_unlocked, fputc_unlocked, and fputs_unlocked.
Ulrich Drepper [Mon, 7 Dec 1998 23:40:19 +0000 (23:40 +0000)]
configure.in: Test for availability of putc_unlocked, fputc_unlocked, and fputs_unlocked.

        * configure.in: Test for availability of putc_unlocked, fputc_unlocked,
        and fputs_unlocked.
        * configure: Rebuilt.
        * system.h: If the *_unlocked functions are available use them
        instead of the locked counterparts by defining macros.
        * config.in: Regenerated.

From-SVN: r24175

25 years agobsd.h (ASM_FILE_START): Don't use dump_base_name...
Mike Stump [Mon, 7 Dec 1998 23:36:08 +0000 (23:36 +0000)]
bsd.h (ASM_FILE_START): Don't use dump_base_name...

        * i386/bsd.h (ASM_FILE_START): Don't use dump_base_name, it is
        wrong and should only be used for dump related things, not
        debugging information, instead main_input_filename should be used.
        Also, reuse output_file_directive if possible.
        * i386/aix386ng.h (ASM_FILE_START): Likewise.
        * i386/isc.h (ASM_FILE_START): Likewise.
        * i386/win-nt.h (ASM_FILE_START): Likewise.
        * i386/sun386.h (ASM_FILE_START): Likewise.

From-SVN: r24174

25 years agodemangle.h: (DMGL_EDG): new macro for Kuck and Associates
Elena Zannoni [Mon, 7 Dec 1998 23:32:23 +0000 (23:32 +0000)]
demangle.h: (DMGL_EDG): new macro for Kuck and Associates

        * demangle.h: (DMGL_EDG): new macro for Kuck and Associates
        (DMGL_STYLE_MASK): modify to include Kuck and Assoc style
        (demangling_styles): add new edg_demangling style
        (EDG_DEMANGLING_STYLE_STRING): new macro
        (EDG_DEMANGLING): new macro
        * demangle.h (DMGL_HP): new macro, for HP/aCC compiler.
        (DMGL_STYLE_MASK): modify to include new HP's style.
        (demangling_styles): add new hp_demangling value.
        (HP_DEMANGLING_STYLE_STRING): new macro.
        (ARM_DEMANGLING): coerce to int.
        (HP_DEMANGLING): new macro.

From-SVN: r24173

25 years agoconfigure.in (mips*-*-linux*): Handle big and little endian systems.
Robert Lipe [Mon, 7 Dec 1998 22:58:57 +0000 (22:58 +0000)]
configure.in (mips*-*-linux*): Handle big and little endian systems.

        * configure.in (mips*-*-linux*): Handle big and little endian
        systems.
        * configure: Rebuilt.

From-SVN: r24172

25 years agolocal-alloc.c (block_alloc): Slightly retune heuristic to widen qty lifetimes.
Jeff Law [Mon, 7 Dec 1998 22:38:24 +0000 (15:38 -0700)]
local-alloc.c (block_alloc): Slightly retune heuristic to widen qty lifetimes.

        * local-alloc.c (block_alloc): Slightly retune heuristic to widen
        qty lifetimes.
Actually check in the local-alloc patch that goes along with this ChangeLog
entry...

From-SVN: r24171

25 years ago* HP aCC demangling support.
David Taylor [Mon, 7 Dec 1998 22:21:45 +0000 (22:21 +0000)]
* HP aCC demangling support.

        * cplus-dem.c
        (main): Remove default to HP style demangling, set to EDG
        demangling correctly when -edg specified; set the demangling style
        when user specifies 'edg'. Set strip_underscore to
        prepends_underscore, if not HPUXHPPA.  Set
        current_demangling_style to hp_demangling if HPUXHPPA.  Set
        current demangling style correctly if the switch is hp.  Read
        label correctly also in the HP style case.
        (work_stuff): add temp_start field; add field for volatile member
        function.
        (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
        style for this case is the same as ARM.
        (demangle_args): handle EDG_DEMANGLING style; support HP style.
        (demangle_arm_hp_template): new function. (It was
        demangle_arm_pt.); check and set value of temp_start field in
        multiple places. Also, when ceching for end of template args,
        check to see if at end of static member of template class.
        (demangle_class): new local variable : save_class_name_end Don't
        include template args in string defining class.
        (demangle_class_name): use demangel_arm_hp_template.
        (demangle_function_name): handle case where demangling style is
        HP_DEMANGLING and currently point at an 'X' in the mangled name.
        Handle EDG_DEMANGLING style.  Handle constructor and destructor
        ops for HP style.
        (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
        styles.  global destructor and constructor for HP style are same
        as for ARM style. Same for local variables.
        (demangle_qualified): handle EDG_DEMANGLING style.
        (demangle_signature): add case for volatile member function.  For
        cases '1' - '9' : initialize the temp_start field to -1 and handle
        the EDG_DEMANGLING style.  for case 'F' : handle EDG_DEMANGLING
        and AUTO_DEMANGLING styles.  If expecting a function and managed
        to demangle the funct args, then handle the LUCID_DEMANGLING,
        ARM_DEMANGLING, and EDG_DEMANGLING styles.  Add case for local
        class name after "Lnnn_ in HP style case. HP style too needs to
        forget types.  _nnn is OK for HP style, so don't report failure.
        (do_hpacc_template_const_value): new function. Handle template's
        value param for HP/aCC.
        (do_hpacc_template_literal): new function.  Handle a template's
        literal parameter for HP aCC.
        (recursively_demangle): new function
        (snarf_numeric_literal): new function.
        (usage): add 'edg' to the list of demangling styles; add hp switch
        to message.

Co-Authored-By: Andrew MacLeod <amacleod@cygnus.com>
Co-Authored-By: Edith Epstein <eepstein@cygnus.com>
Co-Authored-By: Elena Zannoni <ezannoni@cygnus.com>
Co-Authored-By: Satish Pai <pai@apollo.hp.com>
Co-Authored-By: Stan Shebs <shebs@cygnus.com>
From-SVN: r24170

25 years ago* emit-rtl.c: Fix typo.
Mike Stump [Mon, 7 Dec 1998 22:18:00 +0000 (22:18 +0000)]
* emit-rtl.c: Fix typo.

From-SVN: r24169

25 years agoreload1.c (eliminate_regs): Don't do anything, if we're not generating code.
Nathan Sidwell [Mon, 7 Dec 1998 22:10:45 +0000 (15:10 -0700)]
reload1.c (eliminate_regs): Don't do anything, if we're not generating code.


        * reload1.c (eliminate_regs): Don't do anything, if we're not
        generating code.

From-SVN: r24168

25 years agoreload1.c (eliminate_regs): Don't do anything, if we're not generating code.
Nathan Sidwell [Mon, 7 Dec 1998 22:10:43 +0000 (15:10 -0700)]
reload1.c (eliminate_regs): Don't do anything, if we're not generating code.


        * reload1.c (eliminate_regs): Don't do anything, if we're not
        generating code.

From-SVN: r24167

25 years agoparse.y (array_initializer): Tagged <node>.
Alexandre Petit-Bianco [Mon, 7 Dec 1998 16:23:02 +0000 (16:23 +0000)]
parse.y (array_initializer): Tagged <node>.

Mon Dec  7 15:13:52 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* parse.y (array_initializer): Tagged <node>.
(variable_initializer:): Use default rule.
(array_initializer:): Defined actions.
(variable_initializers:): Likewise.
(resolve_qualified_expression_name): Use DECL_CONTEXT to build
  non-static field accesses.
(patch_invoke): Fixed indentation typo.
(java_complete_tree): Likewise.
(build_labeled_block): Changed leading comment. Generate an error
  in case of duplicate loop labels.
(patch_conditional_expr): Patch results of string concatenation
  operations.
Fixes a ?: bug when string concatenation operator are in
operands. Makes duplicate loop label declaration an error. Fixes
random bugs.

From-SVN: r24164

25 years agoconstants.c (find_methodref_index): When the class is an interface...
Per Bothner [Mon, 7 Dec 1998 15:43:16 +0000 (07:43 -0800)]
constants.c (find_methodref_index): When the class is an interface...

d
* constants.c (find_methodref_index):  When the class is an interface,
generate CONSTANT_InterfaceMethodref instead of a CONSTANT_MethodRef.
* decl.c (finit_identifier_node):  Use "$finit$", rather than
"<finit>" (which Sun's verifier rejects).
* parse.y (maybe_generate_finit):  Leave out meaningless final flag.
(generate_field_initialization_code):  Removed.
(fix_constructors)  Don't add call to $finit$ here (wrong order).
(patch_method_invocation):  Add $finit$ call here.
* java-tree.h (CALL_USING_SUPER):  New macro.
* parse.y (patch_invoke):  Remove im local variable.
  (patch_method_invocation, patch_invoke):  Don't pass super parameter.
(patch_invoke):  Use CALL_USING_SUPER instead of from_super parameter.
(resolve_qualified_expression_name):  Maybe set CALL_USING_SUPER.
* jcf-write.c (get_access_flags):  Fix typo ACC_PUBLIC -> ACC_FINAL.
* parse.y (java_complete_tree):  Don't complain about unreachable
statement if it is empty_stmt_node.
* jcf-write.c (find_constant_wide):  New function.
(push_long_const):  Use find_constant_wide.
* jcf-write.c (generate_bytecode_insn):  Fix bug in switch handling.
(generate_bytecode_insn):  Use correct dup variant for MODIFY_EXPR.
Add "redundant" NOTE_PUSH/NOTE_POP uses so code_SP_max gets set.
Emit invokeinterface when calling an interface method.
Emit invokespecial also when calling super or private methods.
* jcf-write.c (generate_classfile):  Emit ConstantValue attributes.

From-SVN: r24163

25 years agoconstants.c (find_methodref_index): When the class is an interface...
Per Bothner [Mon, 7 Dec 1998 15:43:15 +0000 (07:43 -0800)]
constants.c (find_methodref_index): When the class is an interface...

a
* constants.c (find_methodref_index):  When the class is an interface,
generate CONSTANT_InterfaceMethodref instead of a CONSTANT_MethodRef.
* decl.c (finit_identifier_node):  Use "$finit$", rather than
"<finit>" (which Sun's verifier rejects).
* parse.y (maybe_generate_finit):  Leave out meaningless final flag.
(generate_field_initialization_code):  Removed.
(fix_constructors)  Don't add call to $finit$ here (wrong order).
(patch_method_invocation):  Add $finit$ call here.
* java-tree.h (CALL_USING_SUPER):  New macro.
* parse.y (patch_invoke):  Remove im local variable.
  (patch_method_invocation, patch_invoke):  Don't pass super parameter.
(patch_invoke):  Use CALL_USING_SUPER instead of from_super parameter.
(resolve_qualified_expression_name):  Maybe set CALL_USING_SUPER.
* jcf-write.c (get_access_flags):  Fix typo ACC_PUBLIC -> ACC_FINAL.
* parse.y (java_complete_tree):  Don't complain about unreachable
statement if it is empty_stmt_node.
* jcf-write.c (find_constant_wide):  New function.
(push_long_const):  Use find_constant_wide.
* jcf-write.c (generate_bytecode_insn):  Fix bug in switch handling.
(generate_bytecode_insn):  Use correct dup variant for MODIFY_EXPR.
Add "redundant" NOTE_PUSH/NOTE_POP uses so code_SP_max gets set.
Emit invokeinterface when calling an interface method.
Emit invokespecial also when calling super or private methods.
* jcf-write.c (generate_classfile):  Emit ConstantValue attributes.

From-SVN: r24162

25 years agoconstants.c (find_methodref_index): When the class is an interface...
Per Bothner [Mon, 7 Dec 1998 15:43:14 +0000 (07:43 -0800)]
constants.c (find_methodref_index): When the class is an interface...

T
* constants.c (find_methodref_index):  When the class is an interface,
generate CONSTANT_InterfaceMethodref instead of a CONSTANT_MethodRef.
* decl.c (finit_identifier_node):  Use "$finit$", rather than
"<finit>" (which Sun's verifier rejects).
* parse.y (maybe_generate_finit):  Leave out meaningless final flag.
(generate_field_initialization_code):  Removed.
(fix_constructors)  Don't add call to $finit$ here (wrong order).
(patch_method_invocation):  Add $finit$ call here.
* java-tree.h (CALL_USING_SUPER):  New macro.
* parse.y (patch_invoke):  Remove im local variable.
  (patch_method_invocation, patch_invoke):  Don't pass super parameter.
(patch_invoke):  Use CALL_USING_SUPER instead of from_super parameter.
(resolve_qualified_expression_name):  Maybe set CALL_USING_SUPER.
* jcf-write.c (get_access_flags):  Fix typo ACC_PUBLIC -> ACC_FINAL.
* parse.y (java_complete_tree):  Don't complain about unreachable
statement if it is empty_stmt_node.
* jcf-write.c (find_constant_wide):  New function.
(push_long_const):  Use find_constant_wide.
* jcf-write.c (generate_bytecode_insn):  Fix bug in switch handling.
(generate_bytecode_insn):  Use correct dup variant for MODIFY_EXPR.
Add "redundant" NOTE_PUSH/NOTE_POP uses so code_SP_max gets set.
Emit invokeinterface when calling an interface method.
Emit invokespecial also when calling super or private methods.
* jcf-write.c (generate_classfile):  Emit ConstantValue attributes.

From-SVN: r24161

25 years agoconstants.c (find_methodref_index): When the class is an interface...
Per Bothner [Mon, 7 Dec 1998 15:43:11 +0000 (07:43 -0800)]
constants.c (find_methodref_index): When the class is an interface...

/
* constants.c (find_methodref_index):  When the class is an interface,
generate CONSTANT_InterfaceMethodref instead of a CONSTANT_MethodRef.
* decl.c (finit_identifier_node):  Use "$finit$", rather than
"<finit>" (which Sun's verifier rejects).
* parse.y (maybe_generate_finit):  Leave out meaningless final flag.
(generate_field_initialization_code):  Removed.
(fix_constructors)  Don't add call to $finit$ here (wrong order).
(patch_method_invocation):  Add $finit$ call here.
* java-tree.h (CALL_USING_SUPER):  New macro.
* parse.y (patch_invoke):  Remove im local variable.
  (patch_method_invocation, patch_invoke):  Don't pass super parameter.
(patch_invoke):  Use CALL_USING_SUPER instead of from_super parameter.
(resolve_qualified_expression_name):  Maybe set CALL_USING_SUPER.
* jcf-write.c (get_access_flags):  Fix typo ACC_PUBLIC -> ACC_FINAL.
* parse.y (java_complete_tree):  Don't complain about unreachable
statement if it is empty_stmt_node.
* jcf-write.c (find_constant_wide):  New function.
(push_long_const):  Use find_constant_wide.
* jcf-write.c (generate_bytecode_insn):  Fix bug in switch handling.
(generate_bytecode_insn):  Use correct dup variant for MODIFY_EXPR.
Add "redundant" NOTE_PUSH/NOTE_POP uses so code_SP_max gets set.
Emit invokeinterface when calling an interface method.
Emit invokespecial also when calling super or private methods.
* jcf-write.c (generate_classfile):  Emit ConstantValue attributes.

From-SVN: r24160

25 years agoconstants.c (find_methodref_index): When the class is an interface...
Per Bothner [Mon, 7 Dec 1998 15:43:10 +0000 (07:43 -0800)]
constants.c (find_methodref_index): When the class is an interface...

* constants.c (find_methodref_index):  When the class is an interface,
generate CONSTANT_InterfaceMethodref instead of a CONSTANT_MethodRef.
* decl.c (finit_identifier_node):  Use "$finit$", rather than
"<finit>" (which Sun's verifier rejects).
* parse.y (maybe_generate_finit):  Leave out meaningless final flag.
(generate_field_initialization_code):  Removed.
(fix_constructors)  Don't add call to $finit$ here (wrong order).
(patch_method_invocation):  Add $finit$ call here.
* java-tree.h (CALL_USING_SUPER):  New macro.
* parse.y (patch_invoke):  Remove im local variable.
  (patch_method_invocation, patch_invoke):  Don't pass super parameter.
(patch_invoke):  Use CALL_USING_SUPER instead of from_super parameter.
(resolve_qualified_expression_name):  Maybe set CALL_USING_SUPER.
* jcf-write.c (get_access_flags):  Fix typo ACC_PUBLIC -> ACC_FINAL.
* parse.y (java_complete_tree):  Don't complain about unreachable
statement if it is empty_stmt_node.
* jcf-write.c (find_constant_wide):  New function.
(push_long_const):  Use find_constant_wide.
* jcf-write.c (generate_bytecode_insn):  Fix bug in switch handling.
(generate_bytecode_insn):  Use correct dup variant for MODIFY_EXPR.
Add "redundant" NOTE_PUSH/NOTE_POP uses so code_SP_max gets set.
Emit invokeinterface when calling an interface method.
Emit invokespecial also when calling super or private methods.
* jcf-write.c (generate_classfile):  Emit ConstantValue attributes.

From-SVN: r24159

25 years agoFix -membedded-data bug found by mips16 port.
DJ Delorie [Mon, 7 Dec 1998 15:32:26 +0000 (15:32 +0000)]
Fix -membedded-data bug found by mips16 port.

* mips/mips.h (ENCODE_SECTION_INFO): Handle TARGET_EMBEDDED_DATA.
Add comment.
* mips/mips.c (mips_select_section): Add comment.

From-SVN: r24158

25 years agolex.c (check_newline): Add support for \ as `natural' characters in file names in...
Mike Stump [Mon, 7 Dec 1998 15:02:16 +0000 (15:02 +0000)]
lex.c (check_newline): Add support for \ as `natural' characters in file names in #line to be...

Mon Dec  7 17:56:06 1998  Mike Stump  <mrs@wrs.com>
* lex.c (check_newline): Add support for \ as `natural'
characters in file names in #line to be consistent with #include
handling.  We support escape prcessing in the # 1 "..." version of
the command.

From-SVN: r24157

25 years agocccp.c (ignore_escape_flag): Add support for \ as `natural' characters in file names...
Mike Stump [Mon, 7 Dec 1998 14:57:30 +0000 (14:57 +0000)]
cccp.c (ignore_escape_flag): Add support for \ as `natural' characters in file names in #line to be...

Mon Dec  7 17:55:06 1998  Mike Stump  <mrs@wrs.com>
* cccp.c (ignore_escape_flag): Add support for \ as `natural'
characters in file names in #line to be consistent with #include
handling.  We support escape prcessing in the # 1 "..." version of
the command.  See also support in cp/lex.c.
(handle_directive): Likewise.
(do_line): Likewise.

From-SVN: r24156

25 years agodecl2.c: s/data/opts/ when initializing cpp_reader structure.
Zack Weinberg [Mon, 7 Dec 1998 14:20:55 +0000 (14:20 +0000)]
decl2.c: s/data/opts/ when initializing cpp_reader structure.

1998-12-07  Zack Weinberg  <zack@rabi.phys.columbia.edu>
* cp/decl2.c: s/data/opts/ when initializing cpp_reader
          structure.

From-SVN: r24155

25 years agocpplib.c (initialize_char_syntax): Use ISALPHA and ISALNUM so it'll work on non-ASCII...
Zack Weinberg [Mon, 7 Dec 1998 14:15:29 +0000 (14:15 +0000)]
cpplib.c (initialize_char_syntax): Use ISALPHA and ISALNUM so it'll work on non-ASCII platforms.

1998-12-07  Zack Weinberg  <zack@rabi.phys.columbia.edu>
* cpplib.c (initialize_char_syntax): Use ISALPHA and ISALNUM
          so it'll work on non-ASCII platforms.  Always consider $ an
          identifier character.  Take no arguments.
  (cpp_reader_init): Call initialize_char_syntax with no
          arguments.
  (cpp_start_read): Don't call initialize_char_syntax again.
          Clear is_idchar['$'] and is_idstart['$'] if not
          opts->dollars_in_ident.
* cpplib.h (struct cpp_reader): Replace void *data element by
          cpp_options *opts.  Rearrange elements to make gdb printout
          less annoying (put buffer stack at end).
  (CPP_OPTIONS): Get rid of now-unnecessary cast.
* cppmain.c: s/data/opts/ when initializing cpp_reader
          structure.
* c-decl.c: Likewise.
* objc/objc-act.c: Likewise.
* fix-header.c: Likewise.

From-SVN: r24154

25 years agocpplib.h (struct cpp_buffer): Replace dir and dlen members with a struct file_name_li...
Zack Weinberg [Mon, 7 Dec 1998 13:35:20 +0000 (13:35 +0000)]
cpplib.h (struct cpp_buffer): Replace dir and dlen members with a struct file_name_list pointer.

1998-11-26 01:17 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
* cpplib.h (struct cpp_buffer): Replace dir and dlen members
with a struct file_name_list pointer.
(struct cpp_reader): Add pointer to chain of `actual
directory' include searchpath entries.
(struct file_name_list): Add *alloc pointer for the sake of
the actual-directory chain.
Move definition of HOST_WIDE_INT here.
(cpp_parse_escape): Change prototype to match changes in
cppexp.c.
* cppfiles.c (actual_directory): New function.
(finclude): Use it to initialize the buffer's actual_dir
entry.
(find_include_file): We don't need to fix up max_include_len
here.
* cpplib.c (do_include): Don't allocate a file_name_list on
the fly for current directory "" includes, use the one that's
been preallocated in pfile->buffer->actual_dir.  Hoist out
duplicate code from the search_start selection logic.
(cpp_reader_init): Initialize pfile->actual_dirs.
Remove definition of HOST_WIDE_INT.  Change calls
to cpp_parse_escape to match changes in cppexp.c (note
hardcoded MASK, which is safe since this is the source
character set).
* cppexp.c: Bring over changes to cpp_parse_escape from cccp.c
to handle wide character constants in #if directives.  The
function now returns a HOST_WIDE_INT, and takes a third
argument which is a binary mask for all legal values (0x00ff
for 8-bit `char', 0xffff for 16-bit `wchar_t', etc.)  Define
MAX_CHAR_TYPE_MASK and MAX_WCHAR_TYPE_MASK.  Change callers of
cpp_parse_escape to match.  [Fixes c-torture/execute/widechar-1.c]

From-SVN: r24153

25 years ago[multiple changes]
Dave Brolley [Mon, 7 Dec 1998 12:42:21 +0000 (07:42 -0500)]
[multiple changes]

Mon Dec  7 15:38:25 1998  Dave Brolley  <brolley@cygnus.com>
* gcc.c (default_compilers): Fix typo in USE_CPPLIB spec for cc1.
Mon Dec  7 15:38:25 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
        * c-aux-info.c (concat): Wrap function definition in !USE_CPPLIB.
        * cppalloc.c: Move function `xcalloc' from cpplib.c to here.
        * cpplib.c: Move function `xcalloc' from here to cppalloc.c.

From-SVN: r24152

25 years agoupdate
Jason Merrill [Mon, 7 Dec 1998 12:27:51 +0000 (07:27 -0500)]
update

From-SVN: r24151

25 years agodecl.c (build_typename_type): Set DECL_ARTIFICIAL.
Jason Merrill [Mon, 7 Dec 1998 12:27:47 +0000 (12:27 +0000)]
decl.c (build_typename_type): Set DECL_ARTIFICIAL.

* decl.c (build_typename_type): Set DECL_ARTIFICIAL.
* error.c (dump_simple_decl): Also print namespace context.
(dump_function_decl): Likewise.
* decl2.c (ambiguous_decl): Don't print old value if it's
error_mark_node.
* decl.c (lookup_name_real): Fix handling of local types shadowed
by a non-type decl.  Remove obsolete code.
* cp-tree.h (DECL_FUNCTION_SCOPE_P): New macro.
Fixes g++.other/lookup6.C
* lang-options.h: Add -fpermissive.
* decl2.c: Likewise.
* cp-tree.h: Add flag_permissive.
* decl.c (init_decl_processing): If neither -fpermissive or -pedantic
were specified, set flag_pedantic_errors.
* call.c (build_over_call): Turn dropped qualifier messages
back into pedwarns.
* cvt.c (convert_to_reference): Likewise.
* typeck.c (convert_for_assignment): Likewise.

From-SVN: r24150

25 years agoImprove -dp output by using tabs and including instruciton lengths
Nick Clifton [Mon, 7 Dec 1998 11:45:49 +0000 (11:45 +0000)]
Improve -dp output by using tabs and including instruciton lengths

From-SVN: r24149

25 years agoloop.c (check_dbra_loop): Fix initial_value and initial_equiv_value in the loop_info...
Michael Hayes [Mon, 7 Dec 1998 09:56:56 +0000 (09:56 +0000)]
loop.c (check_dbra_loop): Fix initial_value and initial_equiv_value in the loop_info structure.

        * loop.c (check_dbra_loop): Fix initial_value and initial_equiv_value
        in the loop_info structure.
Should fix -O1 -funroll-loops bootstrap problems.

From-SVN: r24146

25 years agoconfigure.in: (arm*-*-ecos-elf): New target.
Catherine Moore [Mon, 7 Dec 1998 09:15:34 +0000 (09:15 +0000)]
configure.in: (arm*-*-ecos-elf): New target.

Mon Dec  7 09:58:26 1998  Catherine Moore  <clm@cygnus.com>
        * configure.in:  (arm*-*-ecos-elf):  New target.
        * configure:  Regenerated.
        * config/arm/elf.h (ASM_WEAKEN_LABEL):  Define.
        * config/arm/ecos-elf.h:  New file.
        * config/arm/unknown-elf.h (TARGET_VERSION):  Check
        for redefinition.

From-SVN: r24145

25 years ago* sh.c (output_far_jump): Emit braf only for TARGET_SH2.
J"orn Rennecke [Mon, 7 Dec 1998 08:18:29 +0000 (08:18 +0000)]
* sh.c (output_far_jump): Emit braf only for TARGET_SH2.

From-SVN: r24144

25 years agoDaily bump.
Jeff Law [Mon, 7 Dec 1998 00:45:03 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24142

25 years agojcf-dump.c (INVOKE): If invokeinterface, print number of args.
Per Bothner [Sun, 6 Dec 1998 13:46:42 +0000 (13:46 +0000)]
jcf-dump.c (INVOKE): If invokeinterface, print number of args.

* jcf-dump.c (INVOKE):  If invokeinterface, print number of args.

From-SVN: r24140

25 years agoBump for snapshot
Jeffrey A Law [Sun, 6 Dec 1998 04:19:49 +0000 (21:19 -0700)]
Bump for snapshot

From-SVN: r24132

25 years agoloop.c (check_dbra_loop): New argument loop_info.
Michael Hayes [Sun, 6 Dec 1998 04:19:20 +0000 (04:19 +0000)]
loop.c (check_dbra_loop): New argument loop_info.

        * loop.c (check_dbra_loop): New argument loop_info.  Update fields
        as needed.

From-SVN: r24131

25 years agoBump for snapshot
Jeffrey A Law [Sun, 6 Dec 1998 03:40:17 +0000 (20:40 -0700)]
Bump for snapshot

From-SVN: r24130

25 years agoRevert accidental checkin from Oct 31 (egad).
Jeff Law [Sun, 6 Dec 1998 03:02:47 +0000 (20:02 -0700)]
Revert accidental checkin from Oct 31 (egad).

From-SVN: r24129

25 years ago* gcc.dg/ultrasp1.c: New test.
Alexandre Oliva [Sun, 6 Dec 1998 02:16:21 +0000 (02:16 +0000)]
* gcc.dg/ultrasp1.c: New test.

From-SVN: r24127

25 years agogcc.texi (Bug Reporting): 40Kb is a soft limit, larger compressed reports are ok...
Alexandre Oliva [Sun, 6 Dec 1998 02:01:26 +0000 (02:01 +0000)]
gcc.texi (Bug Reporting): 40Kb is a soft limit, larger compressed reports are ok and preferred over URLs

* gcc.texi (Bug Reporting): 40Kb is a soft limit, larger
compressed reports are ok and preferred over URLs

From-SVN: r24126

25 years ago* invoke.texi (Warning Options): Soften the tone of -pedantic
Alexandre Oliva [Sun, 6 Dec 1998 01:56:01 +0000 (01:56 +0000)]
* invoke.texi (Warning Options): Soften the tone of -pedantic

From-SVN: r24125

25 years agosort
Jason Merrill [Sun, 6 Dec 1998 01:44:12 +0000 (20:44 -0500)]
sort

From-SVN: r24124

25 years agoForgot to commit.
H.J. Lu [Sun, 6 Dec 1998 01:35:55 +0000 (18:35 -0700)]
Forgot to commit.

From-SVN: r24123

25 years agodecl2.c (coerce_new_type): Use same_type_p.
Jason Merrill [Sun, 6 Dec 1998 01:33:10 +0000 (01:33 +0000)]
decl2.c (coerce_new_type): Use same_type_p.

* decl2.c (coerce_new_type): Use same_type_p.
(coerce_delete_type): Likewise.
* call.c (check_dtor_name): Return 1, not error_mark_node.

From-SVN: r24122

25 years agoalias.c (memrefs_conflict_p): A second ANDed address disables the aligned address...
Richard Henderson [Sun, 6 Dec 1998 01:23:01 +0000 (17:23 -0800)]
alias.c (memrefs_conflict_p): A second ANDed address disables the aligned address optimization.

        * alias.c (memrefs_conflict_p): A second ANDed address
        disables the aligned address optimization.

From-SVN: r24121

25 years agoupdate
Jason Merrill [Sun, 6 Dec 1998 01:21:51 +0000 (20:21 -0500)]
update

From-SVN: r24120

25 years agofix size_t
Jason Merrill [Sun, 6 Dec 1998 01:18:21 +0000 (20:18 -0500)]
fix size_t

From-SVN: r24119

25 years agoNew test.
Richard Henderson [Sun, 6 Dec 1998 00:46:00 +0000 (16:46 -0800)]
New test.

From-SVN: r24118