Jeffrey A Law [Sun, 29 Mar 1998 12:33:51 +0000 (12:33 +0000)]
except.c (do_unwind): Delete dead function.
* except.c (do_unwind): Delete dead function.
(easy_expand_asm): Likewise.
From-SVN: r18898
Jeffrey A Law [Sun, 29 Mar 1998 12:31:34 +0000 (12:31 +0000)]
* cvt.c (build_conversion_type_1): Delete dead function.
From-SVN: r18897
Jeffrey A Law [Sun, 29 Mar 1998 12:30:13 +0000 (12:30 +0000)]
* cp-tree.h (push_expression_obstack): Declare.
From-SVN: r18896
Jeffrey A Law [Sun, 29 Mar 1998 12:28:21 +0000 (12:28 +0000)]
i * call.c (source_type): #if 0 out.
From-SVN: r18895
Jeffrey A Law [Sun, 29 Mar 1998 11:54:09 +0000 (11:54 +0000)]
Makefile.in (c-typeck.o): Delete on expr.h, insn-codes.h and $(RTL_H).
* Makefile.in (c-typeck.o): Delete on expr.h, insn-codes.h and
$(RTL_H).
(stor-layout.o): Likewise.
* c-typeck.c: Include rtl.h and expr.h.
* stor-layout.c: Likewise.
From-SVN: r18894
Jeffrey A Law [Sun, 29 Mar 1998 11:51:23 +0000 (11:51 +0000)]
cpplib.c (cpp_file_line_for_message): Delete unused parameter.
* cpplib.c (cpp_file_line_for_message): Delete unused parameter.
All callers changed.
(do_sccs): Wrap in an SCCS_DIRECTIVE ifdef.
* fix-header.c (cpp_file_line_for_message): Delete unused paramter.
All callers changed.
From-SVN: r18893
Jeffrey A Law [Sun, 29 Mar 1998 11:49:10 +0000 (11:49 +0000)]
* collect2.c (is_in_list): Wrap inside COLLECT_EXPORT_LIST ifdef.
From-SVN: r18892
Jeffrey A Law [Sun, 29 Mar 1998 11:47:52 +0000 (11:47 +0000)]
* local-alloc.c (reg_classes_overlap_p): Delete dead function.
From-SVN: r18891
Jeffrey A Law [Sun, 29 Mar 1998 11:46:20 +0000 (11:46 +0000)]
* tree.h (lang_print_xnode): Provide prototype.
From-SVN: r18890
Jeffrey A Law [Sat, 28 Mar 1998 23:50:46 +0000 (16:50 -0700)]
Bump for snapshot
From-SVN: r18888
Jeffrey A Law [Sat, 28 Mar 1998 23:49:35 +0000 (23:49 +0000)]
class.c (alter_access): Remove unused label.
* class.c (alter_access): Remove unused label. Add braces
around empty else clause.
* lex.c (yyprint): Fix argument to printf.
From-SVN: r18887
Jeffrey A Law [Sat, 28 Mar 1998 23:47:41 +0000 (23:47 +0000)]
sendmsg.c (__objc_block_forward): Add braces for return value if INVISIBLE_STRUCT_RETURN.
* objc/sendmsg.c (__objc_block_forward): Add braces for return
value if INVISIBLE_STRUCT_RETURN.
From-SVN: r18886
Jeffrey A Law [Sat, 28 Mar 1998 23:46:19 +0000 (23:46 +0000)]
* pa.c (arith_double_operand): Fix parens.
From-SVN: r18885
Jeffrey A Law [Sat, 28 Mar 1998 23:45:08 +0000 (23:45 +0000)]
* haifa-sched.c (print_pattern): Correct arg to sprintf.
From-SVN: r18884
Jeffrey A Law [Sat, 28 Mar 1998 23:43:54 +0000 (23:43 +0000)]
* Makefile.in (libgcc1.null): Make return type for __foo void.
From-SVN: r18883
Mark Mitchell [Sat, 28 Mar 1998 17:47:07 +0000 (17:47 +0000)]
pt.c (tsubst): Clear TREE_USED for new FUNCTION_DECLs.
* pt.c (tsubst): Clear TREE_USED for new FUNCTION_DECLs.
* pt.c (instantiate_class_template): Make sure template
arguments are permanent.
* init.c (resolve_offset_ref): Don't go looking around in
template types.
* semantics.c: Add routines to handle expressions, and some
declaration processing.
* parse.y: Use them.
(current_class_depth): Move declaration to cp-tree.h.
* parse.c: Regenerated.
* cp-tree.h: Use them.
(current_class_depth): Declare.
* pt.c (tsubst_copy): Use begin_stmt_expr and finish_stmt_expr.
From-SVN: r18882
Jeffrey A Law [Sat, 28 Mar 1998 14:17:48 +0000 (14:17 +0000)]
* pa.h: Add declarations for many functions defined in pa.c.
From-SVN: r18881
Jeffrey A Law [Sat, 28 Mar 1998 14:15:37 +0000 (14:15 +0000)]
genpeep.c (main): Remove unused variable 'i' from the generated file.
* genpeep.c (main): Remove unused variable 'i' from the generated
file.
From-SVN: r18880
Jeffrey A Law [Sat, 28 Mar 1998 13:55:34 +0000 (13:55 +0000)]
genemit.c (gen_expand): Do not emit "_done" or "_fail" labels.
* genemit.c (gen_expand): Do not emit "_done" or "_fail" labels.
(gen_split): Likewise.
(main): Rework generated definitions of DONE and FAIL so that they
no longer use gotos. Avoids warnings about unused labels.
From-SVN: r18879
Jeffrey A Law [Sat, 28 Mar 1998 13:45:47 +0000 (13:45 +0000)]
integrate.c (copy_rtx_and_substitute): Rework to avoid need for unused "junk" variable.
* integrate.c (copy_rtx_and_substitute): Rework to avoid need for
unused "junk" variable.
From-SVN: r18878
Jeffrey A Law [Sat, 28 Mar 1998 13:40:07 +0000 (13:40 +0000)]
genattrtab.c (write_complex_function): Add a default case in generated switch statement to keep -W -Wall quiet.
* genattrtab.c (write_complex_function): Add a default case in
generated switch statement to keep -W -Wall quiet.
From-SVN: r18877
Nick Clifton [Sat, 28 Mar 1998 13:15:57 +0000 (13:15 +0000)]
Add documentation of more ARM command line options.
Add documentation of Thumb command line options.
From-SVN: r18876
Dave Love [Sat, 28 Mar 1998 11:19:04 +0000 (11:19 +0000)]
* Make-lang.in (f771$(exeext)): Fix typpo.
From-SVN: r18875
Dave Love [Sat, 28 Mar 1998 11:18:05 +0000 (11:18 +0000)]
(f771$(exeext)): Fix typpo.
From-SVN: r18874
Nick Clifton [Sat, 28 Mar 1998 10:48:55 +0000 (10:48 +0000)]
New file.
From-SVN: r18873
Jason Merrill [Sat, 28 Mar 1998 10:06:19 +0000 (05:06 -0500)]
tweak
From-SVN: r18872
Jason Merrill [Sat, 28 Mar 1998 03:08:30 +0000 (22:08 -0500)]
tweak
From-SVN: r18871
Jason Merrill [Sat, 28 Mar 1998 03:08:12 +0000 (22:08 -0500)]
new
From-SVN: r18870
Jason Merrill [Sat, 28 Mar 1998 02:18:45 +0000 (21:18 -0500)]
fix
From-SVN: r18869
Jason Merrill [Sat, 28 Mar 1998 01:57:58 +0000 (20:57 -0500)]
update
From-SVN: r18868
Craig Burley [Sat, 28 Mar 1998 00:46:00 +0000 (19:46 -0500)]
* bugs.texi: Various updates.
From-SVN: r18867
Craig Burley [Sat, 28 Mar 1998 00:43:32 +0000 (19:43 -0500)]
lang-options.h: Sort all -f*-intrinsics-* options, for consistency with other g77 versions.
* lang-options.h: Sort all -f*-intrinsics-* options,
for consistency with other g77 versions.
Another patch from Craig.
From-SVN: r18866
Craig Burley [Sat, 28 Mar 1998 00:38:46 +0000 (00:38 +0000)]
stmt.c (expand_expr_stmt): Must generate code for statements within an expression (gcc's `({ ...
* stmt.c (expand_expr_stmt): Must generate code for
statements within an expression (gcc's `({ ... )}')
even if -fsyntax-only.
Patch from Craig.
From-SVN: r18865
Craig Burley [Sat, 28 Mar 1998 00:35:33 +0000 (19:35 -0500)]
* com.c (ffecom_tree_canonize_ptr_): Fix up spacing a bit.
From-SVN: r18864
Craig Burley [Sat, 28 Mar 1998 00:30:11 +0000 (19:30 -0500)]
expr.c (ffeexpr_sym_impdoitem_): Don't blindly reset symbol info after calling ffesymbol_error, to avoid crash.
* expr.c (ffeexpr_sym_impdoitem_): Don't blindly
reset symbol info after calling ffesymbol_error,
to avoid crash.
Another patch from Craig.
From-SVN: r18863
Jeff Law [Sat, 28 Mar 1998 00:29:00 +0000 (17:29 -0700)]
Tweak from Craig.
From-SVN: r18862
Craig Burley [Sat, 28 Mar 1998 00:28:21 +0000 (19:28 -0500)]
u77-test.f: Don't bother declaring etime.
* libU77/u77-test.f: Don't bother declaring etime.
Use `implicit none' and declare mask and lenstr.
Do ETIME/DTIME consistency check before loop, then
use loop to verify that dtime "ticks" at some point.
Check ETIME array-sum using single-precision add, to
avoid spurious complaint on systems (like x86) that
use more precision for intermediate results.
Fix `Results of ETIME and DTIME...' message to print
pertinent values (r1 and r2 instead of i and j).
Change loop from 10M to 1K repeated up to 1000 times
or until dtime "ticks".
Print the number of 1K loops needed to see this tick.
Answer a commented question.
Split up a long line of output and do other prettying.
Preset lognam in case GETLOG fails to overwrite it.
Patch from Craig.
From-SVN: r18861
Bernd Schmidt [Sat, 28 Mar 1998 00:12:41 +0000 (00:12 +0000)]
basic-block.h (basic_block_computed_jump_target): Declare.
* basic-block.h (basic_block_computed_jump_target): Declare.
* flags.h: (current_function_has_computed_jump): Declare.
* flow.c: (basic_block_computed_jump_target): Define.
(flow_analysis): Allocate it. Set current_function_has_computed_jump
to 0.
(find_basic_blocks): Set current_function_has_computed_jump and
elements of basic_block_computed_jump_target to 1 as appropriate.
* function.c: (current_function_has_computed_jump): Define.
* global.c (global_conflicts): Don't allocate pseudos into stack regs
at the start of a block that is reachable by a computed jump.
* reg-stack.c (stack_reg_life_analysis): If must restart, do so
immediately.
(subst_stack_regs): Undo change from Sep 4 1997.
(uses_reg_or_mem): Now unused, deleted.
* stupid.c (stupid_life_analysis): Compute
current_function_has_computed_jump.
(stupid_find_reg): Don't allocate stack regs if the function has a
computed goto.
* haifa-sched.c (is_cfg_nonregular): Delete code to determine if
the current function has a computed jump. Use the global value
instead.
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r18860
Jeffrey A Law [Fri, 27 Mar 1998 23:23:10 +0000 (23:23 +0000)]
freebsd.h (CPP_PREDEFINES): Remove __386BSD__.
* i386/freebsd.h (CPP_PREDEFINES): Remove __386BSD__.
(DWARF2_UNWIND_INFO): Define to zero.
David E. O'Brien sez it's the right thing to do.
From-SVN: r18859
Mark Mitchell [Fri, 27 Mar 1998 20:25:21 +0000 (20:25 +0000)]
error.c (dump_decl): Be a bit more explicit with template type arguments, when verbose.
* error.c (dump_decl): Be a bit more explicit with template
type arguments, when verbose.
From-SVN: r18858
Jason Merrill [Fri, 27 Mar 1998 18:17:29 +0000 (18:17 +0000)]
* inc/exception: Reorder closing braces.
From-SVN: r18857
Michael Meissner [Fri, 27 Mar 1998 14:20:40 +0000 (14:20 +0000)]
Make GCC_EXEC_PREFIX work again
From-SVN: r18856
Mark Mitchell [Fri, 27 Mar 1998 13:23:03 +0000 (13:23 +0000)]
pt.c (redeclare_class_template): New function.
* pt.c (redeclare_class_template): New function.
* cp_tree.h (redeclare_class_template): Declare it.
* decl.c (xref_tag): Use it.
From-SVN: r18855
Joern Rennecke [Fri, 27 Mar 1998 10:16:30 +0000 (10:16 +0000)]
Typo fix.
From-SVN: r18854
J"orn Rennecke [Fri, 27 Mar 1998 10:12:02 +0000 (10:12 +0000)]
* sh.c (find_barrier): Fix calculations for alignemnt increase.
From-SVN: r18853
Manfred Hollstein [Fri, 27 Mar 1998 00:01:08 +0000 (00:01 +0000)]
Makefile.in (stmp-fixinc): If we're actually fixing include files...
a
* Makefile.in (stmp-fixinc): If we're actually fixing include
files, copy gcc's assert.h into the fixed include dir.
* fixincludes (assert.h): Avoid any attempts to fix a probably
broken system specific assert.h file.
* fixproto (stdlib.h): Make sure, it'll contain a definition of
size_t.
From-SVN: r18852
Manfred Hollstein [Fri, 27 Mar 1998 00:01:06 +0000 (00:01 +0000)]
Makefile.in (stmp-fixinc): If we're actually fixing include files...
d
* Makefile.in (stmp-fixinc): If we're actually fixing include
files, copy gcc's assert.h into the fixed include dir.
* fixincludes (assert.h): Avoid any attempts to fix a probably
broken system specific assert.h file.
* fixproto (stdlib.h): Make sure, it'll contain a definition of
size_t.
From-SVN: r18851
Manfred Hollstein [Fri, 27 Mar 1998 00:01:04 +0000 (00:01 +0000)]
Makefile.in (stmp-fixinc): If we're actually fixing include files...
0
* Makefile.in (stmp-fixinc): If we're actually fixing include
files, copy gcc's assert.h into the fixed include dir.
* fixincludes (assert.h): Avoid any attempts to fix a probably
broken system specific assert.h file.
* fixproto (stdlib.h): Make sure, it'll contain a definition of
size_t.
From-SVN: r18850
Jeffrey A Law [Thu, 26 Mar 1998 23:51:11 +0000 (23:51 +0000)]
regclass.c (reg_scan_mark_refs): Be more selective about when we mark a register with REGNO_POINTER_FLAG.
* regclass.c (reg_scan_mark_refs): Be more selective about
when we mark a register with REGNO_POINTER_FLAG.
From-SVN: r18849
J"orn Rennecke [Thu, 26 Mar 1998 15:08:53 +0000 (15:08 +0000)]
reload inheritance improvement:
* reload1.c (reg_reloaded_contents, reg_reloaded_insn):
Change meaning: index is now hard reg number.
(reg_reloaded_valid, reg_reloaded_dead): New variables.
(reload_spill_index): Content is now a hard reg number.
(reload_as_needed): Change to fit new variable meaning.
(forget_old_reloads_1, allocate_reload_reg): Likewise.
(choose_reload_regs, emit_reload_insns): Likewise.
From-SVN: r18848
Mark Mitchell [Thu, 26 Mar 1998 14:22:54 +0000 (14:22 +0000)]
New test.
From-SVN: r18847
Jason Merrill [Thu, 26 Mar 1998 12:21:13 +0000 (12:21 +0000)]
call.c (build_over_call): Check IS_AGGR_TYPE, not TYPE_LANG_SPECIFIC.
* call.c (build_over_call): Check IS_AGGR_TYPE, not
TYPE_LANG_SPECIFIC.
* typeck.c (convert_arguments): Likewise.
From-SVN: r18846
Benjamin Kosnik [Thu, 26 Mar 1998 12:02:04 +0000 (12:02 +0000)]
}
if 0 ambiguous test case
From-SVN: r18845
Jason Merrill [Thu, 26 Mar 1998 11:41:23 +0000 (06:41 -0500)]
revert
From-SVN: r18844
Jason Merrill [Thu, 26 Mar 1998 11:16:45 +0000 (11:16 +0000)]
decl.c (grokdeclarator): Remove const and volatile from type after setting constp and volatilep.
* decl.c (grokdeclarator): Remove const and volatile from type after
setting constp and volatilep.
* class.c (finish_struct_1): Don't warn about bool bitfield larger
than one bit.
From-SVN: r18843
J"orn Rennecke [Thu, 26 Mar 1998 10:44:22 +0000 (10:44 +0000)]
regclass.c (record_reg_classes): '?' increases cost by two.
* regclass.c (record_reg_classes): '?' increases cost by two.
* reload.c (find_reloads): Double previous costs. Output
reloads cost one unit extra.
* reload1.c (eliminate_regs): Delete LOAD_EXTENDED_OP code that
boiled down to && ! 0.
* reload.c (find_equiv_reg): Also consider a goal offset from the
frame pointer to be constant.
From-SVN: r18842
Mark Mitchell [Thu, 26 Mar 1998 10:32:04 +0000 (10:32 +0000)]
pt.c (convert_nontype_argument): STRIP_NOPS where appropriate.
Thu Mar 26 10:25:52 1998 Mark Mitchell <mmitchell@usa.net>
* pt.c (convert_nontype_argument): STRIP_NOPS where appropriate.
From-SVN: r18841
Jeffrey A Law [Thu, 26 Mar 1998 10:30:41 +0000 (10:30 +0000)]
acinclude.m4: Bring back changes lost during merge.
* acinclude.m4: Bring back changes lost during merge.
(mostly Cygwin, automake and EGCS_PROG_INSTALL stuff).
* aclocal.m4: Likewise.
* configure.in: Likewise.
From-SVN: r18840
Mark Mitchell [Thu, 26 Mar 1998 10:26:43 +0000 (10:26 +0000)]
call.c (build_object_call): Complain about ambiguous operator(), rather that crashing.
* call.c (build_object_call): Complain about ambiguous operator(),
rather that crashing.
(build_new_op): Likewise.
(build_op_delete_call): Likewise.
From-SVN: r18839
Mark Mitchell [Thu, 26 Mar 1998 10:23:14 +0000 (10:23 +0000)]
cvt.c (perform_qualification_conversions): Use comp_target_types instead of comp_ptr_ttypes.
* cvt.c (perform_qualification_conversions): Use comp_target_types
instead of comp_ptr_ttypes.
From-SVN: r18838
J"orn Rennecke [Thu, 26 Mar 1998 10:17:32 +0000 (10:17 +0000)]
* sh.h (OPTIMIZATION_OPTIONS): Define.
From-SVN: r18837
Richard Henderson [Thu, 26 Mar 1998 00:20:08 +0000 (16:20 -0800)]
* combine.c (make_compound_operation): Simplify (subreg (*_extend) 0).
From-SVN: r18836
Jeff Law [Wed, 25 Mar 1998 22:58:40 +0000 (15:58 -0700)]
haifa-sched.c (find_post_sched_live): Use EXECUTE_IF_SET_IN_REG_SET instead of calling REGNO_REG_SET_P for each pseudo.
* haifa-sched.c (find_post_sched_live): Use EXECUTE_IF_SET_IN_REG_SET
instead of calling REGNO_REG_SET_P for each pseudo.
(update_reg_usage): Likewise.
(compute_block_backward)dependences): Do not call "free_list" for
an empty list.
Improves compile times by about 7% on average on my PAs.
From-SVN: r18835
Jeffrey A Law [Wed, 25 Mar 1998 22:49:26 +0000 (22:49 +0000)]
* pa.c (pa_adjust_cost): Avoid redundant calls to get_attr_type.
From-SVN: r18834
Mark Mitchell [Wed, 25 Mar 1998 16:14:49 +0000 (16:14 +0000)]
cp-tree.h (enforce_access): Declare.
Wed Mar 25 16:10:50 1998 Mark Mitchell <mmitchell@usa.net>
* cp-tree.h (enforce_access): Declare.
* call.c (enforce_access): Make it extern, not static.
* class.c (alter_access): Use enforce_access; modify code for ISO
compliance, rather than ARM rules.
From-SVN: r18832
Benjamin Kosnik [Wed, 25 Mar 1998 14:11:13 +0000 (14:11 +0000)]
*** empty log message ***
From-SVN: r18831
Benjamin Kosnik [Wed, 25 Mar 1998 14:11:13 +0000 (14:11 +0000)]
�
test cases for g++15235
From-SVN: r18830
Brendan Kehoe [Wed, 25 Mar 1998 13:47:06 +0000 (08:47 -0500)]
new test for EH w/ opt on
From-SVN: r18829
Benjamin Kosnik [Wed, 25 Mar 1998 13:45:38 +0000 (13:45 +0000)]
�
fix for g++/15235 now generates a warning here
From-SVN: r18828
Jim Wilson [Wed, 25 Mar 1998 13:42:05 +0000 (13:42 +0000)]
Fix bug reported by David C Binderman, accept 'L' when pedantic with FP format.
* c-common.c (check_format_info): Initialize type, is_type. New local
integral_format. Don't warn for 'L' when pedantic. Do warn for 'L'
when pedantic if used with integral format specifier.
From-SVN: r18827
Michael Meissner [Wed, 25 Mar 1998 13:17:37 +0000 (13:17 +0000)]
Fix warnings from Kaveh R. Ghazi
From-SVN: r18826
Mark Mitchell [Wed, 25 Mar 1998 12:31:44 +0000 (12:31 +0000)]
Add requisite build-don't-link.
From-SVN: r18825
Kriang Lerdsuwanakij [Wed, 25 Mar 1998 12:15:07 +0000 (12:15 +0000)]
* cp-tree.h: Fix typo.
From-SVN: r18824
Jason Merrill [Wed, 25 Mar 1998 10:54:42 +0000 (10:54 +0000)]
expr.c (cplus_expand_expr): Only do PCC_STATIC_STRUCT_RETURN thing if (aggregate_value_p (type)).
* expr.c (cplus_expand_expr): Only do PCC_STATIC_STRUCT_RETURN thing
if (aggregate_value_p (type)).
From-SVN: r18823
Nick Clifton [Wed, 25 Mar 1998 10:44:07 +0000 (10:44 +0000)]
Add support for ARM's Thumb instruction set.
From-SVN: r18822
Jim Wilson [Wed, 25 Mar 1998 10:32:36 +0000 (10:32 +0000)]
Fix m68k bootstrap failure reported by Toon Moene.
* loop.c (scan_loop): Initialize move_insn_first to zero.
From-SVN: r18821
Jeff Law [Wed, 25 Mar 1998 02:20:37 +0000 (19:20 -0700)]
Initial revision
From-SVN: r18815
Jason Merrill [Wed, 25 Mar 1998 02:05:53 +0000 (02:05 +0000)]
* decl2.c (constructor_name_full): Handle TYPENAME_TYPE.
From-SVN: r18814
Joel Sherrill [Wed, 25 Mar 1998 00:03:19 +0000 (00:03 +0000)]
go32-rtems.h: Defined TARGET_MEM_FUNCTIONS.
* config/i386/go32-rtems.h: Defined TARGET_MEM_FUNCTIONS.
* config/i386/rtems.h: Likewise.
* config/i960/rtems.h: Likewise.
* config/m68k/rtems.h: Likewise.
* config/mips/rtems64.h: Likewise.
* config/pa/rtems.h: Likewise.
* config/rs6000/rtems.h: Likewise.
* config/sh/rtems.h: Likewise.
* config/sparc/rtems.h: Likewise.
From-SVN: r18813
Richard Kenner [Tue, 24 Mar 1998 23:53:47 +0000 (23:53 +0000)]
* pa.c (emit_move_sequence): If in reload, call find_replacement.
From-SVN: r18812
Jeff Law [Tue, 24 Mar 1998 19:41:43 +0000 (12:41 -0700)]
Merge in texinfo-3.12.
From-SVN: r18811
Jeff Law [Tue, 24 Mar 1998 18:08:49 +0000 (11:08 -0700)]
Try test commit again. This time get everything.
From-SVN: r18808
Jeff Law [Tue, 24 Mar 1998 17:58:30 +0000 (10:58 -0700)]
Dummy commit.
From-SVN: r18807
Nick Clifton [Tue, 24 Mar 1998 17:27:46 +0000 (17:27 +0000)]
Support a .exe extension to gcov.
From-SVN: r18806
Mark Mitchell [Tue, 24 Mar 1998 16:13:12 +0000 (16:13 +0000)]
tree.c (mapcar): When dealing with a DECL, use it's constant value, if any.
�
* tree.c (mapcar): When dealing with a DECL, use it's constant
value, if any.
* pt.c (lookup_template_class): Don't mangle the names of template
classes whose arguments are unknown.
* pt.c (tsubst_expr): Handle GOTO_STMT correctly.
From-SVN: r18805
Mark Mitchell [Tue, 24 Mar 1998 16:13:12 +0000 (16:13 +0000)]
tree.c (mapcar): When dealing with a DECL, use it's constant value, if any.
�
* tree.c (mapcar): When dealing with a DECL, use it's constant
value, if any.
* pt.c (lookup_template_class): Don't mangle the names of template
classes whose arguments are unknown.
* pt.c (tsubst_expr): Handle GOTO_STMT correctly.
From-SVN: r18804
Mark Mitchell [Tue, 24 Mar 1998 16:13:09 +0000 (16:13 +0000)]
tree.c (mapcar): When dealing with a DECL, use it's constant value, if any.
�
* tree.c (mapcar): When dealing with a DECL, use it's constant
value, if any.
* pt.c (lookup_template_class): Don't mangle the names of template
classes whose arguments are unknown.
* pt.c (tsubst_expr): Handle GOTO_STMT correctly.
From-SVN: r18803
Mark Mitchell [Tue, 24 Mar 1998 16:13:08 +0000 (16:13 +0000)]
tree.c (mapcar): When dealing with a DECL, use it's constant value, if any.
�
* tree.c (mapcar): When dealing with a DECL, use it's constant
value, if any.
* pt.c (lookup_template_class): Don't mangle the names of template
classes whose arguments are unknown.
* pt.c (tsubst_expr): Handle GOTO_STMT correctly.
From-SVN: r18802
Nick Clifton [Tue, 24 Mar 1998 15:55:46 +0000 (15:55 +0000)]
Add definition of GET_ENVIRONMENT and make prefix_from_env() use it.
From-SVN: r18801
Nick Clifton [Tue, 24 Mar 1998 14:38:09 +0000 (14:38 +0000)]
Ooops - fixed typo in previous delta
From-SVN: r18800
Benjamin Kosnik [Tue, 24 Mar 1998 12:24:59 +0000 (12:24 +0000)]
decl.c (init_decl_processing): Set TYPE_PRECISON for bools to 1.
�
Tue Mar 24 12:21:55 1998 Benjamin Kosnik <bkoz@lisa.cygnus.com>
* decl.c (init_decl_processing): Set TYPE_PRECISON for bools to 1.
Tue Mar 24 12:21:48 1998 Jim Wilson <wilson@cygnus.com>
* decl.c (init_decl_processing): Initialize TYPE_MAX_VALUE for
boolean_type_node to 1.
Fixes for g++/15235
From-SVN: r18799
Benjamin Kosnik [Tue, 24 Mar 1998 12:24:56 +0000 (12:24 +0000)]
decl.c (init_decl_processing): Set TYPE_PRECISON for bools to 1.
8
Tue Mar 24 12:21:55 1998 Benjamin Kosnik <bkoz@lisa.cygnus.com>
* decl.c (init_decl_processing): Set TYPE_PRECISON for bools to 1.
Tue Mar 24 12:21:48 1998 Jim Wilson <wilson@cygnus.com>
* decl.c (init_decl_processing): Initialize TYPE_MAX_VALUE for
boolean_type_node to 1.
Fixes for g++/15235
From-SVN: r18798
Nick Clifton [Tue, 24 Mar 1998 10:49:50 +0000 (10:49 +0000)]
Support win32 style absolute paths.
Add more debugging.
From-SVN: r18797
Mark Mitchell [Tue, 24 Mar 1998 10:34:35 +0000 (10:34 +0000)]
Commit files missed with last commit.
From-SVN: r18796
Mark Mitchell [Tue, 24 Mar 1998 10:25:44 +0000 (10:25 +0000)]
cplus-dem.c (optable): Add sizeof.
* cplus-dem.c (optable): Add sizeof.
(demangle_template_value_parm): New function containing code
previously found in demangle_template.
(demangle_integral_value): New function which handles complicated
integral expressions.
(demangle_template): Use them.
* error.c (dump_expr): Remove unused variable `l'.
* pt.c (for_each_template_parm): New function, created by
converting uses_template_parms.
(tree_fn_t): New typedef.
(uses_template_parms): Use it.
(mark_template_parm): New function.
(push_template_decl): Check that the argument list of a partial
specialization uses all the template parameters.
* Make-lang.in (c++filt): Don't delete cxxmain.c after we're done
with it; we might want it for debugging.
* cp-tree.h (type_unification): Change interface.
* class.c (finish_struct_1): Skip nested template types, just like
ordinary nested types.
(instantiate_type): Use new interface to type_unification.
* lex.c (init_lex): Add __sz as opname for sizeof.
* method.c (build_overload_scope_ref): New function.
(build_overload_int): Handle complex expressions. Set
numeric_output_need_bar if necessary.
(build_overload_value): Handle non-PARM_DECL nodes; this
routine is now used by build_overload_int. Remove some
assignments to numeric_output_need_bar. Use
build_overload_scope_ref.
(build_qualified_name): Note that some template mangled names end
with digits, and set numeric_output_need_bar appropriately. Use
build_underscore_int.
* pt.c (unify): Change interface.
(type_unification_real): Likewise.
(determine_specialization): Use new interfaces.
(tsubst): Deal gracefully with situations in which the argument
vector is not fully filled.
(fn_type_unification): Use new interfaces.
(type_unification): Likewise. Remove NOP_EXPR hack.
(type_unification_real): Likewise.
(unify): Likewise. Deal with unification of complex expresions.
From-SVN: r18795
Kaveh R. Ghazi [Tue, 24 Mar 1998 10:16:53 +0000 (10:16 +0000)]
Cutover various gen*.c files to using system.h:
* Makefile.in (genconfig.o, genflags.o, gencodes.o, genemit.o,
genopinit.o, genrecog.o, genextract.o, genpeep.o, genattr.o,
genattrtab.o, genoutput.o): Depend on system.h.
* genattr.c: Include system.h. Add arguments to various function
prototypes. Remove redundant prototype of read_rtx().
* genattrtab.c: Likewise.
* gencodes.c: Likewise.
* genconfig.c: Likewise.
* genemit.c: Likewise.
* genextract.c: Likewise.
* genflags.c: Likewise.
* genopinit.c: Likewise.
* genoutput.c: Likewise.
* genpeep.c: Likewise.
* genrecog.c: Likewise.
From-SVN: r18794
Brendan Kehoe [Tue, 24 Mar 1998 08:54:17 +0000 (03:54 -0500)]
s/mrs/bkoz/
From-SVN: r18793
Jason Merrill [Tue, 24 Mar 1998 00:27:42 +0000 (19:27 -0500)]
fix memoize
From-SVN: r18792
Jason Merrill [Mon, 23 Mar 1998 23:15:44 +0000 (23:15 +0000)]
* pt.c (complete_template_args): Initialize skip properly.
From-SVN: r18791
Jason Merrill [Mon, 23 Mar 1998 23:08:59 +0000 (23:08 +0000)]
decl.c (make_typename_type): Revert.
* decl.c (make_typename_type): Revert.
(make_implicit_typename): Remove.
(lookup_name_real): Don't call it. Call lookup_field if we see a
TYPE_DECL from a template base.
* search.c (lookup_field): Do implicit typename stuff.
From-SVN: r18790