OSDN Git Service

pf3gnuchains/gcc-fork.git
18 years ago * floatformat.c (floatformat_is_valid): New function.
drow [Mon, 15 Sep 2003 20:16:32 +0000 (20:16 +0000)]
* floatformat.c (floatformat_is_valid): New function.
(get_field, put_field): Correct comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71405 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * floatformat.h (floatformat_is_valid): Add prototype.
drow [Mon, 15 Sep 2003 20:16:22 +0000 (20:16 +0000)]
* floatformat.h (floatformat_is_valid): Add prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71404 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-09-15 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Mon, 15 Sep 2003 18:52:33 +0000 (18:52 +0000)]
2003-09-15  Vladimir Makarov  <vmakarov@redhat.com>

* haifa-sched.c (schedule_block): Use ready_remove_first instead
of choose_ready for non-dfa insn scheduling.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71403 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agocp:
nathan [Mon, 15 Sep 2003 14:48:29 +0000 (14:48 +0000)]
cp:
PR c++/12184
* typeck.c (convert_arguments): Return error_mark_node for an
incomplete parameter. Make error message more informative.
testsuite:
PR c++/12184
* g++.dg/expr/call2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71402 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-09-15 Andreas Jaeger <aj@suse.de>
aj [Mon, 15 Sep 2003 09:32:36 +0000 (09:32 +0000)]
2003-09-15  Andreas Jaeger  <aj@suse.de>
            Kaveh R. Ghazi <ghazi@caip.rutgers.edu>

* doc/invoke.texi (Warning Options): Describe -Wold-style-definition.
* c-opts.c (c_common_handle_option): Handle OPT_Wold_style_definition.
* c-parse.in: Warn about old-style parameter definition.
* c-common.c: Define warn_old_style_defintion.
* c-common.h: Declare it.
* c.opt: Add Wold-style-defintion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71401 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-09-15 Andreas Jaeger <aj@suse.de>
aj [Mon, 15 Sep 2003 09:31:17 +0000 (09:31 +0000)]
2003-09-15  Andreas Jaeger  <aj@suse.de>
            Kaveh R. Ghazi <ghazi@caip.rutgers.edu>

* doc/invoke.texi (Warning Options): Describe -Wold-style-definition.
* c-opts.c (c_common_handle_option): Handle OPT_Wold_style_definition.
* c-parse.in: Warn about old-style parameter definition.
* c-common.c: Define warn_old_style_defintion.
* c-common.h: Declare it.
* c.opt: Add Wold-style-defintion.

testsuite:
2003-09-15  Andreas Jaeger  <aj@suse.de>

* gcc.dg/Wold-style-definition-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71400 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/rs6000/altivec.h: Convert () prototypes to ISO C90.
aj [Mon, 15 Sep 2003 04:53:00 +0000 (04:53 +0000)]
* config/rs6000/altivec.h: Convert () prototypes to ISO C90.
* config/rs6000/rs6000.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71399 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-09-12 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
pinskia [Mon, 15 Sep 2003 01:55:53 +0000 (01:55 +0000)]
2003-09-12  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>

        PR optimization/10914
        * expr.h (get_condition, canonicalize_condition): Declaration changed.
        * cfgloopanal.c (simple_loop_exit_p): Add parameter to a get_condition
        and canonicalize_condition calls.
        * gcse.c (fis_get_condition, delete_null_pointer_checks_1,
        delete_null_pointer_checks): Ditto.
        * ifcvt.c (noce_get_alt_condition, noce_get_condition): Ditto.
        * predict.c (estimate_probability, expected_value_to_br_prob): Ditto.
        * loop.c (check_dbra_loop, get_condition_for_loop): Ditto.
        (canonicalize_condition, get_condition): Allow to return comparisons
        of cc mode registers.
        * loop-unswitch.c (may_unswitch_on_p, unswitch_single_loop): Allow
        cc mode registers comparison in condition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71398 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * coverage.c (create_coverage): Do not call pushlevel/poplevel.
mmitchel [Mon, 15 Sep 2003 00:59:28 +0000 (00:59 +0000)]
* coverage.c (create_coverage): Do not call pushlevel/poplevel.
* langhooks-def.h (lhd_do_nothing_iii_return_null_tree): New
function.
* langhooks.c (lhd_do_nothing_iii_return_null_tree): Define it.

PR c++/3907
* class.c (maybe_note_name_used_in_class): Refine test for whether
or not we are in a class scope.

