Commit Graph

74386 Commits

Author SHA1 Message Date
GCC Administrator
771cdc9426 Daily bump.
From-SVN: r112599
2006-04-01 00:17:15 +00:00
Asher Langton
f0d0757e92 re PR fortran/25358 (vector assignment to assumed-size Cray Pointee error)
2006-03-31  Asher Langton  <langton2@llnl.gov>

        PR fortran/25358
        *expr.c (gfc_check_assign): Allow cray pointee to be assumes-size.


2006-03-31  Asher Langton  <langton2@llnl.gov>

        PR fortran/25358
        gfortran.dg/cray_pointers_6.f90: New test.

From-SVN: r112594
2006-04-01 00:04:46 +00:00
Kaz Kojima
b890ea500f linux-atomic.asm: New file.
* config/sh/linux-atomic.asm: New file.
	* config/sh/t-linux (LIB2FUNCS_EXTRA): Add linux-atomic.asm.

From-SVN: r112593
2006-03-31 22:31:05 +00:00
Mark Mitchell
bd9e7c5cd5 pex-win32.c (<errno.h>): Include.
* pex-win32.c (<errno.h>): Include.
	(fix_argv): Remove.
	(argv_to_cmdline): New function.
	(std_suffixes): New variable.
	(no_suffixes): Likewise.
	(find_executable): New function.
	(win32_spawn): Likewise.
	(spawn_script): Use win32_spawn instead of _spawnv[p].
	(pex_win32_exec_child): Replace MSVCRT calls with Win32 API calls.
	(pex_win32_wait): Likewise.

From-SVN: r112592
2006-03-31 22:16:35 +00:00
DJ Delorie
16659fcf33 cond.md: Set condition flags properly throughout.
* config/m32c/cond.md: Set condition flags properly throughout.
* config/m32c/minmax.md: Likewise.
* config/m32c/prologue.md: Likewise.
* config/m32c/bitops.md: Likewise.
* config/m32c/muldiv.md: Likewise.
* config/m32c/mov.md: Likewise.
* config/m32c/addsub.md: Likewise.
* config/m32c/m32c.md: Likewise.
* config/m32c/jump.md: Likewise.
* config/m32c/shift.md: Likewise.

* config/m32c/cond.md (cmp<mode>): Call m32c_output_compare to
conditionally output the pattern for this.
* config/m32c/m32c.c (flags_needed_for_conditional): New.
(m32c_compare_redundant): New.
(m32c_output_compare): New.
* config/m32c/m32c-protos.h (m32c_output_compare): New.

* config/m32c/m32c.c (m32c_prepare_shift): Fix logic to clobber
dest, not src.  Allow other 4-byte modes.

From-SVN: r112591
2006-03-31 16:53:04 -05:00
Andreas Tobler
6b04402b92 posix.cc (_Jv_platform_nanotime): Declare id with clockid_t.
2006-03-31  Andreas Tobler  <a.tobler@schweiz.ch>

	* posix.cc (_Jv_platform_nanotime): Declare id with clockid_t.

From-SVN: r112587
2006-03-31 22:38:55 +02:00
Joseph Myers
f555078868 * sv.po: Update.
From-SVN: r112580
2006-03-31 18:05:06 +01:00
Joseph Myers
d2f8b960fe * sv.po: Update.
From-SVN: r112579
2006-03-31 18:04:41 +01:00
Denis Chertykov
fc26268205 md.texi: Refer to avr/constraints.md instead of avr/avr.h.
* doc/md.texi: Refer to avr/constraints.md instead of
	avr/avr.h.

From-SVN: r112576
2006-03-31 17:32:44 +04:00
Andrew Haley
e6b7893e34 re PR libgcj/26858 (NullPointerException not generated for large classes...)
2006-03-30  Andrew Haley  <aph@redhat.com>

        PR java/26858
        * lang.c (java_attribute_table): New.
        (LANG_HOOKS_ATTRIBUTE_TABLE): Define.
        * expr.c (build_field_ref): Add a null pointer check for all
        fields of offset > 4k.  Don't do so for accesses via the this
        pointer, which we know can never be null.
        * class.c (build_java_method_type): Mark arg 1 of all nonstatic
        methods nonnull.

From-SVN: r112574
2006-03-31 11:43:43 +00:00
Jerry DeLisle
9ef47dec91 re PR libfortran/26890 (SIZE parameter interacts with same variable in IO list character length specification.)
2006-03-30  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/26890
	* gfortran.dg/read_size_noadvance.f90: New test.

