Commit Graph

72492 Commits

Author SHA1 Message Date
Richard Sandiford 174ddc670a arm.md: Provide a big-endian version of the (zero_extend:SI (subreg:QI ...)) splitter.
* gcc/config/arm/arm.md: Provide a big-endian version of the
	(zero_extend:SI (subreg:QI ...)) splitter.

From-SVN: r108524
2005-12-14 17:55:16 +00:00
Kean Johnston 9d1a0fdbcd sibcall-6.c: Skip in -fPIC mode on X86 ilp32.
* gcc.dg/sibcall-6.c: Skip in -fPIC mode on X86 ilp32.
	* gcc.target/i386/20020523-1.c: Ditto.
	* gcc.target/i386/tailcall-1.c: Ditto.
	* gcc.target/i386/ssetype-3.c: Make magic* static to work with -fPIC.
	* gcc.target/i386/ssetype-5.c: Ditto.


Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu>

From-SVN: r108521
2005-12-14 17:30:34 +00:00
J"orn Rennecke df06cddf76 struct-equiv.c (note_local_live): Handle hard regs with different hard_regno_nregs.
* struct-equiv.c (note_local_live): Handle hard regs with different
	hard_regno_nregs.

From-SVN: r108520
2005-12-14 16:36:29 +00:00
Jeff Law 622f91baa8 tree-ssa-ccp.c (fold_stmt_r): DATA argument is now a pointer to a structure containing state rather than a...
* tree-ssa-ccp.c (fold_stmt_r): DATA argument is now a pointer
	to a structure containing state rather than a pointer to bool.
	(case ARRAY_REF): New code to handle folding some array references.
	(case ADDR_EXPR): Note when we are processing expressions found
	within an ADDRE_EXPR.
	(fold_stmt, fold_stmt_inplace): Pass in a structure to fold_stmt_r
	for state variables rather than just a pointer to a boolean.
	* tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Remove
	handling of constant string references.

	* gcc.dg/tree-ssa/foldstring-1.c: New test.

From-SVN: r108519
2005-12-14 09:15:53 -07:00
Adrian Straetling 08a5aaa2e3 s390.md ("*tstdi_extimm", [...]): Merge.
2005-12-14  Adrian Straetling  <straetling@de.ibm.com>

	* config/s390/s390.md ("*tstdi_extimm", "*tstsi_extimm"): Merge.
	("*tstdi_cconly_extimm", "*tstsi_cconly_extimm"): Merge.
	("*tstdi_cconly2", "*tstsi_cconly2"): Merge.
	Move other tst* patterns to retain partial order.

From-SVN: r108517
2005-12-14 16:11:14 +00:00
Adrian Straetling 1b48c8cc6a s390.md ("d0", "1"): New mode attributes.
2005-12-14  Adrian Straetling  <straetling@de.ibm.com>

	* config/s390/s390.md ("d0", "1"): New mode attributes.
	("<shift>di3", "<shift>si3"): Merge.
	("*<shift>di3_and", "*<shift>si3_and"): Merge.
	("ashrdi3", "ashrsi3"): Merge.
	("*ashrdi3_cc", "*ashrsi3_cc"): Merge.
	("*ashrdi3_cc_and", "*ashrsi3_cc_and"): Merge.
	("*ashrdi3_cconly", "*ashrsi3_cconly"): Merge.
	("*ashrdi3_cconly_and", "*ashrsi3_cconly_and"): Merge.
	("*ashrdi3", "*ashrsi3"): Merge.
	("*ashrdi3_and", "*ashrsi3_and"): Merge.

From-SVN: r108516
2005-12-14 16:10:10 +00:00
Adrian Straetling 56477c21e0 s390.md ("extend<mode>di2", [...]): Merge.
2005-12-14  Adrian Straetling  <straetling@de.ibm.com>

	* config/s390/s390.md ("extend<mode>di2", "extend<mode>si2"): Merge.
	("*extendqidi2_extimm", "*extendqisi2_extimm"): Merge.
	("*extendqidi2", "*extendqisi2") Merge.
	("*extendqidi2_short_displ", "*extendqisi2_short_displ"): Merge.
	("zero_extendhidi2", "zero_extendqidi2"): Merge.
	("*zero_extend<mode>di2_extimm", "*zero_extend<mode>si2_extimm"): Merge.
	Move some patterns to retain partial ordering.

