Commit Graph

81496 Commits

Author SHA1 Message Date
Keith Seitz
7dace0ca51 java-interp.h (_Jv_LocalVarTableEntry): Add union for bytecode_pc and direct-threaded pc.
* include/java-interp.h (_Jv_LocalVarTableEntry): Add union
        for bytecode_pc and direct-threaded pc.
        Add field descriptions inline.
        * defineclass.cc (read_one_code_attribute): Change from
        bytecode_start_pc to bytecode_pc.
        Remove unused variable "len".
        * interpret.cc (compile): Remap the variable table, too.
        (get_local_var_table) [DIRECT_THREADED]: Use insn_index on the
        start location to map from pc_t to code index.

From-SVN: r125734
2007-06-15 03:53:52 +00:00
Andrew Pinski
e89993b3f2 tree-mudflap.c: Fix whitespace issues.
2007-06-14  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        * tree-mudflap.c: Fix whitespace issues.

From-SVN: r125733
2007-06-14 20:39:31 -07:00
Kazu Hirata
83f6221b98 * config/m68k/m68k.c (ASM_DOT, ASM_DOTW, ASM_DOTL): Remove.
From-SVN: r125731
2007-06-15 02:43:32 +00:00
GCC Administrator
f5f9faee6d Daily bump.
From-SVN: r125729
2007-06-15 00:16:52 +00:00
Dirk Mueller
bf37bd8885 re PR c++/31806 (miscompilation with -fschedule-insns2 -fno-threadsafe-statics)
2007-06-14  Dirk Mueller  <dmueller@suse.de>

       PR c++/31806
       * g++.dg/opt/static6.C: New testcase.

From-SVN: r125726
2007-06-14 23:12:25 +00:00
Eric Christopher
5eafdd32da sse.md (movdi_to_sse): Rewrite body.
2007-06-14  Eric Christopher  <echristo@apple.com>

        * config/i386/sse.md (movdi_to_sse): Rewrite body.
        (movv4sf): Use gcc_unreachable instead of abort.

From-SVN: r125723
2007-06-14 21:43:45 +00:00
Geoffrey Keating
c96f00012b decl2.c (determine_visibility): Ensure that functions with hidden types as parameters are hidden.
* decl2.c (determine_visibility): Ensure that functions with
	hidden types as parameters are hidden.

From-SVN: r125722
2007-06-14 21:04:10 +00:00
Geoffrey Keating
7dbd86a541 re PR libgcj/31093 (Multicast PromiscuousTraffic)
PR 31093
	* decl2.c (determine_visibility): Remove duplicate code for
	handling type info.

From-SVN: r125721
2007-06-14 20:56:25 +00:00
Uros Bizjak
4962b67943 re PR target/32268 (Wrong comparison results for __float128 operands)
PR target/32268
        * config/i386/sfp-machine.c (CMPtype): New define.
        (mach stubs): Use CMPtype instead of int as a return type.

testsuite/ChangeLog:

        PR target/32268
        * gcc.target/i386/pr32268.c: New test.

From-SVN: r125720
2007-06-14 22:15:13 +02:00
Uros Bizjak
97943b3c8b eqdf2.c, [...]: Update from glibc CVS.
* config/soft-fp/eqdf2.c, config/soft-fp/eqsf2.c,
        config/soft-fp/eqtf2.c, config/soft-fp/gedf2.c,
        config/soft-fp/gesf2.c, config/soft-fp/getf2.c,
        config/soft-fp/ledf2.c, config/soft-fp/lesf2.c,
        config/soft-fp/letf2.c, config/soft-fp/unorddf2.c,
        config/soft-fp/unordsf2.c, config/soft-fp/unordtf2.c,
        config/soft-fp/soft-fp.h: Update from glibc CVS.

From-SVN: r125719
2007-06-14 21:45:11 +02:00
H.J. Lu
9929612817 fe-convert-1.c: Expect FE_OVERFLOW when converting from 10.000000e96DD to _Decimal32...
2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc.dg/dfp/fe-convert-1.c: Expect FE_OVERFLOW when converting
	from 10.000000e96DD to _Decimal32, from 10.000000e96DL to
	_Decimal32 and from 10.00000000000000E384DL to _Decimal64.

	*  gcc.dg/dfp/fe-convert-2.c: Expect FE_INEXACT when converting
	from 1.0e96 and -1.0e96 to _Decimal32. Enable testing for
	converting from 1.0e-96 and 0.00048828125 to _Decimal32 when
	BID is used.

