OSDN Git Service

pf3gnuchains/gcc-fork.git
13 years ago2008-01-27 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Mon, 28 Jan 2008 19:02:47 +0000 (19:02 +0000)]
2008-01-27  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/34980
* m4/shape.m4:  If return array is empty, return early.
* generated/shape_i4.c:  Regenerated.
* generated/shape_i8.c:  Regenerated.
* generated/shape_i16.c:  Regenerated.

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

13 years agogcc/
froydnj [Mon, 28 Jan 2008 18:31:19 +0000 (18:31 +0000)]
gcc/
PR 31535
* config/rs6000/rs6000.c (small_data_operand): Vectors and floats
are not legitimate small data references on SPE targets.

gcc/testsuite/
PR 31535
* gcc.target/powerpc/spe-small-data-1.c: New test.
* gcc.target/powerpc/spe-small-data-2.c: New test.

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

13 years ago2008-01-28 Tobias Burnus <burnus@net-b.de>
burnus [Mon, 28 Jan 2008 17:25:55 +0000 (17:25 +0000)]
2008-01-28  Tobias Burnus  <burnus@net-b.de>

    PR libfortran/34980
    * simplify.c (gfc_simplify_shape): Simplify rank zero arrays.

2008-01-28  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR libfortran/34980
    * gfortran.dg/shape_3.f90:  New test.

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

13 years ago2008-01-27 Bernhard Fischer <rep.dot.nop@gmail.com>
tromey [Mon, 28 Jan 2008 17:08:39 +0000 (17:08 +0000)]
2008-01-27  Bernhard Fischer  <rep.dot.nop@gmail.com>

* java/util/SimpleTimeZone.java (SimpleTimeZone): Fix typo in comment.
* gnu/CORBA/GIOP/v1_2/RequestHeader.java (RequestHeader): Fix typo in
exception message.

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

13 years ago2008-01-28 David Daney <ddaney@avtrex.com>
daney [Mon, 28 Jan 2008 17:01:05 +0000 (17:01 +0000)]
2008-01-28  David Daney  <ddaney@avtrex.com>

* doc/install.texi (mips-*-*): Recommend binutils 2.18.

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

13 years ago2008-01-28 David Daney <ddaney@avtrex.com>
daney [Mon, 28 Jan 2008 16:58:54 +0000 (16:58 +0000)]
2008-01-28  David Daney  <ddaney@avtrex.com>

* doc/install.texi (--disable-libgcj-bc):  Reword documentation.

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

13 years ago * gcc_release (build_sources): Pass --disable-multilib to
jsm28 [Mon, 28 Jan 2008 16:38:40 +0000 (16:38 +0000)]
* gcc_release (build_sources): Pass --disable-multilib to
gcc_build.
(SVN): Don't use full path.

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

13 years ago * tools/classes/gnu/classpath/tools/native2ascii/Native2ASCII$3.class:
tromey [Mon, 28 Jan 2008 16:23:41 +0000 (16:23 +0000)]
* tools/classes/gnu/classpath/tools/native2ascii/Native2ASCII$3.class:
Added.

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

13 years ago2008-01-28 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Mon, 28 Jan 2008 14:51:31 +0000 (14:51 +0000)]
2008-01-28  Andreas Krebbel  <krebbel1@de.ibm.com>

* gcc.target/s390/20020926-1.c: Remove -m31.

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

13 years ago2008-01-28 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Mon, 28 Jan 2008 14:45:26 +0000 (14:45 +0000)]
2008-01-28  Andreas Krebbel  <krebbel1@de.ibm.com>

* gcc.target/s390/20020926-1.c: Disable for s390x.

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

13 years ago* MAINTAINERS (xstormy16): Take over maintainership.
nickc [Mon, 28 Jan 2008 11:25:03 +0000 (11:25 +0000)]
* MAINTAINERS (xstormy16): Take over maintainership.

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

13 years ago PR c++/27177
jason [Mon, 28 Jan 2008 02:19:38 +0000 (02:19 +0000)]
    PR c++/27177
        * class.c (build_base_path): Fix previous change.

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

13 years ago2008-01-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Mon, 28 Jan 2008 02:09:07 +0000 (02:09 +0000)]
2008-01-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/34994
* gfortran.dg/missing_optional_dummy_5.f90: Fix matching regular
expression.

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

13 years agoDaily bump.
gccadmin [Mon, 28 Jan 2008 00:17:14 +0000 (00:17 +0000)]
Daily bump.

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

13 years ago * doc/README.jaxp: Fix typos.
gerald [Sun, 27 Jan 2008 21:29:02 +0000 (21:29 +0000)]
* doc/README.jaxp: Fix typos.

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

13 years ago2008-01-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sun, 27 Jan 2008 19:50:16 +0000 (19:50 +0000)]
2008-01-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/34990
* gfortran.dg/array_constructor_22.f90: New test.

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

13 years ago2008-01-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sun, 27 Jan 2008 19:38:59 +0000 (19:38 +0000)]
2008-01-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/34990
* array.c (gfc_check_constructor_type): Revert clearing the expression.

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