From-SVN: r108515
2005-12-14 16:08:57 +00:00
Adrian Straetling 0101708cff s390.md ("atype", "length"): Rewrite.
2005-12-14  Adrian Straetling  <straetling@de.ibm.com>

	* config/s390/s390.md ("atype", "length"): Rewrite.
	("*insv<mode>_reg_imm", "*insv<mode>_reg_extimm"): Add mode.

From-SVN: r108514
2005-12-14 16:05:01 +00:00
Daniel Jacobowitz f41d6665b2 Makefile.tpl: Throughout the file, use : $(MAKE) along with $(stage) and $(unstage).
* Makefile.tpl: Throughout the file, use : $(MAKE) along with
	$(stage) and $(unstage).
	(EXTRA_TARGET_FLAGS): Correct double-quoting.
	(all): Remove stray semicolon.
	(local-distclean): Don't handle multilib.tmp and multilib.out.
	(install.all): Set $s for consistency.
	(configure-[+prefix+][+module+]): Instead of [+deps+], handle
	check_multilibs setting.  Always make the install directory.
	(configure-stage[+id+]-[+prefix+][+module+]): Likewise.
	Correct @if/@endif.
	(all-stage[+id+]-[+prefix+][+module+]): Correct @if/@endif.
	($(TARGET_SUBDIR)/[+module+]/multilib.out): Remove.
	(stage[+id+]-start, stage[+id+]-end): Stage $(TARGET_SUBDIR).
	(multilib.out): Remove.
	* Makefile.in: Regenerated.

From-SVN: r108513
2005-12-14 15:30:44 +00:00
Sebastian Pop d14c5160c1 tree-ssa-operands.c (build_ssa_operands): Update leading comment.
* tree-ssa-operands.c (build_ssa_operands): Update leading comment.

From-SVN: r108512
2005-12-14 14:20:55 +00:00
J"orn Rennecke 5216df748a struct-equiv.c (rtx_equiv_p): Allow arbitrary RVALUE values for PARALLELs with a mode.
* struct-equiv.c (rtx_equiv_p): Allow arbitrary RVALUE values for
	PARALLELs with a mode.

From-SVN: r108511
2005-12-14 14:18:36 +00:00
Sebastian Pop ee39680c06 cfgloopmanip.c (lv_adjust_loop_entry_edge): Adjust the type of cond_expr parameter.
* cfgloopmanip.c (lv_adjust_loop_entry_edge): Adjust the type of
	cond_expr parameter.

From-SVN: r108510
2005-12-14 14:17:35 +00:00
Sebastian Pop b081e1dafb loop-unswitch.c (unswitch_loop): Free zero_bitmap before returning.
* loop-unswitch.c (unswitch_loop): Free zero_bitmap before returning.

From-SVN: r108509
2005-12-14 14:15:01 +00:00
J"orn Rennecke aa4a222cc8 re PR bootstrap/25397 (Bootstrap failed)
2005-12-14  J"orn Rennecke <joern.rennecke@st.com>

	PR bootstrap/25397:

	* struct-equiv.c (struct_equiv_init): Fix off-by-one error in clearing
	of STACK_REGS bits.

	* struct-euiv.c (rtx_equiv_p): Remove SUBREG case.

From-SVN: r108508
2005-12-14 13:41:22 +00:00
Jakub Jelinek 3b10d28608 re PR target/25254 (ICE with -mcmodel=medium -mlarge-data-threshold=1)
PR target/25254
	PR target/24188
	* config/i386/i386.c (x86_64_elf_select_section): If DECL is not
	DECL_P, call get_section rather than get_named_section.  Supply
	section flags to it.

	* gcc.target/i386/pr25254.c: New test.
	* gfortran.dg/PR24188.f: New test.