* cp-tree.h (language_function): Remove x_expanding_p.
(expanding_p): Remove.
(doing_semantic_analysis_p): Remove.
(scope_kind): Add sk_function_parms, sk_class,
sk_namespace.
(innermost_scope_kind): New method.
* call.c (cxx_type_promotes_to): Use type_decays_to.
* cp-lang.c (LANG_HOOKS_PUSHLEVEL): Redefine.
(LANG_HOOKS_POPLEVEL): Likewise.
* decl.c (cp_binding_level): Remove parm_flag, template_parms_p,
template_spec_p, namespace_p, is_for_scope, is_try_scope, and
is_catch_scope.  Add kind and explicit_spec_p.
(cxx_scope_descriptor): Use a lookup table.
(find_class_binding_level): Use "kind" field in binding_level, not
the various flags.
(pop_binding_level): Likewise.
(innermost_nonclass_level): Likewise.
(toplevel_bindings_p): Likewise.
(namespace_bindings_p): Likewise.
(template_parm_scope_p): Likewise.
(innermost_scope_kind): New method.
(current_tmpl_spec_kind): Use "kind" field in binding_level, not
the various flags.
(pushlevel): Remove check for doing_semantic_analysis_p.
(begin_scope): Simplify.
(add_decl_to_level): Use "kind" field in binding_level, not
the various flags.
(push_local_binding): Likewise.
(pop_label): Remove check for doing_semantic_analysis_p.
(poplevel): Use "kind" field in binding_level, not
the various flags.
(set_block): Remove check for doing_semantic_analysis_p.
(pushlevel_class): Use "kind" field in binding_level, not
the various flags.
(poplevel_class): Likewise.
(initial_push_namespace_scope): Likewise.
(maybe_push_to_top_level): Likewise.
(set_identifier_type_value_with_scope): Likewise.
(pop_everything): Likewise.
(maybe_process_template_type_declaration): Likewise.
(pushtag): Likewise.
(pushdecl): Likewise.
(pushdecl_with_scope): Likewise.
(check_previous_goto_1): Likewise.
(define_label): Likewise.
(finish_case_label): Likewise.
(lookup_tag): Likewise.
(unqualified_namespace_lookup): Likewise.
(lookup_name_real): Likewise.
(lookup_name_current_level): Likewise.
(lookup_type_current_level): Likewise.
(record_builtin_type): Likewise.
(cp_make_fname_decl): Likewise.
(maybe_inject_for_scope_var): Likewise.
(cp_finish_decl): Remove check for doing_semantic_analysis_p.
(start_function): Use begin_scope, not pushlevel.
(finish_function): Use "kind" field in binding_level, not
the various flags.
(start_method): Use begin_scope, not pushlevel.
(make_label_decl): Do not check expanding_p.
(save_function-data): Do not set expanding_p.
(cxx_push_function_context): Do not clear expanding_p.
* semantics.c (cxx_expand_function_start): Do not set expanding_p.

PR c++/3907
* g++.dg/parse/template12.C: New test.

* g++.dg/abi/bitfield11.C: New test.
* g++.dg/abi/bitfield12.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71393 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * class.c (layout_class_type): Make DECL_MODE match TYPE_MODE for
mmitchel [Mon, 15 Sep 2003 00:27:16 +0000 (00:27 +0000)]
* class.c (layout_class_type): Make DECL_MODE match TYPE_MODE for
an bit-field whose width exceeds that of its type.

* g++.dg/abi/bitfield11.C: New test.
* g++.dg/abi/bitfield12.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71392 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Mon, 15 Sep 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71390 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * class.c (layout_class_type): Make DECL_MODE match TYPE_MODE for
mmitchel [Sun, 14 Sep 2003 23:50:49 +0000 (23:50 +0000)]
* class.c (layout_class_type): Make DECL_MODE match TYPE_MODE for
an bit-field whose width exceeds that of its type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71388 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * rtti.c (get_tinfo_decl): Set TREE_PUBLIC for typeinfo decls.
geoffk [Sun, 14 Sep 2003 20:24:00 +0000 (20:24 +0000)]
* rtti.c (get_tinfo_decl): Set TREE_PUBLIC for typeinfo decls.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71387 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * combine.c (simplify_comparison): Convert
kazu [Sun, 14 Sep 2003 18:31:13 +0000 (18:31 +0000)]
* combine.c (simplify_comparison): Convert
(ne (and (lshiftrt (xor X CST) Y) 1) 0) into
(eq (and (lshiftrt X Y) 1) 0).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71385 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * alias.c: Follow spelling conventions.
kazu [Sun, 14 Sep 2003 14:49:08 +0000 (14:49 +0000)]
* alias.c: Follow spelling conventions.
* cpphash.h: Likewise.
* fold-const.c: Likewise.
* cp/ChangeLog: Likewise.
* cp/parser.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71382 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* c-ppoutput.c (cb_line_change): Revert 2003-08-04's change.
aoliva [Sun, 14 Sep 2003 13:56:18 +0000 (13:56 +0000)]
* c-ppoutput.c (cb_line_change): Revert 2003-08-04's change.
* c-lex.c (cb_line_change): Skip line changing whenever
c-ppoutput.c would.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71381 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* gcc.dg/cpp/separate-1.c: Adjust line of error. Test for correct
aoliva [Sun, 14 Sep 2003 13:52:56 +0000 (13:52 +0000)]
* gcc.dg/cpp/separate-1.c: Adjust line of error.  Test for correct
non-expansion of functional macro name without arguments at EOL.
* gcc.dg/cpp/spacing1.c: Revert 2003-08-04's change.  Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71380 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-09-14 Steven Bosscher <steven@gcc.gnu.org>
steven [Sun, 14 Sep 2003 13:42:33 +0000 (13:42 +0000)]
2003-09-14  Steven Bosscher  <steven@gcc.gnu.org>

* ra.c: Convert to ISO C90 prototypes.
* ra-build.c: Likewise.
* ra-colorize.c: Likewise.
* ra-debug.c: Likewise.
* ra-rewrite.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71379 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * Makefile.in (%.dvi): Remove excess $(docdir).
rsandifo [Sun, 14 Sep 2003 10:28:21 +0000 (10:28 +0000)]
* Makefile.in (%.dvi): Remove excess $(docdir).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71373 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * function.c (STACK_BYTES): Move definition to head of file.
rsandifo [Sun, 14 Sep 2003 10:07:51 +0000 (10:07 +0000)]
* function.c (STACK_BYTES): Move definition to head of file.
(assign_parms): Don't pass current_function_pretend_args_size
directly to SETUP_INCOMING_VARARGS.  For partial register arguments,
round current_function_pretend_args_size up to STACK_BYTES.  Skip any
excess before laying out the argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71372 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * objc/objc-act.c: Convert to ISO C90 prototypes.
aj [Sun, 14 Sep 2003 09:42:57 +0000 (09:42 +0000)]
* objc/objc-act.c: Convert to ISO C90 prototypes.
* objc/objc-act.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71371 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-09-14 Olaf Hering <olh@suse.de>
aj [Sun, 14 Sep 2003 06:23:15 +0000 (06:23 +0000)]
2003-09-14  Olaf Hering  <olh@suse.de>