13 years ago * config.gcc (strongarm*-*, ep9312*-*, xscale*-*, parisc*-*,
jsm28 [Sun, 27 Jan 2008 19:10:03 +0000 (19:10 +0000)]
* config.gcc (strongarm*-*, ep9312*-*, xscale*-*, parisc*-*,
m680[012]0-*, *-*-beos*, *-*-kaos*, *-*-linux*aout*,
*-*-linux*libc1*, *-*-solaris2.[0-6], *-*-solaris2.[0-6].*,
*-*-sysv*, *-*-windiss*, alpha*-*-unicosmk*, cris-*-aout,
hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
i[34567]86-sequent-ptx4*, i[34567]86-*-nto-qnx*,
i[34567]86-*-sco3.2v5*, i[34567]86-*-uwin*, powerpc-*-chorusos*,
vax-*-bsd*, vax-*-ultrix*): Mark obsolete.

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

13 years ago2008-01-27 Bernhard Fischer <aldot@gcc.gnu.org>
aldot [Sun, 27 Jan 2008 18:44:42 +0000 (18:44 +0000)]
2008-01-27  Bernhard Fischer  <aldot@gcc.gnu.org>

* basic-block.h (condjump_equiv_p): Fix comment.

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

13 years ago2008-01-27 Bernhard Fischer <aldot@gcc.gnu.org>
aldot [Sun, 27 Jan 2008 16:48:54 +0000 (16:48 +0000)]
2008-01-27  Bernhard Fischer  <aldot@gcc.gnu.org>

* tree-pretty-print.c (print_generic_decl, print_generic_stmt,
print_generic_stmt_indented): Fix comment.

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

13 years ago2008-01-27 Bernhard Fischer <aldot@gcc.gnu.org>
aldot [Sun, 27 Jan 2008 16:43:07 +0000 (16:43 +0000)]
2008-01-27  Bernhard Fischer  <aldot@gcc.gnu.org>

* configure.ac (__stack_chk_fail): Add detecion for availability
of SSP in uClibc by checking if __UCLIBC_HAS_SSP__ is defined.
* configure: Regenerate.

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

13 years agoinclude/
daney [Sun, 27 Jan 2008 06:01:00 +0000 (06:01 +0000)]
include/
2008-01-26  David Daney  <ddaney@avtrex.com>

* demangle.h (demangle_component_type):  Add
DEMANGLE_COMPONENT_JAVA_RESOURCE,
DEMANGLE_COMPONENT_COMPOUND_NAME, and
DEMANGLE_COMPONENT_CHARACTER as new enum values.
(demangle_component): Add struct s_character to union u.

libiberty/
2008-01-26  David Daney  <ddaney@avtrex.com>

* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
DEMANGLE_COMPONENT_COMPOUND_NAME, and
DEMANGLE_COMPONENT_CHARACTER cases.
(d_make_comp): Handle DEMANGLE_COMPONENT_COMPOUND_NAME and
DEMANGLE_COMPONENT_JAVA_RESOURCE cases.
(d_make_character): New function.
(d_java_resource): Same.
(d_special_name): Handle "Gr" case.
(d_print_comp): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
DEMANGLE_COMPONENT_COMPOUND_NAME, and
DEMANGLE_COMPONENT_CHARACTER cases.
* testsuite/demangle-expected: Add test for java resource name
mangling.

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

13 years agoDaily bump.
gccadmin [Sun, 27 Jan 2008 00:17:25 +0000 (00:17 +0000)]
Daily bump.

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

13 years ago PR middle-end/34688
mkuvyrkov [Sat, 26 Jan 2008 23:08:54 +0000 (23:08 +0000)]
PR middle-end/34688
* final.c (output_addr_const): Handle TRUNCATE.

* gcc.c-torture/compile/pr34688: New test.

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

13 years ago PR target/34711
rakdver [Sat, 26 Jan 2008 22:44:19 +0000 (22:44 +0000)]
PR target/34711
* tree-ssa-loop-ivopts.c (comp_cost): New type.
(zero_cost, infinite_cost): New constants.
(struct cost_pair): Change type of cost to comp_cost.
(struct iv_ca): Change type of cand_use_cost and cost to comp_cost.
(new_cost, add_costs, sub_costs, compare_costs, infinite_cost_p):
New functions.
(set_use_iv_cost, force_expr_to_var_cost, force_var_cost,
split_address_cost, ptr_difference_cost, difference_cost,
get_computation_cost_at, get_computation_cost,
determine_use_iv_cost_generic, determine_use_iv_cost_address,
determine_use_iv_cost_condition, determine_use_iv_costs,
cheaper_cost_pair, iv_ca_recount_cost, iv_ca_set_no_cp,
iv_ca_set_cp, iv_ca_cost, iv_ca_new, iv_ca_dump, iv_ca_extend,
iv_ca_narrow, iv_ca_prune, try_improve_iv_set, find_optimal_iv_set):
Change type of cost to comp_cost.
(determine_iv_cost): Increase cost of non-original ivs, instead
of decreasing the cost of original ones.
(get_address_cost): Indicate the complexity of the addressing mode
in comp_cost.
(try_add_cand_for): Prefer using ivs not specific to some object.
* tree-flow.h (force_expr_to_var_cost): Declaration removed.

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

13 years ago2008-01-26 Tobias Burnus <burnus@net-b.de>
burnus [Sat, 26 Jan 2008 20:44:49 +0000 (20:44 +0000)]
2008-01-26  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34848
        * trans-expr.c (gfc_conv_function_call): Don't call
        gfc_add_interface_mapping if the expression is NULL.

2008-01-26  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34848
        * gfortran.dg/missing_optional_dummy_5.f90: New.

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

13 years ago * gcc.dg/tree-ssa/20070302-1.c (baz): Mark with attribute
ghazi [Sat, 26 Jan 2008 20:25:12 +0000 (20:25 +0000)]
* gcc.dg/tree-ssa/20070302-1.c (baz): Mark with attribute
noinline.  XFAIL test.

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

13 years ago2008-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sat, 26 Jan 2008 19:05:15 +0000 (19:05 +0000)]
2008-01-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/31610
* gfortran.dg/array_3.f90: New test.

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