From-SVN: r108506
2005-12-14 12:00:50 +01:00
David Billinghurst 025509856a fortran-torture.exp: Catch remaining uses of remote_file build delete.
2005-12-14  David Billinghurst  (David.Billinghurst@riotinto.com)

	* lib/fortran-torture.exp:  Catch remaining uses of 
	remote_file build delete.

From-SVN: r108503
2005-12-14 03:28:17 +00:00
Kaveh R. Ghazi 872203f582 stkalign.C: Remove xfail.
* g++.old-deja/g++.oliva/stkalign.C: Remove xfail.

From-SVN: r108500
2005-12-14 01:50:57 +00:00
GCC Administrator 59b6ba90a8 Daily bump.
From-SVN: r108495
2005-12-14 00:17:32 +00:00
Ben Elliston 690a704a4e c-common.c (c_common_truthvalue_conversion): Generalise warning for addresses converted to booleans; not just function addresses.
* c-common.c (c_common_truthvalue_conversion): Generalise warning
	for addresses converted to booleans; not just function addresses.
	* c-typeck.c (build_binary_op): Warn for address comparisons which
	can never be NULL (eg. func == NULL or &var == NULL).
	* common.opt (Walways-true): New option.
	* c-opts.c (c_common_handle_option): Set it with -Wall.
	* doc/invoke.texi: Document it.
testsuite/
	* gcc.dg/warn-addr-cmp.c: New test.

From-SVN: r108489
2005-12-14 10:33:26 +11:00
Paul Brook 383eca9cce fpgnulib.c (__unordsf2, [...]): New functions.
2005-12-13  Paul Brook  <paul@codesourcery.com>

	* config/m68k/fpgnulib.c (__unordsf2, __unorddf2, __unordxf2,
	__floatunsidf, __floatunsisf, __floatunsixf): New functions.

From-SVN: r108487
2005-12-13 22:49:56 +00:00
Nathan Sidwell c3d7c86daf t-mt (crti.o, crtn.o): Add multilib options.
* config/mt/t-mt (crti.o, crtn.o): Add multilib options.
	(EXTRA_MULTILIB_PARTS): Define.

From-SVN: r108481
2005-12-13 17:08:34 +00:00
J"orn Rennecke 7d22e8989c PR rtl-optimization/20070 / part1
PR rtl-optimization/20070 / part1
	* flow.c (update_life_info): If PROP_POST_REGSTACK is set, call
	count_or_remove_death_notes with kill == -1.
	(mark_set_1): Don't add REG_DEAD / REG_UNUSED notes for stack
	registers if PROP_POST_REGSTACK is set.
	(mark_used_reg): Likewise.
	(count_or_remove_death_notes): If kill is -1, don't remove REG_DEAD /
	REG_UNUSED notes for stack regs.
	* cfgcleanup.c (condjump_equiv_p): Change parameters and processing
	to match rtx_equiv_p machinery.  Change caller.
	(outgoing_edges_match): Likewise.
	(try_crossjump_to_edge): Use struct_equiv_block_eq
	instead of flow_find_cross_jump.
	* basic-block.h (PROP_POST_REGSTACK, STRUCT_EQUIV_START): Define.
	(STRUCT_EQUIV_RERUN, STRUCT_EQUIV_FINAL): Likewise.
	(STRUCT_EQUIV_NEED_FULL_BLOCK, STRUCT_EQUIV_MATCH_JUMPS): Likewise.
	(STRUCT_EQUIV_MAX_LOCAL): Likewise.
	(struct struct_equiv_checkpoint, struct equiv_info): Likewise.
	(insns_match_p): Update prototype.
	(flow_find_cross_jump): Remove prototype.
	(struct_equiv_block_eq, struct_equiv_init): Declare.
	(rtx_equiv_p, condjump_equiv_p): Likewise.
	* struct-equiv.c: Include reload.h.
	(IMPOSSIBLE_MOVE_FACTOR): Define.
	(assign_reg_reg_set, struct_equiv_make_checkpoint): New functions.
	(struct_equiv_improve_checkpoint): Likewise.
	(struct_equiv_restore_checkpoint, rtx_equiv_p): Likewise.
	(set_dest_equiv_p, set_dest_addr_equiv_p, struct_equiv_init): Likewise.
	(struct_equiv_merge, find_dying_input): Likewise.
	(resolve_input_conflict, note_local_live): Likewise.
	(death_notes_match_p): Change parameters and processing
	to match rtx_equiv_p machinery.  Change caller.
	(insns_match_p): Likewise.
	(flow_find_cross_jump): Replace with:
	(struct_equiv_block_eq).

	Back out this change:
	2005-03-07  Kazu Hirata  <kazu@cs.umass.edu>
          * recog.c (verify_changes): Make it static.
          * recog.h: Remove the corresponding prototype.

