platform/upstream/linaro-gcc.git
21 years ago * ggc-page.c (ggc_collect): Avoid overflow computing
geoffk [Fri, 10 Jan 2003 22:32:00 +0000 (22:32 +0000)]
* ggc-page.c (ggc_collect): Avoid overflow computing
min_expand.

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

21 years ago * Makefile.in (RANLIB_FOR_TARGET): Use RANLIB when native.
geoffk [Fri, 10 Jan 2003 22:13:05 +0000 (22:13 +0000)]
* Makefile.in (RANLIB_FOR_TARGET): Use RANLIB when native.
(RANLIB_TEST_FOR_TARGET): Delete.  Don't pass down to sub-makes.
Remove calls.
* mklibgcc.in: Remove uses of RANLIB_TEST_FOR_TARGET.

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

21 years ago * parser.c (cp_parser_late_parsing_for_member): Don't cast to void.
geoffk [Fri, 10 Jan 2003 22:05:02 +0000 (22:05 +0000)]
* parser.c (cp_parser_late_parsing_for_member): Don't cast to void.
(cp_parser_late_parsing_default_args): Likewise.

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

21 years agoFri Jan 10 22:05:35 CET 2003 Jan Hubicka <jh@suse.cz>
hubicka [Fri, 10 Jan 2003 21:28:24 +0000 (21:28 +0000)]
Fri Jan 10 22:05:35 CET 2003  Jan Hubicka  <jh@suse.cz>

* ifcvt.c (noce_try_addcc): Do not call emit_conditional_add
with weird operands.

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

21 years ago * test_summary (configflags): awk portability.
ljrittle [Fri, 10 Jan 2003 21:12:39 +0000 (21:12 +0000)]
* test_summary (configflags): awk portability.

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

21 years ago * cfns.gperf: ANSIfy function declarations.
neroden [Fri, 10 Jan 2003 20:49:29 +0000 (20:49 +0000)]
* cfns.gperf: ANSIfy function declarations.
* cfns.h: Regenerate.
* cp-tree.h: ANSIfy function declarations.

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

21 years ago PR c++/9128
mmitchel [Fri, 10 Jan 2003 20:30:56 +0000 (20:30 +0000)]
PR c++/9128
* g++.dg/rtti/typeid1.C: New file.

PR c++/9153
* g++.dg/parse/lookup1.C: New file.

PR c++/9171
* g++.dg/templ/spec5.C: New file.

* cp-tree.h (reparse_absdcl_as_expr): Remove.
(reparse_absdcl_as_casts): Likewise.
(reparse_decl_as_expr): Likewise.
(finish_decl_parsing): Likewise.
* decl2.c (reparse_absdcl_as_expr): Remove.
(reparse_absdcl_as_casts): Likewise.
(repase_decl_as_expr): Likewise.
(finish_decl_parsing): Likewise.

PR c++/9128
PR c++/9153
PR c++/9171
* parser.c (cp_parser_pre_parsed_nested_name_specifier): New
function.
(cp_parser_nested_name_specifier_opt): Correct the
check_dependency_p false.
(cp_parser_postfix_expression): Fix formatting.
(cp_parser_decl_specifier_seq): Avoid looking for constructor
declarators when possible.
(cp_parser_template_id): Avoid performing name-lookup when
possible.
(cp_parser_class_head): Do not count specializations when counting
levels of templates.
(cp_parser_constructor_declarator_p): Return immediately if
there's no chance that the tokens form a constructor declarator.
* rtti.c (throw_bad_typeid): Add comment.  Do not return an
expression with reference type.
(get_tinfo_decl_dynamic): Do not return an expression with
reference type.
(build_typeid): Add comment.  Do not return an expression with
reference type.
* typeck.c (build_class_member_access_expr): Improve handling of
conditionals and comma-expressions as objects.

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

21 years ago2003-01-10 Dale Johannesen <dalej@apple.com>
dalej [Fri, 10 Jan 2003 19:49:09 +0000 (19:49 +0000)]
2003-01-10  Dale Johannesen <dalej@apple.com>
        * calls.c (load_register_parameters):  Add is_sibcall, sibcall_failure
        parameters.  Call check_sibcall_argument_overlap if indicated.
        (check_sibcall_argument_overlap):  Add mark_stored_args_map
        parameter.  Don't mark parameter area as clobbered if not set.
        (expand_call):  Adjust calls to above.

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

21 years ago * parse.y (check_pkg_class_access): ANSIfy definition.
neroden [Fri, 10 Jan 2003 19:23:30 +0000 (19:23 +0000)]
* parse.y (check_pkg_class_access): ANSIfy definition.

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

21 years ago* configure.in (linker read-only and read-write section mixing):
dj [Fri, 10 Jan 2003 18:52:40 +0000 (18:52 +0000)]
* configure.in (linker read-only and read-write section mixing):
Squelch some assembler warnings.
* configure: Likewise.

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

21 years ago * decl.c (bad_specifiers): Fix parameter order error I introduced.
neroden [Fri, 10 Jan 2003 18:43:53 +0000 (18:43 +0000)]
* decl.c (bad_specifiers): Fix parameter order error I introduced.

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

21 years ago * configure.in: Substitute TOPLEVEL_CONFIGURE_ARGUMENTS.
neroden [Fri, 10 Jan 2003 16:41:48 +0000 (16:41 +0000)]
* configure.in: Substitute TOPLEVEL_CONFIGURE_ARGUMENTS.
* Makefile.tpl: Pass TOPLEVEL_CONFIGURE_ARGUMENTS to gcc.
* Makefile.in: Regenerate.
* configure: Regenerate.

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

21 years ago * Change mcpu to mtune.
hpenner [Fri, 10 Jan 2003 15:22:53 +0000 (15:22 +0000)]
* Change mcpu to mtune.

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