13 years ago2008-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sat, 26 Jan 2008 19:01:07 +0000 (19:01 +0000)]
2008-01-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/31610
* trans-array.c (gfc_trans_create_temp_array): Remove call to
gcc_assert (integer_zerop (loop->from[n])).

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

13 years agoboehm-gc/
rsandifo [Sat, 26 Jan 2008 18:24:37 +0000 (18:24 +0000)]
boehm-gc/
* include/private/gcconfig.h (HBLKSIZE): Define for MIPS.

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

13 years ago PR target/34814
bergner [Sat, 26 Jan 2008 17:18:35 +0000 (17:18 +0000)]
PR target/34814
* doc/tm.texi (TARGET_EXPAND_TO_RTL_HOOK): Document.
(TARGET_INSTANTIATE_DECLS): Likewise.
* target.h (expand_to_rtl_hook): New target hook.
(instantiate_decls): Likewise.
* function.c (instantiate_decl): Make non-static.  Rename to...
(instantiate_decl_rtl): ... this.
(instantiate_expr): Use instantiate_decl_rtl.
(instantiate_decls_1): Likewise.
(instantiate_decls): Likewise.
(instantiate_virtual_regs: Call new instantiate_decls taget hook.
* function.h (instantiate_decl_rtl): Add prototype.
* cfgexpand.c (target.h): New include.
(tree_expand_cfg): Call new expand_to_rtl_hook target hook.
* target-def.h (TARGET_EXPAND_TO_RTL_HOOK): New define.
(TARGET_INSTANTIATE_DECLS): Likewise.
(TARGET_INITIALIZER): New target hooks added.
* config/rs6000/rs6000-protos.h (rs6000_secondary_memory_needed_rtx):
New prototype.
* config/rs6000/rs6000.c (tree-flow.h): New include.
(machine_function): Add sdmode_stack_slot field.
(rs6000_alloc_sdmode_stack_slot): New function.
(rs6000_instantiate_decls): Likewise.
(rs6000_secondary_memory_needed_rtx): Likewise.
(rs6000_check_sdmode): Likewise.
(TARGET_EXPAND_TO_RTL_HOOK): Target macro defined.
(TARGET_INSTANTIATE_DECLS): Likewise.
(rs6000_hard_regno_mode_ok): Allow SDmode.
(num_insns_constant): Likewise.  Handle _Decimal32 constants.
(rs6000_emit_move): Handle SDmode.
(function_arg_advance): Likewise.
(function_arg): Likewise.
(rs6000_gimplify_va_arg): Likewise.  Add special handling of
SDmode var args for 32-bit compiles.
(rs6000_secondary_reload_class): Handle SDmode.
(rs6000_output_function_epilogue): Likewise.
(rs6000_function_value): Simplify if statement.
(rs6000_libcall_value): Likewise.
* config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Handle SDmode.
(SECONDARY_MEMORY_NEEDED_RTX): Add define.
* config/rs6000/dfp.md (movsd): New define_expand and splitter.
(movsd_hardfloat): New define_insn.
(movsd_softfloat): Likewise.
(movsd_store): Likewise.
(movsd_load): Likewise.
(extendsddd2): Likewise.
(extendsdtd2): Likewise.
(truncddsd2): Likewise.
(movdd_hardfloat64): Fixup comment.
(UNSPEC_MOVSD_LOAD): New constant.
(UNSPEC_MOVSD_STORE): Likewise.

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

13 years ago PR c++/34965
jakub [Sat, 26 Jan 2008 17:04:54 +0000 (17:04 +0000)]
PR c++/34965
* c-pretty-print.c (pp_c_exclusive_or_expression): Handle
TRUTH_XOR_EXPR.
(pp_c_logical_and_expression): Handle TRUTH_AND_EXPR.
(pp_c_logical_or_expression): Handle TRUTH_OR_EXPR.
(pp_c_expression): Handle TRUTH_AND_EXPR, TRUTH_OR_EXPR
and TRUTH_XOR_EXPR.

* error.c (dump_expr): Handle TRUTH_AND_EXPR, TRUTH_OR_EXPR
and TRUTH_XOR_EXPR.

* gcc.dg/pr34965.c: New test.
* g++.dg/other/error24.C: New test.

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

13 years ago * gcc.c-torture/compile/pr34966.c (atan): Only use asm
jakub [Sat, 26 Jan 2008 17:02:44 +0000 (17:02 +0000)]
* gcc.c-torture/compile/pr34966.c (atan): Only use asm
on i?86/x86_64.

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

13 years ago PR target/34794
dje [Sat, 26 Jan 2008 16:28:03 +0000 (16:28 +0000)]
    PR target/34794
        * config/os/aix/os_defines.h: Define __COMPATMATH__.

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

13 years ago PR target/34794
dje [Sat, 26 Jan 2008 16:26:27 +0000 (16:26 +0000)]
    PR target/34794
        * config.gcc: Separate AIX 5.3 from AIX 6.1.
        * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
        __LONGDOUBLE128 too.
        * config/rs6000/aix61.h: New file.

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

13 years ago2008-01-26 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Sat, 26 Jan 2008 15:22:59 +0000 (15:22 +0000)]
2008-01-26  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfofortran/34887
* io/transfer.c (next_record_w): Always move to the farthest
position when completing the record (also when we are
processing a slash edit descriptor).