* config/rs6000/rs6000.c: Fix typo: Remove extra ')'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71370 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-09-13 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Sun, 14 Sep 2003 04:43:10 +0000 (04:43 +0000)]
2003-09-13  Andrew Pinski <pinskia@physics.uc.edu>

        PR target/12021
        * config/m68k/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Remove the asserts
        as they already are done in config/m68k/m68k.h.
        * config/m68k/netbsd.h (TARGET_OS_CPP_BUILTINS): Likewise

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71369 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-09-13 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Sun, 14 Sep 2003 01:14:18 +0000 (01:14 +0000)]
2003-09-13  Andrew Pinski <pinskia@physics.uc.edu>

        * config/rs6000/rs6000.c (GEN_LOCAL_LABEL_FOR_SYMBOL): Remove.
        (machopic_output_stub): Only generate pic base symbols when using pic
        and generate them in the form L00000000$spb.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71368 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Sun, 14 Sep 2003 00:16:09 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71366 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoCorrect Dale's email address in ChangeLog entry.
dje [Sat, 13 Sep 2003 23:18:35 +0000 (23:18 +0000)]
Correct Dale's email address in ChangeLog entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71364 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-09-13 Phil Edwards <phil@codesourcery.com>
pme [Sat, 13 Sep 2003 20:58:27 +0000 (20:58 +0000)]
2003-09-13  Phil Edwards  <phil@codesourcery.com>

* docs/doxygen/run_doxygen:  Clear GENERATE_TAGFILE entirely
if man pages are on.
* docs/doxygen/user.cfg.in:  And here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71363 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * cgraphunit.c (cgraph_assemble_pending_functions): Export.
rth [Sat, 13 Sep 2003 14:18:47 +0000 (14:18 +0000)]
    * cgraphunit.c (cgraph_assemble_pending_functions): Export.
        (cgraph_finalize_function): Revert TREE_ASM_WRITTEN check.
        * cgraph.h: Update.

        * decl2.c (finish_file): Check cgraph_assemble_pending_functions
        during relaxation loop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71360 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoFix still another typo.
dalej [Sat, 13 Sep 2003 00:24:01 +0000 (00:24 +0000)]
Fix still another typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71352 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoFix typos in previous.
dalej [Sat, 13 Sep 2003 00:21:32 +0000 (00:21 +0000)]
Fix typos in previous.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71351 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Sat, 13 Sep 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71349 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-09-12 Ziemowit Laski <zlaski@apple.com>
zlaski [Fri, 12 Sep 2003 23:47:01 +0000 (23:47 +0000)]
2003-09-12  Ziemowit Laski  <zlaski@apple.com>

        * pretty-print.c (pp_construct): Use xcalloc instead of xmalloc
        when allocating pp->buffer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71346 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/darwin.c (machopic_select_rtx_section): Use
geoffk [Fri, 12 Sep 2003 23:45:03 +0000 (23:45 +0000)]
* config/darwin.c (machopic_select_rtx_section): Use
const_data_section for things that might require relocation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71345 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR bootstrap/12264
steven [Fri, 12 Sep 2003 22:26:54 +0000 (22:26 +0000)]
    PR bootstrap/12264
        * tree-inline.c (inline_forbidden_p_1): Cast the 3rd arg to tree.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71343 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/xtensa/elf.h (ASM_SPEC): Remove no-density option. Reformat.