From-SVN: r112571
2006-03-31 05:15:42 +00:00
Jerry DeLisle
d57d342432 re PR libfortran/26890 (SIZE parameter interacts with same variable in IO list character length specification.)
2006-03-30  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/26890
	* io/io.h: Add size_used to st_parameter_dt, adjust pad size.
	*io/transfer.c (data_transfer_init): Initialize size_used to zero.
	(read_sf): Use size_used.
	(read_block): Likewise.
	(read_block_direct): Likewise.
	(write_block): Likewise.
	(write_buf): Likewise and eliminate erroneous FAILURE return.
	(finalize_transfer): Assign value of size_used to *dtp->size.

From-SVN: r112570
2006-03-31 05:11:03 +00:00
Roger Sayle
5650dfbdb0 expr.c (emit_group_store): Make bytepos a HOST_WIDE_INT to signed vs.
* expr.c (emit_group_store): Make bytepos a HOST_WIDE_INT to
	signed vs. unsigned comparison failures on some hosts.

From-SVN: r112567
2006-03-31 03:53:47 +00:00
Ben Elliston
738caefc9e Typo fix.
From-SVN: r112564
2006-03-31 14:08:41 +11:00
Mark Mitchell
9d11d99eb9 Add missing entry
From-SVN: r112563
2006-03-31 02:03:12 +00:00
Alan Modra
ca0e79d91c re PR target/26459 (gcc fails to build on powerpc e500-double targets)
PR target/26459
	* config/rs6000/rs6000.h (CANNOT_CHANGE_MODE_CLASS): Limit 2003-12-08
	change to FLOAT_REGS.

From-SVN: r112561
2006-03-31 11:55:35 +10:30
Paul Thomas
2643649307 re PR fortran/21130 (38822 lines of Fortran 90 takes more than 10 minutes to compile on a dual 3GHz P4 Linux box with lots of RAM)
2006-03-30  Paul Thomas <paulthomas2@wanadoo.fr>
            Bud Davis  <bdavis9659@sbcglobal.net>

        PR 21130
        * module.c (load_needed): Traverse entire tree before returning.



Co-Authored-By: Bud Davis <bdavis9659@sbcglobal.net>

From-SVN: r112558
2006-03-31 00:47:13 +00:00
Alan Modra
d3603e8c4e rs6000.c (rs6000_explicit_options): Add ieee.
* config/rs6000/rs6000.c (rs6000_explicit_options): Add ieee.
	(rs6000_override_options): Use it.
	(rs6000_handle_option): Set it.  Set rs6000_explicit_options.abi
	only for -mabi=spe/no-spe and -mabi=altivec.

From-SVN: r112555
2006-03-31 10:57:51 +10:30
GCC Administrator
82107c9b29 Daily bump.
From-SVN: r112553
2006-03-31 00:17:50 +00:00
Geoffrey Keating
24cec83cc9 darwin.h (LINK_COMMAND_SPEC): Don't try to protect %S with !Zdynamiclib.
* config/darwin.h (LINK_COMMAND_SPEC): Don't try to protect %S with
	!Zdynamiclib.

From-SVN: r112549
2006-03-30 23:46:32 +00:00
Roger Sayle
240c7c0274 re PR middle-end/22375 (fold_builtins creates mis-matched types)
PR middle-end/22375
	* trans.c (gfc_trans_runtime_check): Promote the arguments of
	__builtin_expect to the correct types, and the result back to
	boolean_type_node.

From-SVN: r112547
2006-03-30 22:37:55 +00:00
Francois-Xavier Coudert
7d30b888b5 re PR libfortran/26712 (gfortran on mac intel runtime floating point exception when printing)
PR libfortran/26712
	* config/fpu-387.h: Add special case for handling of SSE
	control bit on i386-darwin.

From-SVN: r112546
2006-03-30 22:00:21 +00:00
Carlos O'Donell
ad3a7ce375 Makefile.in: Rename docdir to gcc_docdir.
gcc/

2006-03-30  Carlos O'Donell  <carlos@codesourcery.com>

	* Makefile.in: Rename docdir to gcc_docdir.

gcc/java/

2006-03-30  Carlos O'Donell  <carlos@codesourcery.com>

	* Make-lang.in: Rename docdir to gcc_docdir.

gcc/ada/

2006-03-29  Carlos O'Donell  <carlos@codesourcery.com>

	* Make-lang.in: Rename docdir to gcc_docdir.

gcc/fortran/

2006-03-29  Carlos O'Donell  <carlos@codesourcery.com>

	* Make-lang.in: Rename docdir to gcc_docdir.

gcc/treelang/

