OSDN Git Service

pf3gnuchains/gcc-fork.git
10 years ago PR preprocessor/39213
ebotcazou [Tue, 4 Jan 2011 23:18:12 +0000 (23:18 +0000)]
PR preprocessor/39213
* directives.c (end_directive): Call _cpp_remove_overlay for deferred
pragmas as well in traditional mode.

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

10 years agoDon't crash if append arguments are erroneous.
ian [Tue, 4 Jan 2011 22:54:05 +0000 (22:54 +0000)]
Don't crash if append arguments are erroneous.

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

10 years ago * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the
ebotcazou [Tue, 4 Jan 2011 22:44:04 +0000 (22:44 +0000)]
* dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the
initializer.  Skip view conversions from aggregate types.

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

10 years agoDon't crash when adding function calls that return multiple results.
ian [Tue, 4 Jan 2011 22:37:26 +0000 (22:37 +0000)]
Don't crash when adding function calls that return multiple results.

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

10 years agoDon't look outside of function literal for break or continue label.
ian [Tue, 4 Jan 2011 22:18:20 +0000 (22:18 +0000)]
Don't look outside of function literal for break or continue label.

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

10 years agoDon't create erroneous COND_EXPR.
ian [Tue, 4 Jan 2011 22:15:46 +0000 (22:15 +0000)]
Don't create erroneous COND_EXPR.

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

10 years agoDon't crash if tuple init redefines non-variable.
ian [Tue, 4 Jan 2011 21:15:26 +0000 (21:15 +0000)]
Don't crash if tuple init redefines non-variable.

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

10 years agoDon't crash if named constant has no type when converting to GENERIC.
ian [Tue, 4 Jan 2011 20:18:31 +0000 (20:18 +0000)]
Don't crash if named constant has no type when converting to GENERIC.

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

10 years agoDon't crash initializing multiple vars from a single result function.
ian [Tue, 4 Jan 2011 19:46:23 +0000 (19:46 +0000)]
Don't crash initializing multiple vars from a single result function.

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

10 years agoCheck for multiple default cases in switch or select.
ian [Tue, 4 Jan 2011 19:34:32 +0000 (19:34 +0000)]
Check for multiple default cases in switch or select.

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

10 years agoFix handling of abstract types in temporary statements.
ian [Tue, 4 Jan 2011 19:02:47 +0000 (19:02 +0000)]
Fix handling of abstract types in temporary statements.

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

10 years agoUps missed ...
ktietz [Tue, 4 Jan 2011 18:53:32 +0000 (18:53 +0000)]
Ups missed ...

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

10 years agoTraverse expressions when looking for types.
ian [Tue, 4 Jan 2011 18:52:50 +0000 (18:52 +0000)]
Traverse expressions when looking for types.

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

10 years agoDon't crash if package import fails.
ian [Tue, 4 Jan 2011 18:24:05 +0000 (18:24 +0000)]
Don't crash if package import fails.

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

10 years agoFix building recover thunks which return multiple values.
ian [Tue, 4 Jan 2011 18:16:17 +0000 (18:16 +0000)]
Fix building recover thunks which return multiple values.

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

10 years ago2011-01-04 Kai Tietz <kai.tietz@onevision.com>
ktietz [Tue, 4 Jan 2011 18:05:06 +0000 (18:05 +0000)]
2011-01-04  Kai Tietz  <kai.tietz@onevision.com>

        PR bootstrap/47055
        * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC.

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

10 years ago2011-01-04 Kai Tietz <kai.tietz@onevision.com>
ktietz [Tue, 4 Jan 2011 17:59:39 +0000 (17:59 +0000)]
2011-01-04  Kai Tietz  <kai.tietz@onevision.com>

        PR libstdc++/47145
        * configure.ac (AC_CHECK_FILE): Replaced by test -f.
        * configure: Regenerated.

Unbreaking cross-compiling ...

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

10 years agoAvoid crash when selecting on non-channel.
ian [Tue, 4 Jan 2011 17:42:21 +0000 (17:42 +0000)]
Avoid crash when selecting on non-channel.

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

10 years agoFix obvious typo.
pthomas [Tue, 4 Jan 2011 16:59:42 +0000 (16:59 +0000)]
Fix obvious typo.

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