21 years ago * doc/invoke.texi: Document -mtune, delete -mcpu
hpenner [Fri, 10 Jan 2003 15:17:15 +0000 (15:17 +0000)]
   * doc/invoke.texi: Document -mtune, delete -mcpu
        option for S/390 and zSeries.
        * config/s390/s390.c (s390_tune_string) New variable.
        (s390_cpu_string) Delete variable.
        (override_options): Use s390_tune_string instead of
        s390_cpu_string.
        * config/s390/s390.h: (TARGET_OPTIONS) '-mtune' instead of '-mcpu'.

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

21 years ago * config/h8300/h8300.md (*iorsi3_ashift_31): New.
kazu [Fri, 10 Jan 2003 15:02:01 +0000 (15:02 +0000)]
* config/h8300/h8300.md (*iorsi3_ashift_31): New.

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

21 years ago * gcc.c-torture/compile/20030110-1.c: New test.
zlomek [Fri, 10 Jan 2003 13:54:08 +0000 (13:54 +0000)]
* gcc.c-torture/compile/20030110-1.c: New test.
Test for http://gcc.gnu.org/ml/gcc-patches/2003-01/msg00519.html

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

21 years ago * jump.c (next_nonnote_insn_in_loop): New function.
zlomek [Fri, 10 Jan 2003 13:44:28 +0000 (13:44 +0000)]
* jump.c (next_nonnote_insn_in_loop): New function.
(copy_loop_headers): Use next_nonnote_insn_in_loop instead of
next_nonnote_insn.
(duplicate_loop_exit_test). Likewise.

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

21 years agoDaily bump.
gccadmin [Fri, 10 Jan 2003 08:17:27 +0000 (08:17 +0000)]
Daily bump.

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

21 years ago2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 10 Jan 2003 04:51:48 +0000 (04:51 +0000)]
2003-01-09  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in: Revert.
* configure: Regenerate.

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

21 years agomissed from last checkin
ghazi [Fri, 10 Jan 2003 03:42:59 +0000 (03:42 +0000)]
missed from last checkin

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

21 years ago * decl.c, parse-scan.y, parse.y: Don't cast return value of
ghazi [Fri, 10 Jan 2003 03:13:50 +0000 (03:13 +0000)]
* decl.c, parse-scan.y, parse.y: Don't cast return value of
xmalloc et al.

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

21 years ago * class.c, gjavah.c, parse.y, verify.c: Don't use PTR.
ghazi [Fri, 10 Jan 2003 03:04:41 +0000 (03:04 +0000)]
* class.c, gjavah.c, parse.y, verify.c: Don't use PTR.

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

21 years agoMerge from pch-branch.
geoffk [Fri, 10 Jan 2003 02:22:34 +0000 (02:22 +0000)]
Merge from pch-branch.

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

21 years ago * src/powerpc/ffi_darwin.c: Remove RCS version string.
geoffk [Fri, 10 Jan 2003 00:01:32 +0000 (00:01 +0000)]
* src/powerpc/ffi_darwin.c: Remove RCS version string.
* src/powerpc/darwin.S: Remove RCS version string.

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

21 years ago * config/c4x/c4x.c (c4x_naked_function_p): Rename from
m.hayes [Thu, 9 Jan 2003 23:24:48 +0000 (23:24 +0000)]
* config/c4x/c4x.c (c4x_naked_function_p): Rename from
c4x_assembler_function_p.
(c4x_null_epilogue_p): Complement return value, all uses updated.
(c4x_insert_attributes): Add naked.

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

21 years ago * All Files: Remove PARAMS macro.
ghazi [Thu, 9 Jan 2003 23:16:56 +0000 (23:16 +0000)]
* All Files: Remove PARAMS macro.

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

21 years ago2003-01-09 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Thu, 9 Jan 2003 23:15:34 +0000 (23:15 +0000)]
2003-01-09  Vladimir Makarov  <vmakarov@redhat.com>
Merging changes from itanium-sched-branch:

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

21 years ago * expr.c, gjavah.c, javaop.h, jcf-dump.c, jcf-io.c, jcf-reader.c,
ghazi [Thu, 9 Jan 2003 23:13:02 +0000 (23:13 +0000)]
* expr.c, gjavah.c, javaop.h, jcf-dump.c, jcf-io.c, jcf-reader.c,
jcf-write.c, jcf.h, jv-scan.c: Don't rely on the `DEFUN', `AND' or
`__STDC__' macros.

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

21 years ago * jv-scan.c, parse.y: Remove VPARAMS, VA_OPEN, VA_FIXEDARG and
ghazi [Thu, 9 Jan 2003 22:53:28 +0000 (22:53 +0000)]
* jv-scan.c, parse.y: Remove VPARAMS, VA_OPEN, VA_FIXEDARG and
VA_CLOSE.

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

21 years ago * i386.md (unit, prefix_0f, memory attributes): Hanlde sseicvt correctly.
hubicka [Thu, 9 Jan 2003 21:49:31 +0000 (21:49 +0000)]
* i386.md (unit, prefix_0f, memory attributes): Hanlde sseicvt correctly.

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

21 years ago* configure.in: Remove Makefile in build, host and target modules
aoliva [Thu, 9 Jan 2003 20:44:53 +0000 (20:44 +0000)]
* configure.in: Remove Makefile in build, host and target modules
unless configure was run with --no-recursion.
* configure: Rebuilt.

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

21 years ago2003-01-09 Paolo Carlini <pcarlini@unitus.it>
paolo [Thu, 9 Jan 2003 20:02:51 +0000 (20:02 +0000)]
2003-01-09  Paolo Carlini  <pcarlini@unitus.it>

* doc/tm.texi (EXTRA_ADDRESS_CONSTRAINT): Fix typo.

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

21 years ago * decl.c (start_decl): Only check DECL_THREAD_LOCAL for VAR_DECLs.
jakub [Thu, 9 Jan 2003 18:13:40 +0000 (18:13 +0000)]
* decl.c (start_decl): Only check DECL_THREAD_LOCAL for VAR_DECLs.

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