2008-01-26  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfofortran/34887
* gfortran.dg/x_slash_2.f:  New test.

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

13 years agogcc/
rsandifo [Sat, 26 Jan 2008 11:34:41 +0000 (11:34 +0000)]
gcc/
PR rtl-optimization/34959
* optabs.c (expand_unop): In libcall notes, give ffs, clz, ctz,
popcount and parity rtxes the same mode as their operand.
Truncate or extend the result to the return value's mode
if necessary.

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

13 years ago2008-01-26 Richard Guenther <rguenther@suse.de>
rguenth [Sat, 26 Jan 2008 11:26:36 +0000 (11:26 +0000)]
2008-01-26  Richard Guenther  <rguenther@suse.de>

PR c++/34235
* typeck.c (build_binary_op): Remove code to shorten compares.

* g++.dg/torture/pr34235.C: New testcase.

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

13 years agogcc/testsuite/
rsandifo [Sat, 26 Jan 2008 11:20:07 +0000 (11:20 +0000)]
gcc/testsuite/
* g++.dg/tree-ssa/ivopts-1.C: XFAIL for MIPS too.

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

13 years agogcc/
rsandifo [Sat, 26 Jan 2008 10:22:14 +0000 (10:22 +0000)]
gcc/
PR target/34981
* config/mips/mips-protos.h (mips_expand_call): Return an rtx.
* config/mips/mips.h (FIRST_PSEUDO_REGISTER): Rename FAKE_CALL_REGNO
to GOT_VERSION_REGNUM.
(CALL_REALLY_USED_REGISTERS): Set the GOT_VERSION_REGNUM entry to 0.
(EPILOGUE_USES): Include GOT_VERSION_REGNUM if TARGET_USE_GOT.
* config/mips/mips.c (mips_emit_call_insn): New function.
(mips_call_tls_get_addr): Call mips_expand_call directly.
(mips16_copy_fpr_return_value): Use mips_emit_call_insn rather than
emit_call_insn.
(mips16_build_call_stub): Likewise.  Return the call insn or null.
(mips_expand_call): Update the call to mips16_build_call_stub
accordingly and a remove redundant condition.  Assert that MIPS16
stubs do not use lazy binding.  Use mips_emit_call_insn and return
the call insn.
(mips_extra_live_on_entry): Include GOT_VERSION_REGNUM if
TARGET_USE_GOT.
(mips_hard_regno_mode_ok_p): Allow SImode for GOT_VERSION_REGNUM.
(mips_avoid_hazard): Remove hazard_set handling.
* config/mips/mips.md (UNSPEC_EH_RECEIVER): Rename to...
(UNSPEC_RESTORE_GP): ...this.
(UNSPEC_SET_GOT_VERSION, UNSPEC_UPDATE_GOT_VERSION): New constants.
(FAKE_CALL_REGNO): Rename to...
(GOT_VERSION_REGNUM): ...this.
(type): Add "ghost" value.  Add an associated insn reservation.
(hazard_set): Remove.
(exception_receiver): Rename to...
(restore_gp): ...this and update the unspec identifier accordingly.
(exception_receiver, nonlocal_got_receiver): New expanders.
(load_call<mode>): Use GOT_VERSION_REGNUM.  Don't set
FAKE_CALL_REGNO.  Remove hazard_set attribute.
(set_got_version, update_got_version): New patterns.

gcc/testsuite/
PR target/34981
* gcc.target/mips/lazy-binding-1.c: New test.
* gcc.target/mips/mips.exp (setup_mips_tests): Set
mips_forced_no_abicalls and mips_forced_no_shared.
(dg-mips-options): Avoid using -mabicalls with an implicit -mabi=eabi.
Avoid using small data with -mabicalls.  Don't make -G0 force
-mn-abicalls.  Skip -mabicalls and -mshared tests if the multilib
forces the opposite option.

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

13 years agoPR target/34970
dannysmith [Sat, 26 Jan 2008 09:31:30 +0000 (09:31 +0000)]
PR target/34970

gcc
* config/i386/cygming.h (ASM_OUTPUT_LABELREF): Define.
testsuite
* gcc.target/i386/fastcall-1.c: Scan for correct label.
Use -std=gnu89 switch.

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

13 years ago * decl.c (components_to_record): Improve comment.
ebotcazou [Sat, 26 Jan 2008 09:29:00 +0000 (09:29 +0000)]
* decl.c (components_to_record): Improve comment.

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

13 years ago PR c++/27177
jason [Sat, 26 Jan 2008 00:41:49 +0000 (00:41 +0000)]
    PR c++/27177
        * class.c (build_base_path): Don't mess with virtual access if
        skip_evaluation.
        * call.c (standard_conversion): Don't check whether source type
        is complete.

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

13 years agoDaily bump.
gccadmin [Sat, 26 Jan 2008 00:17:28 +0000 (00:17 +0000)]
Daily bump.

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

13 years ago2008-01-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 25 Jan 2008 23:40:23 +0000 (23:40 +0000)]
2008-01-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/34876
* gfortran.dg/direct_io_9.f: New test.

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

13 years ago Fix date.
jvdelisle [Fri, 25 Jan 2008 23:36:39 +0000 (23:36 +0000)]
Fix date.

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

13 years ago2008-01-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 25 Jan 2008 23:34:53 +0000 (23:34 +0000)]
2008-01-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/34876
* io/transfer.c (write_buf): Handle case of zero sized array.
(transfer_array): Set data pointer to NULL and size to zero.  Then
make a data transfer and return.

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