bwilson [Fri, 12 Sep 2003 21:52:01 +0000 (21:52 +0000)]
* config/xtensa/elf.h (ASM_SPEC): Remove no-density option.  Reformat.
* config/xtensa/linux.h (ASM_SPEC): Likewise.
* config/xtensa/xtensa.h (TARGET_SWITCHES): Remove -mbig-endian,
-mlittle-endian, -m[no-]density, -m[no-]abs, -m[no-]addx, -m[no-]mac16,
-m[no-]mul16, -m[no-]mul32, -m[no-]nsa, -m[no-]minmax, -m[no-]sext,
-m[no-]booleans, -mhard-float, -msoft-float, -m[no-]hard-float-div,
-m[no-]hard-float-recip, -m[no-]hard-float-sqrt, and
-m[no-]hard-float-rsqrt options.  Delete corresponding MASK_* macros
and redefine corresponding TARGET_* macros with constants from the
xtensa-config.h header.
* doc/invoke.texi (Option Summary, Xtensa Options): Remove documention
for the options listed above.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71339 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoUse ISO C90 prototypes.
dalej [Fri, 12 Sep 2003 19:00:45 +0000 (19:00 +0000)]
Use ISO C90 prototypes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71336 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * loop.c: Move comments describing BIV's and GIV's to top of file
gerald [Fri, 12 Sep 2003 15:52:24 +0000 (15:52 +0000)]
* loop.c: Move comments describing BIV's and GIV's to top of file

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71333 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR optimization/8967
sayle [Fri, 12 Sep 2003 15:07:50 +0000 (15:07 +0000)]
PR optimization/8967
* alias.c (write_dependence_p): Modify to take an additional constp
argument that controls whether the UNCHANGING_RTX_P flags are used.
(anti_dependence, output_dependence): Adjust write_dependence_p
callers to pass this additional argument, to return the same result.
(unchanging_anti_dependence): New variant of anti_dependence that
ignores the UNCHANGING_RTX_P property on memory references.
* rtl.h (unchaning_anti_dependence): Prototype here.
* flow.c (init_propagate_block): Place fake constant mem writes on
the mem_set_list so that dead writes to const variables are deleted.
(insn_dead_p): Change anti_dependence to unchanging_anti_dependence.
(mark_used_regs): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71332 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/mcore/mcore-protos.h (mcore_r15_operand_p): Declare.
rsandifo [Fri, 12 Sep 2003 09:57:11 +0000 (09:57 +0000)]
* config/mcore/mcore-protos.h (mcore_r15_operand_p): Declare.
(mcore_secondary_reload_class): Declare.
(mcore_output_inline_const_forced): Remove.
* config/mcore/mcore.md (movsi): Remove the code that forced
non-inlineable constants into a register if the target was r15
or the stack pointer.  Remove constant restrictions from the main
define_insn.  Remove r <- I, r <- M and r <- N alternatives in favor
of an r <- P alternative.  Remove fallback define_insn for reload.
(movhi, movqi): Use gen_lowpart rather than gen_SUBREG.  Remove reload
define_insn.  Use mcore_output_move in the remaining define_insn.
Adjust condition and constraints in the way as for movsi.
(movdi): Always split unacceptable constants into two.  Use
simplify_gen_subreg instead of operand_subword{,_force}.
* config/mcore/mcore.c (mcore_output_inline_const_forced): Remove.
(mcore_output_move): Support HImode and QImode moves as well.
(mcore_m15_operand_p): New function.
(mcore_reload_class): Use it to detect cases where LRW_REGS are better.
(mcore_secondary_reload_class): New function.
* config/mcore/mcore.h (SECONDARY_RELOAD_CLASS): Redefine in
terms of mcore_secondary_reload_class.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71330 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * c-lex.c (fe_file_change): Don't transform to_line with SOURCE_LINE.
bothner [Fri, 12 Sep 2003 05:03:22 +0000 (05:03 +0000)]
* c-lex.c (fe_file_change): Don't transform to_line with SOURCE_LINE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71328 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * java/net/URLStreamHandler.java (parseURL): If original file
tromey [Fri, 12 Sep 2003 01:08:18 +0000 (01:08 +0000)]
* java/net/URLStreamHandler.java (parseURL): If original file
ends with "/", so must canonical result.
* java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
with nul-termination and finding previous "/".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71327 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Fri, 12 Sep 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71325 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * src/prep_cif.c (initialize_aggregate): Include tail padding in
amodra [Thu, 11 Sep 2003 23:54:40 +0000 (23:54 +0000)]
* src/prep_cif.c (initialize_aggregate): Include tail padding in
structure size.
* src/powerpc/linux64_closure.S (ffi_closure_LINUX64): Correct
placement of float result.
* testsuite/libffi.special/unwindtest.cc (closure_test_fn1): Correct
cast of "resp" for big-endian 64 bit machines.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71323 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * builtins.c (fold_builtin_logarithm): if N can't be truncated to
ghazi [Thu, 11 Sep 2003 22:51:20 +0000 (22:51 +0000)]
* builtins.c (fold_builtin_logarithm): if N can't be truncated to
MODE exactly, then only convert logN(N) -> 1.0 if
flag_unsafe_math_optimizations is set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71322 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * builtins.c (builtin_dconsts_init, dconstpi, dconste,
ghazi [Thu, 11 Sep 2003 21:40:41 +0000 (21:40 +0000)]
* builtins.c (builtin_dconsts_init, dconstpi, dconste,
init_builtin_dconsts): Delete.
* emit-rtl.c (dconstpi, dconste): Define.
(init_emit_once): Initialize dconstpi & dconste.
* real.h (dconstpi, dconste): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71320 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * decl2.c (var_finalized_p): Swap arms of conditional.
dje [Thu, 11 Sep 2003 20:47:13 +0000 (20:47 +0000)]
    * decl2.c (var_finalized_p): Swap arms of conditional.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71319 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoCapitalize my name in an old ChangeLog entry.
bernie [Thu, 11 Sep 2003 19:49:02 +0000 (19:49 +0000)]
Capitalize my name in an old ChangeLog entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71310 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-09-11 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 11 Sep 2003 17:25:47 +0000 (17:25 +0000)]
2003-09-11  Michael Koch  <konqueror@gmx.de>

* acconfig.h: Removed most items.
* configure.in: Added descriptions to AC_DEFINE macros that where in
acconfig.h before.
* include/config.h.in: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71309 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-09-11 Sascha Brawer <brawer@dandelis.ch>
tromey [Thu, 11 Sep 2003 16:45:10 +0000 (16:45 +0000)]
2003-09-11  Sascha Brawer  <brawer@dandelis.ch>