21 years ago * defaults.h (EXTRA_MEMORY_CONSTRAINT): Add STR argument.
amylaar [Thu, 9 Jan 2003 17:28:49 +0000 (17:28 +0000)]
* defaults.h (EXTRA_MEMORY_CONSTRAINT): Add STR argument.
(EXTRA_ADDRESS_CONSTRAINT): Likewise.
(CONSTRAINT_LEN): Provide default definition.
(CONST_OK_FOR_CONSTRAINT_P): Likewise.
(CONST_DOUBLE_OK_FOR_CONSTRAINT_P): Likewise.
(EXTRA_CONSTRAINT_STR): Likewise.
(REG_CLASS_FROM_CONSTRAINT): Define.
* genoutput.c (check_constraint_len, constraint_len): New functions.
(validate_insn_alternatives): Check CONSTRAINT_LEN for each
constraint / modifier.
(gen_insn): Call check_constraint_len.
* local-alloc.c (block_alloc): Update to use new macros / pass
second argument to EXTRA_{MEMORY,ADDRESS}_CONSTRAINT.
* ra-build.c (handle_asm_insn): Likewise.
* recog.c (asm_operand_ok, preprocess_constraints): Likewise.
(constrain_operands, peep2_find_free_register): Likewise.
* regclass.c (record_operand_costs, record_reg_classes): Likewise.
* regmove.c (find_matches): Likewise.
* reload.c (push_secondary_reload, find_reloads): Likewise.
(alternative_allows_memconst): Likewise.
* reload1.c (maybe_fix_stack_asms): Likewise.
(reload_cse_simplify_operands): Likewise.
* stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
* doc/tm.texi (CONSTRAINT_LEN, REG_CLASS_FROM_CONSTRAINT): Document.
(CONST_OK_FOR_CONSTRAINT_P): Likewise.
(CONST_DOUBLE_OK_FOR_CONSTRAINT_P, EXTRA_CONSTRAINT_STR): Likewise.
(EXTRA_MEMORY_CONSTRAINT, EXTRA_ADDRESS_CONSTRAINT): Add STR argument.
* config/s390/s390.h (EXTRA_MEMORY_CONSTRAINT): Likewise.

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

21 years ago * sh.h (OVERRIDE_OPTIONS): Allow first scheduling pass for SH5.
amylaar [Thu, 9 Jan 2003 17:25:29 +0000 (17:25 +0000)]
* sh.h (OVERRIDE_OPTIONS): Allow first scheduling pass for SH5.

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

21 years ago * config/h8300/h8300.md (*extzv_1_r_h8300): Correct the insn
kazu [Thu, 9 Jan 2003 14:59:01 +0000 (14:59 +0000)]
* config/h8300/h8300.md (*extzv_1_r_h8300): Correct the insn
length.
(*extzv_1_r_h8300hs): Likewise.
(*extzv_1_r_inv_h8300): Likewise.
(*extzv_1_r_inv_h8300hs): Likewise.

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

21 years ago * pt.c (push_access_scope_real): Call push_to_top_level for
lerdsuwa [Thu, 9 Jan 2003 13:55:46 +0000 (13:55 +0000)]
* pt.c (push_access_scope_real): Call push_to_top_level for
function in namespace scope.
(pop_access_scope): Call pop_from_top_level for function in
namespace scope.

* g++.dg/template/friend14.C: New test.

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

21 years ago * decl.c (start_decl): Don't set DECL_COMMON for __thread variables.
jakub [Thu, 9 Jan 2003 13:27:49 +0000 (13:27 +0000)]
* decl.c (start_decl): Don't set DECL_COMMON for __thread variables.

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

21 years ago * config/h8300/h8300.h (PREDICATE_CODES): New.
kazu [Thu, 9 Jan 2003 13:19:58 +0000 (13:19 +0000)]
* config/h8300/h8300.h (PREDICATE_CODES): New.

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

21 years ago * config/h8300/h8300.md (*addsi3_upper): New.
kazu [Thu, 9 Jan 2003 13:05:49 +0000 (13:05 +0000)]
* config/h8300/h8300.md (*addsi3_upper): New.
(*iorsi3_shift): Likewise.
(two splitters): Likewise.
(*addsi3_shift): Likewise.
(two splitters): Likewise.

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

21 years ago * Makefile.in (optabs.o): Add dependency on basic-block.h.
zlomek [Thu, 9 Jan 2003 11:47:35 +0000 (11:47 +0000)]
* Makefile.in (optabs.o): Add dependency on basic-block.h.
* basic-block.h (control_flow_insn_p): Fuction was exported.
* cfgbuild.c (control_flow_insn_p): Fuction was made non-static.
* optabs.c (emit_libcall_block): Emit REG_LIBCALL and REG_RETVAL
notes only when the region is contained in a single basic block.

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

21 years agoForgot the '*'...
ebotcazou [Thu, 9 Jan 2003 11:15:15 +0000 (11:15 +0000)]
Forgot the '*'...

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

21 years ago PR inline-asm/8832
ebotcazou [Thu, 9 Jan 2003 11:13:07 +0000 (11:13 +0000)]
PR inline-asm/8832
* tree.h (expand_asm): New prototype.
* stmt.c (expand_asm): Set the MEM_VOLATILE_P flag if instructed
to do so.
* c-semantics (genrtl_asm_stmt): Pass the RID_VOLATILE qualifier
down to expand_asm.
* c-typeck.c (simple_asm_stmt): Set the RID_VOLATILE qualifier.
* rtlanal.c (volatile_insn_p) [ASM_INPUT]: Test the MEM_VOLATILE_P flag.
(volatile_refs_p) [ASM_INPUT]: Likewise.
(side_effects_p) [ASM_INPUT]: Likewise.

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

21 years ago * i386.md (*mul*): FIx constraints; remove confused comment; fix
hubicka [Thu, 9 Jan 2003 11:03:00 +0000 (11:03 +0000)]
* i386.md (*mul*): FIx constraints; remove confused comment; fix
athlon_decode attributes
(imul/k8 optimization peep2s): New.