From-SVN: r125718
2007-06-14 10:24:22 -07:00
Bernd Schmidt
3fcfad7607 configure.ac: Don't add target-libmudflap to noconfigdirs for bfin*-*-uclinux* targets.
* configure.ac: Don't add target-libmudflap to noconfigdirs for
	bfin*-*-uclinux* targets.
	* configure: Regenerate.

	* gcc/config/bfin/uclinux.h (MFWRAP_SPEC): New.

From-SVN: r125717
2007-06-14 17:10:54 +00:00
Paolo Bonzini
aa2480c5fb configure.ac: Use ACX_PROG_CC_ALMOST_PEDANTIC too.
2007-06-14  Paolo Bonzini  <bonzini@gnu.org>

	* configure.ac: Use ACX_PROG_CC_ALMOST_PEDANTIC too.
	* configure: Regenerate.

From-SVN: r125716
2007-06-14 14:40:58 +00:00
Rask Ingemann Lambertsen
9074582342 re PR target/32341 (undefined reference to `df_set_regs_ever_live_p')
2007-06-14  Rask Ingemann Lambertsen  <rask@sygehus.dk>

	PR target/32341
	* config/v850/v850.c: Include dataflow header file.
	(substitute_ep_register): Fix typo.

From-SVN: r125715
2007-06-14 14:33:21 +00:00
Ian Lance Taylor
3f5a2b7f67 MAINTAINERS: Add myself as non-algorithmic global write maintainer.
* MAINTAINERS: Add myself as non-algorithmic global write
	maintainer.

From-SVN: r125713
2007-06-14 13:56:46 +00:00
Paolo Bonzini
04c3028a09 configure.ac: Fix earlier checkin.
2007-06-14  Paolo Bonzini  <bonzini@gnu.org>

	* configure.ac: Fix earlier checkin.
	* configure: Regenerated.

From-SVN: r125711
2007-06-14 06:27:32 -07:00
Diego Novillo
4c46daeea9 MAINTAINERS: Add self as middle-end maintainer and non-algorithmic global write maintainer.
* MAINTAINERS: Add self as middle-end maintainer and
	non-algorithmic global write maintainer.

From-SVN: r125710
2007-06-14 09:15:24 -04:00
Paul Thomas
d8158369c6 re PR fortran/32302 (Incorrect result with -O2)
2007-06-14  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/32302
	* trans-common.c (build_common_decl): If resizing of common
	decl is needed, update the TREE_TYPE.

2007-06-14  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/32302
	* gfortran.dg/common_resize_1.f90: New test.

From-SVN: r125708
2007-06-14 13:04:05 +00:00
H.J. Lu
77a1416d57 configure.ac: Fix a typo in --enable-checking=.
2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>

	* configure.ac: Fix a typo in --enable-checking=.
	* configure: Regenerated.

From-SVN: r125705
2007-06-14 05:44:43 -07:00
Francois-Xavier Coudert
a3bb222a7b MAINTAINERS: Change spelling from "fortran 95" to "Fortran".
* MAINTAINERS: Change spelling from "fortran 95" to "Fortran".
	Move all Fortran maintainers except Paul Brook into the
	Non-Autopoiesis section.

From-SVN: r125704
2007-06-14 12:30:28 +00:00
Dorit Nuzman
c6f5c27317 re PR testsuite/32274 (FAIL: gcc.dg/vect/pr32224.c)
PR target/32274
        * gcc.dg/vect/pr32224.c: Fix.

From-SVN: r125703
2007-06-14 09:39:31 +00:00
Arnaud Charlet
3c95201d6f Add new tests.
From-SVN: r125702
2007-06-14 11:24:07 +02:00
Paolo Bonzini
a19e8f6495 Makefile.tpl (cleanstrap): Don't delete the toplevel Makefile.
2007-06-14  Paolo Bonzini  <bonzini@gnu.org>

	* Makefile.tpl (cleanstrap): Don't delete the toplevel Makefile.
	(distclean-stage[+id+]): Possibly delete stage_last.
	* Makefile.in: Regenerate.

From-SVN: r125701
2007-06-14 08:50:28 +00:00
Paolo Bonzini
3bbd5a19eb acinclude.m4 (gcc_AC_CHECK_PROG_VER): Remove.
gcc:
2007-06-14  Paolo Bonzini  <bonzini@gnu.org>

        * acinclude.m4 (gcc_AC_CHECK_PROG_VER): Remove.
        * aclocal.m4: Regenerate.
        * configure.ac: Use ACX_PROG_CC_WARNING_OPTS,
        ACX_PROG_CC_WARNINGS_ARE_ERRORS,
        ACX_PROG_CC_WARNING_ALMOST_PEDANTIC, ACX_CHECK_PROG_VER.
	* configure: Regenerate.
        * Makefile.in (LOOSE_WARN): Subst loose_warn.

        * Makefile.in (quickstrap): Build libgcc too.

libiberty:
2007-06-14  Paolo Bonzini  <bonzini@gnu.org>

        * aclocal.m4: Include config/warnings.m4.
        * configure.ac: Use ACX_PROG_CC_WARNING_OPTS.
	* configure: Regenerate.

config:
2007-06-14  Paolo Bonzini  <bonzini@gnu.org>

        * acx.m4 (ACX_CHECK_PROG_VER): Remove duplicate lines.

From-SVN: r125700
2007-06-14 08:10:41 +00:00
Paolo Bonzini
ab28cc38fd svn missed the changelog for previous rev...
From-SVN: r125699
2007-06-14 07:54:21 +00:00
Paolo Bonzini
3089f8b5a1 configure.ac: Add --enable-checking=df.
2007-06-14  Paolo Bonzini  <bonzini@gnu.org>

	* configure.ac: Add --enable-checking=df.  Explicitly mention that
	the variables are initialized as for "release".
	* df-core.c: Use it.
	* configure: Regenerate.
	* config.in: Regenerate.

From-SVN: r125698
2007-06-14 07:51:58 +00:00
Bob Wilson
20dca97bbd xtensa.c (xtensa_expand_nonlocal_goto): Use validate_replace_rtx instead of replace_rtx.
* config/xtensa/xtensa.c (xtensa_expand_nonlocal_goto): Use
        validate_replace_rtx instead of replace_rtx.
        (xtensa_expand_prologue): Call df_insn_rescan after replace_rtx.

From-SVN: r125697
2007-06-14 04:49:42 +00:00
Danny Smith
76f5e2005d config.host (*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to extra_parts.
ChangeLog/libgcc

2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>

	* config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
	extra_parts. Add config/i386/t-cygming to tmake_file. 
	* config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.


ChangeLog/gcc

2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>

	* config/i386/cygming.h (DWARF_FRAME_REGNUM): Define.
	(DWARF2_UNWIND_INFO): Override default if configured with
	SJLJ EH disabled.
	* config/i386/cygwin.h (STARTFILE_SPEC): Add crtbegin.o.
	(ENDFILE_SPEC): Add crtend.o.
	* config/i386/mingw32.h (STARTFILE_SEC): Add crtbegin.o.
	(ENDFILE_SPEC): Add crtend.o.
	(TARGET_USE_JCR_SECTION): Define.
	(MD_UNWIND_SUPPORT): Define for 32-bit target.

	* config/i386/cygming-crtbegin.c: New file.
	* config/i386/cygming-crtend.c: New file.

2007-06-14  Pascal Obry Pascal Obry  <obry@adacore.com>

	* config/i386/w32-unwind.h: New file.

From-SVN: r125696
2007-06-14 02:38:37 +00:00
Eric Christopher
ab47d43e01 darwin.h (PREFERRED_STACK_BOUNDARY): Don't let the user set a value below STACK_BOUNDARY.
2007-06-13  Eric Christopher  <echristo@apple.com>

	    * config/i386/darwin.h (PREFERRED_STACK_BOUNDARY): Don't let
	    the user set a value below STACK_BOUNDARY.

From-SVN: r125695
2007-06-14 01:53:17 +00:00
Eric Christopher
77dcc28677 ssefn-1.c: Add -march=i386.
2007-06-13  Eric Christopher  <echristo@apple.com>

	    * gcc.target/i386/ssefn-1.c: Add -march=i386.

From-SVN: r125694
2007-06-14 01:24:28 +00:00
GCC Administrator
31a61d0c84 Daily bump.
From-SVN: r125692
2007-06-14 00:17:05 +00:00
Thiemo Seufer
b64a6dbdbb linux.h, linux64.h (LIB_SPEC): Always imply -lpthread for -pthread.
* config/mips/linux.h, config/mips/linux64.h (LIB_SPEC): Always
	imply -lpthread for -pthread.

From-SVN: r125688
2007-06-13 23:22:29 +00:00
Kazu Hirata
9c57e1e889 tree-ssa-pre.c (mergephitemp): Remove.
* tree-ssa-pre.c (mergephitemp): Remove.
	(init_pre): Don't use mergephitemp.

From-SVN: r125687
2007-06-13 23:12:46 +00:00
Kazu Hirata
efd7122b03 basic-block.h: Remove the prototype for free_basic_block_vars.
* basic-block.h: Remove the prototype for
	free_basic_block_vars.
	* cfglayout.h: Remove the prototype for
	insn_locators_initialize.
	* tree.h: Remove the prototype for emit_line_note.

From-SVN: r125686
2007-06-13 22:57:14 +00:00
Eric Christopher
b26f6ed7b9 i386.c (override_options): If we've specified an arch then don't use TARGET_SUBTARGET_ISA_DEFAULTs.
2007-06-13  Eric Christopher  <echristo@apple.com>

        * config/i386/i386.c (override_options): If we've specified
        an arch then don't use TARGET_SUBTARGET_ISA_DEFAULTs.

From-SVN: r125685
2007-06-13 22:06:15 +00:00
Tobias Burnus
59be80716a re PR fortran/32323 (Accepts invalid vector subscript actual argument for intent(out) dummy argument)
2007-06-13  Tobias Burnus  <burnus@net-b.de>

	PR fortran/32323
	* interface.c (has_vector_section): New.
	(compare_actual_formal): Check for array sections with vector subscript.

2007-06-13  Tobias Burnus  <burnus@net-b.de>

	PR fortran/32323
	* gfortran.dg/actual_array_vect_1.f90: New.

From-SVN: r125684
2007-06-13 22:12:40 +02:00
Richard Earnshaw
ddb4f387ee eh_arm.cc (__cxa_type_match): Handle foreign exceptions.
* libsupc++/eh_arm.cc (__cxa_type_match): Handle foreign
	exceptions.
	* libsubpc++/eh_personality.cc: Don't try to set up foreign or
	forced unwind types here when using the ARM EABI unwinder.

From-SVN: r125683
2007-06-13 19:31:58 +00:00
Bob Wilson
29dc9e2011 df-scan.c (df_get_entry_block_def_set): Check if STATIC_CHAIN_REGNUM is defined.
* df-scan.c (df_get_entry_block_def_set): Check if STATIC_CHAIN_REGNUM
        is defined.

From-SVN: r125682
2007-06-13 18:27:50 +00:00
Bernd Schmidt
1ca950caf9 bfin.h (EH_RETURN_HANDLER_RTX): Use gen_frame_mem.
* config/bfin/bfin.h (EH_RETURN_HANDLER_RTX): Use gen_frame_mem.
	* config/bfin/bfin.md (UNSPEC_VOLATILE_STORE_EH_HANDLER): New constant.
	(eh_store_handler): New pattern.
	(eh_return): Emit it instead of a plain move.

From-SVN: r125681
2007-06-13 17:41:07 +00:00
Uros Bizjak
8d3641040c i386.c (ix86_init_mmx_sse_builtins): Define usign def_builtin.
* config/i386/i386.c (ix86_init_mmx_sse_builtins)
        [__builtin_infq, __builtin_fabsq]: Define usign def_builtin.
        [__builtin_ia32_rsqrtps, __builtin_ia32_rsqrtss]: Define using
        def_builtin_const.

From-SVN: r125680
2007-06-13 17:48:51 +02:00
Bernd Schmidt
44017a45a0 bfin.c (gen_one_bundle): Delete unused local variables.
* config/bfin/bfin.c (gen_one_bundle): Delete unused local variables.
	(find_next_insn_start, find_load): New functions.
	(bfin_reorg): Use them to deal with the fact that parallel insns are
	no longer represented as a SEQUENCE.

From-SVN: r125677
2007-06-13 14:21:31 +00:00
Eric Botcazou
06063fa227 sparc.c (sparc_override_options): Initialize fpu mask correctly.
* config/sparc/sparc.c (sparc_override_options): Initialize
	fpu mask correctly.

From-SVN: r125674
2007-06-13 13:58:31 +00:00
Dave Korn
eaf7f7e727 i386.c (ix86_eax_live_at_start_p): Use df_get_live_out.
2007-06-13  Dave Korn  <dave.korn@artimi.com>

	* config/i386/i386.c (ix86_eax_live_at_start_p): Use
	df_get_live_out.

From-SVN: r125673
2007-06-13 10:21:50 +00:00
Paolo Carlini
28b69d5df0 cmath: Tweak includes.
2007-06-13  Paolo Carlini  <pcarlini@suse.de>

	* include/c_global/cmath: Tweak includes.
	* include/std/memory: Likewise.
	* include/std/complex: Likewise.
	* include/tr1/memory: Likewise.
	* include/tr1/complex: Likewise.
	* include/tr1/cmath: Likewise; do not wrap special functions
	in #ifndef __GXX_EXPERIMENTAL_CXX0X__.

From-SVN: r125671
2007-06-13 07:31:39 +00:00
Kazu Hirata
0d52bcc19e auto-inc-dec.c, [...]: Fix comment typos.
* auto-inc-dec.c, c-incpath.c, config/c4x/libgcc.S,
	config/sh/divcost-analysis, dbgcnt.def, df-core.c,
	df-problems.c, df-scan.c, df.h, dominance.c, dse.c, regstat.c,
	tree-data-ref.c, tree-ssa-loop-im.c, tree-ssa-loop-prefetch.c,
	tree-vect-transform.c: Fix comment typos.  Follow spelling
	conventions.

From-SVN: r125666
2007-06-13 02:27:04 +00:00
GCC Administrator
ebca1de438 Daily bump.
From-SVN: r125664
2007-06-13 00:17:01 +00:00
Geoffrey Keating
5d006428c4 weak1.C: Suppress on Darwin.
* g++.dg/warn/weak1.C: Suppress on Darwin.
	* g++.dg/other/unused1.C: Accept tabs or spaces in assembly.

From-SVN: r125659
2007-06-12 22:49:16 +00:00
Seongbae Park
b718216c5a df-scan.c (df_get_exit-block_use_set): Always add the stack pointer to the exit block use set.
2007-06-12 Seongbae Park <seongbae.park@gmail.com>

       * df-scan.c (df_get_exit-block_use_set): Always add the stack pointer
       to the exit block use set.
       * gcse.c (cpro_jump): Don't emit barrier in cfglayout mode.
       * config/sparc/sparc.c (sparc_check_64): Check df != NULL.

From-SVN: r125658
2007-06-12 21:28:16 +00:00
Seongbae Park
0a090f42f6 opts.c (common_handle_option): Handle new option -fdbg-cnt-list.
2007-06-12  Seongbae Park  <seongbae.park@gmail.com>

	* opts.c (common_handle_option): Handle new option -fdbg-cnt-list.
	* dbgcnt.c (dbg_cnt_set_limit_by_name): Return value
	to indicate an error.
	(dbg_cnt_process_single_pair, dbg_cnt_list_all_counters): New functions
	(dbg_cnt_process_opt): Print an error on a bad argument.
	* dbgcnt.h (dbg_cnt_list_all_counters): New function declaration.
	* common.opt (-fdbg-cnt-list): New.
	* doc/invoke.texi (-fdbg-cnt-list,-fdbg-cnt=): New.

From-SVN: r125657
2007-06-12 20:47:16 +00:00
Eric Botcazou
773a786120 tree-ssa-alias.c (finalize_ref_all_pointers): Clear pt_anything flag on ref-all pointers.
* tree-ssa-alias.c (finalize_ref_all_pointers): Clear pt_anything
	flag on ref-all pointers.

From-SVN: r125656
2007-06-12 20:25:23 +00:00