2006-03-29  Carlos O'Donell  <caros@codesourcery.com>

	* Make-lang.in: Rename docdir to gcc_docdir.

From-SVN: r112545
2006-03-30 20:20:10 +00:00
Roger Sayle
79edfde8fb re PR target/17959 (-mpowerpc64 can cause worse code than without it)
PR target/17959
	* expr.c (emit_group_store):  Optimize group stores into a pseudo
	register by using a paradoxical subreg to initialize the destination
	if the first or last member of the group specifies a "low part".

From-SVN: r112543
2006-03-30 17:47:48 +00:00
Tom Tromey
105aa1532e aclocal.m4, [...]: Rebuilt.
* aclocal.m4, configure, Makefile.in: Rebuilt.
	* configure.ac: Use AM_MAINTAINER_MODE.

From-SVN: r112542
2006-03-30 16:59:27 +00:00
Tom Tromey
1549c4e552 re PR java/26042 (ICE in mark_reference_fields, at java/boehm.c:105)
gcc/java
	PR java/26042:
	* parse.y (java_reorder_fields): Reset superclass field's size as
	well.
libjava
	PR java/26042:
	* testsuite/libjava.compile/pr26042.java: New file.

From-SVN: r112540
2006-03-30 16:39:17 +00:00
Thomas Koenig
6b86a9bc05 re PR fortran/25031 ([4.1 only] Allocatable array can be reallocated.)
2006-03-30  Thomas Koenig  <Thomas.Koenig@online.de>

	PR fortran/25031
	* runtime/memory.c (allocate_array):  If stat is present and
	the variable is already allocated, free the variable, do
	the allocation and set stat.
	(allocate_array_64):  Likewise.  Whitespace fix.

2006-03-30  Thomas Koenig  <Thomas.Koenig@online.de>

	PR fortran/25031
	* gfortran.dg/multiple_allocation_1.f90:  Check that the
	size has changed after a re-allocation with stat.

From-SVN: r112539
2006-03-30 16:30:26 +00:00
Maxim Kuvyrkov
c7ec547267 re PR target/26734 (GCC cannot bootstrap on IA64 HP-UX)
2006-03-30  Maxim Kuvyrkov  <mkuvyrkov@ispras.ru>

	PR target/26734
	* rtl.def (DEPS_LIST): Change type of the second operand to 'int'.
	* target.h (struct gcc_target.speculate_insn): Change type of the
	second parameter to 'int'.
	* lists.c (alloc_DEPS_LIST): Change signature.  Update reference to
	the second operand of the DEPS_LIST.
	(copy_DEPS_LIST_list): Update reference	to the second operand of the
	DEPS_LIST.
	* rtl.h (alloc_DEPS_LIST): Update signature.
	* sched-int.h (ds_t): Change typedef to 'int'.
	(DEP_STATUS, BITS_PER_DEP_STATUS): Update.

From-SVN: r112538
2006-03-30 15:41:00 +00:00
Maxim Kuvyrkov
682b6a9e8f haifa-sched.c (try_ready): Change condition to restore non-speculative pattern of the instruction.
2006-03-30  Maxim Kuvyrkov  <mkuvyrkov@ispras.ru>

	* haifa-sched.c (try_ready): Change condition to restore
	non-speculative pattern	of the instruction.
	(process_insn_depend_be_in_spec): Code to keep probability of the
	speculative dependence non-decreasing.

From-SVN: r112537
2006-03-30 15:33:18 +00:00
Jie Zhang
144f831567 bfin.c (single_move_for_strmov): Renamed to...
* config/bfin/bfin.c (single_move_for_strmov): Renamed to...
	(single_move_for_movmem): ... this. Also change all uses.
	(bfin_expand_strmov): Renamed to...
	(bfin_expand_movmem): ... this. Also change all uses.
	* config/bfin/bfin.md (movstrsi): Renamed to...
	(movstrsi): ...this.

From-SVN: r112535
2006-03-30 14:48:05 +00:00
Paolo Bonzini
ae25dbda33 re PR tree-optimization/26830 (Repeated SSA update during loop header copying)
2006-03-30  Paolo Bonzini  <bonzini@gnu.org>

	PR tree-optimization/26830

	* tree-ssa-copy.c (copy_prop_visit_assignment): Do not check loop depth.
	(copy_prop_visit_stmt): Remove write-only variable ann.
	(init_copy_prop): Check variable loop depth here.  Do not simulate
	memory-tag and virtual operand PHIs except for store copy prop.