From-SVN: r108480
2005-12-13 13:04:18 +00:00
J"orn Rennecke 80e6edb051 rtlhooks.c (gen_lowpart_general): Handle SUBREGs of floating point values.
* rtlhooks.c (gen_lowpart_general): Handle SUBREGs of floating point
	values.

From-SVN: r108479
2005-12-13 12:49:56 +00:00
Nathan Sidwell ce9d566844 t-mt (MULTILIB_OPTIONS): Add ms2
* config/mt/t-mt (MULTILIB_OPTIONS): Add ms2
	(MULTILIB_DIRNAMES): Add ms2.  Prefix ms1 dirs with 'ms1'.
	* config/mt/mt.c (ms1_final_prescan): Use TARGET_MS2,
	TARGET_MS1_64_001 appropriately.
	(ms1_machine_reorg): Use TARGET_MS2.

From-SVN: r108477
2005-12-13 09:54:15 +00:00
Richard Guenther 93fc8073fc trans-expr.c (gfc_conv_substring): Use fold_build2 and build_int_cst.
2005-12-13  Richard Guenther  <rguenther@suse.de>

	* trans-expr.c (gfc_conv_substring): Use fold_build2 and
	build_int_cst.

From-SVN: r108476
2005-12-13 09:54:03 +00:00
Andrew Haley 65260edb31 re PR java/25366 (ICE in do_resolve_class)
2005-12-13  Andrew Haley  <aph@redhat.com>

        PR java/25366
        PR java/25368
        * class.c (maybe_layout_super_class): Update current_class before
        calling do_resolve_class.

From-SVN: r108474
2005-12-13 09:41:45 +00:00
Jakub Jelinek 78fdb6d283 re PR libfortran/24991 (gfortran build fails with - error:gthr-default.h: No such file or directory)
PR libfortran/24991
	* acinclude.m4 (LIBGFOR_CHECK_PRAGMA_WEAK): Rename to...
	(LIBGFOR_GTHREAD_WEAK): ... this.  Define SUPPORTS_WEAK rather
	than HAVE_PRAGMA_WEAK.  Define GTHREAD_USE_WEAK to 0 on hosts
	that shouldn't use weak in gthr.h.
	* configure.ac: Use LIBGFOR_GTHREAD_WEAK instead of
	LIBGFOR_CHECK_PRAGMA_WEAK.
	* config.h.in: Regenerated.
	* configure: Regenerated.
	* io/io.h (SUPPORTS_WEAK): Don't define here.

	* intrinsics/ftell.c (ftell, FTELL_SUB): Add unlock_unit call.
	* intrinsics/fget.c (fgetc, fputs): Likewise.
	* intrinsics/tty.c (ttynam): Likewise.

From-SVN: r108471
2005-12-13 09:31:41 +01:00
Jakub Jelinek f767c88d72 Update.
From-SVN: r108465
2005-12-13 09:14:41 +01:00
Jakub Jelinek 6541fe758b re PR debug/25023 (ICE in def_cfa_1, at dwarf2out.c:792)
PR debug/25023
	PR target/25293
	* expr.c (emit_move_resolve_push): Handle PRE_MODIFY
	and POST_MODIFY with CONST_INT adjustment equal to PUSH_ROUNDING.
	Fix POST_INC/POST_DEC handling if PUSH_ROUNDING is not identity.
	* config/i386/i386.md (pushhi2, pushqi2): Use pushl instead of pushw.
	Set mode to SI, adjust constraints.
	(pushhi2_rex64, pushqi2_rex64): Set mode to DI.
	* config/i386/i386.h (PUSH_ROUNDING): Round up to 4 instead of 2 for
	32-bit code.

	* gcc.target/i386/pr25293.c: New test.

