OSDN Git Service

pf3gnuchains/gcc-fork.git
17 years ago./:
ian [Tue, 17 Apr 2007 06:19:36 +0000 (06:19 +0000)]
./:
* doc/invoke.texi (Debugging Options): Add documentation for the
-femit-struct-debug options -femit-struct-debug-baseonly,
-femit-struct-debug-reduced, and
-femit-struct-debug-detailed[=...].

* c-opts.c (c_common_handle_option): Add
OPT_femit_struct_debug_baseonly, OPT_femit_struct_debug_reduced,
and OPT_femit_struct_debug_detailed_.
* c.opt: Add specifications for
-femit-struct-debug-baseonly, -femit-struct-debug-reduced,
and -femit-struct-debug-detailed[=...].
* opts.c (set_struct_debug_option): Parse the
-femit-struct-debug-... options.
* opts.c (matches_main_base, main_input_basename,
main_input_baselength, base_of_path, matches_main_base): Add
variables and functions to compare header base name to compilation
unit base name.
* opts.c (should_emit_struct_debug): Add to determine to emit a
structure based on the option.
(dump_struct_debug) Also disabled function to debug this
function.
* opts.c (handle_options): Save the base name of the
compilation unit.

* langhooks-def.h (LANG_HOOKS_GENERIC_TYPE_P): Define.
        (LANG_HOOKS_FOR_TYPES_INITIALIZER): Add.
This hook indicates if a type is generic.  Set it by default
to "never generic".
* langhooks.h (struct lang_hooks_for_types): Add a new hook
to determine if a struct type is generic or not.
* cp/cp-tree.h (class_tmpl_impl_spec_p): Declare a C++ hook.
* cp/tree.c (class_tmpl_impl_spec_p): Implement the C++ hook.
* cp/cp-lang.c (LANG_HOOKS_GENERIC_TYPE_P): Override null C hook
with live C++ hook.

* flags.h (enum debug_info_usage): Add an enumeration to describe
a program's use of a structure type.
* dwarf2out.c (gen_struct_or_union_type_die): Add a new parameter
to indicate the program's usage of the type.  Filter structs based
on the -femit-struct-debug-... specification.
(gen_type_die): Split into two routines, gen_type_die and
gen_type_die_with_usage.  gen_type_die is now a wrapper
that assumes direct usage.
(gen_type_die_with_usage): Replace calls to gen_type_die
with gen_type_die_with_usage adding the program usage of
the referenced type.
(dwarf2out_imported_module_or_decl): Suppress struct debug
information using should_emit_struct_debug when appropriate.
testsuite/:
* g++.dg/other/fesd-any.C: Test -femit-struct-debug-detailed=any.
* g++.dg/other/fesd-any.h: Test -femit-struct-debug-detailed=any.
* g++.dg/other/fesd-baseonly.C: Test -femit-struct-debug-baseonly.
* g++.dg/other/fesd-baseonly.h: Test -femit-struct-debug-baseonly.
* g++.dg/other/fesd-none.C: Test -femit-struct-debug-detailed=none.
* g++.dg/other/fesd-none.h: Test -femit-struct-debug-detailed=none.
* g++.dg/other/fesd-reduced.C: Test -femit-struct-debug-reduced.
* g++.dg/other/fesd-reduced.h: Test -femit-struct-debug-reduced.
* g++.dg/other/fesd-sys.C: Test -femit-struct-debug-detailed=sys.
* g++.dg/other/fesd-sys.h: Test -femit-struct-debug-detailed=sys.
* g++.dg/other/fesd.h: Common to -femit-struct-debug-... tests.