From-SVN: r112534
2006-03-30 14:31:13 +00:00
Richard Guenther
7d3a3b01c3 Makefile.am: Do not build dbl-64 variants.
2006-03-30  Richard Guenther  <rguenther@suse.de>

	* i386/Makefile.am: Do not build dbl-64 variants.
	* i386/Makefile.in: Regenerate.
	* dbl-64: Remove.

	* config/i386/i386.c: Remove builtins for SSE2 ABI intrinsic
	variants with double arguments.

	* gcc.target/i386/sselibm-1.c: Adjust for libgcc-math partial
	removal.
	* gcc.target/i386/sselibm-2.c: Likewise.
	* gcc.target/i386/sselibm-3.c: Likewise.
	* gcc.target/i386/sselibm-4.c: Likewise.
	* gcc.target/i386/sselibm-5.c: Likewise.

From-SVN: r112530
2006-03-30 12:11:16 +00:00
Roger Sayle
5cd88d6857 re PR c++/22494 (C++ front-end produces mis-match types in EQ_EXPR (array deconstructor))
PR c++/22494
	* init.c (build_vec_delete_1): Convert BASE pointer's type to
	the base pointer type to avoid a type mismatch in the EQ_EXPR.

From-SVN: r112529
2006-03-30 01:35:22 +00:00
GCC Administrator
b70f12770b Daily bump.
From-SVN: r112526
2006-03-30 00:17:11 +00:00
David Edelsohn
c13a761d11 * Makefile.in (build/genpeep.o): Add toplev.h dependency.
From-SVN: r112522
2006-03-29 18:58:31 -05:00
David Edelsohn
f160357f5a * genpeep.c (main): Add toplev.h to included headers.
From-SVN: r112519
2006-03-29 18:23:28 -05:00
David Edelsohn
40377a6d88 * config/rs6000/constraints.md: Add "W" constraint.
From-SVN: r112518
2006-03-29 18:17:23 -05:00
David Edelsohn
92cf85e9d2 * Makefile.in (build/gencondmd.o): Add tm-constrs.h dependency.
From-SVN: r112517
2006-03-29 18:08:11 -05:00
David Edelsohn
f856939429 genconditions.c (write_header): Add tm-constrs.h to included headers.
* genconditions.c (write_header): Add tm-constrs.h to included
        headers.

From-SVN: r112516
2006-03-29 17:58:32 -05:00
David Edelsohn
10a273913f * genpreds.c (write_tm_constrs_h): Delete variable p.
From-SVN: r112515
2006-03-29 17:46:47 -05:00
Benjamin Kosnik
5d2a0db5f8 sgetn.txt: Correct copyright holder.
2006-03-29  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/data/sgetn.txt:  Correct copyright holder.
	* testsuite/data/wistream_extractor_other-1.tst: Same.
	* testsuite/data/wistream_extractor_other-2.tst: Same.
	* testsuite/data/istream_extractor_other-1.txt: Same.
	* testsuite/data/filebuf_virtuals-1.txt: Same.
	* testsuite/data/wostream_inserter_other-1.tst: Same.
	* testsuite/data/wostream_inserter_other-2.tst: Same.
	* testsuite/data/ostream_inserter_other-1.tst: Same.
	* testsuite/data/ostream_inserter_other-2.tst: Same.
	* testsuite/data/wistream_extractor_other-1.txt: Same.
	* testsuite/data/istream_extractor_other-1.tst: Same.
	* testsuite/data/istream_extractor_other-2.tst: Same.
	* testsuite/data/filebuf_virtuals-1.tst: Same.
	* testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Adjust test
	conditions.
	* testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Same.
	* testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Same.
	* testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Same.

From-SVN: r112514
2006-03-29 22:46:44 +00:00
Roger Sayle
a6a12bb9de stor-layout.c (mode_for_size_tree): Remove restiction on type sizes by correctly testing whether the size fits a...
* stor-layout.c (mode_for_size_tree): Remove restiction on type
	sizes by correctly testing whether the size fits a host integer.
	(initialize_sizetypes): Use set_min_and_max_values_for_integral_type
	to correctly set TYPE_MIN_VALUE and TYPE_MAX_VALUE to the full
	SImode range for the default sizetype and bitsizetype.

From-SVN: r112513
2006-03-29 22:40:17 +00:00
David Edelsohn
68441323e2 Remove extra parentheses for "M" case.
From-SVN: r112512
2006-03-29 17:30:23 -05:00
Roger Sayle
0a931ce5d4 convert.c (convert_to_pointer): Preserve the TREE_OVERFLOW and TREE_CONSTANT_OVERFLOW bits of the argument.
* convert.c (convert_to_pointer): Preserve the TREE_OVERFLOW
	and TREE_CONSTANT_OVERFLOW bits of the argument.  Return
	quickly if the argument is already of the correct type.
	Call fold_build1 instead of build1.  Tidy up blank lines.