10 years ago2011-01-04 Janus Weil <janus@gcc.gnu.org>
janus [Tue, 4 Jan 2011 12:59:23 +0000 (12:59 +0000)]
2011-01-04  Janus Weil  <janus@gcc.gnu.org>

PR fortran/46448
* class.c (gfc_find_derived_vtab): Set the module field for the copying
routine to make sure it receives module name mangling.

2011-01-04  Janus Weil  <janus@gcc.gnu.org>

PR fortran/46448
* gfortran.dg/class_34.f90: New.

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

10 years ago * function.c (thread_prologue_and_epilogue_insns): Do not crash
uweigand [Tue, 4 Jan 2011 12:20:45 +0000 (12:20 +0000)]
* function.c (thread_prologue_and_epilogue_insns): Do not crash
on empty epilogue sequences.

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

10 years ago * gcc.dg/torture/builtin-cproj-1.c: On the __SPU__ target, do not
uweigand [Tue, 4 Jan 2011 12:19:31 +0000 (12:19 +0000)]
* gcc.dg/torture/builtin-cproj-1.c: On the __SPU__ target, do not
use __builtin_inff.  Skip all single-precision tests that require
Infinity.

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

10 years ago * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now,
jsm28 [Tue, 4 Jan 2011 11:48:04 +0000 (11:48 +0000)]
* config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now,
non-static): New Driver options.

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

10 years ago * gcc-interface/decl.c: Disable Stdcall convention handling for 64-bit.
ebotcazou [Tue, 4 Jan 2011 11:33:39 +0000 (11:33 +0000)]
* gcc-interface/decl.c: Disable Stdcall convention handling for 64-bit.

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

10 years ago PR driver/47137
jiez [Tue, 4 Jan 2011 10:21:27 +0000 (10:21 +0000)]
PR driver/47137
* gcc.c (default_compilers[]): Set combinable field to 0
for all assembly languages.

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

10 years ago * gcc-interface/trans.c (Case_Statement_to_gnu): Put the SLOC of the
ebotcazou [Tue, 4 Jan 2011 09:50:33 +0000 (09:50 +0000)]
* gcc-interface/trans.c (Case_Statement_to_gnu): Put the SLOC of the
end-of-case on the end label and its associated gotos, if any.

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

10 years ago * gcc-interface/trans.c (Subprogram_Body_to_gnu): Evaluate the
ebotcazou [Tue, 4 Jan 2011 09:43:56 +0000 (09:43 +0000)]
* gcc-interface/trans.c (Subprogram_Body_to_gnu): Evaluate the
expressions of the parameter cache within the statement group of
the CICO mechanism.

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

10 years ago * gcc-interface/trans.c (BLOCK_SOURCE_END_LOCATION): Provide default.
ebotcazou [Tue, 4 Jan 2011 09:30:06 +0000 (09:30 +0000)]
* gcc-interface/trans.c (BLOCK_SOURCE_END_LOCATION): Provide default.
(set_end_locus_from_node): New function.
(Subprogram_Body_to_gnu): Use it to mark both the inner BIND_EXPR we
make and the function end_locus.
(Compilation_Unit_to_gnu): Call it instead of a straight Sloc_to_locus
for the elaboration subprogram.
(set_gnu_expr_location_from_node) <default case>: Use it to attempt to
set the end_locus of the expression as well.

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

10 years ago PR ada/47131
ebotcazou [Tue, 4 Jan 2011 08:58:02 +0000 (08:58 +0000)]
PR ada/47131
* gcc-interface/trans.c (Identifier_to_gnu): In SJLJ mode, do not make
variables that are referenced in exception handlers volatile.

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

10 years agoAdd the pipeline description for Loongson3A.
xmj [Tue, 4 Jan 2011 02:53:50 +0000 (02:53 +0000)]
Add the pipeline description for Loongson3A.

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

10 years agoDaily bump.
gccadmin [Tue, 4 Jan 2011 00:18:03 +0000 (00:18 +0000)]
Daily bump.

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

10 years ago PR middle-end/47017
ebotcazou [Mon, 3 Jan 2011 23:59:55 +0000 (23:59 +0000)]
PR middle-end/47017
* expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space
instead of convert_memory_address_addr_space on the base expression.

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