* athlon.md (athlon_ssecmp*): Handle ssecomi as well.
* i386.md (type attribute): Add ssecomi.
(unit, memory, prefix attributes): Handle ssecomi.
(cvt?2? patterns): Fix athlon_decode attribute
(comi patterns): Set attribute to ssecomi.

PR target/8343
* m68k.md (umulsidi, mulsidi expanders): Use register operand.

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

21 years ago * config/mips/mips.h (PREDICATE_CODES): Add ADDRESSOF for predicates
rsandifo [Thu, 9 Jan 2003 09:43:23 +0000 (09:43 +0000)]
* config/mips/mips.h (PREDICATE_CODES): Add ADDRESSOF for predicates
that match register_operands.
* config/mips/mips.c (reg_or_0_operand, true_reg_or_0_operand): Make
register_operand the default case.

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

21 years ago PR c/8032
ebotcazou [Thu, 9 Jan 2003 09:18:52 +0000 (09:18 +0000)]
PR c/8032
* c-typeck.c (process_init_element) [RECORD_TYPE]: For
an empty element, do not advance the pointer to unfilled
fields if there are pending initializers.

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

21 years agoDaily bump.
gccadmin [Thu, 9 Jan 2003 08:17:32 +0000 (08:17 +0000)]
Daily bump.

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

21 years ago2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
aj [Thu, 9 Jan 2003 08:10:57 +0000 (08:10 +0000)]
2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>

* Makefile.in (install_to_libdir, install_to_tooldir): Add a
mkinstalldirs command.

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

21 years agolibf2c:
aj [Thu, 9 Jan 2003 08:08:30 +0000 (08:08 +0000)]
libf2c:
2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>

* Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
(install, uninstall): Prepend $(DESTDIR) to destination
paths in all (un)installation commands.

libiberty:
2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>

* Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.

libobjc:
2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>

* Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
(install-libs, install-headers): Prepend $(DESTDIR) to
destination paths in all (un)installation commands.

libstdc++:
2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>

* include/Makefile.am (install-data-local): Prepend
$(DESTDIR) to destination paths in all (un)installation
commands.  Use ${c_base_builddir} and ${std_builddir}
as destination subdirectories to achieve consistency with
preceding mkinstalldirs commands.  No effect because both
variables contain "." only.
* include/Makefile.in: Regenerate.

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

21 years ago2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
aj [Thu, 9 Jan 2003 08:05:56 +0000 (08:05 +0000)]
2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>

* Make-lang.in (java.install-common, java.uninstall,
java.install-info, java.install-man): Prepend $(DESTDIR)
to destination paths in all (un)installation commands.
(java.install-common): Rewrite $(LN) command to support
DESTDIR with "ln" as well as with "ln -s".

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

21 years ago2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
aj [Thu, 9 Jan 2003 08:05:30 +0000 (08:05 +0000)]
2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>

* Make-lang.in (treelang.install.common.done,
treelang.install-info, treelang.uninstall): Prepend
$(DESTDIR) to destination paths in all (un)installation
commands.

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

21 years ago2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
aj [Thu, 9 Jan 2003 08:04:52 +0000 (08:04 +0000)]
2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>

* Make-lang.in (c++.install-common, c++.install-man,
c++.uninstall): Prepend $(DESTDIR) to destination paths in
all (un)installation commands.
(c++.install-common): Rewrite $(LN) commands to support
DESTDIR with "ln" as well as with "ln -s".

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

21 years ago2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
aj [Thu, 9 Jan 2003 08:03:46 +0000 (08:03 +0000)]
2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>

* Make-lang.in (ada.install-info, ada.install-common,
ada.uninstall): Prepend $(DESTDIR) to the destination
directory in all (un)installation commands.
* Makefile.in (install-gnatlib, install-rts): Ditto.

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

21 years ago2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
aj [Thu, 9 Jan 2003 08:01:16 +0000 (08:01 +0000)]
2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>

* Make-lang.in (f77.install-common, f77.install-info,
f77.install-man, f77.uninstall): Prepend $(DESTDIR) to
destination paths in all (un)installation commands.

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

21 years ago * Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
aj [Thu, 9 Jan 2003 08:00:41 +0000 (08:00 +0000)]
* Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
(install-gcc-tooldir, install-cpp, installdirs,
install-common, install-driver, install-info, install-man,
install-headers, install-include-dir, install-headers-tar,
install-headers-cpio, install-headers-cp, install-mkheaders,
install-collect2, uninstall): Prepend $(DESTDIR) to
destination paths in all (un)installation commands.
(install-driver): Rewrite $(LN) commands to support DESTDIR
with "ln" as well as with "ln -s".
(installdirs): Simply use mkinstalldirs.
(install-libgcc, install-multilib): Also pass DESTDIR.
* mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the
installation destination variable ldir.
* config/alpha/t-osf4, config/arm/t-netbsd,
config/ia64/t-hpux, config/mips/t-iris5-6,
config/pa/t-hpux-shlib, config/rs6000/t-aix43,
config/rs6000/t-aix52, config/t-slibgcc-elf-ver,
config/t-slibgcc-sld: Prepend $$(DESTDIR) to $$(slibdir)
in the definition of SHLIB_INSTALL.
* config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to
$(libsubdir) in the installation commands.

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

21 years ago * config/sh/sh.h (CASE_VECTOR_MODE): Use SImode for a
kkojima [Thu, 9 Jan 2003 07:58:34 +0000 (07:58 +0000)]
* config/sh/sh.h (CASE_VECTOR_MODE): Use SImode for a
non-optimizing compile.
(ASM_OUTPUT_ADDR_VEC_ELT): Use .long for a non-optimizing
compile.

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

21 years ago2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
aj [Thu, 9 Jan 2003 07:57:00 +0000 (07:57 +0000)]
2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>

* Makefile.tpl (BASE_FLAGS_TO_PASS): Also pass DESTDIR.
(install-info, dir.info): Prepend $(DESTDIR) to $(infodir).
* Makefile.in: Regenerate.

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