* java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
if one is installed. Improve Javadoc.
(getSystemEventQueueImpl): Improve Javadoc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71308 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
tromey [Thu, 11 Sep 2003 16:44:39 +0000 (16:44 +0000)]
* java/io/natFilePosix.cc (getCanonicalPath): Handle case where
file does not exist.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71307 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agocp:
nathan [Thu, 11 Sep 2003 15:18:52 +0000 (15:18 +0000)]
cp:
PR c++/11788
* typeck.c (build_address): If it is a function, mark it used.
(build_unary_op): Do not lose object's side-effects when taking
address of static member function.
* class.c (resolve_address_of_overloaded_function): Use
tsubst_flags_t parameter. Only expect overload sets. Adjust.
(instantiate_type): Adjust flags passing. Do not lose object's
side-effects when taking address of static member function.
testsuite:
PR c++/11788
* g++.dg/overload/addr1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71304 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoPR fortran/11522
aoliva [Thu, 11 Sep 2003 13:41:56 +0000 (13:41 +0000)]
PR fortran/11522
* dwarf2out.c (gen_inlined_subroutine_die): Emit abstract function
for ultimate origin even if block is abstract.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71301 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * combine.c (combine_simplify_rtx): Move several NOT and NEG
sayle [Thu, 11 Sep 2003 13:01:32 +0000 (13:01 +0000)]
* combine.c (combine_simplify_rtx): Move several NOT and NEG
optimizations from here...
* simplify-rtx.c (simplify_unary_operation): to here.  Recursively
simplify expressions using simplify_gen_*ary instead of gen_rtx_*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71300 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoFix mingw32 builds.
green [Thu, 11 Sep 2003 12:30:05 +0000 (12:30 +0000)]
Fix mingw32 builds.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71299 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * cgraphunit.c (cgraph_finalize_function): Add nested arg.
rth [Thu, 11 Sep 2003 07:14:12 +0000 (07:14 +0000)]
    * cgraphunit.c (cgraph_finalize_function): Add nested arg.
        Tweek tests for function already generated.
        (cgraph_expand_function): Don't double announce in !unit-at-a-time.
        * cgraph.h (cgraph_finalize_function): Update for extra arg.
        * c-decl.c (finish_function): Likewise.

        * semantics.c (expand_or_defer_fn): Update for new
        cgraph_finalize_function argument.

        * parse.y (source_end_java_method): Update for new
        cgraph_finalize_function argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71298 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* c-decl.c (poplevel): Eliminate use of |= in function_body assignment.
wilson [Thu, 11 Sep 2003 06:45:20 +0000 (06:45 +0000)]
* c-decl.c (poplevel): Eliminate use of |= in function_body assignment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71297 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * decl2.c (cxx_callgraph_analyze_expr): Mark argument unused.
rth [Thu, 11 Sep 2003 05:55:16 +0000 (05:55 +0000)]
    * decl2.c (cxx_callgraph_analyze_expr): Mark argument unused.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71296 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * src/types.c (double, longdouble): Merge identical SH and ARM
amodra [Thu, 11 Sep 2003 05:17:57 +0000 (05:17 +0000)]
* src/types.c (double, longdouble): Merge identical SH and ARM
typedefs, and add POWERPC64.
* src/powerpc/ffi.c (ffi_prep_args64): Correct next_arg calc for
struct split over gpr and rest.
(ffi_prep_cif_machdep): Correct intarg_count for structures.
* src/powerpc/linux64.S (ffi_call_LINUX64): Fix gpr offsets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71295 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* real.c: Update URL to VAX floating point docs.
wilson [Thu, 11 Sep 2003 05:08:22 +0000 (05:08 +0000)]
* real.c: Update URL to VAX floating point docs.
(decode_vax_d): Extract 8 exponent bits instead of 7.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71294 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * gcc.dg/20030909-1.c: New test.
ian [Thu, 11 Sep 2003 04:45:11 +0000 (04:45 +0000)]
* gcc.dg/20030909-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71293 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * combine.c (force_to_mode): Set fuller_mask based only on mask,
ian [Thu, 11 Sep 2003 04:44:23 +0000 (04:44 +0000)]
* combine.c (force_to_mode): Set fuller_mask based only on mask,
not op_mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71292 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR libstdc++/12189
drow [Thu, 11 Sep 2003 03:11:31 +0000 (03:11 +0000)]
PR libstdc++/12189
* acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build
abi_check if cross compiling.
* aclocal.m4: Regenerated.
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71291 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Thu, 11 Sep 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71287 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * decl2.c (var_finalized_p): New.
hubicka [Wed, 10 Sep 2003 23:46:26 +0000 (23:46 +0000)]
* decl2.c (var_finalized_p): New.
(maybe_emit_vtables, write_out_vars, finish_file): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71284 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * c-objc-common.c (c_cannot_inline_tree_fn): Warn
hubicka [Wed, 10 Sep 2003 23:45:05 +0000 (23:45 +0000)]
* c-objc-common.c (c_cannot_inline_tree_fn): Warn
on why function is not inlinable; do not check
the body.
(inline_forbidden_p): Move to...
* tree-inline.c (inline_forbidden_p_1): ... here; Add warnings;
deal with alloca, longjmp.
(inline_forbidden_p): New static function.
(find_alloca_call_1, find_alloca_call, find_builtin_longjmp_call_1,
find_builtin_longjmp_call): Kill.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71283 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * cgraph.h (struct cgraph_node): Rename lowered to analyzed.
rth [Wed, 10 Sep 2003 19:16:20 +0000 (19:16 +0000)]
    * cgraph.h (struct cgraph_node): Rename lowered to analyzed.
        * cgraphunit.c: Update to match.
        (record_call_1): Rearrange.  Call lang hook for language nodes.
        (cgraph_analyze_function): Don't call lower_function.
        * langhooks.h (struct lang_hooks_for_callgraph): Replace
        lower_function with analyze_expr.
        * langhooks-def.h: Update to match.
        * langhooks.c (lhd_callgraph_analyze_expr): New.

        * decl2.c (cxx_callgraph_analyze_expr): New, from corpse of
        mark_member_pointers.
        (lower_function): Remove.
        * cp-tree.h: Update to match.
        * cp-lang.c (LANG_HOOKS_CALLGRAPH_ANALYZE_EXPR): New.
        (LANG_HOOKS_CALLGRAPH_LOWER_FUNCTION): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71277 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-09-10 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 10 Sep 2003 18:50:47 +0000 (18:50 +0000)]