13 years agogcc/fortran:
dfranke [Fri, 25 Jan 2008 21:55:47 +0000 (21:55 +0000)]
gcc/fortran:
2008-01-25  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/34661
        * resolve.c (resolve_where): Added check if user-defined assignment
        operator is an elemental subroutine.
        (gfc_resolve_where_code_in_forall): Likewise.

gcc/testsuite:
2008-01-25  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/34661
        * gfortran.dg/where_operator_assign_4.f90: New test.

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

13 years ago PR other/31955
jsm28 [Fri, 25 Jan 2008 21:34:38 +0000 (21:34 +0000)]
PR other/31955
* doc/install.texi2html: Generate gcc-vers.texi.

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

13 years ago2008-01-25 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 25 Jan 2008 21:20:00 +0000 (21:20 +0000)]
2008-01-25  Richard Guenther  <rguenther@suse.de>

PR c++/33887
* decl.c (record_builtin_java_type): Make __java_boolean
a variant of bool.
* typeck.c (structural_comptypes): Move TYPE_FOR_JAVA check
after TYPE_MAIN_VARIANT check.

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

13 years ago* config/m32c/m32c.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
dj [Fri, 25 Jan 2008 21:00:56 +0000 (21:00 +0000)]
* config/m32c/m32c.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.

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

13 years ago * MAINTAINERS (c4x port): Remove.
jsm28 [Fri, 25 Jan 2008 20:49:04 +0000 (20:49 +0000)]
* MAINTAINERS (c4x port): Remove.

contrib:
* paranoia.cc (main): Remove handling of c4x_single and
c4x_extended formats.

gcc:
* config/c4x: Remove directory.
* config.gcc (crx-*, mt-*): Mark obsolete.
(c4x-*, tic4x-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*, tic4x-*,
h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
sh-*-rtemscoff*): Remove cases.
* defaults.h (C4X_FLOAT_FORMAT): Remove.
* real.c (encode_c4x_single, decode_c4x_single,
encode_c4x_extended, decode_c4x_extended, c4x_single_format,
c4x_extended_format): Remove.
* real.h (c4x_single_format, c4x_extended_format): Remove.
* doc/extend.texi (interrupt, naked): Remove mention of attributes
on C4x.
(Pragmas): Remove comment about c4x pragmas.
* doc/install.texi (c4x): Remove target-specific instructions.
* doc/invoke.texi (TMS320C3x/C4x Options): Remove.
* doc/md.texi (Machine Constraints): Remove C4x documentation.
* doc/tm.texi (MEMBER_TYPE_FORCES_BLK, c_register_pragma): Do not
refer to C4x source files as examples.
(C4X_FLOAT_FORMAT): Remove documentation.

gcc/testsuite:
* gcc.dg/builtin-inf-1.c, gcc.dg/compare6.c, gcc.dg/sibcall-3.c,
gcc.dg/sibcall-4.c, gcc.dg/torture/builtin-attr-1.c: Don't handle
c4x-*-* targets.

libgcc:
* config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
sh-*-rtemscoff*): Remove cases.

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

13 years ago * decl2.c (is_late_template_attribute): Don't defer attribute
jason [Fri, 25 Jan 2008 19:47:28 +0000 (19:47 +0000)]
    * decl2.c (is_late_template_attribute): Don't defer attribute
        visibility just because the type is dependent.

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

13 years ago PR c++/31780
jason [Fri, 25 Jan 2008 19:45:11 +0000 (19:45 +0000)]
    PR c++/31780
        * call.c (standard_conversion): Allow conversion from integer/real
        to complex.
        (compare_ics): Such a conversion is worse than a normal arithmetic
        conversion.

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

13 years ago * decCommonSymbols.h: Commit.
janis [Fri, 25 Jan 2008 18:47:12 +0000 (18:47 +0000)]
    * decCommonSymbols.h: Commit.
        * decDPDSybmols.h: Commit.

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

13 years ago * Makefile.in (libdecnumber_a_SOURCES): List Symbols headers.
janis [Fri, 25 Jan 2008 18:07:54 +0000 (18:07 +0000)]
* Makefile.in (libdecnumber_a_SOURCES): List Symbols headers.
* decCommonSymbols.h: New file.
* decCommon.c: Include it.
* decDPDSymbols.h: New file.
* decDPD.h: Include it.
* decNumberLocal.h: Include the two new files.
* decContextSymbols.h (DECPOWERS, DECSTICKYTAB): New.
* decNumberSymbols.h (LNnn, d2utable): New.
* dpd/decimal32Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New.
* dpd/decimal64Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New.
* dpd/decimal128Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New.
* dpd/decimal32.c: Remove redefine of DPD2BIN, BIN2DPD.
* dpd/decimal64.c: Ditto.
* dpd/decimal128.c: Ditto.

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

13 years ago * config/bfin/bfin.c (override_options): Reorder tests so that
bernds [Fri, 25 Jan 2008 17:05:26 +0000 (17:05 +0000)]
* config/bfin/bfin.c (override_options): Reorder tests so that
flag_pic gets enabled for -msep-data.

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

13 years ago2008-01-25 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 25 Jan 2008 15:33:09 +0000 (15:33 +0000)]
2008-01-25  Richard Guenther  <rguenther@suse.de>

PR middle-end/32244
* expr.c (expand_expr_real_1): Reduce result of LSHIFT_EXPR
to its bitfield precision if required.

* gcc.c-torture/execute/pr32244-1.c: New testcase.

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