21 years ago * config/i386/i386.c (ix86_attribute_table): Add new attributes
rupp [Thu, 9 Jan 2003 05:23:55 +0000 (05:23 +0000)]
* config/i386/i386.c (ix86_attribute_table): Add new attributes
ms_struct and gcc_struct.
(ix86_handle_struct_attribute): New function.
(ix86_ms_bitfield_layout_p): Update to take new attributes
into account.
* doc/extend.texi: Document new attributes.
* testsuite/gcc.dg/bf-ms-attrib.c: New test.

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

21 years ago PR optimization/8750
rth [Thu, 9 Jan 2003 02:34:52 +0000 (02:34 +0000)]
    PR optimization/8750
        * config/i386/i386.c (ix86_expand_prologue): Don't allow
        scheduling pass to move insns across __alloca call.

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

21 years ago2003-01-08 Dale Johannesen <dalej@apple.com>
dalej [Thu, 9 Jan 2003 02:01:57 +0000 (02:01 +0000)]
2003-01-08  Dale Johannesen  <dalej@apple.com>

        * config/rs6000/rs6000.md:  Replace *store_multiple_string
        with *stmsi[3-8].

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

21 years agoPR target/9210
jsturm [Thu, 9 Jan 2003 01:10:43 +0000 (01:10 +0000)]
PR target/9210
* config/rs6000/rs6000.c (rs6000_elf_encode_section_info):
Set SYMBOL_REF_FLAG on local data sym_ref.

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

21 years ago2003-01-08 Dale Johannesen <dalej@apple.com>
dalej [Thu, 9 Jan 2003 00:53:29 +0000 (00:53 +0000)]
2003-01-08  Dale Johannesen  <dalej@apple.com>

        * function.c (assign_parms):  Don't set pretend_args_size if
          REG_PARM_STACK_SPACE.
          config/rs6000/rs6000.c (setup_incoming_varargs):  Don't set
          pretend_args_size.

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

21 years ago2003-01-08 Larin Hennessey <larin@science.oregonstate.edu>
neroden [Thu, 9 Jan 2003 00:46:10 +0000 (00:46 +0000)]
2003-01-08  Larin Hennessey  <larin@science.oregonstate.edu>

* g++.old-deja/g++.mike/dyncast1.C: Remove reference to AMD A29K
* g++.old-deja/g++.mike/dyncast2.C: Likewise
* g++.old-deja/g++.mike/dyncast3.C: Likewise
* g++.old-deja/g++.mike/eh2.C: Likewise
* g++.old-deja/g++.mike/eh3.C: Likewise
* g++.old-deja/g++.mike/eh5.C: Likewise
* g++.old-deja/g++.mike/eh6.C: Likewise
* g++.old-deja/g++.mike/eh7.C: Likewise
* g++.old-deja/g++.mike/eh8.C: Likewise
* g++.old-deja/g++.mike/eh9.C: Likewise
* g++.old-deja/g++.mike/eh10.C: Likewise
* g++.old-deja/g++.mike/eh12.C: Likewise
* g++.old-deja/g++.mike/eh13.C: Likewise
* g++.old-deja/g++.mike/eh14.C: Likewise
* g++.old-deja/g++.mike/eh16.C: Likewise
* g++.old-deja/g++.mike/eh17.C: Likewise
* g++.old-deja/g++.mike/eh18.C: Likewise
* g++.old-deja/g++.mike/eh21.C: Likewise
* g++.old-deja/g++.mike/eh23.C: Likewise
* g++.old-deja/g++.mike/eh24.C: Likewise
* g++.old-deja/g++.mike/eh25.C: Likewise
* g++.old-deja/g++.mike/eh26.C: Likewise
* g++.old-deja/g++.mike/eh27.C: Likewise
* g++.old-deja/g++.mike/eh28.C: Likewise
* g++.old-deja/g++.mike/eh29.C: Likewise
* g++.old-deja/g++.mike/eh31.C: Likewise
* g++.old-deja/g++.mike/eh33.C: Likewise
* g++.old-deja/g++.mike/eh34.C: Likewise
* g++.old-deja/g++.mike/eh35.C: Likewise
* g++.old-deja/g++.mike/eh36.C: Likewise
* g++.old-deja/g++.mike/eh37.C: Likewise
* g++.old-deja/g++.mike/eh38.C: Likewise
* g++.old-deja/g++.mike/eh39.C: Likewise
* g++.old-deja/g++.mike/eh40.C: Likewise
* g++.old-deja/g++.mike/eh41.C: Likewise
* g++.old-deja/g++.mike/eh42.C: Likewise
* g++.old-deja/g++.mike/eh44.C: Likewise
* g++.old-deja/g++.mike/eh46.C: Likewise
* g++.old-deja/g++.mike/eh47.C: Likewise
* g++.old-deja/g++.mike/eh48.C: Likewise
* g++.old-deja/g++.mike/eh49.C: Likewise
* g++.old-deja/g++.mike/eh50.C: Likewise
* g++.old-deja/g++.mike/eh51.C: Likewise
* g++.old-deja/g++.mike/eh53.C: Likewise
* g++.old-deja/g++.mike/eh55.C: Likewise
* g++.old-deja/g++.mike/p7912.C: Likewise
* g++.old-deja/g++.mike/p9706.C: Likewise
* g++.old-deja/g++.mike/p10416.C: Likewise
* g++.old-deja/g++.mike/p11667.C: Likewise
* g77.f-torture/compile/20010519-1.f: Remove reference to Convex.
Remove redundant reference to Iris.
* gcc.dg/20020312-2.c: Remove references to AMD A29K, Clipper, Convex,
Elxsi, i860, Pico Java, and WE32K.

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