2003-09-10  Michael Koch  <konqueror@gmx.de>

* acconfig.h (__NO_MATH_INLINES): Removed.
* configure.in: Removed check for g++ math inlining bug from 2000.
* configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
libgcj_cxxflags.
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71276 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-09-10 David Daney <ddaney@avtrex.com>
tromey [Wed, 10 Sep 2003 18:11:05 +0000 (18:11 +0000)]
2003-09-10  David Daney <ddaney@avtrex.com>

* java/util/Arrays.java (equals(all variants)): Quit using
NullPointerException catching to detect null valued parameters.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71275 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-09-10 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 10 Sep 2003 17:39:20 +0000 (17:39 +0000)]
2003-09-10  Michael Koch  <konqueror@gmx.de>

* java/net/DatagramSocket.java,
java/net/MulticastSocket.java,
java/net/ServerSocket.java,
java/net/Socket.java:
Use gnu.java.net.Plain*SocketImpl instead of
java.net.PlainSocketImpl.
* java/net/PlainDatagramSocketImpl.java,
java/net/PlainSocketImpl.java,
java/net/SocketInputStream.java,
java/net/SocketOutputStream.java,
java/net/natPlainDatagramSocketImplNoNet.cc,
java/net/natPlainDatagramSocketImplPosix.cc,
java/net/natPlainDatagramSocketImplWin32.cc,
java/net/natPlainSocketImplNoNet.cc,
java/net/natPlainSocketImplPosix.cc,
java/net/natPlainSocketImplWin32.cc:
Removed.
* gnu/java/net/PlainDatagramSocketImpl.java,
gnu/java/net/PlainSocketImpl.java,
gnu/java/net/SocketInputStream.java,
gnu/java/net/SocketOutputStream.java,
gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
gnu/java/net/natPlainDatagramSocketImplPosix.cc,
gnu/java/net/natPlainDatagramSocketImplWin32.cc,
gnu/java/net/natPlainSocketImplNoNet.cc,
gnu/java/net/natPlainSocketImplPosix.cc,
gnu/java/net/natPlainSocketImplWin32.cc:
New files (moved from java/net).
* configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
instead of java/net/natPlain*SocketImpl.cc.
* configure: Regenerated.
* Makefile.am: Moved files from java/net to gnu/java/net.
* Makefile.in: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71274 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-09-10 Jeffrey D. Oldham <oldham@codesourcery.com>
oldham [Wed, 10 Sep 2003 15:41:48 +0000 (15:41 +0000)]
2003-09-10  Jeffrey D. Oldham  <oldham@codesourcery.com>

* libsupc++/vec.cc (__cxa_vec_new2): If the allocator returns
NULL, return NULL.  This reflects a C++ ABI change 2003 Sep 05.
(__cxa_vec_new3): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71273 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-09-10 Petur Runolfsson <peturr02@ru.is>
bkoz [Wed, 10 Sep 2003 13:43:15 +0000 (13:43 +0000)]
2003-09-10  Petur Runolfsson  <peturr02@ru.is>

* include/bits/fstream.tcc (basic_filebuf::seekoff):
Use codecvt::length to handle variable-width stateless encodings
correctly.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: New test.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71271 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR target/11965
ebotcazou [Wed, 10 Sep 2003 12:59:36 +0000 (12:59 +0000)]
PR target/11965
* config/sparc/sparc.c (sparc_v8plus_shift): Protect against
constants greater than 63.
* config/sparc/sparc.md (ashlsi3, ashrsi3, lshrsi3): Protect
against constants greater than 31.
(*ashldi3_sp64, *ashrdi3_sp64, *lshrdi3_sp64): Protect against
constants greater than 63.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71266 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/io/basic_file_stdio.cc (_M_open_mode): Assign __p_mode
amodra [Wed, 10 Sep 2003 12:02:51 +0000 (12:02 +0000)]
* config/io/basic_file_stdio.cc (_M_open_mode): Assign __p_mode
rather than or'ing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71265 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * cgraphunit.c (cgraph_finalize_function): Remove unused argument.
rth [Wed, 10 Sep 2003 03:06:32 +0000 (03:06 +0000)]
    * cgraphunit.c (cgraph_finalize_function): Remove unused argument.
        * cgraph.h (cgraph_finalize_function): Update.
        * c-decl.c (finish_function): Update.
cp/
        * semantics.c (expand_or_defer_fn): Update call to
        cgraph_finalize_function.
java/
        * parse.y (source_end_java_method): Update call to
        cgraph_finalize_function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71263 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * semantics.c (expand_or_defer_fn): Use cgraph_finalize_function
rth [Wed, 10 Sep 2003 02:46:35 +0000 (02:46 +0000)]
    * semantics.c (expand_or_defer_fn): Use cgraph_finalize_function
        always.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71262 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * decl2.c (finish_file): Avoid out-of-bounds array reference
rth [Wed, 10 Sep 2003 02:41:43 +0000 (02:41 +0000)]
    * decl2.c (finish_file): Avoid out-of-bounds array reference
        during memmove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71261 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agogcc
dpatel [Wed, 10 Sep 2003 00:43:38 +0000 (00:43 +0000)]
gcc
        * config/darwin.h (LINK_SPEC): Pass -nofixprebinding to linker.
        * doc/invoke.texi: Document new Darwin linker option -nofixprebinding.
testsuite
        * gcc.dg/darwin-ld-6.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71259 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Wed, 10 Sep 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71257 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-09-09 Eric Christopher <echristo@redhat.com>