13 years ago PR middle-end/33880
jakub [Fri, 25 Jan 2008 12:54:42 +0000 (12:54 +0000)]
PR middle-end/33880
* tree-nested.c (walk_omp_for): New function.
(convert_nonlocal_reference, convert_local_reference): Call
walk_omp_for on OMP_FOR.
(convert_call_expr): Call walk_body on OMP_FOR's
OMP_FOR_PRE_INIT_BODY.

* testsuite/libgomp.c/pr33880.c: New test.
* testsuite/libgomp.fortran/pr33880.f90: New test.

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

13 years ago2008-01-25 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 25 Jan 2008 12:08:52 +0000 (12:08 +0000)]
2008-01-25  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/34966
* tree-ssa-math-opts.c (execute_cse_sincos_1): For all but
default defs and PHI_NODEs we have to insert after the
defining statement.

* gcc.c-torture/compile/pr34966.c: New testcase.

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

13 years ago2008-01-25 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 25 Jan 2008 12:06:31 +0000 (12:06 +0000)]
2008-01-25  Richard Guenther  <rguenther@suse.de>

PR c++/33887
* cp-lang.c (LANG_HOOKS_REDUCE_BIT_FIELD_OPERATIONS): Define
to true.

* g++.dg/torture/pr33887-1.C: New testcase.
* g++.dg/torture/pr33887-2.C: Likewise.
* g++.dg/torture/pr33887-3.C: Likewise.
* gcc.c-torture/execute/20071211-1.c: Likewise.

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

13 years ago* config/stormy16/stormy16-lib2.c (MIN_UNITS_PER_WORD):
nickc [Fri, 25 Jan 2008 11:23:44 +0000 (11:23 +0000)]
* config/stormy16/stormy16-lib2.c (MIN_UNITS_PER_WORD):
  Provide a default definition.
  (LIBGCC2_UNITS_PER_WORD): Likewise.

  * config/stormy16/stormy16.c: Include df.h for the prototype
  for df_regs_ever_live_p.
  (xstormy16_expand_builtin_va_start): Convert the stack offset
  into a component_ref and then use POINTER_PLUS_EXPR to add it
  to the incoming_virtual_args_rtx.
  (xstormy16_gimplify_va_arg_expr): Rename to
  xstormy16_gimplify_va_arg_expr.
  Use POINTER_PLUS_EXPR when performing pointer arithmetic.
  (TARGET_GIMPLIFY_VA_ARG_EXPR): Use renamed
  xstormy16_gimplify_va_arg_expr.
  Fix up some formatting issues.

  * config/stormy16/stormy16.c: (xstormy16_carry_plus_operand):
  Move to predicates.md.
  (xs_hi_general_operand): Likewise.
  (xs_hi_nonmemory_operand): Likewise.
  * config/stormy16/predicates.md:
  (xstormy16_carry_plus_operand): New predicate.
  (xs_hi_general_operand): New predicate.
  (xs_hi_nonmemory_operand): New predicate.
  * config/stormy16/stormy16-protos.h:
  (xstormy16_carry_plus_operand): Delete prototype.
  (xs_hi_general_operand): Likewise.
  (xs_hi_nonmemory_operand): Likewise.

  * config/storm16/stormy16.md (addhi3): Remove earlyclobber
  modifiers as they are no longer needed and they can trigger
  reload spill failures.

  * config/storm16/stormy16.md (ineqbranchsi): Replace match_dup
  with a match_operand in order to help reload.

  * config/storm16/stormy16.md (movhi_internal): Replace 'r'
  constraint with 'e' for the 8th alternative as this version of
  the mov.w instruction only accepts the lower 8 registers.

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

13 years ago PR target/34856
uros [Fri, 25 Jan 2008 10:25:21 +0000 (10:25 +0000)]
PR target/34856
* simplifx-rtx.c (simplify_const_binary_operation) [VEC_CONCAT]:
Consider only CONST_INT, CONST_DOUBLE and CONST_FIXED as constant
vector elements.

testsuite/ChangeLog:

PR target/34856
* gcc.dg/pr34856.c: Use pointer mode for "pin".

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

13 years ago PR middle-end/33333
jakub [Fri, 25 Jan 2008 09:12:57 +0000 (09:12 +0000)]
PR middle-end/33333
* gimplify.c (gimplify_omp_for): Gimplify OMP_FOR_PRE_BODY.

* g++.dg/gomp/pr33333.C: New test.

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

13 years ago PR preprocessor/34692
jakub [Fri, 25 Jan 2008 09:01:27 +0000 (09:01 +0000)]
PR preprocessor/34692
* macro.c (collect_args): Add pragma_buff argument.  Push
CPP_PRAGMA ... CPP_PRAGMA_EOL tokens to *pragma_buff, rather
than into arguments.  Reset prevent_expansion and parsing_args
state at CPP_PRAGMA_EOL/CPP_EOF.
(funlike_invocation_p): Add pragma_buff argument, pass it through
to collect_args.
(enter_macro_context): Add result argument.  Adjust
funlike_invocation_p caller.  Emit all deferred pragma tokens
gathered during collect_args before the expansion, add a padding
token.  Return 2 instead of 1 if any pragma tokens were prepended.
(cpp_get_token): If enter_macro_context returns 2, don't return
a padding token, instead cycle to grab CPP_PRAGMA token.
* directives.c (_cpp_handle_directive): If was_parsing_args
in deferred pragma, leave parsing_args and prevent_expansion as is.

* gcc.dg/cpp/pr34692.c: New test.
* gcc.dg/gomp/pr34692.c: New test.

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