From-SVN: r108463
2005-12-13 09:08:46 +01:00
Petr Machata 6d32822515 re PR c++/24907 ("int x, ;" accepted)
2005-12-13  Petr Machata  <machata@post.cz>

	PR c++/24907
	* parser.c (cp_parser_simple_declaration): Require comma at the
	beginning of processing second and later declarators, instead of
	allowing the comma at the end of each iteration.

	* g++.dg/parse/comma2.C: New test.

From-SVN: r108462
2005-12-13 09:01:53 +01:00
Mark Mitchell 7e825da03e struct-layout-1.exp: Do not link with libiberty.
* g++.dg/compat/struct-layout-1.exp: Do not link with libiberty.
	* g++.dg/compat/struct-layout-1_generate.c (config.h): Do not include.
	(limits.h): Include unconditionally.
	(stdlib.h): Likewise.
	(hashtab.h): Do not include.
	(getopt.h): Likewise.
	(stddef.h): Include.
	(hashval_t): Define.
	(struct entry): Add "next" field.
	(HASH_SIZE): New macro.
	(hash_table): New variable.
	(switchfiles): Do not use xmalloc.
	(mix): New macro.
	(iterative_hash): New function.
	(hasht): Remove.
	(e_exists): New function.
	(e_insert): Likewise.
	(output): Use, instead of libiberty hashtable functions.
	(main): Do not use getopt.  Do not call htab_create.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>

From-SVN: r108461
2005-12-13 08:59:01 +01:00
Jakub Jelinek e279639769 re PR c++/25331 (FAIL: tmpdir-g++.dg-struct-layout-1/t028 cp_compat_[xy]_tst.o compile)
PR c++/25331
	* gcc.dg/compat/struct-layout-1_generate.c (subfield): Don't
	put atal* and atpaal* attributes on array elements.
	(generate_fields): Revert 2005-10-07 and 2005-10-11 changes.
	* g++.dg/compat/struct-layout-1_generate.c (subfield): Don't
	put atal* and atpaal* attributes on array elements.
	(generate_fields): Don't prevent atal* attribute on ETYPE_ARRAY.

From-SVN: r108460
2005-12-13 08:56:10 +01:00
Richard Sandiford 1524f80b1c Make-lang.in (fortran/trans-resolve.o): Depend on fortran/dependency.h.
gcc/fortran/
	* Make-lang.in (fortran/trans-resolve.o): Depend on
	fortran/dependency.h.
	* gfortran.h (gfc_expr): Add an "inline_noncopying_intrinsic" flag.
	* dependency.h (gfc_get_noncopying_intrinsic_argument): Declare.
	(gfc_check_fncall_dependency): Change prototype.
	* dependency.c (gfc_get_noncopying_intrinsic_argument): New function.
	(gfc_check_argument_var_dependency): New function, split from
	gfc_check_fncall_dependency.
	(gfc_check_argument_dependency): New function.
	(gfc_check_fncall_dependency): Replace the expression parameter with
	separate symbol and argument list parameters.  Generalize the function
	to handle dependencies for any type of expression, not just variables.
	Accept a further argument giving the intent of the expression being
	tested.  Ignore	intent(in) arguments if that expression is also
	intent(in).
	* resolve.c: Include dependency.h.
	(find_noncopying_intrinsics): New function.
	(resolve_function, resolve_call): Call it on success.
	* trans-array.h (gfc_conv_array_transpose): Declare.
	(gfc_check_fncall_dependency): Remove prototype.
	* trans-array.c (gfc_conv_array_transpose): New function.
	* trans-intrinsic.c (gfc_conv_intrinsic_function): Don't use the
	libcall handling if the expression is to be evaluated inline.
	Add a case for handling inline transpose()s.
	* trans-expr.c (gfc_trans_arrayfunc_assign): Adjust for the new
	interface provided by gfc_check_fncall_dependency.