21 years ago(This line wasn't in the ChangeLog even though the change was committed)
neroden [Thu, 9 Jan 2003 00:32:06 +0000 (00:32 +0000)]
(This line wasn't in the ChangeLog even though the change was committed)
* decl.c: Remove some #if 0 code.

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

21 years ago * gcc.hlp: Delete.
neroden [Thu, 9 Jan 2003 00:30:09 +0000 (00:30 +0000)]
* gcc.hlp: Delete.

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

21 years ago * i386.c (ix86_expand_int_addcc): Fix thinko.
hubicka [Thu, 9 Jan 2003 00:00:53 +0000 (00:00 +0000)]
* i386.c  (ix86_expand_int_addcc): Fix thinko.

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

21 years ago * config/rs6000/rs6000.h (FUNCTION_MODE): Always use SImode.
dje [Wed, 8 Jan 2003 23:05:22 +0000 (23:05 +0000)]
    * config/rs6000/rs6000.h (FUNCTION_MODE): Always use SImode.
        * config/rs6000/rs6000.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Redefine
        as hook_bool_tree_hwi_hwi_tree_true.
        (rs6000_emit_allocate_stack): Use TARGET_32BIT.
        (rs6000_emit_epilogue): Same.
        (rs6000_output_mi_thunk): Re-implement as RTL.
        * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Call
        xcoffout_declare_function if any debugging enabled.

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

21 years ago2003-01-08 Chris Demetriou <cgd@broadcom.com>
cgd [Wed, 8 Jan 2003 22:49:26 +0000 (22:49 +0000)]
2003-01-08  Chris Demetriou  <cgd@broadcom.com>

        * config.guess: Update to 2003-01-03 version.
        * config.sub: Update to 2003-01-03 version.

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

21 years ago * parser.c (cp_parser_primary_expression): See through explicitly
jason [Wed, 8 Jan 2003 20:00:17 +0000 (20:00 +0000)]
    * parser.c (cp_parser_primary_expression): See through explicitly
        scoped ALIAS_DECLs, too.

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

21 years ago2003-01-08 Chris Demetriou <cgd@broadcom.com>
cgd [Wed, 8 Jan 2003 19:57:52 +0000 (19:57 +0000)]
2003-01-08  Chris Demetriou  <cgd@broadcom.com>

* config.gcc (mipsisa32r2-*-elf*, mipsisa32r2el-*-elf*): New
targets, to support MIPS32 Release 2 (MIPS32R2) configurations.
* config/mips/mips.h (enum processor_type): Rename
PROCESSOR_R4KC to PROCESSOR_4KC, PROCESSOR_R5KC to
PROCESSOR_5KC, and PROCESSOR_R20KC to PROCESSOR_20KC.
Add PROCESSOR_M4K.
(TARGET_MIPS4KC, TARGET_MIPS5KC): Update for the renaming.
(ISA_MIPS32R2): New define.
(GENERATE_MULT3_SI, ISA_HAS_CONDMOVE, ISA_HAS_8CC)
(ISA_HAS_MADD_MSUB, ISA_HAS_CLZ_CLO)
(ISA_HAS_PREFETCH): Add support for MIPS32R2.
(MIPS_ISA_DEFAULT): Likewise.  Also, fix indentation.
(TARGET_CPU_CPP_BUILTINS): Add support for MIPS32R2.  Add new
predefine __mips_isa_rev for MIPS32, MIPS32R2, and MIPS64.
(ISA_HAS_ROTR_SI): Add support for MIPS32R2, and avoid if
compiling MIPS16 code.
(ISA_HAS_ROTR_DI): Do not use if compiling MIPS16 code, and fix
comment.
(ISA_HAS_SEB_SEH): New define.
(ASM_SPEC, LINK_SPEC): Pass -mips32r2 to assembler and linker.
* config/mips/mips.c (mips_cpu_info_table): Adjust for enum
processor_type value renaming.  Add support for MIPS32R2.
Clean up comments, and move "sb1" entry with other MIPS64 CPU
entries.
(override_options): Reimplement -mipsN option handling so that
it will work correctly for -mips32r2.  Avoid branch-likely
instructions on MIPS32R2.
* config/mips/mips.md (mulsi3_mult3): Add support for MIPS32R2.
(extendhisi2): Use extendhisi2_hw if ISA_HAS_SEB_SEH.
(extendqisi2): Use extendqisi2_hw if ISA_HAS_SEB_SEH.
(extendhisi2_hw, extendqisi2_hw): New.
* config/mips/netbsd.h (TARGET_CPU_CPP_BUILTINS): Add support
for MIPS32R2.  Add new predefine __mips_isa_rev for MIPS32,
MIPS32R2, and MIPS64.
(LINK_SPEC): Pass -mips32r2 to linker.
* config/mips/t-isa3264: Built -mips32r2 multilibs.
* doc/invoke.texi (MIPS Options): Add -mips32r2, add support
for mips32r2 in the -march description.  Alphabetically sort
CPU names in the -march description.  Add long-missed -mips32
and -mips64 to MIPS option summary.

* config.gcc: Update copyright years to include 2003.
* config/mips/mips.c: Likewise.
* config/mips/mips.h: Likewise.
* config/mips/mips.md: Likewise.
* config/mips/netbsd.h: Likewise.

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

21 years ago2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 8 Jan 2003 19:43:11 +0000 (19:43 +0000)]
2003-01-08  Benjamin Kosnik  <bkoz@redhat.com>

* include/Makefile.am (stamp-*): Add checks for existing stamps.
* include/Makefile.in: Regenerate.

* acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
* aclocal.m4: Regenerate.

* configure.in: Don't add new multi-do rules every time the
directory is reconfigured.
* configure: Regenerate.

2003-01-08  Brad Spencer  <spencer@infointeractive.com>
            Nathan Myers  <ncm@cantrip.org>

* src/Makefile.am (stamp-debug): Clean.
* src/Makefile.in: Regenerate.

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

21 years ago * decl.c: ANSIfy function declarations.
neroden [Wed, 8 Jan 2003 17:32:13 +0000 (17:32 +0000)]
* decl.c: ANSIfy function declarations.

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

21 years ago * parser.c (cp_parser_asm_definition): Correct handling of omitted
mmitchel [Wed, 8 Jan 2003 16:59:31 +0000 (16:59 +0000)]
* parser.c (cp_parser_asm_definition): Correct handling of omitted
operands.

* g++.dg/ext/asm4.C: New test.

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

21 years ago * aclocal.m4 (gcc_AC_INITFINI_ARRAY): Fix spelling of cache
schwab [Wed, 8 Jan 2003 15:03:50 +0000 (15:03 +0000)]
* aclocal.m4 (gcc_AC_INITFINI_ARRAY): Fix spelling of cache
variable.
* configure: Regenerated.

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

21 years ago PR c++/9030
lerdsuwa [Wed, 8 Jan 2003 14:42:39 +0000 (14:42 +0000)]
PR c++/9030
* decl.c (make_typename_type): Check access only when tf_error.
(make_unbound_class_template): Likewise.
* pt.c (saved_access_scope): New variable.
(push_access_scope_real): New function.
(push_access_scope): Likewise.
(pop_access_scope): Likewise.
(tsubst_default_argument): Use them.
(instantiate_template): Likewise.
(regenerate_decl_from_template): Likewise.
(instantiate_decl): Likewise.
(get_mostly_instantiated_function_type): Likewise.

* g++.dg/template/friend12.C: New test.
* g++.dg/template/friend13.C: Likewise.
* g++.old-deja/g++.eh/spec6.C: Add missing error message.

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

21 years ago * config/h8300/h8300.c (output_logical_op): Replace byte/word
kazu [Wed, 8 Jan 2003 14:02:51 +0000 (14:02 +0000)]
* config/h8300/h8300.c (output_logical_op): Replace byte/word
extraction of det with b0, b1, w0, w2, etc.
(compute_logical_op_length): Likewise.
(compute_logical_op_cc): Likewise.

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

21 years ago * config/h8300/h8300.h (CONSTANT_ADDRESS_P): Allow CONST and
kazu [Wed, 8 Jan 2003 14:00:31 +0000 (14:00 +0000)]
* config/h8300/h8300.h (CONSTANT_ADDRESS_P): Allow CONST and
HIGH on all variants.

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

21 years ago * java-tree.h: Protect against multiple inclusion.
neroden [Wed, 8 Jan 2003 13:28:18 +0000 (13:28 +0000)]
* java-tree.h: Protect against multiple inclusion.

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

21 years ago * Makefile.in (PARTITION_H): New.
zlomek [Wed, 8 Jan 2003 13:12:56 +0000 (13:12 +0000)]
* Makefile.in (PARTITION_H): New.
(BASIC_BLOCK_H): Added hard-reg-set.h and $(PARTITION_H).
* basic-block.h: Include hard-reg-set.h.

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

21 years ago* arm.h (ENABLE_XF_PATTERNS): Delete.
rearnsha [Wed, 8 Jan 2003 11:55:50 +0000 (11:55 +0000)]
* arm.h (ENABLE_XF_PATTERNS): Delete.
* arm.md (addxf3, subxf3, mulxf3, divxf3, modxf3, negxf2, absxf2)
(sqrtxf2, floatsixf2, fix_truncxfsi2, truncxfsf2, truncxfdf2)
(extendsfxf2, extenddfxf2, movxf, cmpxf, cmpxf_insn)
(cmpxf_trap): Delete.
(movxf_hard_insn): Remove test of ENABLE_XF_PATTERNS.

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

21 years ago * gcc.dg/i386-cadd.c: New test.
hubicka [Wed, 8 Jan 2003 11:51:42 +0000 (11:51 +0000)]
* gcc.dg/i386-cadd.c: New test.
* gcc.dg/i386-cmov4.c: Likewise.

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

21 years ago * i386.md (adddi3_carry_rex64, subdi3_carry_rex64): Name pattern.
hubicka [Wed, 8 Jan 2003 11:20:23 +0000 (11:20 +0000)]
* i386.md (adddi3_carry_rex64, subdi3_carry_rex64): Name pattern.
(addhi3_carry, addqi3_carry, subhi3_carry, subqi3_carry): New patterns.
(add??cc): New expanders.
* i386.c (expand_int_addcc): New function.
* i386-protos.h (expand_int_addcc): Declare.

* alias.c (memory_modified_1): New static function.
(memory_modified): New static varaible.
(memory_modified_in_insn_p): New global function.
* rtl.h (memory_modified_in_insn_p): Declare.
* rtlanal.c (modified_between_p, modified_in_p): Be smart about memory
references.

* expr.h (emit_conditional_add): Declare.

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

21 years agoDaily bump.
gccadmin [Wed, 8 Jan 2003 08:17:32 +0000 (08:17 +0000)]
Daily bump.

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

21 years ago2003-01-07 Janis Johnson <janis187@us.ibm.com>
janis [Wed, 8 Jan 2003 01:12:29 +0000 (01:12 +0000)]
2003-01-07  Janis Johnson  <janis187@us.ibm.com>

PR other/8947
* doc/invoke.texi (-malign-double): Explain that the option breaks
binary compatibility.

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

21 years ago * config.gcc (m68k-*-linux*): Don't set extra_parts and gnu_ld,
schwab [Tue, 7 Jan 2003 23:34:24 +0000 (23:34 +0000)]
* config.gcc (m68k-*-linux*): Don't set extra_parts and gnu_ld,
should come from the generic *-*-linux* entry.

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

21 years ago * cselib.c (cselib_current_insn_in_libcall): New static variable.
hubicka [Tue, 7 Jan 2003 22:14:43 +0000 (22:14 +0000)]
* cselib.c (cselib_current_insn_in_libcall): New static variable.
(new_elt_loc_list, cselib_process_insn, cselib_init): Keep track on whether
we are inside libcall.
* cselib.h (elt_loc_list): Add in_libcall.
* gcse.c (do_local_cprop): Do not copy propagate using insns
in libcalls.

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

21 years ago* configure: Regenerate with proper autoconf 2.13.
cgf [Tue, 7 Jan 2003 21:57:34 +0000 (21:57 +0000)]
* configure: Regenerate with proper autoconf 2.13.

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

21 years ago * doc/tm.texi (TARGET_SCHED_VARIABLE_ISSUE): CLOBBER and USE do
dje [Tue, 7 Jan 2003 21:22:18 +0000 (21:22 +0000)]
* doc/tm.texi (TARGET_SCHED_VARIABLE_ISSUE): CLOBBER and USE do
not normally affect to issue rate.

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

21 years ago * tree.c: Delete bogus #if 0 code.
neroden [Tue, 7 Jan 2003 21:19:05 +0000 (21:19 +0000)]
* tree.c: Delete bogus #if 0 code.

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

21 years ago * genopinit.c (optabs): Add addc_optab.
hubicka [Tue, 7 Jan 2003 21:09:21 +0000 (21:09 +0000)]
* genopinit.c (optabs): Add addc_optab.
* ifcvt.c (noce_try_store_flag): Rename to ...
(noce_try_addcc): ... this one; handle generic conditional increment.
(noce_process_if_block): Update noce_try_addcc call.
* optabs.c (emit_conditional_add): New.
(init_obtabs): Initialize addc_optab.
* optabs.h (optab_index): Add OTI_addcc.
(addcc_optab): New macro.
* md.texi: Document addMcc

PR target/8322
* i386.c (ix86_init_mmx_sse_builtins): Constify arguments of loads.
* xmmintrin.h (_mm_load*_si128. _mm_store*_si128): Add casts.
* xmmintrin.h (_mm_load*_si128. _mm_store*_si128): Add casts.

* reload1.c (delete_output_reload): Avoid repeated attempts
to delete insn.

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

21 years ago * configure.in: Restore CFLAGS before gcc_AC_INITFINI_ARRAY.
rth [Tue, 7 Jan 2003 21:03:24 +0000 (21:03 +0000)]
    * configure.in: Restore CFLAGS before gcc_AC_INITFINI_ARRAY.
        Move --enable-initfini-array check ...
        * aclocal.m4 (gcc_AC_INITFINI_ARRAY): ... here.  Define
        HAVE_INITFINI_ARRAY also when --enable-initfini-array is given.
        Don't AC_SUBST gcc_cv_initfinit_array.  Use AC_TRY_RUN.
        * configure: Rebuild.

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

21 years ago * alias.c (find_base_value): Only use new_reg_base_value shortcut
rth [Tue, 7 Jan 2003 20:59:42 +0000 (20:59 +0000)]
    * alias.c (find_base_value): Only use new_reg_base_value shortcut
        if the register is set once.

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

21 years ago* configure.in: Add AC_PREREQ for consistency.
cgf [Tue, 7 Jan 2003 20:40:40 +0000 (20:40 +0000)]
* configure.in: Add AC_PREREQ for consistency.

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

21 years ago * config/i386/i386.c (ix86_init_mmx_sse_builtins):
rth [Tue, 7 Jan 2003 20:37:25 +0000 (20:37 +0000)]
    * config/i386/i386.c (ix86_init_mmx_sse_builtins):
        __builtin_ia32_ldmxcsr and __builtin_ia32_stmxcsr are SSE, not MXX.
        * config/i386/i386.md (ldmxcsr, stmxcsr): SSE, not MMX.

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

21 years ago2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 7 Jan 2003 20:20:53 +0000 (20:20 +0000)]
2003-01-07  Benjamin Kosnik  <bkoz@redhat.com>
    Sunil Davasam  <sunil.k.davasam@intel.com>