10 years ago * g++.dg/torture/pr46111.C: Add dg-require-effective-target pthread.
uweigand [Mon, 3 Jan 2011 23:16:17 +0000 (23:16 +0000)]
* g++.dg/torture/pr46111.C: Add dg-require-effective-target pthread.

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

10 years ago * config/spu/spu.c (spu_option_override): Update error text
uweigand [Mon, 3 Jan 2011 23:15:03 +0000 (23:15 +0000)]
* config/spu/spu.c (spu_option_override): Update error text
for bad -march= / -mtune= values.

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

10 years ago * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking
uweigand [Mon, 3 Jan 2011 23:14:18 +0000 (23:14 +0000)]
* config/spu/spu.c (asm_file_start): Only reset flag_var_tracking
if branch-hint optimization will be performed.

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

10 years agoFix incorrect date.
uweigand [Mon, 3 Jan 2011 23:13:48 +0000 (23:13 +0000)]
Fix incorrect date.

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

10 years ago PR tree-optimization/47148
jakub [Mon, 3 Jan 2011 21:10:31 +0000 (21:10 +0000)]
PR tree-optimization/47148
* ipa-split.c (split_function): Convert arguments to
DECL_ARG_TYPE if possible.

* gcc.c-torture/execute/pr47148.c: New test.

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

10 years ago PR tree-optimization/47155
jakub [Mon, 3 Jan 2011 21:01:14 +0000 (21:01 +0000)]
PR tree-optimization/47155
* tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type
when computing uns.

* gcc.c-torture/execute/pr47155.c: New test.

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

10 years ago PR rtl-optimization/47157
jakub [Mon, 3 Jan 2011 20:59:20 +0000 (20:59 +0000)]
PR rtl-optimization/47157
* combine.c (try_combine): If undobuf.other_insn becomes
(set (pc) (pc)) jump, call update_cfg_for_uncondjump on it
and set *new_direct_jump_p too.

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

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

10 years agoUpdate Copyright years for files modified in 2010.
jakub [Mon, 3 Jan 2011 20:52:22 +0000 (20:52 +0000)]
Update Copyright years for files modified in 2010.

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

10 years ago * gcc.dg/torture/vector-shift2.c (schar): Define.
uweigand [Mon, 3 Jan 2011 18:02:35 +0000 (18:02 +0000)]
* gcc.dg/torture/vector-shift2.c (schar): Define.
(main): Always use schar or uchar instead of plain "char" to avoid
dependencies on implementation-defined char signedness.

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

10 years ago2011-01-03 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Mon, 3 Jan 2011 17:09:12 +0000 (17:09 +0000)]
2011-01-03  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/46922
* config/abi/pre/gnu.ver: Export std::bad_function_call symbols.

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

10 years agoFix PR47021: ADDR_EXPRs don't contain SCoP parameters.
spop [Mon, 3 Jan 2011 17:01:36 +0000 (17:01 +0000)]
Fix PR47021: ADDR_EXPRs don't contain SCoP parameters.

2011-01-03  Sebastian Pop  <sebastian.pop@amd.com>

PR tree-optimization/47021
* graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR.

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

10 years agogcc/
jakub [Mon, 3 Jan 2011 16:14:57 +0000 (16:14 +0000)]
gcc/
* gcc.c (process_command): Update copyright notice dates.
* gcov.c (print_version): Likewise.
* gcov-dump.c (print_version): Likewise.
* mips-tfile.c (main): Likewise.
* mips-tdump.c (main): Likewise.
gcc/fortran/
* gfortranspec.c (lang_specific_driver): Update copyright notice
dates.
gcc/java/
* jcf-dump.c (version): Update copyright notice dates.
libmudflap/
* mf-runtime.c (__mf_usage): Update copyright notice dates.
libjava/
* gnu/gcj/convert/Convert.java (version): Update copyright notice
dates.
* gnu/gcj/tools/gcj_dbtool/Main.java (main): Likewise.
libjava/classpath/
* gnu/java/rmi/registry/RegistryImpl.java (version): Update
copyright notice dates.
* tools/gnu/classpath/tools/orbd/Main.java (run): Likewise.

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