libgfortran/
	* m4/matmul.m4: Use a different order in the special case of a
	transposed first argument.
	* generated/matmul_c4.c, generated/matmul_c8.c, generated/matmul_c10.c,
	* generated/matmul_c16.c, generated/matmul_i4.c, generated/matmul_i8.c,
	* generated/matmul_i10.c, generated/matmul_r4.c, generated/matmul_r8.c
	* generated/matmul_r10.c, generated/matmul_r16.c: Regenerated.

Co-Authored-By: Victor Leikehman <LEI@il.ibm.com>

From-SVN: r108459
2005-12-13 05:23:12 +00:00
Carlos O'Donell 264c41eda5 c-cppbuiltin.c (builtin_define_float_constants): Add fp_cast parameter, pass to builtin_define_with_hex_fp_value.
2005-12-13  Carlos O'Donell <carlos@codesourcery.com>

gcc/

	* c-cppbuiltin.c (builtin_define_float_constants): Add
	fp_cast parameter, pass to builtin_define_with_hex_fp_value.
	Define __FLT_HAS_DENORM__, __DBL_HAS_DENORM__, __LDBL_HAS_DENORM__.
	(builtin_define_with_hex_fp_value): Use fp_cast when building macro.
	(c_cpp_builtins): If flag_single_precision_constant then set fp_cast
	to "((double)%sL)" otherwise "%s".

gcc/testsuite/

	* gcc.dg/single-precision-constant.c: New test.

libstdc++-v3/

	* include/std/std_limits.h (struct numeric_limits):
	Use __DBL_HAS_DENORM__, __FLT_HAS_DENORM__, __LDBL_HAS_DENORM__.

From-SVN: r108458
2005-12-13 05:12:32 +00:00
Alan Modra 65b1344e31 980523-1.c, [...]: Don't use powerpc-*-* or powerpc64-*-* in target selection strings.
* gcc.dg/980523-1.c, gcc.dg/980526-1.c, gcc.dg/20020103-1.c,
	gcc.dg/20040625-1.c, gcc.dg/asm-b.c, gcc.dg/iftrap-1.c,
	gcc.dg/iftrap-2.c, gcc.dg/simd-3.c, gcc.dg/switch-1.c,
	gcc.dg/tree-ssa/bool-1.c, gcc.dg/tree-ssa/bool-2.c,
	gcc.dg/tree-ssa/bool-4.c, gcc.dg/tree-ssa/bool-5.c,
	gcc.dg/tree-ssa/bool-6.c, gcc.dg/tree-ssa/bool-8.c,
	gcc.dg/tree-ssa/bool-9.c, gcc.target/powerpc/980827-1.c,
	gcc.target/powerpc/20040622-1.c, gcc.target/powerpc/20050603-3.c,
	gcc.target/powerpc/20050830-1.c, gcc.target/powerpc/altivec-6.c,
	gcc.target/powerpc/altivec-14.c, gcc.target/powerpc/altivec-22.c,
	gcc.target/powerpc/doloop-1.c, gcc.target/powerpc/ppc-and-1.c,
	gcc.target/powerpc/ppc-bitfield1.c, gcc.target/powerpc/ppc-compare-1.c,
	gcc.target/powerpc/ppc-mov-1.c, gcc.target/powerpc/ppc-sdata-1.c,
	gcc.target/powerpc/ppc-sdata-2.c,
	gcc.target/powerpc/ppc-stackalign-1.c,
	gcc.target/powerpc/ppc64-abi-1.c, gcc.target/powerpc/ppc64-abi-2.c,
	gcc.target/powerpc/ppc64-abi-3.c, gcc.target/powerpc/ppc64-toc.c,
	gcc.target/powerpc/pr18096-1.c, gcc.target/powerpc/rs6000-ldouble-1.c,
	gcc.target/powerpc/rs6000-ldouble-2.c,
	gcc.target/powerpc/rs6000-power2-1.c,
	gcc.target/powerpc/rs6000-power2-2.c: Don't use powerpc-*-* or
	powerpc64-*-* in target selection strings.  Instead use powerpc*-*-*
	and ilp32 or lp64 as appropriate.  Merge dg-require-effective-target
	option into target selector.
	* gcc.dg/20020919-1.c: Compile for powerpc*-*-*.  Handle powerpc64.
	* gcc.misc-tests/linkage.exp: Set native_cflags for powerpc*-*-linux*.

