Commit Graph

80361 Commits

Author SHA1 Message Date
Ian Lance Taylor fc6827fe9f re PR tree-optimization/31522 (False overflow warning with phi nodes)
./:	PR tree-optimization/31522
	* tree-vrp.c (vr_phi_edge_counts): New static variable.
	(vrp_initialize): Allocate vr_phi_edge_counts.
	(vrp_visit_phi_node): Don't push to infinity if we saw a new
	executable edge.  Drop test for all constants.
	(vrp_finalize): Free vrp_phi_edge_counts.
testsuite/:
	PR tree-optimization/31522
	* gcc.dg/Wstrict-overflow-16.c: New test.

From-SVN: r123908
2007-04-17 05:33:38 +00:00
Ian Lance Taylor 4075e23198 cpp.texi (Common Predefined Macros): Clarify description of __GNUC_GNU_INLINE__ and __GNUC_STDC_INLINE__.
* doc/cpp.texi (Common Predefined Macros): Clarify description of
	__GNUC_GNU_INLINE__ and __GNUC_STDC_INLINE__.

From-SVN: r123907
2007-04-17 05:19:22 +00:00
Ian Lance Taylor 5a0ed003f0 tree-ssa-propagate.c (cfg_blocks_add): Insert blocks with fewer predecessors at head rather than tail.
* tree-ssa-propagate.c (cfg_blocks_add): Insert blocks with fewer
	predecessors at head rather than tail.

From-SVN: r123906
2007-04-17 05:16:07 +00:00
Kazu Hirata 591523164b * gcc.dg/cpp/_Pragma6.c: Skip on fido-*-* and m68k-*-*.
From-SVN: r123905
2007-04-17 02:07:40 +00:00
Tobias Schlüter 9998ef84d3 re PR fortran/31144 (gfortran module symbol names are not standard compliant)
PR fortran/31144
fortran/
* decl.c (gfc_sym_mangled_identifier): Use capital letters in name
mangling.
(gfc_sym_mangled_function_id): Likewise.
testsuite/
* gfortran.dg/module_naming_1.f90: New.

From-SVN: r123904
2007-04-17 02:09:34 +02:00
GCC Administrator 597cab4f83 Daily bump.
From-SVN: r123900
2007-04-16 23:17:01 +00:00
H.J. Lu fb00dbe0d2 Makefile.in (aclocal.m4): Depend on stdint.m4 instead of acx.m4.
2007-04-16  H.J. Lu  <hongjiu.lu@intel.com>

	* Makefile.in (aclocal.m4): Depend on stdint.m4 instead of
	acx.m4.

	* aclocal.m4: Regenerated by aclocal 1.9.6.

From-SVN: r123895
2007-04-16 13:57:10 -07:00
Tom Tromey 3088dc29d1 Committed up-to-date .class and .h files from an earlier commit
From-SVN: r123890
2007-04-16 20:15:00 +00:00
Tom Tromey 1c23733ce2 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236614
* gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
	(createSocket): Change order of delegation.

From-SVN: r123889
2007-04-16 20:13:28 +00:00
Matthias Klose bdede2ace5 linux.h (CPP_SPEC): Define.
2007-04-16  Matthias Klose  <doko@debian.org>

        * gcc/config/alpha/linux.h (CPP_SPEC): Define.
        * gcc/config/arm/linux-gas.h (SUBTARGET_CPP_SPEC): Extend.

From-SVN: r123888
2007-04-16 20:12:05 +00:00
Matthias Klose b3b08ba044 configure.tgt (i[456]86-*-linux*): Only add ia32 specific flags if not building with -m64.
2007-04-16  Matthias Klose  <doko@debian.org>

        * configure.tgt (i[456]86-*-linux*): Only add ia32 specific
        flags if not building with -m64.
        * testsuite/lib/libgomp-dg.exp (libgomp_init): Don't add -march
        flag for i?86-*-* targets, if current target matches -m64.