* gcc.dg/fesd-any.c: Test -femit-struct-debug-detailed=any.
* gcc.dg/fesd-any.h: Test -femit-struct-debug-detailed=any.
* gcc.dg/fesd-baseonly.c: Test -femit-struct-debug-baseonly.
* gcc.dg/fesd-baseonly.h: Test -femit-struct-debug-baseonly.
* gcc.dg/fesd-none.c: Test -femit-struct-debug-detailed=none.
* gcc.dg/fesd-none.h: Test -femit-struct-debug-detailed=none.
* gcc.dg/fesd-reduced.c: Test -femit-struct-debug-reduced.
* gcc.dg/fesd-reduced.h: Test -femit-struct-debug-reduced.
* gcc.dg/fesd-sys.c: Test -femit-struct-debug-detailed=sys.
* gcc.dg/fesd-sys.h: Test -femit-struct-debug-detailed=sys.
* gcc.dg/fesd.h: Common to -femit-struct-debug-... tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123909 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago./:
ian [Tue, 17 Apr 2007 05:33:38 +0000 (05:33 +0000)]
./:
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123908 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * doc/cpp.texi (Common Predefined Macros): Clarify description of
ian [Tue, 17 Apr 2007 05:19:22 +0000 (05:19 +0000)]
* doc/cpp.texi (Common Predefined Macros): Clarify description of
__GNUC_GNU_INLINE__ and __GNUC_STDC_INLINE__.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123907 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * tree-ssa-propagate.c (cfg_blocks_add): Insert blocks with fewer
ian [Tue, 17 Apr 2007 05:16:07 +0000 (05:16 +0000)]
* tree-ssa-propagate.c (cfg_blocks_add): Insert blocks with fewer
predecessors at head rather than tail.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123906 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * gcc.dg/cpp/_Pragma6.c: Skip on fido-*-* and m68k-*-*.
kazu [Tue, 17 Apr 2007 02:07:40 +0000 (02:07 +0000)]
* gcc.dg/cpp/_Pragma6.c: Skip on fido-*-* and m68k-*-*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123905 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoPR fortran/31144
tobi [Tue, 17 Apr 2007 00:09:34 +0000 (00:09 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123904 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoDaily bump.
gccadmin [Mon, 16 Apr 2007 23:17:01 +0000 (23:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123900 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-16 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 16 Apr 2007 20:57:10 +0000 (20:57 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123895 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoCommitted up-to-date .class and .h files from an earlier commit
tromey [Mon, 16 Apr 2007 20:15:00 +0000 (20:15 +0000)]
Committed up-to-date .class and .h files from an earlier commit

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123890 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236614
tromey [Mon, 16 Apr 2007 20:13:28 +0000 (20:13 +0000)]
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236614
* gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
(createSocket): Change order of delegation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123889 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-16 Matthias Klose <doko@debian.org>
doko [Mon, 16 Apr 2007 20:12:05 +0000 (20:12 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123888 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-16 Matthias Klose <doko@debian.org>
doko [Mon, 16 Apr 2007 20:09:40 +0000 (20:09 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123887 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * function.h: Remove sequence_stack extern declaration.
aldyh [Mon, 16 Apr 2007 18:55:33 +0000 (18:55 +0000)]
    * function.h: Remove sequence_stack extern declaration.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123885 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config/m68k/m68k.h (LONG_DOUBLE_TYPE_SIZE): Change to 64 on
kazu [Mon, 16 Apr 2007 18:01:12 +0000 (18:01 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123884 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config/avr/avr.c (avr_arch_types): Rearranging array.
aesok [Mon, 16 Apr 2007 17:50:26 +0000 (17:50 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123882 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * lib/target-supports.exp (check_profiling_available): Return
kazu [Mon, 16 Apr 2007 17:18:08 +0000 (17:18 +0000)]
* lib/target-supports.exp (check_profiling_available): Return
false for m68k-*-uclinux.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123881 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoCorrect the misplaced ChangeLog.
spark [Mon, 16 Apr 2007 17:07:04 +0000 (17:07 +0000)]
Correct the misplaced ChangeLog.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123880 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agogcc/ChangeLog:
spark [Mon, 16 Apr 2007 16:49:02 +0000 (16:49 +0000)]
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123879 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config/m68k/m68k.h (FRAME_POINTER_REGNUM): Use A6_REG
kazu [Mon, 16 Apr 2007 16:47:44 +0000 (16:47 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123878 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config/m68k/m68k.c (m68k_libcall_value,
kazu [Mon, 16 Apr 2007 16:23:09 +0000 (16:23 +0000)]
* config/m68k/m68k.c (m68k_libcall_value,
m68k_function_value): Use macros for register names more.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123877 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-16 Andrew Haley <aph@redhat.com>
aph [Mon, 16 Apr 2007 15:29:55 +0000 (15:29 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123875 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoPR middle-end/28071
mkuvyrkov [Mon, 16 Apr 2007 15:04:18 +0000 (15:04 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123874 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
aph [Mon, 16 Apr 2007 14:50:03 +0000 (14:50 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123873 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoFix a typo in comments in revision 123866.
hjl [Mon, 16 Apr 2007 14:03:33 +0000 (14:03 +0000)]
Fix a typo in comments in revision 123866.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123871 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoIndentation fix.
tobi [Mon, 16 Apr 2007 14:00:41 +0000 (14:00 +0000)]
Indentation fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123869 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-16 Andrew Haley <aph@redhat.com>
aph [Mon, 16 Apr 2007 13:49:37 +0000 (13:49 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123867 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-16 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 16 Apr 2007 13:49:14 +0000 (13:49 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123866 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-16 Andrew Haley <aph@redhat.com>
aph [Mon, 16 Apr 2007 13:48:26 +0000 (13:48 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123865 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-16 Andrew Haley <aph@redhat.com>
aph [Mon, 16 Apr 2007 13:46:54 +0000 (13:46 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123864 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-16 David Ung <davidu@mips.com>
jsm28 [Mon, 16 Apr 2007 13:45:24 +0000 (13:45 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123863 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-16 Andrew Haley <aph@redhat.com>
aph [Mon, 16 Apr 2007 13:44:59 +0000 (13:44 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123862 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * tree-vect-analyze.c (vect_analyze_operations): Reorganize calls to
dorit [Mon, 16 Apr 2007 12:54:01 +0000 (12:54 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123861 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoDaily bump.
gccadmin [Sun, 15 Apr 2007 23:17:29 +0000 (23:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123859 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-14 Andrew Pinski <andrew_pinski@playstation.sony.com>
pinskia [Sun, 15 Apr 2007 21:38:47 +0000 (21:38 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123854 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoFix typo in my last changelog entry.
pinskia [Sun, 15 Apr 2007 20:58:09 +0000 (20:58 +0000)]
Fix typo in my last changelog entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123853 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sun, 15 Apr 2007 20:28:19 +0000 (20:28 +0000)]
2007-04-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123852 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * cp-tree.h (current_template_parms): Fix typo in comment.
mmitchel [Sun, 15 Apr 2007 18:58:57 +0000 (18:58 +0000)]
* cp-tree.h (current_template_parms): Fix typo in comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123851 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config/m68k/linux.h (FUNCTION_VALUE_REGNO_P): Use macros for
kazu [Sun, 15 Apr 2007 15:54:36 +0000 (15:54 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123850 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-15 Paul Thomas <pault@gcc.gnu.org>
pault [Sun, 15 Apr 2007 15:28:06 +0000 (15:28 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123849 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config/m68k/m68k.h (PREFERRED_STACK_BOUNDARY): Prefer 32-bit
kazu [Sun, 15 Apr 2007 15:27:06 +0000 (15:27 +0000)]
* config/m68k/m68k.h (PREFERRED_STACK_BOUNDARY): Prefer 32-bit
alignment on fido.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123848 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config/i386/i386.c, config/s390/s390.c, config/s390/s390.md,
kazu [Sun, 15 Apr 2007 14:46:34 +0000 (14:46 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123847 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * cp-tree.h, error.c: Fix comment typos.
kazu [Sun, 15 Apr 2007 14:37:02 +0000 (14:37 +0000)]
* cp-tree.h, error.c: Fix comment typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123846 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * gfc-internals.texi: Fix typos.
kazu [Sun, 15 Apr 2007 14:28:43 +0000 (14:28 +0000)]
* gfc-internals.texi: Fix typos.
* simplify.c: Fix a comment typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123845 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * gcc.dg/pr19340.c, gcc.dg/tree-ssa/loop-1.c,
kazu [Sun, 15 Apr 2007 13:58:40 +0000 (13:58 +0000)]
* gcc.dg/pr19340.c, gcc.dg/tree-ssa/loop-1.c,
gcc.dg/weak/typeof-2.c: XFAIL on fido-*-*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123844 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * tree-ssa-loop-prefetch.c (loop_prefetch_arrays): Ignore
rakdver [Sun, 15 Apr 2007 03:36:25 +0000 (03:36 +0000)]
* tree-ssa-loop-prefetch.c (loop_prefetch_arrays): Ignore
cold loops.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123843 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sun, 15 Apr 2007 01:53:43 +0000 (01:53 +0000)]
2007-04-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123842 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR rtl-optimization/31500
danglin [Sun, 15 Apr 2007 01:17:41 +0000 (01:17 +0000)]
PR rtl-optimization/31500
* gcc.dg/Warray-bounds.c: Skip on hppa*-*-*.
* g++.dg/warn/Warray-bounds.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123837 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-14 Andrew Pinski <andrew_pinski@playstation.sony.com>
pinskia [Sun, 15 Apr 2007 00:59:15 +0000 (00:59 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123835 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoDaily bump.
gccadmin [Sat, 14 Apr 2007 23:17:32 +0000 (23:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123833 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * common.opt (fforward-propagate): Fix "Optimization" annotation.
steven [Sat, 14 Apr 2007 22:38:16 +0000 (22:38 +0000)]
* common.opt (fforward-propagate): Fix "Optimization" annotation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123830 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * Makefile.am: Add -I .. to ACLOCAL_AMFLAGS.
sje [Sat, 14 Apr 2007 19:52:27 +0000 (19:52 +0000)]
* Makefile.am: Add -I .. to ACLOCAL_AMFLAGS.
* Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123829 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * configure.ac: Change how LIBSUPCXX_PICFLAGS is set.
sje [Sat, 14 Apr 2007 19:51:44 +0000 (19:51 +0000)]
* configure.ac: Change how LIBSUPCXX_PICFLAGS is set.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123828 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * Makefile.am: Add -I .. to ACLOCAL_AMFLAGS. Add libgfortran_la_LINK.
sje [Sat, 14 Apr 2007 19:50:46 +0000 (19:50 +0000)]
    * Makefile.am: Add -I .. to ACLOCAL_AMFLAGS.  Add libgfortran_la_LINK.
        * Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123827 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * Makefile.am: Add -I .. to ACLOCAL_AMFLAGS.
sje [Sat, 14 Apr 2007 19:49:42 +0000 (19:49 +0000)]
* Makefile.am: Add -I .. to ACLOCAL_AMFLAGS.
* Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123826 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config-ml.in: Pass ${ml_config_env} to configure calls.
sje [Sat, 14 Apr 2007 19:48:36 +0000 (19:48 +0000)]
* config-ml.in: Pass ${ml_config_env} to configure calls.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123825 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR c++/25874
jakub [Sat, 14 Apr 2007 18:52:45 +0000 (18:52 +0000)]
PR c++/25874
* omp-low.c (expand_omp_parallel): If child_cfun->cfg, free dominators,
post dominators and cleanup cfg before returning.

* gcc.dg/gomp/pr25874.c: Add dg-options.
* g++.dg/gomp/pr25874.C: Add dg-options.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123822 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago+2007-04-14 Bernhard Fischer
aldot [Sat, 14 Apr 2007 18:43:20 +0000 (18:43 +0000)]
+2007-04-14  Bernhard Fischer

* primary.c: Commentary typo fix; Add question about redundant (?)
set.
* ChangeLog: Fix formatting of previous ChangeLog entry which did not
obey "'name"  <name@there.tdl>' convention.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123821 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-14 Bernhard Fischer
aldot [Sat, 14 Apr 2007 18:33:11 +0000 (18:33 +0000)]
2007-04-14  Bernhard Fischer

PR fortran/21061
* gfortran.dg/warnings_are_errors_1.f90: New testcase.
* gfortran.dg/warnings_are_errors_1.f: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123820 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago- commentary typo fix
aldot [Sat, 14 Apr 2007 17:59:28 +0000 (17:59 +0000)]
- commentary typo fix

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123819 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR fortran/31561
fxcoudert [Sat, 14 Apr 2007 17:09:41 +0000 (17:09 +0000)]
PR fortran/31561
* gfortran.dg/vect/vect-4.f90: xfail on vect_no_align targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123817 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-14 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 14 Apr 2007 16:40:51 +0000 (16:40 +0000)]
2007-04-14  Paolo Carlini  <pcarlini@suse.de>

* config/locale/generic/c_locale.cc: Include <limits>.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123816 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-14 Paul Thomas <pault@gcc.gnu.org>
pault [Sat, 14 Apr 2007 14:09:57 +0000 (14:09 +0000)]
2007-04-14 Paul Thomas <pault@gcc.gnu.org>

PR fortran/29507
PR fortran/31404
* expr.c (scalarize_intrinsic_call): New function to
scalarize elemental intrinsic functions in initialization
expressions.
(check_init_expr): Detect elemental intrinsic functions
in initalization expressions and call previous.

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

PR fortran/29507
PR fortran/31404
* gfortran.dg/initialization_6.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123815 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config/bfin/bfin.h (MODES_TIEABLE_P): Allow more modes to be tied.
bernds [Sat, 14 Apr 2007 10:50:45 +0000 (10:50 +0000)]
* config/bfin/bfin.h (MODES_TIEABLE_P): Allow more modes to be tied.
* config/bfin/bfin.md (movsi_insn): Delete two unused alternatives.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123813 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agogcc/
kazu [Sat, 14 Apr 2007 02:15:45 +0000 (02:15 +0000)]
gcc/
* config.gcc: Recognize fido.
* config/m68k/m68k-devices.def (fidoa): New.
* config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Define
__mfido__.
(FL_FIDOA, TARGET_FIDOA): New.
* config/m68k/m68k.opt (mfidoa): New.

libgcc/
* config.host: Recognize fido.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123811 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * lib/target-supports.exp (check_gc_sections_available):
kazu [Sat, 14 Apr 2007 02:05:43 +0000 (02:05 +0000)]
* lib/target-supports.exp (check_gc_sections_available):
Return false if ldflags includes -elf2flt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123810 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * gcc.c-torture/compile/pr27528.c: Require nonpic.
kazu [Sat, 14 Apr 2007 02:04:15 +0000 (02:04 +0000)]
* gcc.c-torture/compile/pr27528.c: Require nonpic.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123809 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR middle-end/31322
danglin [Sat, 14 Apr 2007 00:17:41 +0000 (00:17 +0000)]
PR middle-end/31322
* dwarf2out.c (output_call_frame_info): Call assemble_external_libcall
when a personality function is used.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123806 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR c++/31074
jason [Fri, 13 Apr 2007 23:43:18 +0000 (23:43 +0000)]
    PR c++/31074
        * call.c (reference_binding): Add c_cast_p parm.  If true,
        add quals to TO as needed to make it reference-compatible.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123805 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoDaily bump.
gccadmin [Fri, 13 Apr 2007 23:17:07 +0000 (23:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123803 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-13 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 13 Apr 2007 22:22:56 +0000 (22:22 +0000)]
2007-04-13  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/31556
* include/bits/stl_algobase.h (equal(_InputIterator1, _InputIterator1,
_InputIterator2, _BinaryPredicate), mismatch(_InputIterator1,
_InputIterator1, _InputIterator2, _BinaryPredicate)): Convert
predicate return to bool.
* include/bits/stl_algo.h (__find_if(_InputIterator, _InputIterator,
_Predicate, input_iterator_tag), search(_ForwardIterator1,
_ForwardIterator1, _ForwardIterator2, _ForwardIterator2,
_BinaryPredicate), __search_n(_ForwardIterator, _ForwardIterator,
_Integer, const _Tp&, _BinaryPredicate, std::forward_iterator_tag),
__search_n(_RandomAccessIter, _RandomAccessIter, _Integer, const _Tp&,
_BinaryPredicate, std::random_access_iterator_tag),
search_n(_ForwardIterator, _ForwardIterator, _Integer, const _Tp&,
_BinaryPredicate), remove_copy_if(_InputIterator, _InputIterator,
_OutputIterator, _Predicate), __unique_copy(_ForwardIterator,
_ForwardIterator, _OutputIterator, _BinaryPredicate,
forward_iterator_tag, output_iterator_tag),
__unique_copy(_InputIterator, _InputIterator, _OutputIterator,
_BinaryPredicate, input_iterator_tag, output_iterator_tag),
__unique_copy(_InputIterator, _InputIterator, _OutputIterator,
_BinaryPredicate, input_iterator_tag, output_iterator_tag),
__unique_copy(_InputIterator, _InputIterator, _ForwardIterator,
_BinaryPredicate, input_iterator_tag, forward_iterator_tag),
unique(_ForwardIterator, _ForwardIterator, _BinaryPredicate),
__partition(_BidirectionalIterator, _BidirectionalIterator, _Predicate,
bidirectional_iterator_tag), binary_search(_ForwardIterator,
_ForwardIterator, const _Tp&, _Compare),
next_permutation(_BidirectionalIterator, _BidirectionalIterator,
_Compare), prev_permutation(_BidirectionalIterator,
_BidirectionalIterator, _Compare)): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123800 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoFix whitespacing.
mrs [Fri, 13 Apr 2007 20:44:30 +0000 (20:44 +0000)]
Fix whitespacing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123799 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * obj-c++.dg/stubify-1.mm: Only run on powerpc.
mrs [Fri, 13 Apr 2007 20:43:22 +0000 (20:43 +0000)]
* obj-c++.dg/stubify-1.mm: Only run on powerpc.
* obj-c++.dg/template-4.mm: Don't run when 64-bit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123798 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config/xtensa/xtensa.c (xtensa_expand_builtin): Use CALL_EXPR_FN.
bwilson [Fri, 13 Apr 2007 20:35:50 +0000 (20:35 +0000)]
* config/xtensa/xtensa.c (xtensa_expand_builtin): Use CALL_EXPR_FN.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123797 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR tree-optimization/29598
jsm28 [Fri, 13 Apr 2007 19:46:37 +0000 (19:46 +0000)]
PR tree-optimization/29598
* gcc.dg/tree-ssa/loadpre1.c: XFAIL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123794 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-13 Tobias Burnus <burnus@net-b.de>
burnus [Fri, 13 Apr 2007 18:34:36 +0000 (18:34 +0000)]
2007-04-13  Tobias Burnus  <burnus@net-b.de>

PR fortran/31559
* primary.c (match_variable): External functions
are no variables.

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

PR fortran/31559
* gfortran.dg/func_assign.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123793 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config/darwin-c.c (handle_c_option): Handle -fapple-kext here so
mrs [Fri, 13 Apr 2007 17:29:27 +0000 (17:29 +0000)]
* config/darwin-c.c (handle_c_option): Handle -fapple-kext here so
we can...
* config/darwin.opt (fapple-kext): Make C++ only.
* config/darwin.c (darwin_override_options): Remove code to ensure
-fapple-kext is given for C++ only.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123792 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-13 Paul Thomas <pault@gcc.gnu.org>
pault [Fri, 13 Apr 2007 16:01:36 +0000 (16:01 +0000)]
2007-04-13  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/31550
* trans-types.c (copy_dt_decls_ifequal): Do not get pointer
derived type components.

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

PR fortran/31550
* gfortran.dg/used_types_16.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123791 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoPR fortran/18937
tobi [Fri, 13 Apr 2007 13:48:08 +0000 (13:48 +0000)]
PR fortran/18937
fortran/
* resolve.c: Include obstack.h and bitmap.h.  New variable
labels_obstack.
(code_stack): Add tail and reachable_labels fields.
(reachable_labels): New function.
(resolve_branch): Rework to use new fields in code_stack.
(resolve_code): Call reachable_labels.
(resolve_codes): Allocate and free labels_obstack.
testsuite/
* gfortran.dg/goto_2.f90: New.
* gfortran.dg/goto_3.f90: New.
* gfortran.dg/pr17708.f90: Rename to ...
* gfortran.dg/goto_4.f90: ... this, add comment pointing to
PR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123789 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agogcc/
rsandifo [Fri, 13 Apr 2007 13:48:08 +0000 (13:48 +0000)]
gcc/
* config/mips/vxworks.h (SUBTARGET_OVERRIDE_OPTIONS): Define.
* config/mips/mips.c (override_options): Call
SUBTARGET_OVERRIDE_OPTIONS, if defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123788 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 13 Apr 2007 13:29:45 +0000 (13:29 +0000)]
2007-04-13  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/i386.opt (msvr3-shlib): Removed.

* doc/invoke.texi: Remove -msvr3-shlib.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123787 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 13 Apr 2007 13:28:39 +0000 (13:28 +0000)]
2007-04-13  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/i386.opt (mpopcnt): Replace "popcount" instruction
with "popcnt" instruction.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123786 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-13 Tobias Burnus <burnus@net-b.de>
burnus [Fri, 13 Apr 2007 11:26:09 +0000 (11:26 +0000)]
2007-04-13  Tobias Burnus  <burnus@net-b.de>

       PR fortran/31562
       * gfortran.dg/f2c_4.c: Use GNU extensions for complex
       instead of a struct.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123784 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-13 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 13 Apr 2007 11:17:21 +0000 (11:17 +0000)]
2007-04-13  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/31554
* include/bits/stl_algo.h (stable_partition): Convert __buf.size()
to _DistanceType.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123783 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoFix date in Tobias Burnus' ChangeLog entry
tobi [Fri, 13 Apr 2007 11:05:50 +0000 (11:05 +0000)]
Fix date in Tobias Burnus' ChangeLog entry

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123782 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoSigh. Add ChangeLog entry missing from previous commit.
tobi [Fri, 13 Apr 2007 11:03:43 +0000 (11:03 +0000)]
Sigh.  Add ChangeLog entry missing from previous commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123781 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-12 Tobias Burnus <burnus@net-b.de>
burnus [Fri, 13 Apr 2007 10:59:19 +0000 (10:59 +0000)]
2007-04-12  Tobias Burnus  <burnus@net-b.de>

       PR fortran/31562
       * gfortran.dg/value_4.c: Use GNU extensions for complex
       instead of a struct.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123780 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-13 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 13 Apr 2007 10:54:37 +0000 (10:54 +0000)]
2007-04-13  Paolo Carlini  <pcarlini@suse.de>

* include/ext/numeric_traits.h: Do not include <limits>.
(__numeric_traits_integer::__is_signed, __digits): Add.
(__numeric_traits_floating::__digits10, __max_exponent10): Add.
* src/istream.cc (ignore<char>(streamsize, int_type), operator>>
(basic_istream<char>&, char*), ignore<wchar_t>(streamsize,
int_type)): Use the latter.
* src/compatibility.cc (ignore<char>(streamsize),
ignore<wchar_t>(streamsize)): Likewise.
* include/ext/vstring_util.h (__vstring_utility<>::_S_compare):
Likewise.
* include/bits/stl_memory.h (__get_temporary_buffer): Likewise.
* include/bits/stl_algobase.h (lexicographical_compare(const char*,
const char*, const char*, const char*)): Likewise.
* include/bits/locale_facets.tcc (num_get<>::_M_extract_int(_InIter,
_InIter, ios_base&, ios_base::iostate&, _ValueT&),
num_put<>::_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT),
num_put<>::_M_insert_float(_OutIter, ios_base&, _CharT, char,
_ValueT), collate<>::do_hash(const _CharT*, const _CharT*)): Likewise.
* include/bits/basic_string.h (basic_string<>::_S_compare): Likewise.
* include/bits/istream.tcc (operator>>(short&), operator>>(int&),
ignore(streamsize), ignore(streamsize, int_type), operator>>
(basic_istream<>&, _CharT*)): Likewise.
* include/bits/stl_bvector.h (vector<bool>::max_size): Likewise.
* include/tr1/functional_hash.h (struct hash<long double>): Likewise.
* include/std/istream: Do not include <limits>.
* include/tr1/cmath: Include <limits>.
* testsuite/23_containers/vector/bool/capacity/29134.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/13.cc:
Likewise.
* testsuite/27_io/ios_base/storage/2.cc: Likewise.

* include/tr1/hashtable: Do not include the whole <iterator>.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123779 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-13 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 13 Apr 2007 09:21:22 +0000 (09:21 +0000)]
2007-04-13  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/21258
* tree-vrp.c (compare_case_labels): New helper.
(find_switch_asserts): New function.
(find_assert_locations): Call it for SWITCH_EXPRs.

* gcc.dg/tree-ssa/vrp34.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123778 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config/i386/i386.h (X87_FLOAT_MODE_P): Check for TARGET_80387.
uros [Fri, 13 Apr 2007 08:14:57 +0000 (08:14 +0000)]
    * config/i386/i386.h (X87_FLOAT_MODE_P): Check for TARGET_80387.
        * config/i386/i386.md (*cmpfp0): Remove check for TARGET_80387, this
        check is now implied in X87_FLOAT_MODE_P.
        (*cmpfp_u, *cmpfp_<mode>, *cmpfp_i_i387): Ditto.
        (*cmpfp_iu_387, fix_trunc<mode>_fisttp_i386_1): Ditto.
        (fix_trunc<mode>_i386_fisttp): Ditto.
        (fix_trunc<mode>_i387_fisttp_with_temp): Ditto.
        (*fix_trunc<mode>_i387_1, fix_truncdi_i387): Ditto.
        (fix_truncdi_i387_with_temp, fix_trunc<mode>_i387): Ditto.
        (fix_trunc<mode>_i387_with_temp, *fp_jcc_1_387): Ditto.
        (*fp_jcc_2_387, *fp_jcc_5_387, *fp_jcc_6_387): Ditto.
        (*fp_jcc_7_387, *fp_jcc_8<mode>_387): Ditto.
        (unnamed_splitters): Ditto.
        * config/i386/i386.c (function_value_32): Generate FIRST_FLOAT_REG
        for X87_FLOAT_MODE_P mode.  Override FIRST_FLOAT_REG with
        FIRST_SSE_REG for local functions when SSE math is enabled or
        for functions with sseregparm attribute.
        (standard_80387_constant_p): Return -1 if mode is not
        X87_FLOAT_MODE_P.
        (ix86_cc_mode): Assert that scalar mode is not DECIMAL_FLOAT_MODE_P.
        (ix86_expand_compare): Ditto.
        (ix86_expand_carry_flag_compare): Ditto.
        (ix86_expand_int_movcc): Check for SCALAR_FLOAT_MODE_P instead
        of FLOAT_MODE_P for cmp_mode and assert that cmp_mode is not
        DECIMAL_FLOAT_MODE_P.
        (ix86_preferred_output_reload_class): Use X87_FLOAT_MODE_P instead
        of SCALAR_FLOAT_MODE_P.
        (ix86_rtx_costs) [PLUS] Remove FLOAT_MODE_P and fall through to ...
        [MINUS]: ... here.  Add SSE_FLOAT_MODE_P and X87_FLOAT_MODE_P
        checks before FLOAT_MODE_P.
        [MULT]: Add SSE_FLOAT_MODE_P and X87_FLOAT_MODE_P checks
        before FLOAT_MODE_P.
        [DIV]: Ditto.
        [NEG]: Ditto.
        [ABS]: Ditto.
        [SQRT]: Ditto.
        [FLOAT_EXTEND]: Use SSE_FLOAT_MODE_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123777 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-11 Paolo Bonzini <bonzini@gnu.org>
bonzini [Fri, 13 Apr 2007 07:21:04 +0000 (07:21 +0000)]
2007-04-11  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.am (EXTRA_DIST): Bring up to date.
* Makefile.in: Regenerate.
* src/frv/eabi.S: Remove RCS keyword.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123776 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-12 Paolo Bonzini <bonzini@gnu.org>
bonzini [Fri, 13 Apr 2007 07:04:39 +0000 (07:04 +0000)]
2007-04-12  Paolo Bonzini  <bonzini@gnu.org>
            Charles Wilson  <libtool@cwilson.fastmail.fm>

* Makefile.in (stamp-as, stamp-collect-ld, stamp-nm): Remove.
(libgcc.mvars): Don't depend on them.
* configure.ac (as, collect-ld, nm): Create from exec-tool.in.
* exec-tool.in: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123775 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoDaily bump.
gccadmin [Thu, 12 Apr 2007 23:17:05 +0000 (23:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123773 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago* doc/invoke.text (--help): Document --help=common.
brooks [Thu, 12 Apr 2007 21:13:32 +0000 (21:13 +0000)]
* doc/invoke.text (--help): Document --help=common.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123769 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * gfortran.dg/c_by_val.c: Use GCC extensions instead of including
fxcoudert [Thu, 12 Apr 2007 20:59:43 +0000 (20:59 +0000)]
* gfortran.dg/c_by_val.c: Use GCC extensions instead of including
<complex.h>.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123768 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoCommit bits missing from previous checkin
tobi [Thu, 12 Apr 2007 19:12:20 +0000 (19:12 +0000)]
Commit bits missing from previous checkin
* gfortran.dg/repeat_2.f90: Add dg-warning annotations.
* gfortran.dg/repeat_4.f90: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123765 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-12 Thomas Neumann <tneumann@users.sourceforge.net>
mrs [Thu, 12 Apr 2007 19:00:38 +0000 (19:00 +0000)]
2007-04-12  Thomas Neumann  <tneumann@users.sourceforge.net>

* stub-objc.c (objc_build_keyword_decl): Avoid C++ keywords.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123764 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoPR fortran/31250
tobi [Thu, 12 Apr 2007 18:48:06 +0000 (18:48 +0000)]
PR fortran/31250
fortran/
* decl.c (match_char_spec): Move check for negative CHARACTER
length ...
* resolve.c (resolve_charlen): ... here.
(resolve_types): Resolve CHARACTER lengths earlier.
teststuite/
* gfortran.dg/char_length_2.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123763 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoFile missing from previous commit
tobi [Thu, 12 Apr 2007 18:30:06 +0000 (18:30 +0000)]
File missing from previous commit

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123762 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2007-04-12 Daniel Franke <franke.daniel@gmail.com>
dfranke [Thu, 12 Apr 2007 18:23:03 +0000 (18:23 +0000)]
2007-04-12  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/31234
        * intrinsic.texi (RANDOM_SEED, RANDOM_NUMBER): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123760 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoPR fortran/31266
tobi [Thu, 12 Apr 2007 18:10:10 +0000 (18:10 +0000)]
PR fortran/31266
fortran/
* primary.c (gfc_variable_attr): Don't copy string length if it
doesn't make sense.
* resolve.c (resolve_code): Clarify error message.
testsuite/
* gfortran.dg/char_assign_1.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123759 138bc75d-0d04-0410-961f-82ee72b054a4