PR libstdc++/9076
* unwind-dw2.c (execute_cfa_program): DW_CFA_undefined,
DW_CFA_same_value, read next and ignore.

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

21 years ago * cfganal.c (flow_call_edges_add): Don't crash on noreturn call.
rth [Tue, 7 Jan 2003 20:14:51 +0000 (20:14 +0000)]
    * cfganal.c (flow_call_edges_add): Don't crash on noreturn call.

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

21 years ago * class.c (add_assume_compiled): Don't adjust parent if we're
tromey [Tue, 7 Jan 2003 17:20:50 +0000 (17:20 +0000)]
* class.c (add_assume_compiled): Don't adjust parent if we're
already at the root of tree.

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

21 years ago2003-01-07 Daniel Berlin <dberlin@dberlin.org>
dberlin [Tue, 7 Jan 2003 17:05:16 +0000 (17:05 +0000)]
2003-01-07  Daniel Berlin  <dberlin@dberlin.org>

* cfg.c: Include alloc-pool.h
(edge_pool): New pool.
(bb_pool): New pool.
(first_deleted_edge): Remove.
(first_deleted_block): Remove.
(init_flow): Alloc/free the pools.
(free_edge): Use pools.
(alloc_block): Ditto.
(expunge_block): Ditto.
(cached_make_edge): Ditto.

* Makefile.in (cfg.o): Add alloc-pool.h dependency.

2003-01-07  Daniel Berlin  <dberlin@dberlin.org>

* et-forest.c: Include alloc-pool.h.
(struct et_forest): Add node_pool and occur_pool.
(et_forest_create): Create the new pools.
(et_forest_delete): Delete them.
(et_forest_add_node): Allocate and free using pools.
(et_forest_add_edge): Ditto.
(et_forest_remove_node): Ditto.
(et_forest_remove_edge): Ditto.

* Makefile.in (et-forest.o): Add alloc-pool.h dependency.

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

21 years ago * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
tromey [Tue, 7 Jan 2003 16:50:08 +0000 (16:50 +0000)]
* include/posix.h (_Jv_platform_usleep): Wrap in ifdef
JV_HASH_SYNCHRONIZATION.
* include/win32.h (_Jv_platform_usleep): Wrap in ifdef
JV_HASH_SYNCHRONIZATION.

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

21 years ago2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 7 Jan 2003 16:20:25 +0000 (16:20 +0000)]
2003-01-07  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/8707
* Makefile.am (distclean-multi): Fix.
* Makefile.in: Regenerate.

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