10 years ago2011-01-03 Martin Jambor <mjambor@suse.cz>
jamborm [Mon, 3 Jan 2011 15:43:23 +0000 (15:43 +0000)]
2011-01-03  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/46801
* tree-sra.c (type_internals_preclude_sra_p): Check whether
aggregate fields start at byte boundary instead of the bit-field flag.

* testsuite/gnat.dg/pack9.adb: Remove xfail.

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

10 years agoRevert revision 168407.
hjl [Mon, 3 Jan 2011 15:03:05 +0000 (15:03 +0000)]
Revert revision 168407.

2011-01-03  H.J. Lu  <hongjiu.lu@intel.com>

PR driver/47137
* gcc.c (main): Revert revision 168407.

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

10 years ago2011-01-03 Martin Jambor <mjambor@suse.cz>
jamborm [Mon, 3 Jan 2011 13:32:44 +0000 (13:32 +0000)]
2011-01-03  Martin Jambor  <mjambor@suse.cz>

* lto-cgraph.c (input_cgraph_opt_section): Use the correct section type.

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

10 years ago * tree-vect-generic.c (expand_vector_operations_1): When using vector/
uweigand [Mon, 3 Jan 2011 13:25:25 +0000 (13:25 +0000)]
* tree-vect-generic.c (expand_vector_operations_1): When using vector/
vector optab to expand vector/scalar shift, update gimple to vector.

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

10 years ago2011-01-03 Martin Jambor <mjambor@suse.cz>
jamborm [Mon, 3 Jan 2011 13:15:35 +0000 (13:15 +0000)]
2011-01-03  Martin Jambor  <mjambor@suse.cz>

* cgraphunit.c (verify_cgraph_node): Verify there is no direct call to
a thunk.

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

10 years ago2011-01-03 Martin Jambor <mjambor@suse.cz>
jamborm [Mon, 3 Jan 2011 13:06:54 +0000 (13:06 +0000)]
2011-01-03  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/46984
* cgraph.h (cgraph_indirect_call_info): make field thunk_delta
HOST_WIDE_INT.
(cgraph_create_indirect_edge): Fixed line length.
(cgraph_indirect_call_info): Declare.
(cgraph_make_edge_direct) Update declaration.
* cgraph.c (cgraph_allocate_init_indirect_info): New function.
(cgraph_create_indirect_edge): Use it.
(cgraph_make_edge_direct): Made delta HOST_WIDE_INT.  Updated all
callees.
* cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for
the new thunk_delta representation.
* ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to
HOST_WIDE_INT.
(ipa_write_indirect_edge_info): Remove streaming of thunk_delta.
(ipa_read_indirect_edge_info): Likewise.
* lto-cgraph.c (output_edge_opt_summary): New function.
(output_node_opt_summary): Call it on all outgoing edges.
(input_edge_opt_summary): New function.
(input_node_opt_summary): Call it on all outgoing edges.

* testsuite/g++.dg/ipa/pr46984.C: New test.

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

10 years agoFix wrong date
ebotcazou [Mon, 3 Jan 2011 11:52:37 +0000 (11:52 +0000)]
Fix wrong date

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

10 years ago2011-01-03 Janus Weil <janus@gcc.gnu.org>
janus [Mon, 3 Jan 2011 10:26:05 +0000 (10:26 +0000)]
2011-01-03  Janus Weil  <janus@gcc.gnu.org>

* intrinsic.texi (LEADZ): Fix example.

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

10 years agoDaily bump.
gccadmin [Mon, 3 Jan 2011 00:17:57 +0000 (00:17 +0000)]
Daily bump.

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

10 years ago2011-01-02 Janus Weil <janus@gcc.gnu.org>
janus [Sun, 2 Jan 2011 21:01:50 +0000 (21:01 +0000)]
2011-01-02  Janus Weil  <janus@gcc.gnu.org>

PR fortran/46408
* class.c (gfc_find_derived_vtab): Use EXEC_INIT_ASSIGN for __copy_
routine.

2011-01-02  Janus Weil  <janus@gcc.gnu.org>

PR fortran/46408
* gfortran.dg/class_19.f03: Adjust counting of __builtin_free.

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

10 years ago * de.po: Update.
jsm28 [Sun, 2 Jan 2011 20:36:01 +0000 (20:36 +0000)]
* de.po: Update.

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