echristo [Wed, 10 Sep 2003 00:13:11 +0000 (00:13 +0000)]
2003-09-09  Eric Christopher  <echristo@redhat.com>

* configure.in: Change usage of 'head' to 'sed 1q'.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71255 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * except.c: Include cgraph.h.
rth [Wed, 10 Sep 2003 00:09:09 +0000 (00:09 +0000)]
    * except.c: Include cgraph.h.
        (output_function_exception_table): Invoke
        cgraph_varpool_mark_needed_node.
        * Makefile.in (except.o): Update.

        * decl2.c (mark_member_pointers): Rename from
        mark_member_pointers_and_eh_handlers and don't check eh handlers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71254 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* Makefile.in: Define REMAKEFLAGS for LANGUAGES & BOOT_CFLAGS
kcook [Tue, 9 Sep 2003 22:19:56 +0000 (22:19 +0000)]
* Makefile.in: Define REMAKEFLAGS for LANGUAGES & BOOT_CFLAGS
and use it throughout.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71253 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * builtins.c (real_dconstp, fold_builtin_logarithm,
ghazi [Tue, 9 Sep 2003 22:10:32 +0000 (22:10 +0000)]
* builtins.c (real_dconstp, fold_builtin_logarithm,
fold_builtin_exponent): New, split out from fold_builtin.  Also
generalize to add log2, log10, exp2 and exp10/pow10 equivalents.
* emit-rtl.c (dconst3, dconst10, dconstthird): New.
(init_emit_once): Initialize new dconsts, use ARRAY_SIZE in lieu
of hardcoded array size.
* fold-const.c (fold): Add cases for exp2, exp10 and pow10.
(tree_expr_nonnegative_p): Likewise.
* real.h (dconst3, dconst10, dconstthird): New.

testsuite:
* gcc.dg/torture/builtin-explog-1.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71252 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * MAINTAINERS: Update my e-mail address.
ian [Tue, 9 Sep 2003 20:30:34 +0000 (20:30 +0000)]
* MAINTAINERS: Update my e-mail address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71246 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * cgraphunit.c (cgraph_finalize_function): Fix handling of extern
hubicka [Tue, 9 Sep 2003 20:27:52 +0000 (20:27 +0000)]
* cgraphunit.c (cgraph_finalize_function): Fix handling of extern
inline functions.
(cgraph_finalize_compilation_unit): Fix crash when dealing with lost
DECL_SAVED_TREE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71245 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * builtins.c (fold_builtin_cabs): Protect the complex argument
sayle [Tue, 9 Sep 2003 19:20:42 +0000 (19:20 +0000)]
* builtins.c (fold_builtin_cabs): Protect the complex argument
against multiple evaluation when optimizing cabs* into sqrt*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71242 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-09-09 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Tue, 9 Sep 2003 17:37:53 +0000 (17:37 +0000)]
2003-09-09  Andreas Tobler  <a.tobler@schweiz.ch>

