* config/avr/avr.h (MASK_*): Define bits for target_flags.
(TARGET_SWITCHES): Mark help strings for translation.
Add new -mpack-args and -menhanced switches.
(TARGET_OPTIONS): Mark help strings for translation.
(progmem_section): Add section attributes.
From-SVN: r34865
* repo.c (repo_get_id): Handle the case where a class with virtual
bases has a null TYPE_BINFO_VTABLE.
* parse.y (member_init): Just pass in the type.
* init.c (expand_member_init): Handle getting a type.
* decl.c (finish_function): Warn if a function has no return
statement.
Suggested by Andrew Koenig.
* typeck.c (check_return_expr): Do set current_function_returns_value
if we got an error_mark_node.
From-SVN: r34863
2000-07-03 scott snyder <snyder@fnal.gov>
* bits/locale_facets.tcc (_M_extract): Only figure out the base
from the input if base == 0.
* testsuite/27_io/istream_extractor_arith.cc: Test reading a
number with a leading `0' in hex mode.
* shadow/bits/std_cmath.h: Fix typo in _GLIBCPP_HAVE_CEILL test.
* mkinclosure: Change `==' to `=' in test.
2000-07-03 Chip Salzenberg <chip@valinux.com>
* src/Makefile.am (libio_headers): _G_config.h is found in srcdir,
not builddir.
* src/Makefile.in: Regenerate.
From-SVN: r34860
* java/io/PrintWriter.java (print): Call write(String), not
print(String). See PR libgcj/277.
(print(String)): Use write, not out.write.
From-SVN: r34853
* config/avr/avr.c (out_adj_frame_ptr): Make "frame pointer
change too big for -mtiny-stack" a warning, if larger than 63.
(out_set_stack_ptr): Change the logic so -mno-interrupts is
always safe to use on possible future devices.
(function_prologue): Write SPH before SPL, for consistency.
If interrupt_func_p true, we know we have enabled interrupts.
(avr_num_arg_regs): New function. Round up to even number of
bytes if no -mpack-args or if calling a libgcc function.
(function_arg, function_arg_advance): Use it.
(output_movsisf, ashlsi3_out, ashrsi3_out, lshrsi3_out):
Output "movw" if available.
(out_tsthi, out_tstsi, ashlqi3_out, lshrqi3_out): Change uses
of TEST_HARD_REG_CLASS macro to test_hard_reg_class function.
(asm_output_section_name): Add blanks for consistent output.
(encode_section_info): Set TREE_READONLY for progmem data to
avoid gas warnings about changed section attributes.
(avr_hard_regno_mode_ok): Force non-QImode data to start in
even numbered registers on devices with "movw".
* config/avr/avr.h (MASK_*): Define bits for target_flags.
(TARGET_SWITCHES): Mark help strings for translation.
Add new -mpack-args and -menhanced switches.
(TARGET_OPTIONS): Mark help strings for translation.
(progmem_section): Add section attributes.
* config/avr/avr.md (*movhi, call_insn, call_value_insn):
Output "movw" if available.
(mulqi3, mulqihi3, umulqihi3, mulhi3, *tablejump_enh):
New patterns.
* config/avr/libgcc.S (_mulqi3, _divqi3): Update to the new
call convention (arguments aligned on even registers).
(_cleanup, _exit): Make weak symbols libc can override.
From-SVN: r34847
* cpplib.h (struct cpp_reader): New field include_depth.
(struct cpp_printer): Rename last_bsd to last_id.
* cppfiles.c (read_include_file): Bump include_depth.
* cpplex.c (cpp_pop_buffer): Decrement include_depth.
(output_line_command): Output correct #line if a header
is including itself and is not protected against multiple inclusion.
Use include_depth instead of buffer_stack_depth, last_id instead of
last_bsd.
* cppinit.c (cpp_start_read): Initialize last_id instead of
last_bsd.
From-SVN: r34831
* init.c (init_init_processing): Go back to aligning like
double_type_node for old ABI.
(get_cookie_size): Make cookie larger if we get a type that needs
more alignment.
(build_vec_delete): Call it.
* typeck.c (qualify_type_recursive): New fn.
(composite_pointer_type): Use it.
(build_binary_op): Use composite_pointer_type.
* typeck.c (check_return_expr): Don't complain about returning
NULL from operator new if -fcheck-new.
* cp-tree.h: Declare flag_check_new here.
* init.c: Not here.
From-SVN: r34824
* config/ia64/ia64.c (symbolic_operand): Reject CONST expressions
with the low 13 bits set.
(move_operand): Check for CONST|SYMBOL_REF|LABEL_REF directly.
* config/ia64/ia64.md (movdi): Likewise. Expand a CONST with one
of the low 13 bits into a CONST plus an adddi3.
(load_symptr): Set RTX_UNCHANGING_P.
From-SVN: r34821