10 years agoDon't check have_o when settting combine_inputs.
hjl [Sun, 2 Jan 2011 17:54:22 +0000 (17:54 +0000)]
Don't check have_o when settting combine_inputs.

2011-01-02  H.J. Lu  <hongjiu.lu@intel.com>

PR driver/47137
* gcc.c (main): Don't check have_o when settting combine_inputs.

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

10 years ago * sv.po: Update.
jsm28 [Sun, 2 Jan 2011 17:41:32 +0000 (17:41 +0000)]
* sv.po: Update.

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

10 years ago * ja.po: Update.
jsm28 [Sun, 2 Jan 2011 17:40:15 +0000 (17:40 +0000)]
* ja.po: Update.

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

10 years ago * regrename.c: Add general comment describing the pass.
ebotcazou [Sun, 2 Jan 2011 17:28:24 +0000 (17:28 +0000)]
* regrename.c: Add general comment describing the pass.
(struct du_head): Remove 'length' field.
(get_element, merge_sort_comparison, merge, sort_du_head): Remove.
(regrename_optimize): Do not sort chains.  Rework comments, add others.
Force renaming to the preferred class (if any) in the first pass and do
not consider registers that belong to it in the second pass.
(create_new_chain): Do not set 'length' field.
(scan_rtx_reg): Likewise.

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

10 years agoBump Copyright years.
jakub [Sun, 2 Jan 2011 17:23:22 +0000 (17:23 +0000)]
Bump Copyright years.

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

10 years ago PR tree-optimization/47140
jakub [Sun, 2 Jan 2011 17:09:08 +0000 (17:09 +0000)]
PR tree-optimization/47140
* tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use
TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument
to bit_value_binop.

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

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

10 years ago PR rtl-optimization/47028
jakub [Sun, 2 Jan 2011 17:07:15 +0000 (17:07 +0000)]
PR rtl-optimization/47028
* cfgexpand.c (gimple_expand_cfg): Insert entry edge
insertions after parm_birth_insn instead of at the beginning
of first bb.

* gcc.dg/pr47028.c: New test.

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

10 years agoFix a typo.
hjl [Sun, 2 Jan 2011 16:24:44 +0000 (16:24 +0000)]
Fix a typo.

2011-01-02  H.J. Lu  <hongjiu.lu@intel.com>

* objc-act.c (check_that_protocol_is_defined): Fix a typo.

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

10 years agoRotate ChangeLogs.
hjl [Sun, 2 Jan 2011 16:22:05 +0000 (16:22 +0000)]
Rotate ChangeLogs.

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

10 years agoIn gcc/objc/:
nicola [Sun, 2 Jan 2011 10:19:42 +0000 (10:19 +0000)]
In gcc/objc/:
2011-01-02  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc-act.c (check_that_protocol_is_defined): New.
(lookup_protocol): Call check_that_protocol_is_defined.

In gcc/testsuite/:
2011-01-02  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc.dg/protocol-forward-1.m: Removed TODO.
* objc.dg/protocol-forward-2.m: New.
* obj-c++.dg/protocol-forward-2.mm: Removed TODO.
* obj-c++.dg/protocol-forward-2.mm: New.

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

10 years agoCorrect the year for the last commit. It's 2011 now.
xmj [Sun, 2 Jan 2011 01:54:33 +0000 (01:54 +0000)]
Correct the year for the last commit.  It's 2011 now.

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

10 years agoRemove duplicated '@subsubsection Statements'.
xmj [Sun, 2 Jan 2011 01:30:55 +0000 (01:30 +0000)]
Remove duplicated '@subsubsection Statements'.

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

10 years agoDaily bump.
gccadmin [Sun, 2 Jan 2011 00:18:31 +0000 (00:18 +0000)]
Daily bump.

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

10 years ago * tree-loop-distribution.c (tree_loop_distribution): Do not
hubicka [Sat, 1 Jan 2011 13:25:17 +0000 (13:25 +0000)]
* tree-loop-distribution.c (tree_loop_distribution): Do not
use freed memory.

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

10 years ago * ja.po: Update.
jsm28 [Sat, 1 Jan 2011 12:05:40 +0000 (12:05 +0000)]
* ja.po: Update.

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