From-SVN: r108457
2005-12-13 15:35:29 +10:30
Paul Brook dbff657a37 bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Pass -meabi=gnu for apcs/atpcs.
* config/arm/bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Pass -meabi=gnu for
	apcs/atpcs.

From-SVN: r108450
2005-12-13 01:35:43 +00:00
Paul Brook 99700fec4d bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Pass -meabi=gnu for apcs/atpcs.
* config/arm/bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Pass -meabi=gnu for
	apcs/atpcs.

From-SVN: r108448
2005-12-13 01:35:10 +00:00
Carlos O'Donell 9174b3cf76 MAINTAINERS (Write After Approval): Add myself.
2005-12-12  Carlos O'Donell <carlos@codesourcery.com>

	* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r108443
2005-12-13 01:08:45 +00:00
GCC Administrator bd4c70923e Daily bump.
From-SVN: r108439
2005-12-13 00:17:27 +00:00
Andrew Pinski 6b990f0dd7 re PR objc/25348 (ICE encoding zero sized struct array)
2005-12-12  Andrew Pinski  <pinskia@physics.uc.edu>

        PR objc/25348
        * objc-act.c (encode_array): Handle arrays to zero sized types.
2005-12-12  Andrew Pinski  <pinskia@physics.uc.edu>

        PR objc/25348
        * objc.dg/encode-9.m: New test.

From-SVN: r108432
2005-12-12 15:58:16 -08:00
Rafael Ávila de Espíndola 59ced94791 tree-flow.h: Allow compilation with a C++ compiler.
2005-12-11 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>

        * tree-flow.h: Allow compilation with a C++ compiler.
        (struct edge_prediction): Prefix all field names  with "ep_".
        * predict.c (tree_predicted_by_p): Likewise for struct
        edge_prediction.
        (tree_predict_edge, combine_predictions_for_bb): Likewise.
        (remove_predictions_associated_with_edge): Likewise.

From-SVN: r108430
2005-12-12 23:12:14 +00:00
Kaveh R. Ghazi d33df7e10d re PR testsuite/20772 (x86 tests should run on both i?86 and x86_64)
PR testsuite/20772
	* g++.old-deja/g++.eh/tmpl2.C: Remove xfail.
	* gcc.dg/asm-b.c: Fix typo.
	* gcc.dg/torture/pr20314-2.c: Test on i?86 lp64.
	* gcc.dg/tree-ssa/stdarg-2.c, gcc.dg/tree-ssa/stdarg-3.c,
	gcc.dg/tree-ssa/stdarg-4.c, gcc.dg/tree-ssa/stdarg-5.c: Test on
	i?86 lp64 and x86_64 ilp32.
	* gcc.target/i386/amd64-abi-1.c, gcc.target/i386/pr23943.c: Test
	on i?86 lp64.
	* gfortran.dg/g77/20010216-1.f: Test on x86_64 ilp32.

From-SVN: r108427
2005-12-12 22:28:02 +00:00
Steven G. Kargl d0497a6573 re PR fortran/25078 (EQUILALENCE requires two or more objects)
PR fortran/25078
        * match.c (gfc_match_equivalence):  Count number of objects.

        gfortran.dg/equiv_5.f90:  New test.