* src/powerpc/ffi.c (ffi_closure_helper_SYSV) Handle struct
passing correctly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71238 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * varasm.c (notice_global_symbol): Properly deal with weak symbols.
hubicka [Tue, 9 Sep 2003 13:37:17 +0000 (13:37 +0000)]
* varasm.c (notice_global_symbol):  Properly deal with weak symbols.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71236 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoRevert change from yesterday due to parallel make issues.
kcook [Tue, 9 Sep 2003 11:44:03 +0000 (11:44 +0000)]
Revert change from yesterday due to parallel make issues.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71235 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR bootstrap/12168
ebotcazou [Tue, 9 Sep 2003 08:47:35 +0000 (08:47 +0000)]
PR bootstrap/12168
* method.c (use_thunk): Clear DECL_RTL of copied nodes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71234 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/m68k/coff.h (REGISTER_NAMES): Add fake register `argptr'
bernie [Tue, 9 Sep 2003 06:47:19 +0000 (06:47 +0000)]
* config/m68k/coff.h (REGISTER_NAMES): Add fake register `argptr'
* config/m68k/hp320.h (REGISTER_NAMES): Likewise.
* config/m68k/linux.h (REGISTER_NAMES): Likewise.
* config/m68k/m68kelf.h (REGISTER_NAMES): Likewise.
* gcc/config/m68k/sgs.h (REGISTER_NAMES): Likewise.
* config/m68k/m68k-protos.h (m68k_initial_elimination_offset): Add prototype.
* config/m68k/m68k.c (m68k_frame): New struct, simular to ix86 back-end.
(m68k_compute_frame_layout): New function.
(m68k_initial_elimination_offset): New function.
(m68k_output_function_prologue): ColdFire-specific movem handling.
(m68k_output_function_epilogue): Likewise.
* config/m68k/m68k.h (FIRST_PSEOUDO_REGISTER): Make room for argptr reg.
(ARG_POINTER_REGNUM): Add new definition.
(INITIAL_FRAME_POINTER_OFFSET): Remove macro.
(ELIMINABLE_REGS): Define new macro, like in ix86 back-end.
(CAN_ELIMINATE): Likewise.
(INITIAL_ELIMINATION_OFFSET): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71231 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/m68k/m68k.c (m68k_output_function_prologue): Simplify
bernie [Tue, 9 Sep 2003 06:40:46 +0000 (06:40 +0000)]
* config/m68k/m68k.c (m68k_output_function_prologue): Simplify
by removing redundant variable cfa_store_offset.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71230 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * libtool.m4 (LD): Correct powerpc64 host match.
amodra [Tue, 9 Sep 2003 06:24:39 +0000 (06:24 +0000)]
* libtool.m4 (LD): Correct powerpc64 host match.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71229 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoFix thinko in last patch.
mmitchel [Tue, 9 Sep 2003 03:51:56 +0000 (03:51 +0000)]
Fix thinko in last patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71228 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * langhooks-def.h (lhd_register_builtin_type): New function.
mmitchel [Tue, 9 Sep 2003 03:35:31 +0000 (03:35 +0000)]
* langhooks-def.h (lhd_register_builtin_type): New function.
(LANG_HOOKS_REGISTER_BUILTIN_TYPE): New macro.
(LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
* langhooks.h (lang_hooks_for_types): Add register_builtin_type.
* langhooks.c (lhd_register_builtin_type): New function.
* c-common.h (c_register_builtin_type): Declare.
* c-common.c (c_register_builtin_type): New function.
* c-lang.c (LANG_HOOKS_REGISTER_BUILTIN_TYPE): Define to
c_register_builtin_type.
* config/ia64/hpux.h (TARGET_OS_CPP_BUILTINS): Remove __fpreg,
__float80, and __float128 macros.
* config/ia64/ia64.c (ia64_init_builtins): Create __fpreg,
__float80, and __float128 types.

* cp-lang.c (LANG_HOOKS_REGISTER_BUILTIN_TYPE): Define to
c_register_builtin_type.

* gcc.dg/ia64-types1.c: New test.
* gcc.dg/ia64-types2.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71227 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * builtin-types.def
ghazi [Tue, 9 Sep 2003 03:29:18 +0000 (03:29 +0000)]
* builtin-types.def
(BT_FN_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE,
BT_FN_COMPLEX_DOUBLE_COMPLEX_DOUBLE_COMPLEX_DOUBLE,
BT_FN_COMPLEX_FLOAT_COMPLEX_FLOAT_COMPLEX_FLOAT): New.
* builtins.def (BUILT_IN_CACOS, BUILT_IN_CACOSF, BUILT_IN_CACOSH,
BUILT_IN_CACOSHF, BUILT_IN_CACOSHL, BUILT_IN_CACOSL,
BUILT_IN_CARG, BUILT_IN_CARGF, BUILT_IN_CARGL, BUILT_IN_CASIN,
BUILT_IN_CASINF, BUILT_IN_CASINH, BUILT_IN_CASINHF,
BUILT_IN_CASINHL, BUILT_IN_CASINL, BUILT_IN_CATAN,
BUILT_IN_CATANF, BUILT_IN_CATANH, BUILT_IN_CATANHF,
BUILT_IN_CATANHL, BUILT_IN_CATANL, BUILT_IN_CCOS, BUILT_IN_CCOSF,
BUILT_IN_CCOSH, BUILT_IN_CCOSHF, BUILT_IN_CCOSHL, BUILT_IN_CCOSL,
BUILT_IN_CEXP, BUILT_IN_CEXPF, BUILT_IN_CEXPL, BUILT_IN_CPOW,
BUILT_IN_CPOWF, BUILT_IN_CPOWL, BUILT_IN_CPROJ, BUILT_IN_CPROJF,
BUILT_IN_CPROJL, BUILT_IN_CSIN, BUILT_IN_CSINF, BUILT_IN_CSINH,
BUILT_IN_CSINHF, BUILT_IN_CSINHL, BUILT_IN_CSINL, BUILT_IN_CSQRT,
BUILT_IN_CSQRTF, BUILT_IN_CSQRTL, BUILT_IN_CTAN, BUILT_IN_CTANF,
BUILT_IN_CTANH, BUILT_IN_CTANHF, BUILT_IN_CTANHL, BUILT_IN_CTANL):
New.
* doc/extend.texi: Document new builtins.

testsuite:
* gcc.dg/builtins-1.c: Add more _Complex tests.
* gcc.dg/torture/builtin-attr-1.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71226 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * gcc.dg/builtins-1.c: Test existing _Complex functions.
ghazi [Tue, 9 Sep 2003 03:13:45 +0000 (03:13 +0000)]
* gcc.dg/builtins-1.c: Test existing _Complex functions.
* gcc.dg/torture/builtin-attr-1.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71225 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * src/ios.cc (ios_base::Init::Init): Remove unnecessary
dje [Tue, 9 Sep 2003 01:08:48 +0000 (01:08 +0000)]
    * src/ios.cc (ios_base::Init::Init): Remove unnecessary
        qualifier from _S_synced_with_stdio.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71224 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * cgraph.c (cgraph_varpool_finalize_decl): Sanity check duplicated
hubicka [Tue, 9 Sep 2003 00:31:39 +0000 (00:31 +0000)]
* cgraph.c (cgraph_varpool_finalize_decl): Sanity check duplicated
finalization.
* cgraphunit.c (decide_is_fnction_needed): Avoid special case of nested
functions, check for COMDAT.
(cgraph_assemble_pending_functions): Break out from...
(cgraph_finalize_function): ... here; allow redefinig of extern inline
functions.
(record_call_1): Record function references only in non-unit-at-a-time
mode.
(cgraph_analyze_function): Reset current_function_decl.
(cgraph_finalize_compilation_unit):  Assemble pending functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71221 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Tue, 9 Sep 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71219 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * mklibgcc.in (libcc.a): Depend on stmp-dirs.
mmitchel [Mon, 8 Sep 2003 23:48:58 +0000 (23:48 +0000)]
* mklibgcc.in (libcc.a): Depend on stmp-dirs.
(libgov.a): Likewise.
(libgcc_eh.a): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71217 138bc75d-0d04-0410-961f-82ee72b054a4