10 years agoChangeLog gcc/
ktietz [Sat, 1 Jan 2011 11:05:41 +0000 (11:05 +0000)]
ChangeLog gcc/

2011-01-01  Kai Tietz  <kai.tietz@onevision.com>

PR target/38662
* tree.c (type_hash_eq): Call
language hook for METHOD_TYPEs, too.

ChangeLog gcc/cp

2011-01-01  Kai Tietz  <kai.tietz@onevision.com>

PR target/38662
* tree.c (cxx_type_hash_eq):
Allow METHOD_TYPE, too.

ChangeLog gcc/testsuite

2011-01-01  Kai Tietz  <kai.tietz@onevision.com>

PR target/38662
* g++.dg/eh/pr38662.C: New testcase.

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

10 years ago2011-01-01 Chung-Lin Tang <cltang@codesourcery.com>
cltang [Sat, 1 Jan 2011 08:52:03 +0000 (08:52 +0000)]
2011-01-01  Chung-Lin Tang  <cltang@codesourcery.com>

* gcc.target/arm/vfp-1.c (test_ldst): Fixed fsts test to
scan for newline '\n'.

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

10 years agoDaily bump.
gccadmin [Sat, 1 Jan 2011 00:17:39 +0000 (00:17 +0000)]
Daily bump.

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

10 years ago* gcc.c-torture/compile/pr46534.c: Skip if pdp11.
pkoning [Fri, 31 Dec 2010 23:00:20 +0000 (23:00 +0000)]
* gcc.c-torture/compile/pr46534.c: Skip if pdp11.
* gcc.c-torture/compile/920520-1.c: Ditto.
* gcc.c-torture/compile/pr35318.c: Ditto.

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

10 years ago2010-12-31 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 31 Dec 2010 22:20:22 +0000 (22:20 +0000)]
2010-12-31  Benjamin Kosnik  <bkoz@redhat.com>

* scripts/run_doxygen: Allow doxygen 1.7.1 again.

* doc/xml/manual/build_hacking.xml: Update.
* doc/xml/images/confdeps.dot: Same.
* doc/xml/images/confdeps.png: Same.

* configure.ac: Define BUILD_INFO, BUILD_XML, BUILD_HTML,
BUILD_MAN, BUILD_PDF, BUILD_EPUB conditionally.
* Makefile.am (xml, html, pdf, man, info, pd, dvi, epub): Define,
and install rules.
* doc/Makefile.am: Same. Add stamp rules.
(doc-epub-docbook): Add.
(stamp-xml-single-docbook): Make set too.
* configure: Regenerate.
* Makefile.in: Same.
* doc/Makefile.in: Same.
* include/Makefile.in: Same.
* libsupc++/Makefile.in: Same.
* po/Makefile.in: Same.
* python/Makefile.in: Same.
* src/Makefile.in: Same.
* testsuite/Makefile.in: Same.
* aclocal.m4: Same.

2010-12-31  Benjamin Kosnik  <bkoz@redhat.com>

* doc/doxygen/user.cfg.in: Disable PDF_HYPERLINKS.

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

10 years ago * gcc-interface/decl.c (substitute_in_type): Do not deal with
ebotcazou [Fri, 31 Dec 2010 18:19:33 +0000 (18:19 +0000)]
* gcc-interface/decl.c (substitute_in_type): Do not deal with
LANG_TYPE, METHOD_TYPE or OFFSET_TYPE.
* gcc-interface/utils.c (handle_vector_size_attribute): Do not deal
with METHOD_TYPE or OFFSET_TYPE.

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

10 years ago2010-12-31 Janus Weil <janus@gcc.gnu.org>
janus [Fri, 31 Dec 2010 17:06:53 +0000 (17:06 +0000)]
2010-12-31  Janus Weil  <janus@gcc.gnu.org>

* intrinsic.texi (IANY): Correct section title.
(IALL, IANY, IPARITY): Fix example codes.

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

10 years ago * doc/install.texi (powerpc-*-darwin*): Update reference to
gerald [Fri, 31 Dec 2010 16:37:58 +0000 (16:37 +0000)]
* doc/install.texi (powerpc-*-darwin*): Update reference to
Apple Developer Tools.

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

