Commit Graph

74495 Commits

Author SHA1 Message Date
GCC Administrator
86e689a9b2 Daily bump.
From-SVN: r112617
2006-04-02 00:17:18 +00:00
Eric Botcazou
3e63ffb5a4 re PR libfortran/24685 (real(16) formatted input is broken for huge values (gfortran.dg/default_format_2.f90))
PR libfortran/24685
	* gfortran.dg/large_real_kind_form_io_2.f90: XFAIL on SPARC/Solaris.

From-SVN: r112611
2006-04-01 21:34:27 +00:00
Francois-Xavier Coudert
24726083a4 fpu-387.h: Use previously added SSE code in all cases, as it really is the right thing to do.
* config/fpu-387.h: Use previously added SSE code in all
	cases, as it really is the right thing to do.

From-SVN: r112610
2006-04-01 21:24:24 +00:00
Roger Sayle
37da9343f5 re PR fortran/25270 (testcases fail with a type mismatch)
PR fortran/25270
	* trans-array.c (gfc_trans_allocate_array_storage): In array index
	calculations use gfc_index_zero_node and gfc_index_one_node instead
	of integer_zero_node and integer_one_node respectively.
	(gfc_conv_array_transpose): Likewise.
	(gfc_conv_ss_startstride): Likewise.
	(gfc_trans_dummy_array_bias): Likewise.

From-SVN: r112608
2006-04-01 19:19:22 +00:00
Roger Sayle
9ccab91c6f dependency.c (gfc_is_inside_range): Delete.
* dependency.c (gfc_is_inside_range): Delete.
	(gfc_check_element_vs_section): Significant rewrite.

	* gfortran.dg/dependencency_17.f90: New test case.

From-SVN: r112607
2006-04-01 19:16:01 +00:00
Roger Sayle
d765523a64 dependency.c (gfc_dep_compare_expr): Strip parentheses and unary plus operators when comparing expressions.
* dependency.c (gfc_dep_compare_expr): Strip parentheses and unary
	plus operators when comparing expressions.  Handle comparisons of
	the form "X+C vs. X", "X vs. X+C", "X-C vs. X" and "X vs. X-C" where
	C is an integer constant.  Handle comparisons of the form "P+Q vs.
	R+S" and "P-Q vs. R-S".  Handle comparisons of integral extensions
	specially (increasing functions) so extend(A) > extend(B), when A>B.
	(gfc_check_element_vs_element): Move test later, so that we ignore
	the fact that "A < B" or "A > B" when A or B contains a forall index.

	* gfortran.dg/dependency_14.f90: New test case.
	* gfortran.dg/dependency_15.f90: Likewise.
	* gfortran.dg/dependency_16.f90: Likewise.

From-SVN: r112605
2006-04-01 07:11:35 +00:00
Bob Wilson
b7974b3af5 lib1funcs.asm: Rename abi_entry/abi_return macros to leaf_entry/leaf_return.
* config/xtensa/lib1funcs.asm: Rename abi_entry/abi_return macros
	to leaf_entry/leaf_return.  Change leaf_entry to add 16 bytes to
	the frame size.  Update to use the new macros.
	* config/xtensa/ieee754-sf.S: Use new leaf_entry/leaf_return macros.
	* config/xtensa/ieee754-df.S: Likewise.

From-SVN: r112604
2006-04-01 01:29:11 +00:00
Richard Henderson
56e8401921 tree-cfg.c (make_ctrl_stmt_edges, [...]): Merge into...
* tree-cfg.c (make_ctrl_stmt_edges, make_exit_edges): Merge into...
        (make_edges): ... here.  Control fallthru creation with a local
        variable.  Do not play with fake edges.
        (make_omp_sections_edges): Don't set EDGE_ABNORMAL.
        (make_goto_expr_edges): Don't play with fake edges.  Make for_call
        a boolean.

From-SVN: r112603
2006-03-31 16:37:13 -08:00
Joseph Myers
0c33762a47 dwarf2.h (DW64_CIE_ID): Define.
* dwarf2.h (DW64_CIE_ID): Define.
	* dwarf2out.c (DWARF_CIE_ID): Define.
	(output_call_frame_info): Output 0xffffffff before standard 8-byte
	length header.  Use DWARF_CIE_ID.
	(value_format): Use DW_FORM_data4 or DW_FORM_data8 for
	dw_val_class_loc_list depending on DWARF_OFFSET_SIZE.

From-SVN: r112601
2006-04-01 01:21:46 +01:00
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