Jason Merrill
08e72a1929
pt.c (tsubst_aggr_type): Bail if creating the argvec fails.
...
* pt.c (tsubst_aggr_type): Bail if creating the argvec fails.
(tsubst_template_arg_vector): Likewise.
* decl2.c (build_anon_union_vars): Choose the largest field; don't
assume that one will be as large as the union.
From-SVN: r35581
2000-08-09 01:52:17 -04:00
Alexandre Oliva
8e32b501b8
* gcc.c-torture/execute/20000808-1.c: New test.
...
From-SVN: r35580
2000-08-09 05:21:17 +00:00
Alexandre Oliva
2696f6a43d
caller-save.c (mark_referenced_regs): Mark partially-overwritten multi-word registers.
...
* caller-save.c (mark_referenced_regs): Mark partially-overwritten
multi-word registers.
From-SVN: r35579
2000-08-09 05:17:12 +00:00
Alexandre Oliva
e50d293252
* test_summary: AWK breaks with filenames containing `='.
...
From-SVN: r35578
2000-08-09 05:12:51 +00:00
Joseph Myers
1fcbbcd34f
* gcc.dg/c90-const-expr-1.c: New test.
...
From-SVN: r35577
2000-08-09 02:05:09 +01:00
Joseph Myers
89abf8d1d7
c-common.c (combine_strings, [...]): Refer to ISO C or ISO C89 instead of ANSI C.
...
* c-common.c (combine_strings, check_format_info): Refer to ISO C
or ISO C89 instead of ANSI C.
* c-decl.c (grokdeclarator, xref_tag, finish_struct,
build_enumerator, do_case): Likewise.
* c-lex.c (parse_float, yylex): Likewise.
* c-parse.in: Likewise.
* c-typeck.c (common_type, build_array_ref, build_binary_op,
build_unary_op, pedantic_lvalue_warning, build_conditional_expr,
build_c_cast, convert_for_assignment, set_init_index,
set_init_label, c_expand_start_case): Likewise.
* toplev.c (documented_lang_options, display_help): Likewise.
From-SVN: r35576
2000-08-09 00:19:11 +01:00
Kazu Hirata
1a63219b0d
h8300.c: Fix formatting.
...
* h8300.c: Fix formatting.
* h8300.h: Likewise.
* h8300.md: Likewise.
(movsi_h8300hs): Fix formatting of the resulting assembly code.
From-SVN: r35575
2000-08-08 17:09:52 -06:00
Kazu Hirata
1d7254c5a7
* reload1.c: Fix formatting.
...
From-SVN: r35574
2000-08-08 17:07:10 -06:00
Rodney Brown
0499c2e4dd
alpha.c (alpha_emit_xfloating_libcall): Use GEN_CALL_VALUE define.
...
* alpha/alpha.c (alpha_emit_xfloating_libcall):
Use GEN_CALL_VALUE define.
* alpha/alpha.md (untyped_call): Use GEN_CALL define.
* clipper/clipper.md (untyped_call): Likewise.
* dsp16xx/dsp16xx.md (untyped_call): Likewise.
* fx80/fx80.md (untyped_call): Likewise.
* mips/mips.md (untyped_call): Likewise.
* ns32k/ns32k.md (untyped_call): Likewise.
* pa/pa.md (untyped_call): Likewise.
* romp/romp.md (untyped_call): Likewise.
* sparc/sparc.md (untyped_call): Likewise.
From-SVN: r35573
2000-08-08 16:40:49 -06:00
Jason Eckhardt
ebec3cf99d
i860.c (singlemove_string): Do not generate assembler pseudo instructions that must be expanded (that is...
...
2000-08-08 Jason Eckhardt <jle@cygnus.com>
* config/i860/i860.c (singlemove_string): Do not generate assembler
pseudo instructions that must be expanded (that is, with signed
constants larger than 16 bits).
From-SVN: r35572
2000-08-08 22:22:32 +00:00
Richard Henderson
b2262f4a2c
flow.c (life_analysis): Only turn off PROP_LOG_LINKS and PROP_AUTOINC at -O0.
...
* flow.c (life_analysis): Only turn off PROP_LOG_LINKS and
PROP_AUTOINC at -O0. Don't collect alias info at -O0.
(init_propagate_block_info): Don't kill memory stores at -O0.
(mark_set_1, mark_used_regs): Likewise.
From-SVN: r35571
2000-08-08 12:46:51 -07:00
David Edelsohn
e2c953b6dd
rs6000.c (optimization_options): Decorate 'level' as ATTRIBUTE_UNUSED.
...
* rs6000.c (optimization_options): Decorate 'level' as
ATTRIBUTE_UNUSED.
(mask64_operand): Remove sign-extend thinko.
(rldic_operand): New function.
(load_multiple_operation): regno's are unsigned ints.
(store_multiple_operation): Likewise.
(lmw_operation): Likewise.
(stmw_operation): Likewise.
(includes_lshift_p): shift_mask is unsigned int.
(includes_lshift64_p): New function.
(addrs_ok_for_quad_peep): unsigned int reg1.
(print_operand): Consistently add "else" after
output_operand_lossage().
(print_operand, case 'b'): Fold in case 'W'.
(print_operand, case 'W'): Print rldic MB value.
(output_epilogue): Update Objective-C language string.
(output_toc): unsigned HOST_WIDE_INT low, compare unsigned.
* rs6000.h (PREDICATE_CODES): Add rldic_operand.
* rs6000.md (ashldi3): Add rldic instruction.
(iordi3, xordi3): Remove redundant "else if CONST_DOUBLE".
(cmpsi_internal2, cmpdi_interal2): Use 'b' output template
modifier.
From-SVN: r35570
2000-08-08 14:50:15 -04:00
Tom Tromey
6dd1b06886
Input_UTF8.java (read): Fixed handling of surrogate characters.
...
* gnu/gcj/convert/Input_UTF8.java (read): Fixed handling of
surrogate characters.
* gnu/gcj/convert/Output_UTF8.java (standardUTF8): Default to
true.
(write): Correct handling of surrogate characters.
From-SVN: r35569
2000-08-08 17:35:32 +00:00
Richard Henderson
97e242b0a7
ia64-protos.h: Remove duplicates.
...
* config/ia64/ia64-protos.h: Remove duplicates. Update
for massive code rearrangements.
* config/ia64/ia64.c (ia64_arpfs_regno): Remove.
(ia64_rp_regno, ia64_fp_regno, ia64_input_regs): Remove.
(ia64_local_regs, ia64_need_regstk): Remove.
(ar_ccv_reg_operand): New.
(ia64_gp_save_reg): New.
(struct ia64_frame_info): Combine most of the size elements;
add new gr save elements.
(find_gr_spill): New.
(next_scratch_gr_reg): New.
(mark_reg_gr_used_mask): New.
(ia64_compute_frame_size): Rewrite. Allocate special AR regs
to GR backing store regs when possible.
(ia64_initial_elimination_offset): New.
(ia64_rap_fp_offset): Remove.
(save_restore_insns): Remove.
(setup_spill_pointers): New.
(finish_spill_pointers): New.
(spill_restore_mem): New.
(do_spill, do_restore): New.
(ia64_expand_prologue): Rewrite to use them.
(ia64_expand_epilogue): Likewise.
(ia64_direct_return): Update for current_frame_info changes.
(ia64_function_prologue): Simplify .prologue emission. Emit
.spill when needed.
(ia64_setup_incoming_varargs): Don't ever emit rtl.
(ia64_dbx_register_number): New.
(ia64_initialize_trampoline): New.
(ia64_secondary_reload_class): Request GR_REGS for integer
arithmetic destined for FR_REGS.
(ia64_init_machine_status): Don't reset return_address_pointer_rtx.
(ia64_mark_machine_status): Mark ia64_gp_save.
(rws_access_regno): Rename from rws_access_reg; don't treat
predicates specially.
(rws_access_reg): New. Update all callers.
(rtx_needs_barrier): Remove dead unspecs.
(ia64_epilogue_uses): Mark ar.pfs and ar.unat live on exit.
(ia64_encode_section_info): Silence signed/unsigned warnings.
(spill_offset, sp_offset, spill_offset_emitted): Remove.
(tmp_reg, tmp_saved): Remove.
(process_set): Rewrite to expect complicated bits via
REG_FRAME_RELATED_EXPR.
(ia64_expand_fetch_and_op): Use emit_move_insn; be explicit
in the use of ar.ccv; never set RTX_UNCHANGING_P.
(ia64_expand_op_and_fetch): Likewise.
(ia64_expand_compare_and_swap): Likewise.
(ia64_expand_builtin): Likewise.
* config/ia64/ia64.h (AR_UNAT_REGNUM): New.
(FIRST_PSEUDO_REGISTER): Update.
(AR_M_REGNO_P): Update.
(FIXED_REGS): Don't mark three local registers as used.
(EXTRA_CC_MODES): New.
(SELECT_CC_MODE): New.
(HARD_REGNO_NREGS): Allow DImode in p0; handle CCImode.
(HARD_REGNO_MODE_OK): Disallow CCImode from non-predicates.
(FRAME_GROWS_DOWNWARD): Unset.
(STARTING_FRAME_OFFSET): Zero.
(ELIMINABLE_REGS): Eliminate from the soft to hard frame pointer.
(INITIAL_ELIMINATION_OFFSET): Defer to out of line function.
(HARD_FRAME_POINTER_REGNUM): New.
(CAN_DEBUG_WITHOUT_FP): Define.
(TRAMPOLINE_TEMPLATE): Remove.
(TRAMPOLINE_SIZE): Lower to 32.
(TRAMPOLINE_ALIGNMENT): Lower to 64.
(INITIALIZE_TRAMPOLINE): Defer to out of line function.
(PREDICATE_CODES): Update.
(struct machine_function): Add ia64_gp_save.
* config/ia64/ia64.md: Purge unused unspecs.
(movsi patterns): Allow moves to/from AR_M_REGS.
(movdi patterns): Allow moves to/from p0.
(call patterns): Move most setjmp hackery to ia64_gp_save_reg.
(gr_spill, gr_restore): Indicate ar.unat read/written.
(nonlocal_goto): Don't pass old frame_pointer.
(nonlocal_goto_receiver): Remove.
(exception_receiver): New.
(builtin_setjmp_setup): New.
(builtin_setjmp_receiver): New.
* config/ia64/lib1funcs.asm (__ia64_save_stack_nonlocal): Bundle.
(__ia64_nonlocal_goto): Bundle. Don't kill r7.
(__ia64_restore_stack_nonlocal): Likewise.
(__ia64_trampoline): New.
* config/ia64/sysv4.h (DBX_REGISTER_NUMBER): Defer to out of line
function.
* config/ia64/t-ia64 (LIB1ASMFUNCS): Add __trampoline.
From-SVN: r35568
2000-08-08 03:01:20 -07:00
Richard Henderson
ee7152458a
* gcc.dg/noncompile/920923-1.c: Declare calloc.
...
From-SVN: r35567
2000-08-08 02:24:53 -07:00
Richard Henderson
0548a9df61
* regclass.c (choose_hard_reg_mode): Iterate over all CC modes.
...
From-SVN: r35566
2000-08-08 02:18:47 -07:00
Richard Henderson
db2e2f480c
frame.h (ia64_frame_state): Add my_psp.
...
* frame.h (ia64_frame_state): Add my_psp.
* libgcc2.c (ia64_throw_helper): Add throw_sp argument.
(__throw): Pass it in. Don't clobber r7.
* config/ia64/frame-ia64.c (init_ia64_reg_loc): Mark inline.
(execute_one_ia64_descriptor) [mem_stack_v]: Sets psp.when
and nothing to do with sp.
(normalize_reg_loc): Use frame->my_psp.
(frame_translate): Handle frame-pointer-less functions. Set
spill_base correctly, in absence of being told.
(__build_ia64_frame_state): New sp argument. Fill in frame->my_sp.
(__ia64_backtrace_helper): New sp argument. Use
builtin_return_address instead of label addresses.
(print_record) [mem_stack_v]: No size member.
From-SVN: r35565
2000-08-08 02:08:55 -07:00
Richard Henderson
2a3e384f15
tm.texi (LOCAL_REGNO): Document.
...
* tm.texi (LOCAL_REGNO): Document.
* flow.c (LOCAL_REGNO, EPILOGUE_USES): Provide default.
(mark_regs_live_at_end): Don't mark LOCAL_REGNO registers.
* reload1.c (reload): Likewise when considering nonlocal labels.
* config/ia64/ia64.h (LOCAL_REGNO): New.
* config/sparc/sparc.h (LOCAL_REGNO): New.
From-SVN: r35564
2000-08-08 01:28:00 -07:00
Joseph Myers
43d1e05928
c-lex.c (yylex): Don't allow integer suffixes 'LUL', 'Ll', 'lL'.
...
* c-lex.c (yylex): Don't allow integer suffixes 'LUL', 'Ll', 'lL'.
testsuite:
* gcc.dg/noncompile/const-ll-1.c: New test.
From-SVN: r35563
2000-08-08 09:23:31 +01:00
Jeff Law
2c58a14717
Daily bump.
...
From-SVN: r35562
2000-08-08 01:45:08 -06:00
Tom Tromey
d7ec12ae74
Method.java (hashCode): Use getName().
...
* java/lang/reflect/Method.java (hashCode): Use getName().
(toString): Likewise.
* java/lang/reflect/natMethod.cc (getType): Initialize
exception_types.
From-SVN: r35561
2000-08-08 03:34:51 +00:00
Alexandre Petit-Bianco
f0f3a77740
2000-08-07 Alexandre Petit-Bianco <apbianco@cygnus.com
...
* parse.y (build_dot_class_method_invocation): Changed parameter
name to `type.' Build signature from `type' and convert it to a
STRING_CST if it's an array.
(patch_incomplete_class_ref): `build_dot_class_method_invocation'
to use `ref_type' directly.
2000-08-01 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (maybe_yank_clinit): When generating bytecode: non empty
method bodies not to rule out discarding `<clinit>'; don't use
<clinit> to initialize static fields with constant initializers.
2000-08-01 Alexandre Petit-Bianco <apbianco@cygnus.com>
* gjavah.c (print_method_info): Added `synth' parameter. Skip
synthetic methods.
(method_synthetic): New global.
(HANDLE_METHOD): Recognize synthetic method and tell
`print_method_info' about it.
(HANDLE_END_METHOD): Do not issue an additional `;\n' if we're
processing a synthetic method.
* jcf-reader.c (skip_attribute): New function.
( skip_attribute): Likewise.
2000-08-01 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (build_outer_field_access): Fixed comments.
(fix_constructors): Emit the initialization of this$<n> before
calling $finit$.
(resolve_qualified_expression_name): Build an access to `decl' if
necessary.
2000-07-31 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse-scan.y (curent_class): Non longer const.
(inner_qualifier, inner_qualifier_length): Deleted.
(current_class_length): New global.
(bracket_count): Fixed typo in leading comment.
(anonymous_count): New global.
(class_instance_creation_expression:): Handle anonymous classes.
(anonymous_class_creation:): New rule.
(push_class_context): Rewritten.
(pop_class_context): Likewise.
(INNER_QUALIFIER): Macro deleted.
(report_class_declaration): call `push_class_context' when
entering the function. `fprintf' format modified not to use
INNER_QUALIFIER.
(report_class_declaration): Assign `package_name' and
`current_class' to NULL separatly.
2000-07-31 Alexandre Petit-Bianco <apbianco@cygnus.com>
* expr.c (build_invokeinterface): Call layout_class_methods on
target interface.
(http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00339.html )
From-SVN: r35560
2000-08-07 20:33:36 -07:00
Nick Clifton
0da9afa6d6
Fix most compile time warning messages
...
From-SVN: r35559
2000-08-08 01:17:06 +00:00
Toon Moene
94260abda4
g77spec.c (lang_specific_driver): Clearer g77 version message.
...
2000-08-07 Toon Moene <toon@moene.indiv.nluug.nl>
* g77spec.c (lang_specific_driver): Clearer g77 version message.
From-SVN: r35558
2000-08-07 21:19:48 +00:00
Tom Tromey
273cea54e0
Method.java (toString): Use Class.getName, not Class.toString.
...
* java/lang/reflect/Method.java (toString): Use Class.getName, not
Class.toString.
* java/lang/reflect/Field.java (toString): Correct formatting.
From Corey Minyard.
From-SVN: r35557
2000-08-07 20:03:40 +00:00
Tom Tromey
8ac80386ca
PipedInputStream.java (read(byte[],int,int)): Mostly rewrote.
...
* java/io/PipedInputStream.java (read(byte[],int,int)): Mostly
rewrote.
(receive): Streamlined.
From-SVN: r35556
2000-08-07 19:59:48 +00:00
Felix Natter
320f95489d
porting-howto.html: New version.
...
2000-08-07 Felix Natter <fnatter@gmx.net>
* docs/17_intro/porting-howto.html: New version.
From-SVN: r35555
2000-08-07 19:29:19 +00:00
DJ Delorie
1012068710
* MAINTAINERS: Add self as a DJGPP maintainer
...
From-SVN: r35554
2000-08-07 11:04:48 -04:00
DJ Delorie
15c758e9e4
configure.in (FLAGS_FOR_TARGET): invert test for xgcc...
...
* configure.in (FLAGS_FOR_TARGET): invert test for xgcc, should mean
"if we're also building gcc, and it's a gcc that will run on the
build machine, we want to use its includes instead of the system's
default includes".
From-SVN: r35553
2000-08-07 11:00:46 -04:00
Nick Clifton
8e04dd30d1
* mn10300.h (TARGET_SWITCHES): Document `-mam33'.
...
From-SVN: r35552
2000-08-07 11:35:06 +00:00
Graham Stott
f3d6a3cb21
mn10300.md: Use nonimmediate_operand instead of general_operand on output operands.
...
* mn10300.md: Use nonimmediate_operand instead of general_operand
on output operands.
From-SVN: r35551
2000-08-07 11:28:02 +00:00
Graham Stott
a7fef47884
* mn10300.h (PREFERRED_RELOAD_CLASS): Limit memory reloads.
...
From-SVN: r35550
2000-08-07 11:26:59 +00:00
Alexandre Oliva
f8ac5288be
Remove dangling whitespace
...
From-SVN: r35549
2000-08-07 11:20:25 +00:00
Alexandre Oliva
a6f463a028
sh.h (EXTRA_CONSTRAINT_Q): Adjust to GNU Coding Standards.
...
* sh.h (EXTRA_CONSTRAINT_Q): Adjust to GNU Coding Standards.
* sh.c (expand_block_move): Break long lines.
(expand_ashiftrt, fpscr_set_from_mem): Likewise.
* sh.md (mulsi3): Likewise.
(movdi): Adjust spacing.
From-SVN: r35548
2000-08-07 09:58:29 +00:00
Joseph Myers
1c5ecb11b7
* gcc.dg/c90-printf-2.c, gcc.dg/c99-printf-2.c: New tests.
...
From-SVN: r35547
2000-08-07 10:48:23 +01:00
Richard Henderson
ae5f017f14
expmed.c (store_bit_field): Don't require MEM_IN_STRUCT_P.
...
* expmed.c (store_bit_field): Don't require MEM_IN_STRUCT_P.
* expr.c (emit_group_store): Don't set it.
From-SVN: r35546
2000-08-07 01:27:54 -07:00
Jeff Law
373c27489a
Daily bump.
...
From-SVN: r35545
2000-08-07 01:45:08 -06:00
Kazu Hirata
0811ea8f20
cp-tree.h (CLASSTYPE_HAS_PRIMARY_BASE_P): Fix a comment typo.
...
* cp-tree.h (CLASSTYPE_HAS_PRIMARY_BASE_P): Fix a comment typo.
* decl.c (pop_labels): Likewise.
From-SVN: r35544
2000-08-07 01:13:13 -06:00
Kazu Hirata
d169e67cd7
invoke.texi (Options for Debugging Your Program or GCC): Remove duplicate entries for 'w' and 'z'.
...
* invoke.texi (Options for Debugging Your Program or GCC): Remove
duplicate entries for 'w' and 'z'.
From-SVN: r35543
2000-08-07 01:11:38 -06:00
Kazu Hirata
f90bb3f146
* flow.c: Fix a comment typo.
...
From-SVN: r35542
2000-08-07 01:07:21 -06:00
Kazu Hirata
26f1aa5fd2
* decl.c: Fix a comment typo.
...
From-SVN: r35541
2000-08-07 01:05:52 -06:00
Ovidiu Predescu
720a9d43fd
c-parse.in: Changed the language string for Objective-C to "GNU Objective-C".
...
Sun Aug 6 23:47:35 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
* c-parse.in: Changed the language string for Objective-C to "GNU
Objective-C".
From-SVN: r35540
2000-08-07 06:48:26 +00:00
Ovidiu Predescu
24feaa95a4
Changed the language string for Objective-C to "GNU Objective-C".
...
From-SVN: r35539
2000-08-07 06:47:34 +00:00
Ovidiu Predescu
b3dc253f84
objc-features.texi: Documented the new -fconstant-string-class option.
...
Sun Aug 6 23:27:49 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
* objc-features.texi: Documented the new -fconstant-string-class
option.
From-SVN: r35538
2000-08-07 06:28:07 +00:00
Ovidiu Predescu
9f942e8c17
Documented the new -fconstant-string-class option.
...
From-SVN: r35537
2000-08-07 06:27:47 +00:00
Ovidiu Predescu
9bc3876e69
thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to improve the Posix thread...
...
Sun Aug 6 22:51:16 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
* thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
improve the Posix thread support for Objective-C.
From-SVN: r35536
2000-08-07 05:51:41 +00:00
Ovidiu Predescu
54359cf93b
Integrated Chris Ball's <cball@fmco.com> changes to improve the Posix
...
thread support for Objective-C.
From-SVN: r35535
2000-08-07 05:51:14 +00:00
Ovidiu Predescu
5a4f31cf62
gthr-posix.h: Integrated Chris Ball's <cball@fmco.com> changes to improve the Posix thread...
...
Sun Aug 6 11:54:03 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
* gthr-posix.h: Integrated Chris Ball's <cball@fmco.com> changes
to improve the Posix thread support for Objective-C.
From-SVN: r35534
2000-08-06 18:54:49 +00:00
Ovidiu Predescu
447c11a54e
Integrated Chris Ball's <cball@fmco.com> changes to improve the Posix
...
thread support for Objective-C.
From-SVN: r35533
2000-08-06 18:54:00 +00:00
Ovidiu Predescu
137fa4d0bd
objc.exp (objc_target_compile): Set the ld_library_path so that running programs linked against the shared...
...
Sun Aug 6 11:41:51 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
* lib/objc.exp (objc_target_compile): Set the ld_library_path so
that running programs linked against the shared version of libobjc
run correctly.
From-SVN: r35532
2000-08-06 18:43:22 +00:00