10 years ago PR target/47084
amylaar [Fri, 31 Dec 2010 14:34:26 +0000 (14:34 +0000)]
PR target/47084
* config/mn10300/linux.h (PRINT_OPERAND): Update for name changes
to mn10300_print_operand / mn10300_print_operand_address.

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

10 years ago PR target/47114
amylaar [Fri, 31 Dec 2010 14:07:32 +0000 (14:07 +0000)]
PR target/47114
* config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): Add
ATTRIBUTE_UNUSED to declaration.
(rs6000_elf_asm_out_destructor): Likewise.

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

10 years ago PR target/47135
amylaar [Fri, 31 Dec 2010 13:42:20 +0000 (13:42 +0000)]
PR target/47135
* config/pdp11/pdp11.c (pdp11_asm_print_operand_punct_valid_p): Change
type to match target.def .

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

10 years agogcc/
rsandifo [Fri, 31 Dec 2010 13:25:33 +0000 (13:25 +0000)]
gcc/
2010-12-15  Ken Werner  <ken.werner@de.ibm.com>

* config/arm/sync.md (sync_clobber, sync_t2_reqd): New code attribute.
(arm_sync_old_<sync_optab>si, arm_sync_old_<sync_optab><mode>): Use
the sync_clobber and sync_t2_reqd code attributes.
* config/arm/arm.c (arm_output_sync_loop): Reverse the operation if
the t2 argument is NULL.

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

10 years ago * doc/sourcebuild.texi (Top Level): Adjust link to libgo.
gerald [Fri, 31 Dec 2010 12:35:36 +0000 (12:35 +0000)]
* doc/sourcebuild.texi (Top Level): Adjust link to libgo.

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

10 years ago PR go/47113
amylaar [Fri, 31 Dec 2010 12:24:12 +0000 (12:24 +0000)]
PR go/47113
* go-backend.c: (go_field_alignment): Add ATTRIBUTE_UNUSED to
variable ‘field’ .

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

10 years ago * doc/install.texi (Specific): Remove reference to interix.com.
gerald [Fri, 31 Dec 2010 12:17:31 +0000 (12:17 +0000)]
* doc/install.texi (Specific): Remove reference to interix.com.

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

10 years ago * ja.po: Update.
jsm28 [Fri, 31 Dec 2010 11:57:00 +0000 (11:57 +0000)]
* ja.po: Update.

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

10 years ago* gcc.c-torture/execute/ieee/ieee.exp: Skip if pdp11.
pkoning [Fri, 31 Dec 2010 11:52:20 +0000 (11:52 +0000)]
* gcc.c-torture/execute/ieee/ieee.exp: Skip if pdp11.
* gcc.c-torture/compile/20000804-1.c: Skip if pdp11 -O0.
* gcc.c-torture/compile/20020312-1.c: Ditto.
* gcc.c-torture/compile/20040101-1.c: Skip if pdp11 -O1, -O2, or
-Os.

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

10 years ago PR target/47112
amylaar [Fri, 31 Dec 2010 11:48:03 +0000 (11:48 +0000)]
PR target/47112
* config/mips/r3900.h: Update Copyright years.
(MIPS_CPU_STRING_DEFAULT): Undef before defining.
(MULTILIB_DEFAULTS, MIPS_ABI_DEFAULT, SUBTARGET_CC1_SPEC): Likewise.

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

10 years ago* config/pdp11/pdp11.h (PRINT_OPERAND): Delete.
pkoning [Fri, 31 Dec 2010 11:43:48 +0000 (11:43 +0000)]
* config/pdp11/pdp11.h (PRINT_OPERAND): Delete.
* config/pdp11/pdp11.c (TARGET_PRINT_OPERAND,
TARGET_PRINT_OPERAND_PUNCT_VALID_P): Define
(pdp11_asm_print_operand, pdp11_asm_print_operand_punct_valid_p):
New function.
* config/pdp11/pdp11.md (tablejump): Fix generated assembly.

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

10 years ago2010-12-31 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Fri, 31 Dec 2010 11:32:16 +0000 (11:32 +0000)]
2010-12-31  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/47065
* frontend-passes.c (count_arglist):  Static variable to
count the nesting of argument lists.
(optimize_code):  Set count_arglist to 1 if within a call
statement, to 0 otherwise.
(optimize_trim):  New function.
(optimize_expr):  Adjust count_arglist.  Call optimize_trim.