From-SVN: r112511
2006-03-29 21:55:34 +00:00
Tom Tromey
9b71c701c6 re PR bootstrap/26901 (../../../../../gcc/libjava/classpath/tools/gnu/classpath/tools/AbstractMethodGenerator.java:1: fatal error: unknown encoding: 'roman8')
PR gcc/26901:
	* Makefile.in: Rebuilt.
	* Makefile.am (SUBDIRS): Remove 'tools'.
	(DIST_SUBDIRS): Likewise.

From-SVN: r112510
2006-03-29 21:33:08 +00:00
David Edelsohn
279bb624ca genemit.c (main): Add tm-constrs.h to included headers.
* genemit.c (main): Add tm-constrs.h to included headers.
        * genoutput.c (output_prologue): Add tm-constrs.h to included headers.
        * genpeep.c (main): Add tm-constrs.h to included headers.
        * genpreds.c (write_satisfies_constraint_fns): Rename to ...
        (write_tm_constrs_h): this and write complete file.
        (write_tm_preds_h): Do not emit satisfies_constraint fns.
        (write_insn_preds_c): Add tm-constrs.h to included headers.
        (gen_constrs): New variable.
        (parse_option): Parse "-c".
        (main): Invoke write_tm_constrs_h.
        * genrecog.c (write_header): Add tm-constrs.h to included headers.
        * Makefile.in (STAGECOPYSTUFF): Add tm-constrs.h.
        (object_out_file): Add tm-constrs.h dependency.
        (insn-emit.o): Same.
        (insn-output.o): Same.
        (insn-peep.o): Same.
        (insn-preds.o): Same.
        (insn-recog.o): Same.
        (tm-constsr.h): New target.
        (s-constrs-h): New target.

        * config/rs6000/constraints.md: New file.
        * config/rs6000/rs6000.c: Include tm-constrs.h.
        (num_insn_constant_wide): Convert to satisfies_constraint.
        (rs6000_rtx_costs): Convert to satisfies_constraint.
        * config/rs6000/rs6000.h (REG_CLASS_FROM_LETTER): Delete.
        (CONST_OK_FOR_LETTER_P): Delete.
        (CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
        (EXTRA_CONSTRAINT): Delete.
        (EXTRA_MEMORY_CONSTRAINT): Delete.
        (EXTRA_ADDRESS_CONSTRAINT): Delete.
        * config/rs6000/predicates.md: Convert to satisfies_constraint.
        * config/rs6000/rs6000.md: Include constraints.md.  Convert to
        satisfies_constraint.

        * config/i386/i386.c: Include tm-constrs.h.

From-SVN: r112508
2006-03-29 16:07:12 -05:00
Sebastian Pop
e14b10df7a tree-loop-linear.c (compute_data_dependences_for_loop): Adjust calls.
* tree-loop-linear.c (compute_data_dependences_for_loop): Adjust calls.
	* tree-data-ref.c (find_data_references_in_loop,
	compute_data_dependences_for_loop): Use pointers to VEC.
	(analyze_all_data_dependences): Adjust calls.
	* tree-data-ref.h (find_data_references_in_loop,
	compute_data_dependences_for_loop): Adjust declarations.
	* tree-vect-analyze.c (vect_analyze_data_refs): Adjust call to
	compute_data_dependences_for_loop.

From-SVN: r112507
2006-03-29 20:25:23 +00:00
Tom Tromey
d4e3674320 sources.am, [...]: Rebuilt.
* sources.am, Makefile.in: Rebuilt.
	* scripts/makemake.tcl: Scan classpath/external/relaxngDatatype.

From-SVN: r112506
2006-03-29 20:13:23 +00:00
Paul Brook
221b2a6448 vfp.md (movsf_vfp): Disparage w<->r alternatives.
2006-03-29  Paul Brook  <paul@codesourcery.com>

	* config/arm/vfp.md (movsf_vfp): Disparage w<->r alternatives.
	(movdf_vfp): Ditto.

From-SVN: r112504
2006-03-29 19:14:57 +00:00
Andreas Tobler
94a0c1fc2a acinclude.m4: Restore the situation that we don't build modules on darwin.
2006-03-29  Andreas Tobler  <a.tobler@schweiz.ch>

	* acinclude.m4: Restore the situation that we don't build modules on
	darwin.
	* configure: Regenerated.

From-SVN: r112503
2006-03-29 20:47:39 +02:00