From-SVN: r123887
2007-04-16 20:09:40 +00:00
Aldy Hernandez 52d412e76f * function.h: Remove sequence_stack extern declaration.
From-SVN: r123885
2007-04-16 18:55:33 +00:00
Kazu Hirata 7212046395 m68k.h (LONG_DOUBLE_TYPE_SIZE): Change to 64 on TARGET_FIDOA.
* config/m68k/m68k.h (LONG_DOUBLE_TYPE_SIZE): Change to 64 on
	TARGET_FIDOA.
	(LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Change to 64 if __mfido__ is
	defined.

From-SVN: r123884
2007-04-16 18:01:12 +00:00
Anatoly Sokolov 1468317475 avr.c (avr_arch_types): Rearranging array.
* config/avr/avr.c (avr_arch_types): Rearranging  array.
	(enum avr_arch): Add.
	(avr_mcu_types): Use avr_arch enumeration constants instead of 
	numbers.
	* config/avr/avr.h (LINK_SPEC): Simplify.

From-SVN: r123882
2007-04-16 21:50:26 +04:00
Richard Sandiford f8b45d4f54 target-supports.exp (check_profiling_available): Return false for m68k-*-uclinux.
* lib/target-supports.exp (check_profiling_available): Return
	false for m68k-*-uclinux.

From-SVN: r123881
2007-04-16 17:18:08 +00:00
Seongbae Park fe24078a22 Correct the misplaced ChangeLog.
From-SVN: r123880
2007-04-16 17:07:04 +00:00
Seongbae Park 8fff206014 re PR c++/29365 (Unnecessary anonymous namespace warnings)
gcc/ChangeLog:

2007-04-16  Seongbae Park <seongbae.park@gmail.com>

	PR c++/29365

	* cp/decl2.c (constrain_class_visibility):
	Do not warn about the use of anonymous namespace in the main input file.

gcc/testsuite/ChangeLog:

2007-04-16  Seongbae Park <seongbae.park@gmail.com>

	PR c++/29365
	Testcase for c++ anonymous namespace warning

	* g++.dg/warn/anonymous-namespace-1.C: New test
	* g++.dg/warn/anonymous-namespace-1.h: New test

From-SVN: r123879
2007-04-16 16:49:02 +00:00
Kazu Hirata de41203b65 m68k.h (FRAME_POINTER_REGNUM): Use A6_REG instead.
* config/m68k/m68k.h (FRAME_POINTER_REGNUM): Use A6_REG
	instead.
	(M68K_REGNAME): Use A6_REG.
	* config/m68k/m68k.md (FP_REG): Rename to A6_REG.

From-SVN: r123878
2007-04-16 16:47:44 +00:00
Kazu Hirata 8d989403d6 m68k.c (m68k_libcall_value, [...]): Use macros for register names more.
* config/m68k/m68k.c (m68k_libcall_value,
	m68k_function_value): Use macros for register names more.

From-SVN: r123877
2007-04-16 16:23:09 +00:00
Andrew Haley 8734935bf8 ObjectInputStream.java: (parseContent): Call (String, Object) version of dumpElementln.
2007-04-16  Andrew Haley  <aph@redhat.com>

        * java/io/ObjectInputStream.java: (parseContent):  Call (String,
        Object) version of dumpElementln.
        (dumpElementln(String, Object)): New method.
        * java/io/ObjectOutputStream.java (writeObject): Call (String,
        Object) version of dumpElementln.
        (dumpElementln(String, Object)): New method.

From-SVN: r123875
2007-04-16 15:29:55 +00:00
Maxim Kuvyrkov bdbf40a536 re PR middle-end/28071 (A file that can not be compiled in reasonable time/space)
PR middle-end/28071
* sched-int.h (struct deps): Split field 'pending_lists_length' into
'pending_read_list_length' and 'pending_write_list_length'.  Update
comment.
* sched-deps.c (add_insn_mem_dependence): Change signature.  Update
to handle two length counters instead of one.  Update all uses.
(flush_pending_lists, sched_analyze_1, init_deps): Update to handle
two length counters instead of one.
* sched-rgn.c (propagate_deps): Update to handle two length counters
instead of one.

From-SVN: r123874
2007-04-16 15:04:18 +00:00
Andrew John Hughes b3ea5d8ea6 2007-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/ObjectName.java:
        (parse(String)): Catch multiple wildcards,
        initialise with an empty string (so null isn't
        appended), and emit comma even when wildcard
        ends the list.
        (checkComponents()): Catch newlines.
        (quote(String)): Handle newlines and quotes
        correctly.

From-SVN: r123873
2007-04-16 14:50:03 +00:00
H.J. Lu 9cb116cb55 Fix a typo in comments in revision 123866.
From-SVN: r123871
2007-04-16 07:03:33 -07:00
Tobias Schlüter 20f5e27860 Indentation fix.
From-SVN: r123869
2007-04-16 16:00:41 +02:00
Andrew Haley 754d30c83a BootClassLoader.java (getBootURLLoader): New method.
2007-04-16  Andrew Haley  <aph@redhat.com>

        * gnu/gcj/runtime/BootClassLoader.java (getBootURLLoader): New
        method.
        (bootGetResource): Use getBootURLLoader() to load resources.
        (bootGetResources): Likewise.

        * java/lang/reflect/natMethod.cc (Method::invoke): In invoke also
        check that the method's declaring class is accessible.

From-SVN: r123867
2007-04-16 13:49:37 +00:00
H.J. Lu 7bb4a6be35 re PR target/31582 (ix86_expand_vec_set_builtin modifies source)
2007-04-16  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/31582
	* config/i386/i386.c (ix86_expand_vec_set_builtin): Make a
	copy of source, pass it to ix86_expand_vector_set and return
	it as target.

From-SVN: r123866
2007-04-16 06:49:14 -07:00
Andrew Haley 9c3068be67 TaggedComponentHelper.java (read): Use read_octet_array(), not read().
2007-04-16  Andrew Haley  <aph@redhat.com>

        * org/omg/IOP/TaggedComponentHelper.java (read): Use
        read_octet_array(), not read().
        (write): Use write_octet_array(), not write().

        * org/omg/PortableServer/Servant.java (_get_delegate): Throw if no
        delegate has been set.

        * javax/management/ObjectName.java serialVersionUID: Declare.
        Make all fields transient.
        (parse): Break out from constructor.
        (writeObject, readObject): New methods.

From-SVN: r123865
2007-04-16 13:48:26 +00:00
Andrew Haley 2f69f684f3 TaggedComponentHelper.java (read): Use read_octet_array(), not read().
2007-04-16  Andrew Haley  <aph@redhat.com>

        * org/omg/IOP/TaggedComponentHelper.java (read): Use
        read_octet_array(), not read().
        (write): Use write_octet_array(), not write().

        * org/omg/PortableServer/Servant.java (_get_delegate): Throw if no
        delegate has been set.

        * javax/management/ObjectName.java serialVersionUID: Declare.
        Make all fields transient.
        (parse): Break out from constructor.
        (writeObject, readObject): New methods.

From-SVN: r123864
2007-04-16 13:46:54 +00:00
David Ung 8dd58f012c mips.h (PROCESSOR_74KC, [...]): Define.
2007-04-16  David Ung  <davidu@mips.com>
            Joseph Myers  <joseph@codesourcery.com>

	* config/mips/mips.h (PROCESSOR_74KC, PROCESSOR_74KF,
	PROCESSOR_74KX, TUNE_74K, GENERATE_MADD_MSUB): Define.
	* config/mips/mips.c (mips_cpu_info_table, mips_rtx_cost_data):
	Add 74K processor information.
	* config/mips/mips.md: Include 74k.md.
	(cpu): Add 74kc,74kf,74kx.
	(ISA_HAS_MADD_MSUB): Change to GENERATE_MADD_MSUB throughout.
	* config/mips/74k.md: New.
	* doc/invoke.texi (MIPS Options): Document 74K support.

Co-Authored-By: Joseph Myers <joseph@codesourcery.com>

From-SVN: r123863
2007-04-16 14:45:24 +01:00
Andrew Haley 0e055c1cd2 BootClassLoader.java (getBootURLLoader): New method.
2007-04-16  Andrew Haley  <aph@redhat.com>

        * gnu/gcj/runtime/BootClassLoader.java (getBootURLLoader): New
        method.
        (bootGetResource): Use getBootURLLoader() to load resources.
        (bootGetResources): Likewise.

        * java/lang/reflect/natMethod.cc (Method::invoke): In invoke also
        check that the method's declaring class is accessible.

From-SVN: r123862
2007-04-16 13:44:59 +00:00
Dorit Nuzman 60555ced95 tree-vect-analyze.c (vect_analyze_operations): Reorganize calls to vectorizable_* functions.
* tree-vect-analyze.c (vect_analyze_operations): Reorganize calls to
        vectorizable_* functions.
        * tree-vect-transform.c (vectorizable_call): Add check for
        STMT_VINFO_RELEVANT_P, STMT_VINFO_DEF_TYPE and STMT_VINFO_LIVE_P.
        (vectorizable_store): likewise.
        (vectorizable_conversion): Add check for STMT_VINFO_DEF_TYPE.
        Add comments.
        (vectorizable_operation, vectorizable_type_demotion): Likewise.
        (vectorizable_type_promotion, vectorizable_load): Likewise.
        (vectorizable_live_operation, vectorizable_condition): Likewise.
        (vectorizable_assignment): Add check for STMT_VINFO_DEF_TYPE and
        STMT_VINFO_LIVE_P.
        (vect_transform_stmt): Reorganize calls to vectorizable_* functions.

From-SVN: r123861
2007-04-16 12:54:01 +00:00
GCC Administrator 20280c6f0e Daily bump.
From-SVN: r123859
2007-04-15 23:17:29 +00:00
Andrew Pinski a392e63907 re PR testsuite/31578 (FAIL: gcc.dg/gnu89-init-4.c (test for excess errors))
2007-04-14  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR testsuite/31578
        * gcc.dg/gnu89-init-4.c: Change to a compile only test.

From-SVN: r123854
2007-04-15 14:38:47 -07:00
Andrew Pinski d0b73842be Fix typo in my last changelog entry.
From-SVN: r123853
2007-04-15 13:58:09 -07:00
Jerry DeLisle a97dcb4c36 warnings_are_errors_1.f90: Add -std=f95 to options.
2007-04-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	* gfortran.dg/warnings_are_errors_1.f90: Add -std=f95 to options.

From-SVN: r123852
2007-04-15 20:28:19 +00:00
Mark Mitchell cac4ddf058 * cp-tree.h (current_template_parms): Fix typo in comment.
From-SVN: r123851
2007-04-15 18:58:57 +00:00
Kazu Hirata 3bfe36dce0 linux.h (FUNCTION_VALUE_REGNO_P): Use macros for register numbers more.
* config/m68k/linux.h (FUNCTION_VALUE_REGNO_P): Use macros for
	register numbers more.
	* config/m68k/m68k.h (STACK_POINTER_REGNUM,
	FRAME_POINTER_REGNUM, STATIC_CHAIN_REGNUM,
	M68K_STRUCT_VALUE_REGNUM, FUNCTION_VALUE, LIBCALL_VALUE,
	FUNCTION_VALUE_REGNO_P): Likewise.
	* config/m68k/m68kelf.h (M68K_STRUCT_VALUE_REGNUM,
	STATIC_CHAIN_REGNUM): Likewise.
	* config/m68k/m68kemb.h (FUNCTION_VALUE_REGNO_P): Likewise.
	* config/m68k/netbsd-elf.h (M68K_STRUCT_VALUE_REGNUM,
	STATIC_CHAIN_REGNUM, FUNCTION_VALUE_REGNO_P): Likewise.
	* config/m68k/m68k.md (FP_REG): New.

From-SVN: r123850
2007-04-15 15:54:36 +00:00
Paul Thomas 9a3db5a366 re PR fortran/31204 (wrong host association of implied loop variable)
2007-04-15  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/31204
	* primary.c (check_for_implicit_index): New function to check
	that a host associated variable is not an undeclared implied
	do loop index.
	(gfc_match_rvalue, match_variable): Use it and reset the
	implied_index attribute.
	* gfortran.h : Add the implied_index field to symbol_attribute.
	* match.c (gfc_match_iterator): Mark the iterator variable
	with the new attribute.
	* decl.c (build_sym): Reset the new attribute.

2007-04-15  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/31204
	* gfortran.dg/array_constructor_16.f90: New test.

From-SVN: r123849
2007-04-15 15:28:06 +00:00
Kazu Hirata e3e093ecef m68k.h (PREFERRED_STACK_BOUNDARY): Prefer 32-bit alignment on fido.
* config/m68k/m68k.h (PREFERRED_STACK_BOUNDARY): Prefer 32-bit
	alignment on fido.

From-SVN: r123848
2007-04-15 15:27:06 +00:00
Kazu Hirata 7fa7289d9a i386.c, [...]: Fix comment typos.
* config/i386/i386.c, config/s390/s390.c, config/s390/s390.md,
	tree-ssa-loop-niter.c, tree-ssa-structalias.c, tree-vrp.c: Fix
	comment typos.

From-SVN: r123847
2007-04-15 14:46:34 +00:00
Kazu Hirata a57a55dec3 * cp-tree.h, error.c: Fix comment typos.
From-SVN: r123846
2007-04-15 14:37:02 +00:00
Kazu Hirata 71172460b6 gfc-internals.texi: Fix typos.
* gfc-internals.texi: Fix typos.
	* simplify.c: Fix a comment typo.

From-SVN: r123845
2007-04-15 14:28:43 +00:00
Kazu Hirata 14463ee954 pr19340.c, [...]: XFAIL on fido-*-*.
* gcc.dg/pr19340.c, gcc.dg/tree-ssa/loop-1.c,
	gcc.dg/weak/typeof-2.c: XFAIL on fido-*-*.

From-SVN: r123844
2007-04-15 13:58:40 +00:00
Zdenek Dvorak 2732d76752 tree-ssa-loop-prefetch.c (loop_prefetch_arrays): Ignore cold loops.
* tree-ssa-loop-prefetch.c (loop_prefetch_arrays): Ignore
	cold loops.

From-SVN: r123843
2007-04-15 03:36:25 +00:00
Jerry DeLisle b4501dfdd2 open.c (test_endfile): Revert changes for 31052, restoring this function.
2007-04-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	* io/open.c (test_endfile): Revert changes for 31052, restoring this
	function.

From-SVN: r123842
2007-04-15 01:53:43 +00:00
John David Anglin 65a333394f re PR rtl-optimization/31500 (FAIL: gcc.dg/Warray-bounds.c (internal compiler error))
PR rtl-optimization/31500
	* gcc.dg/Warray-bounds.c: Skip on hppa*-*-*.
	* g++.dg/warn/Warray-bounds.C: Likewise.

From-SVN: r123837
2007-04-15 01:17:41 +00:00
Andrew Pinski aa24028daf re PR c/31520 (Latent bug in finish_decl causing an errorous "array subscript is above array bounds")
2007-04-14  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR c/31520
        * c-del.c (finish_decl): Grab the type of the decl after the call
        to store_init_value.
2007-04-14  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR C/31520
        * testsuite/gcc.dg/gnu89-init-4.c: New testcase.

From-SVN: r123835
2007-04-14 17:59:15 -07:00
GCC Administrator f8b8c6d76d Daily bump.
From-SVN: r123833
2007-04-14 23:17:32 +00:00
Steven Bosscher 2ca2b6071b * common.opt (fforward-propagate): Fix "Optimization" annotation.
From-SVN: r123830
2007-04-14 22:38:16 +00:00
Steve Ellcey 1f56aa61c5 Makefile.am: Add -I ..
* Makefile.am: Add -I .. to ACLOCAL_AMFLAGS.
	* Makefile.in: Regenerate.

From-SVN: r123829
2007-04-14 19:52:27 +00:00