2010-12-31  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/47065
* gfortran.dg/trim_optimize_3.f90:  New test.
* gfortran.dg/trim_optimize_4.f90:  New test.

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

10 years ago2010-12-31 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Fri, 31 Dec 2010 11:20:22 +0000 (11:20 +0000)]
2010-12-31  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/45338
* resolve.c (resolve_operator):  Mark function for user-defined
operator as referenced.

2010-12-31  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/45338
* gfortran.dg/userdef_operator_2.f90:  New test case.

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

10 years ago PR target/47111
amylaar [Fri, 31 Dec 2010 10:29:30 +0000 (10:29 +0000)]
PR target/47111
* config/rtems.h (NO_IMPLICIT_EXTERN_C): Undef before defining.

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

10 years agoUpdate the the macro SHIFT_COUNT_TRUNCATED for loongson.
xmj [Fri, 31 Dec 2010 10:18:45 +0000 (10:18 +0000)]
Update the the macro SHIFT_COUNT_TRUNCATED for loongson.

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

10 years ago2010-12-31 Janus Weil <janus@gcc.gnu.org>
janus [Fri, 31 Dec 2010 10:08:17 +0000 (10:08 +0000)]
2010-12-31  Janus Weil  <janus@gcc.gnu.org>

PR fortran/46971
* gfortran.h (gfc_hash_value): Add prototype.
* class.c (get_unique_type_string): Check if proc_name is present and
make sure string contains an underscore.
(get_unique_hashed_string): New function which creates a hashed string
if the given unique string is too long.
(gfc_hash_value): Moved here from decl.c, renamed and simplified.
(gfc_build_class_symbol, gfc_find_derived_vtab): Use hashed strings.
* decl.c (hash_value): Moved to class.c.
(gfc_match_derived_decl): Renamed 'hash_value'.

2010-12-31  Janus Weil  <janus@gcc.gnu.org>

PR fortran/46971
* gfortran.dg/class_33.f90: New.

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

10 years agoDaily bump.
gccadmin [Fri, 31 Dec 2010 00:18:09 +0000 (00:18 +0000)]
Daily bump.

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

10 years ago * config/openbsd.opt: New.
jsm28 [Thu, 30 Dec 2010 22:20:56 +0000 (22:20 +0000)]
* config/openbsd.opt: New.
* config.gcc (alpha*-*-openbsd*,
i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123],
i[34567]86-*-openbsd*, m68k*-*-openbsd*, mips*-*-openbsd*,
sparc64-*-openbsd*, vax-*-openbsd*): Use openbsd.opt.

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

10 years agoFixed typo in one of my last changelog entries
nicola [Thu, 30 Dec 2010 22:03:02 +0000 (22:03 +0000)]
Fixed typo in one of my last changelog entries

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

10 years agoIn gcc/objc/:
nicola [Thu, 30 Dec 2010 22:02:09 +0000 (22:02 +0000)]
In gcc/objc/:
2010-12-30  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc-act.c (objc_types_are_equivalent): Fixed comparing protocol
lists.  Check them two-ways to fix comparisons when one protocol
implements the other one, or when one list contains duplicated
protocols.

In gcc/testsuite/:
2010-12-30  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc.dg/method-conflict-3.m: New.
* objc.dg/method-conflict-4.m: New.
* obj-c++.dg/method-conflict-3.m: New.
* obj-c++.dg/method-conflict-4.mm: New.

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

10 years ago * config/pa/pa.md: Add ",*" condition to 64-bit add/subtract boolean
danglin [Thu, 30 Dec 2010 21:33:48 +0000 (21:33 +0000)]
* config/pa/pa.md: Add ",*" condition to 64-bit add/subtract boolean
patterns.

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

10 years ago PR target/47038
ebotcazou [Thu, 30 Dec 2010 21:31:04 +0000 (21:31 +0000)]
PR target/47038
* config/sparc/sparc.c (sparc_file_end): Call resolve_unique_section
on the GOT helper if USE_HIDDEN_LINKONCE.

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