From-SVN: r108426
2005-12-12 20:13:37 +00:00
Jeff Law 0e0ed59411 tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Remove reassociation code.
* tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Remove
	reassociation code.
	* passes.c (init_optimization_passes): Run reassociation again
	after loop optimizations.

	* tree-ssa-dom.c (thread_across_edge): Canonicalize condition
	if necessary.
	(optimize_stmt): Ditto.
	(canonicalize_comparison): New function.
	* tree-ssa-operands.c (swap_tree_operands): Make external.
	(get_expr_operands): Stop auto-canonicalization.
	* tree-ssa-reassoc.c: Rewrite.
	(init_optimization_passes): 
	* tree-flow.h (swap_tree_operands): Prototype.
	* Makefile.in (tree-ssa-reassoc.o): Update dependencies.

	* gcc.dg/tree-ssa/ssa-pre-2.c: Update due to reassociation changes.
	* gcc.dg/tree-ssa/reassoc-1.c: Likewise.
	* gcc.dg/tree-ssa/reassoc-2.c: Likewise.
	* gcc.dg/tree-ssa/reassoc-3.c: Likewise.
	* gcc.dg/tree-ssa/reassoc-4.c: Likewise.
	* gcc.dg/tree-ssa/reassoc-5.c: New.
	* gcc.dg/tree-ssa/reassoc-6.c: New.
	* gcc.dg/tree-ssa/reassoc-7.c: New.
	* gcc.dg/tree-ssa/reassoc-8.c: New.
	* gcc.dg/tree-ssa/reassoc-9.c: New.
	* gcc.dg/tree-ssa/reassoc-10.c: New.
	* gcc.dg/tree-ssa/reassoc-11.c: New.

From-SVN: r108425
2005-12-12 12:59:16 -07:00
Andrew Haley e525ba8e6c VMCompiler.java: Directly generate a new instance of gnu.java.security.provider.MD5.
2005-12-12  Andrew Haley  <aph@redhat.com>

        * java/lang/VMCompiler.java: Directly generate a new instance of
        gnu.java.security.provider.MD5.

From-SVN: r108421
2005-12-12 17:29:45 +00:00
John David Anglin 1a83bfc389 re PR target/25258 ([4.0 regression/hpux] gcc generates incorrect stabs debug output)
PR target/25258
	* pa.c (pa_output_function_epilogue): Set cfun->machine->in_nsubspa to
	indicate function epilogue has been output.
	(pa_asm_output_mi_thunk): Likewise.
	(output_deferred_plabels): Put plabels in readonly data section when
	not generating PIC code.
	(som_output_text_section_asm_op): Use .NSUBSPA to output debug
	information.  Add assert.
	(som_output_comdat_data_section_asm_op): New function.
	(pa_som_asm_init_sections): Use som_output_comdat_data_section_asm_op
	instead of output_section_asm_op for COMDAT sections.

From-SVN: r108420
2005-12-12 17:17:51 +00:00
John David Anglin ffb99c1eba re PR testsuite/25167 (FAIL: gcc.dg/weak/weak-14.c)
PR testsuite/25167
	PR testsuite/24478
	* gcc.dg/weak/weak-14.c: Add dg-require-alias.

From-SVN: r108416
2005-12-12 16:42:35 +00:00
Mark Mitchell 36569397ed re PR c++/25300 (ICE with g++.dg/template/inherit.C)
PR c++/25300
	* tree.c (build_qualified_name): Return error_mark_node for
	erroneous input.
	PR c++/25300
	* g++.dg/template/inherit.C: Do not use a generic error message.

From-SVN: r108413
2005-12-12 16:29:44 +00:00
H.J. Lu 74daec8cf2 re PR java/25330 (A race condition in write_classfile)
2005-12-12  H.J. Lu  <hongjiu.lu@intel.com>

	PR java/25330
	* jcf-write.c (write_classfile): Use PID in temporary class
	file. Save/restore errno when reporting error.

From-SVN: r108411
2005-12-12 07:27:43 -08:00
J"orn Rennecke 22e0395a10 cfgcleanup.c (condjump_equiv_p, [...]): Fix whitespace in vincinity of to-be-installed changes.
2005-12-12  J"orn Rennecke <joern.rennecke@st.com>

	* cfgcleanup.c (condjump_equiv_p, try_crossjump_to_edge):
	Fix whitespace in vincinity of to-be-installed changes.
	* struct-equiv.c (merge_memattrs, death_notes_match_p): Fix whitespace.
	(insns_match_p): Likewise.

From-SVN: r108410
2005-12-12 14:55:59 +00:00