13 years ago2008-01-25 Golovanevsky Olga <olga@il.ibm.com>
olga [Fri, 25 Jan 2008 08:02:54 +0000 (08:02 +0000)]
2008-01-25  Golovanevsky Olga  <olga@il.ibm.com>

* ipa-struct-reorg.c (remove_str_allocs_in_func, remove_str_allocs):
New functions.
(remove_structure): Update allocations list before removing structure.

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

13 years ago2008-01-25 Golovanevsky Olga <olga@il.ibm.com>
olga [Fri, 25 Jan 2008 07:47:46 +0000 (07:47 +0000)]
2008-01-25  Golovanevsky Olga  <olga@il.ibm.com>

* ipa-struct-reorg.c (is_safe_cond_expr,
create_new_stmts_for_cond_expr): Use integer_zerop function,
that recognize not only zero-pointer, but zero-integer too.

2008-01-24  Olga Golovanevsky  <olga@il.ibm.com>

        * gcc.dg/struct/wo_prof_malloc_size_var.c: UnXFAIL.

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

13 years agoDaily bump.
gccadmin [Fri, 25 Jan 2008 00:17:48 +0000 (00:17 +0000)]
Daily bump.

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

13 years ago2008-01-24 Daniel Franke <franke.daniel@gmail.com>
dfranke [Thu, 24 Jan 2008 21:36:14 +0000 (21:36 +0000)]
2008-01-24  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/33375
        PR fortran/34858
        * gfortran.h: Revert changes from 2008-01-17.
        * match.c: Likewise.
        * symbol.c: Likewise.
        (gfc_undo_symbols): Undo namespace changes related to common blocks.

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

13 years agogcc/fortran:
dfranke [Thu, 24 Jan 2008 21:28:20 +0000 (21:28 +0000)]
gcc/fortran:
2008-01-24  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/34202
* data.c (formalize_structure_cons): Skip formalization on
empty structures.

gcc/testsuite:
2008-01-24  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/34202
        * gfortran.dg/empty_type.f90: New test.

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

13 years agoCommitted with RM approval this time.
bje [Thu, 24 Jan 2008 20:52:56 +0000 (20:52 +0000)]
Committed with RM approval this time.

PR other/22232
* fixproto: Escape "." in sed expression that strips leading "./".

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

13 years ago/cp
paolo [Thu, 24 Jan 2008 19:54:11 +0000 (19:54 +0000)]
/cp
2008-01-24  Paolo Carlini  <pcarlini@suse.de>

        PR c++/34603
        * pt.c (push_template_decl_real): Return error_mark_node in case
of template definition of non-template.

/testsuite
2008-01-24  Paolo Carlini  <pcarlini@suse.de>

        PR c++/34603
        * g++.dg/template/crash77.C: New.

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

13 years ago2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 24 Jan 2008 18:57:12 +0000 (18:57 +0000)]
2008-01-24  H.J. Lu  <hongjiu.lu@intel.com>

PR driver/34904
* gcc.c (SWITCH_OK): Removed.
(SWITCH_LIVE): Changed to bit.
(SWITCH_FALSE): Likewise.
(SWITCH_IGNORE): Likewise.
(switchstr): Change live_cond to unsigned int.
(process_command): Replace SWITCH_OK with 0.
(do_self_spec): Likewise.
(set_collect_gcc_options): Check the SWITCH_IGNORE bit.
(give_switch): Likewise.
(used_arg): Likewise.
(do_spec_1): Set the SWITCH_IGNORE bit.
(check_live_switch): Check both SWITCH_LIVE and SWITCH_FALSE
bits.  Set the SWITCH_LIVE bit.

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

13 years ago * resource/gnu/classpath/tools/native2ascii/messages.properties
tromey [Thu, 24 Jan 2008 18:31:50 +0000 (18:31 +0000)]
* resource/gnu/classpath/tools/native2ascii/messages.properties
(Native2ASCII.ReversedHelpCompat): New.
* tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
(createParser): Add -reverse.  Update -reversed.

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

13 years ago2008-01-24 Daniel Franke <franke.daniel@gmail.com>
dfranke [Thu, 24 Jan 2008 18:28:11 +0000 (18:28 +0000)]
2008-01-24  Daniel Franke  <franke.daniel@gmail.com>

        * gfortran.texi (OpenMP): Extended existing documentation.
        (contributors): Added major contributors of 2008 that were
        not listed yet.
        (proposed extensions): Removed implemented items.

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

13 years ago2008-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Thu, 24 Jan 2008 18:06:20 +0000 (18:06 +0000)]
2008-01-24  Andreas Krebbel  <krebbel1@de.ibm.com>

* config/s390/s390.h (MOVE_RATIO): Define new target macro.

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

13 years agogcc/
rsandifo [Thu, 24 Jan 2008 17:46:31 +0000 (17:46 +0000)]
gcc/
PR tree-optimization/34472
* ipa-struct-reorg.c (safe_cond_expr_check): Change the DATA
parameter to a "bool *" and set *DATA to false if there is
an unsafe access.  Do not delete the structure here.
(check_cond_exprs): Delete it here instead.
(check_cond_exprs, exclude_cold_structs): Do not increase
I when removing a structure.

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

13 years ago PR target/34856
uros [Thu, 24 Jan 2008 17:08:10 +0000 (17:08 +0000)]
PR target/34856
* config/i386/i386.c (ix86_expand_vector_init): Consider only
CONST_INT, CONST_DOUBLE and CONST_FIXED as constant vector elements.

testsuite/ChangeLog:

PR target/34856
* gcc.dg/pr34856.c: New test.

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

13 years ago2008-01-24 Tobias Burnus <burnus@net-b.de>
burnus [Thu, 24 Jan 2008 16:59:02 +0000 (16:59 +0000)]
2008-01-24  Tobias Burnus  <burnus@net-b.de>

       * gfortran.dg/namelist_39.f90: Delete temporary files.
       * gfortran.dg/namelist_44.f90: Ditto.

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

13 years ago * shlibpath.m4: Add AIX 6 support.
dje [Thu, 24 Jan 2008 16:35:10 +0000 (16:35 +0000)]
    * shlibpath.m4: Add AIX 6 support.
        * configure: Regenerate.

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

13 years ago * configure: Regenerate.
dje [Thu, 24 Jan 2008 16:33:29 +0000 (16:33 +0000)]
* configure: Regenerate.

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

13 years ago * configure: Regenerate.
dje [Thu, 24 Jan 2008 16:32:40 +0000 (16:32 +0000)]
* configure: Regenerate.

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

13 years ago * configure: Regenerate.
dje [Thu, 24 Jan 2008 16:31:24 +0000 (16:31 +0000)]
* configure: Regenerate.

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

13 years ago * configure: Regenerate.
dje [Thu, 24 Jan 2008 16:30:08 +0000 (16:30 +0000)]
* configure: Regenerate.

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

13 years ago * configure: Regenerate.
dje [Thu, 24 Jan 2008 16:29:16 +0000 (16:29 +0000)]
* configure: Regenerate.

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

13 years ago * configure: Regenerate.
dje [Thu, 24 Jan 2008 16:28:13 +0000 (16:28 +0000)]
* configure: Regenerate.

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

13 years ago * configure: Regenerate.
dje [Thu, 24 Jan 2008 16:27:14 +0000 (16:27 +0000)]
* configure: Regenerate.

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

13 years agoFix date.
dje [Thu, 24 Jan 2008 16:25:43 +0000 (16:25 +0000)]
Fix date.

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

13 years ago * configure: Regenerate.
dje [Thu, 24 Jan 2008 16:25:09 +0000 (16:25 +0000)]
* configure: Regenerate.

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

13 years ago * configure: Regenerate.
dje [Thu, 24 Jan 2008 16:23:13 +0000 (16:23 +0000)]
* configure: Regenerate.

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

13 years ago * libtool.m4: Backport AIX 6 support from ToT Libtool.
dje [Thu, 24 Jan 2008 16:21:00 +0000 (16:21 +0000)]
* libtool.m4: Backport AIX 6 support from ToT Libtool.

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

13 years ago2008-01-24 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 24 Jan 2008 16:02:51 +0000 (16:02 +0000)]
2008-01-24  Richard Guenther  <rguenther@suse.de>

PR middle-end/34953
* g++.dg/torture/pr34953.C: New testcase.

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

13 years ago PR middle-end/34934
jakub [Thu, 24 Jan 2008 15:13:17 +0000 (15:13 +0000)]
PR middle-end/34934
* tree-stdarg.c (reachable_at_most_once): Use VEC vector instead of
a fixed vector for stack.

* gcc.c-torture/compile/20080124-1.c: New test.

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

13 years ago PR c++/34913
jason [Thu, 24 Jan 2008 14:41:32 +0000 (14:41 +0000)]
    PR c++/34913
        * decl2.c (is_late_template_attribute): Defer any attribute with
        dependent args.  Also defer type attributes if the type is dependent.

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

13 years ago PR c++/25701
bje [Thu, 24 Jan 2008 10:22:11 +0000 (10:22 +0000)]
PR c++/25701
* doc/gcc.texi (Software development): Add a direntry for g++.

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

13 years ago2008-01-24 Paul Thomas <pault@gcc.gnu.org>
pault [Thu, 24 Jan 2008 08:40:38 +0000 (08:40 +0000)]
2008-01-24  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/34872
* parse.c (next_statement) : If ST_GET_FCN_CHARACTERISTICS  is
seen, check for a statement label and, if present, delete it
and set the locus to the start of the statement.

2008-01-24  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/34872
* gfortran.dg/function_charlen_3.f: New test.

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

13 years agoDaily bump.
gccadmin [Thu, 24 Jan 2008 00:17:30 +0000 (00:17 +0000)]
Daily bump.

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

13 years agoRevert this patch, as it is not a regression.
bje [Thu, 24 Jan 2008 00:11:47 +0000 (00:11 +0000)]
Revert this patch, as it is not a regression.

2008-01-24  Ben Elliston  <bje@au.ibm.com>

PR other/22232
* fixproto: Escape "." in sed expression that strips leading "./".

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

13 years ago PR other/22232
bje [Wed, 23 Jan 2008 23:26:24 +0000 (23:26 +0000)]
PR other/22232
* fixproto: Escape "." in sed expression that strips leading "./".

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

13 years ago2008-01-23 David Daney <ddaney@avtrex.com>
daney [Wed, 23 Jan 2008 23:00:39 +0000 (23:00 +0000)]
2008-01-23  David Daney  <ddaney@avtrex.com>

* class.c (hide)  Rename to...
(java_hide_decl) ... this throughout, and make public.
* resource.c (Jr_count): Remove.
(compile_resource_data): Call java_mangle_resource_name to generate
decl name.  Make resource decl public and hidden.
* mangle.c (java_mangle_resource_name): New function.
* java-tree.h (java_hide_decl, java_mangle_resource_name): Declare
functions.

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