]> gcc.gnu.org Git - gcc.git/log
gcc.git
15 years agogimple.c (gimple_types_compatible_p): Simplify.
Richard Guenther [Tue, 20 Oct 2009 11:08:30 +0000 (11:08 +0000)]
gimple.c (gimple_types_compatible_p): Simplify.

2009-10-20  Richard Guenther  <rguenther@suse.de>

* gimple.c (gimple_types_compatible_p): Simplify.  Move
cheap checks before hashtable queries.  Add checks for
TYPE_NONALIASED_COMPONENT and DECL_NONADDRESSABLE_P.

From-SVN: r153010

15 years agotree-sra.c (build_ref_for_offset_1): Skip fields without size or with size that can...
Eric Botcazou [Tue, 20 Oct 2009 09:19:17 +0000 (09:19 +0000)]
tree-sra.c (build_ref_for_offset_1): Skip fields without size or with size that can't be represented as a host integer.

* tree-sra.c (build_ref_for_offset_1) <RECORD_TYPE>: Skip fields
without size or with size that can't be represented as a host integer.

From-SVN: r153008

15 years agotree-ssa-dce.c (eliminate_unnecessary_stmts): Don't regard the removal of a debug...
Alexandre Oliva [Tue, 20 Oct 2009 08:37:26 +0000 (08:37 +0000)]
tree-ssa-dce.c (eliminate_unnecessary_stmts): Don't regard the removal of a debug stmt as a significant change.

* tree-ssa-dce.c (eliminate_unnecessary_stmts): Don't regard
the removal of a debug stmt as a significant change.

From-SVN: r153007

15 years agos390.md: Added agen condition to operand forwarding bypasses.
Wolfgang Gellerich [Tue, 20 Oct 2009 08:16:23 +0000 (08:16 +0000)]
s390.md: Added agen condition to operand forwarding bypasses.

2009-10-20  Wolfgang Gellerich  <gellerich@de.ibm.com>

* config/s390/s390.md: Added agen condition to operand
forwarding bypasses.
Added bypass for early address generation use of int results.
Updated comments.

From-SVN: r153006

15 years agoi386.c: Remove signal.h #include.
Stefan Dösinger [Tue, 20 Oct 2009 07:23:35 +0000 (09:23 +0200)]
i386.c: Remove signal.h #include.

* config/i386/i386.c: Remove signal.h #include.

From-SVN: r153005

15 years agore PR fortran/41706 ([OOP] Calling one TBP as an actual argument of another TBP)
Paul Thomas [Tue, 20 Oct 2009 04:16:02 +0000 (04:16 +0000)]
re PR fortran/41706 ([OOP] Calling one TBP as an actual argument of another TBP)

2009-10-20  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/41706
* resolve.c (resolve_arg_exprs): New function.
(resolve_class_compcall): Call the above.
(resolve_class_typebound_call): The same.

2009-10-20  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/41706
* gfortran.dg/class_9 : New test.

From-SVN: r153004

15 years agosimplify-rtx.c (simplify_const_unary_operation): Handle SS_ABS.
Jie Zhang [Tue, 20 Oct 2009 03:33:57 +0000 (03:33 +0000)]
simplify-rtx.c (simplify_const_unary_operation): Handle SS_ABS.

* simplify-rtx.c (simplify_const_unary_operation): Handle
SS_ABS.
* doc/rtl.texi: Document ss_abs.

From-SVN: r153003

15 years agoDaily bump.
GCC Administrator [Tue, 20 Oct 2009 00:17:13 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r153002

15 years agocharset.c (cpp_init_iconv): Initialize utf8_cset_desc.
Jakub Jelinek [Mon, 19 Oct 2009 21:41:15 +0000 (23:41 +0200)]
charset.c (cpp_init_iconv): Initialize utf8_cset_desc.

* charset.c (cpp_init_iconv): Initialize utf8_cset_desc.
(_cpp_destroy_iconv): Destroy utf8_cset_desc, char16_cset_desc
and char32_cset_desc.
(converter_for_type): Handle CPP_UTF8STRING.
(cpp_interpret_string): Handle CPP_UTF8STRING and raw-strings.
* directives.c (get__Pragma_string): Handle CPP_UTF8STRING.
(parse_include): Reject raw strings.
* include/cpplib.h (CPP_UTF8STRING): New token type.
* internal.h (struct cpp_reader): Add utf8_cset_desc field.
* lex.c (lex_raw_string): New function.
(lex_string): Handle u8 string literals, call lex_raw_string
for raw string literals.
(_cpp_lex_direct): Call lex_string even for u8" and {,u,U,L,u8}R"
sequences.
* macro.c (stringify_arg): Handle CPP_UTF8STRING.

* c-common.c (c_parse_error): Handle CPP_UTF8STRING.
* c-lex.c (c_lex_with_flags): Likewise.  Test C_LEX_STRING_NO_JOIN
instead of C_LEX_RAW_STRINGS.
(lex_string): Handle CPP_UTF8STRING.
* c-parser.c (c_parser_postfix_expression): Likewise.
* c-pragma.h (C_LEX_RAW_STRINGS): Rename to ...
(C_LEX_STRING_NO_JOIN): ... this.

* parser.c (cp_lexer_print_token, cp_parser_is_string_literal,
cp_parser_string_literal, cp_parser_primary_expression): Likewise.
(cp_lexer_get_preprocessor_token): Use C_LEX_STRING_JOIN instead
of C_LEX_RAW_STRINGS.

* gcc.dg/raw-string-1.c: New test.
* gcc.dg/raw-string-2.c: New test.
* gcc.dg/raw-string-3.c: New test.
* gcc.dg/raw-string-4.c: New test.
* gcc.dg/raw-string-5.c: New test.
* gcc.dg/raw-string-6.c: New test.
* gcc.dg/raw-string-7.c: New test.
* gcc.dg/utf8-1.c: New test.
* gcc.dg/utf8-2.c: New test.
* gcc.dg/utf-badconcat2.c: New test.
* gcc.dg/utf-dflt2.c: New test.
* gcc.dg/cpp/include6.c: New test.
* g++.dg/ext/raw-string-1.C: New test.
* g++.dg/ext/raw-string-2.C: New test.
* g++.dg/ext/raw-string-3.C: New test.
* g++.dg/ext/raw-string-4.C: New test.
* g++.dg/ext/raw-string-5.C: New test.
* g++.dg/ext/raw-string-6.C: New test.
* g++.dg/ext/raw-string-7.C: New test.
* g++.dg/ext/utf8-1.C: New test.
* g++.dg/ext/utf8-2.C: New test.
* g++.dg/ext/utf-badconcat2.C: New test.
* g++.dg/ext/utf-dflt2.C: New test.

From-SVN: r152995

15 years agocris.c (cris_function_value, [...]): New functions.
Anatoly Sokolov [Mon, 19 Oct 2009 20:54:07 +0000 (00:54 +0400)]
cris.c (cris_function_value, [...]): New functions.

* config/cris/cris.c (cris_function_value, cris_libcall_value,
cris_function_value_regno_p): New functions.
(cris_promote_function_mode): Update comment.
(TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Declare.
* config/cris/cris.h: (FUNCTION_VALUE, LIBCALL_VALUE): Remove.
(FUNCTION_VALUE_REGNO_P): Redefine, use cris_function_value_regno_p.
* config/cris/cris-protos.h (cris_function_value_regno_p): Declare.

From-SVN: r152992

15 years agoFix dates.
Jakub Jelinek [Mon, 19 Oct 2009 19:57:26 +0000 (21:57 +0200)]
Fix dates.

From-SVN: r152991

15 years agounwind-dw2.c (execute_stack_op): Fix operand order for DW_OP_le, DW_OP_ge, DW_OP_lt...
Jakub Jelinek [Mon, 19 Oct 2009 19:54:11 +0000 (21:54 +0200)]
unwind-dw2.c (execute_stack_op): Fix operand order for DW_OP_le, DW_OP_ge, DW_OP_lt and DW_OP_gt.

* unwind-dw2.c (execute_stack_op): Fix operand order for
DW_OP_le, DW_OP_ge, DW_OP_lt and DW_OP_gt.

* gcc.dg/cleanup-13.c: New test.

From-SVN: r152989

15 years agore PR fortran/41586 ([OOP] Allocatable _scalars_ are never auto-deallocated)
Janus Weil [Mon, 19 Oct 2009 19:21:18 +0000 (21:21 +0200)]
re PR fortran/41586 ([OOP] Allocatable _scalars_ are never auto-deallocated)

2009-10-19  Janus Weil  <janus@gcc.gnu.org>

PR fortran/41586
* parse.c (parse_derived): Correctly set 'alloc_comp' and 'pointer_comp'
for CLASS variables.
* trans-array.c (structure_alloc_comps): Handle deallocation and
nullification of allocatable scalar components.
* trans-decl.c (gfc_get_symbol_decl): Remember allocatable scalars for
automatic deallocation.
(gfc_trans_deferred_vars): Automatically deallocate allocatable scalars.

2009-10-19  Janus Weil  <janus@gcc.gnu.org>

PR fortran/41586
* gfortran.dg/auto_dealloc_1.f90: New test case.

From-SVN: r152988

15 years agoPort from redhat/gcc-4_4-branch:
Jakub Jelinek [Mon, 19 Oct 2009 19:10:20 +0000 (21:10 +0200)]
Port from redhat/gcc-4_4-branch:

2009-10-08  Jakub Jelinek  <jakub@redhat.com>
* gcc.dg/debug/vta-2.c: New test.

2009-09-30  Alexandre Oliva  <aoliva@redhat.com>
* gcc.dg/debug/vta-1.c: New.

From-SVN: r152986

15 years agogimple-low.c (struct lower_data): Add cannot_fallthru field.
Eric Botcazou [Mon, 19 Oct 2009 18:15:49 +0000 (18:15 +0000)]
gimple-low.c (struct lower_data): Add cannot_fallthru field.

* gimple-low.c (struct lower_data): Add cannot_fallthru field.
(lower_stmt) <GIMPLE_BIND>: Add comment.
<GIMPLE_COND, GIMPLE_GOTO, GIMPLE_SWITCH>: Set cannot_fallthru to true
and return.
<GIMPLE_RETURN>: Remove the statement if cannot_fallthru is set.
Otherwise lower it and set cannot_fallthru to true.
<GIMPLE_TRY>: Update cannot_fallthru for GIMPLE_TRY_FINALLY and return.
<GIMPLE_CATCH, GIMPLE_EH_FILTER>; Set cannot_fallthru to false.
<GIMPLE_CALL>: Set cannot_fallthru to false for BUILT_IN_SETJMP and
to true for a noreturn call.  Do not remove statements.
<GIMPLE_OMP_PARALLEL, GIMPLE_OMP_TASK>: Set cannot_fallthru to false.
Set cannot_fallthru to false on function exit.
(gimple_stmt_may_fallthru) <GIMPLE_SWITCH>: Really return false.
<GIMPLE_ASSIGN>: Remove.

From-SVN: r152984

15 years agore PR fortran/41755 (Segfault on invalid code)
Tobias Burnus [Mon, 19 Oct 2009 18:03:02 +0000 (20:03 +0200)]
re PR fortran/41755 (Segfault on invalid code)

2009-10-19  Tobias Burnus  <burnus@net-b.de>
            Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/41755
        * symbol.c (gfc_undo_symbols): Add NULL check.
        * match.c (gfc_match_equivalence): Add check for
        missing comma.

2009-10-19  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41755
        * gfortran.dg/equiv_8.f90: New test.
        * gfortran.dg/class_allocate_1.f03: Remove obsolete FIXME.

Co-Authored-By: Steven G. Kargl <kargl@gcc.gnu.org>
From-SVN: r152983

15 years agomissing changelog
Rafael Espindola [Mon, 19 Oct 2009 16:23:38 +0000 (16:23 +0000)]
missing changelog

From-SVN: r152982

15 years agos390.c (s390_z10_optimize_cmp): Don't touch FP compares.
Andreas Krebbel [Mon, 19 Oct 2009 15:43:27 +0000 (15:43 +0000)]
s390.c (s390_z10_optimize_cmp): Don't touch FP compares.

2009-10-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/s390/s390.c (s390_z10_optimize_cmp): Don't touch FP compares.

From-SVN: r152979

15 years agos390.c (s390_z10_optimize_cmp): Use next/prev_active_insn to skip DEBUG_INSNs as...
Andreas Krebbel [Mon, 19 Oct 2009 15:41:52 +0000 (15:41 +0000)]
s390.c (s390_z10_optimize_cmp): Use next/prev_active_insn to skip DEBUG_INSNs as well.

2009-10-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/s390/s390.c (s390_z10_optimize_cmp): Use
next/prev_active_insn to skip DEBUG_INSNs as well.

From-SVN: r152978

15 years agoarm.c (output_move_neon): Use DImode in call to adjust_address.
Joseph Myers [Mon, 19 Oct 2009 15:22:15 +0000 (16:22 +0100)]
arm.c (output_move_neon): Use DImode in call to adjust_address.

* config/arm/arm.c (output_move_neon): Use DImode in call to
adjust_address.

testsuite:
* gcc.target/arm/neon-thumb2-move.c: New test.

From-SVN: r152977

15 years agore PR lto/40790 (plugin-api.h unconditionally includes stdint.h)
Rafael Espindola [Mon, 19 Oct 2009 15:11:35 +0000 (15:11 +0000)]
re PR lto/40790 (plugin-api.h unconditionally includes stdint.h)

include/
2009-10-09  Rafael Avila de Espindola  <espindola@google.com>

PR40790
* plugin-api.h: Don't include stdint.h unconditionally.

lto-plugin/
2009-10-09  Rafael Avila de Espindola  <espindola@google.com>

PR40790
* configure: Regenerate.
* configure.ac: Add AC_TYPE_UINT64_T.

From-SVN: r152976

15 years agore PR target/40134 (symbols not resolved when building shared libraries (link with...
Matthias Klose [Mon, 19 Oct 2009 14:26:28 +0000 (14:26 +0000)]
re PR target/40134 (symbols not resolved when building shared libraries (link with -lgcc_s -lgcc?))

2009-10-19  Matthias Klose  <doko@ubuntu.com>

        PR target/40134
        * config.gcc (arm*-*-linux-*eabi): Use config/t-slibgcc-libgcc.

From-SVN: r152975

15 years agore PR fortran/41494 (temp and memcpy used when zeroing array)
Richard Guenther [Mon, 19 Oct 2009 08:45:43 +0000 (08:45 +0000)]
re PR fortran/41494 (temp and memcpy used when zeroing array)

2009-10-18  Richard Guenther  <rguenther@suse.de>

PR fortran/41494
* trans-expr.c (gfc_trans_scalar_assign): Do not call
gfc_evaluate_now.

From-SVN: r152973

15 years agocfgexpand.c (expand_debug_expr): Fail if bitpos < 0 for non-MEM op0.
Jakub Jelinek [Mon, 19 Oct 2009 07:39:43 +0000 (09:39 +0200)]
cfgexpand.c (expand_debug_expr): Fail if bitpos < 0 for non-MEM op0.

* cfgexpand.c (expand_debug_expr): Fail if bitpos < 0 for non-MEM
op0.

* gcc.dg/debug/vta-3.c: New test.

From-SVN: r152972

15 years agoDaily bump.
GCC Administrator [Mon, 19 Oct 2009 00:16:47 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r152970

15 years agoDaily bump.
GCC Administrator [Sun, 18 Oct 2009 00:16:47 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r152964

15 years agore PR middle-end/41738 (optabs expands rotate using wrong mode)
Andy Hutchinson [Sat, 17 Oct 2009 22:42:17 +0000 (22:42 +0000)]
re PR middle-end/41738 (optabs expands rotate using wrong mode)

2009-10-17  Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
PR middle-end/41738
* optabs.c (expand_binop): Make mode of shift count expression mode of shift count not target.
Remove indent nit.

From-SVN: r152961

15 years agotree-nested.c (convert_nonlocal_reference_stmt): New case.
Eric Botcazou [Sat, 17 Oct 2009 22:21:24 +0000 (22:21 +0000)]
tree-nested.c (convert_nonlocal_reference_stmt): New case.

* tree-nested.c (convert_nonlocal_reference_stmt) <GIMPLE_COND>: New
case.  Force using values to replace references within the statement.
(convert_local_reference_stmt): Likewise.

From-SVN: r152960

15 years agogimple-low.c (lower_stmt): If the call is noreturn, remove a subsequent GOTO or RETUR...
Eric Botcazou [Sat, 17 Oct 2009 22:17:26 +0000 (22:17 +0000)]
gimple-low.c (lower_stmt): If the call is noreturn, remove a subsequent GOTO or RETURN statement.

* gimple-low.c (lower_stmt) <GIMPLE_CALL>: If the call is noreturn,
remove a subsequent GOTO or RETURN statement.

From-SVN: r152959

15 years agoavr.md (*movqi): Add zero as equally preferable constraint as general register.
Andy Hutchinson [Sat, 17 Oct 2009 22:15:45 +0000 (22:15 +0000)]
avr.md (*movqi): Add zero as equally preferable constraint as general register.

2009-10-17  Andy Hutchinson  <hutchinsonandy@aim.com>
* config/avr.md (*movqi): Add zero as equally preferable constraint as general register.
(*movhi): Ditto.

From-SVN: r152958

15 years agore PR fortran/41608 ([OOP] ICE with CLASS and invalid code)
Janus Weil [Sat, 17 Oct 2009 18:09:25 +0000 (20:09 +0200)]
re PR fortran/41608 ([OOP] ICE with CLASS and invalid code)

2009-10-17  Janus Weil  <janus@gcc.gnu.org>
    Paul Thomas  <pault@gcc.gnu.org>

PR fortran/41608
* decl.c (gfc_match_data_decl): Add BT_CLASS for undefined type
and empty type errors.
* parse.c (gfc_build_block_ns): Only set recursive if parent ns
has a proc_name.

PR fortran/41629
PR fortran/41618
PR fortran/41587
* gfortran.h : Add class_ok bitfield to symbol_attr.
* decl.c (build_sym): Set attr.class_ok if dummy, pointer or
allocatable.
(build_struct): Use gfc_try 't' to carry errors past the call
to encapsulate_class_symbol.
(attr_decl1): For a CLASS object, apply the new attribute to
the data component.
* match.c (gfc_match_select_type): Set attr.class_ok for an
assigned selector.
* resolve.c (resolve_fl_variable_derived): Check a CLASS object
is dummy, pointer or allocatable by testing the class_ok and
the use_assoc attribute.

2009-10-17  Janus Weil  <janus@gcc.gnu.org>
    Paul Thomas  <pault@gcc.gnu.org>

PR fortran/41629
* gfortran.dg/class_6.f90: New test.

PR fortran/41608
PR fortran/41587
* gfortran.dg/class_7.f90: New test.

PR fortran/41618
* gfortran.dg/class_8.f90: New test.

Co-Authored-By: Paul Thomas <pault@gcc.gnu.org>
From-SVN: r152955

15 years ago* print-tree.c (print_node): Fix string for DECL_STRUCT_FUNCTION.
Eric Botcazou [Sat, 17 Oct 2009 16:03:49 +0000 (16:03 +0000)]
* print-tree.c (print_node): Fix string for DECL_STRUCT_FUNCTION.

From-SVN: r152954

15 years agolto-streamer-in.c (lto_input_location): Try to reuse previous maps.
Richard Guenther [Sat, 17 Oct 2009 15:40:53 +0000 (15:40 +0000)]
lto-streamer-in.c (lto_input_location): Try to reuse previous maps.

2009-10-17  Richard Guenther  <rguenther@suse.de>

* lto-streamer-in.c (lto_input_location): Try to reuse
previous maps.

From-SVN: r152953

15 years ago20091017-1_0.c: New testcase.
Richard Guenther [Sat, 17 Oct 2009 14:15:42 +0000 (14:15 +0000)]
20091017-1_0.c: New testcase.

2009-10-17  Richard Guenther  <rguenther@suse.de>

* gcc.dg/lto/20091017-1_0.c: New testcase.
* gcc.dg/lto/20091017-1_1.c: Likewise.

From-SVN: r152952

15 years ago* cpplib.pot: Regenerate.
Joseph Myers [Sat, 17 Oct 2009 13:46:26 +0000 (14:46 +0100)]
* cpplib.pot: Regenerate.

From-SVN: r152951

15 years ago* gcc.pot: Regenerate.
Joseph Myers [Sat, 17 Oct 2009 13:46:08 +0000 (14:46 +0100)]
* gcc.pot: Regenerate.

From-SVN: r152950

15 years ago* gnat.dg/unchecked_convert4.adb: Add missing rep clause.
Eric Botcazou [Sat, 17 Oct 2009 12:06:56 +0000 (12:06 +0000)]
* gnat.dg/unchecked_convert4.adb: Add missing rep clause.

From-SVN: r152938

15 years agolto-streamer-in.c (input_gimple_stmt): Fixup FIELD_DECL operands in COMPONENT_REFs.
Richard Guenther [Sat, 17 Oct 2009 11:47:56 +0000 (11:47 +0000)]
lto-streamer-in.c (input_gimple_stmt): Fixup FIELD_DECL operands in COMPONENT_REFs.

2009-10-17  Richard Guenther  <rguenther@suse.de>

* lto-streamer-in.c (input_gimple_stmt): Fixup FIELD_DECL
operands in COMPONENT_REFs.

From-SVN: r152937

15 years agoFix typo
Eric Botcazou [Sat, 17 Oct 2009 11:23:23 +0000 (11:23 +0000)]
Fix typo

From-SVN: r152936

15 years agoutils.c (convert): When converting to a padded type with an inner type of self-refere...
Eric Botcazou [Sat, 17 Oct 2009 11:17:27 +0000 (11:17 +0000)]
utils.c (convert): When converting to a padded type with an inner type of self-referential size...

* gcc-interface/utils.c (convert): When converting to a padded type
with an inner type of self-referential size, pad the expression before
doing the unchecked conversion.

From-SVN: r152935

15 years agoutils2.c (build_binary_op): Make sure the element type is consistent.
Eric Botcazou [Sat, 17 Oct 2009 11:05:35 +0000 (11:05 +0000)]
utils2.c (build_binary_op): Make sure the element type is consistent.

* gcc-interface/utils2.c (build_binary_op) <ARRAY_RANGE_REF>: Make
sure the element type is consistent.

From-SVN: r152934

15 years agotarghooks.c (default_libcall_value): Don't use LIBCALL_VALUE macro if not defined.
Anatoly Sokolov [Sat, 17 Oct 2009 10:46:18 +0000 (14:46 +0400)]
targhooks.c (default_libcall_value): Don't use LIBCALL_VALUE macro if not defined.

* targhooks.c (default_libcall_value): Don't use LIBCALL_VALUE macro
if not defined. Change type of second argument to const_rtx.
(default_function_value): Call gcc_unreachable if FUNCTION_VALUE
macro not defined.
* targhooks.h (default_libcall_value): Update prototype.
* target.h (struct gcc_target): Change type of second argument of
libcall_value to const_rtx.
* config/arm/arm.c (arm_libcall_value): Change type of second argument
to const_rtx.
(arm_libcall_uses_aapcs_base): Change type of argument to const_rtx.
* doc/tm.texi (TARGET_LIBCALL_VALUE):  Revise documentation.

From-SVN: r152933

15 years ago* gcc-interface/trans.c (addressable_p): Handle bitwise operations.
Eric Botcazou [Sat, 17 Oct 2009 10:39:11 +0000 (10:39 +0000)]
* gcc-interface/trans.c (addressable_p): Handle bitwise operations.

From-SVN: r152932

15 years agoFix libgomp without --enable-languages=fortran.
Ralf Wildenhues [Sat, 17 Oct 2009 07:34:47 +0000 (07:34 +0000)]
Fix libgomp without --enable-languages=fortran.

libgomp/:
PR libgomp/41418
* configure.ac: Set FC to "no" if $GFORTRAN starts with "no"
or a hyphen (happens with fortran language disabled).
* configure: Regenerate.

From-SVN: r152931

15 years agore PR debug/40521 (-g causes GCC to generate .eh_frame)
Jakub Jelinek [Sat, 17 Oct 2009 07:28:13 +0000 (09:28 +0200)]
re PR debug/40521 (-g causes GCC to generate .eh_frame)

PR debug/40521
* debug.h (struct gcc_debug_hooks): Add assembly_start hook.
* cgraphunit.c (cgraph_optimize): Call it.
* dwarf2out.c (dwarf2out_init): Move .cfi_sections printing into...
(dwarf2out_assembly_start): ... here.  New hook.
(dwarf2out_debug_hooks): Add dwarf2out_assembly_start.
* debug.c (do_nothing_debug_hooks): Do nothing for assembly_start
hook.
* dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Likewise.
* sdbout.c (sdb_debug_hooks): Likewise.
* vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_assembly_start.
(vmsdbgout_assembly_start): New hook.

From-SVN: r152930

15 years ago* rtl.h (RTL_LOCATION): Fix typo.
Alexandre Oliva [Sat, 17 Oct 2009 06:29:47 +0000 (06:29 +0000)]
* rtl.h (RTL_LOCATION): Fix typo.

From-SVN: r152929

15 years agoprint-rtl.c (print_rtx): Print locators in asm_operands and asm_input.
Alexandre Oliva [Sat, 17 Oct 2009 06:28:58 +0000 (06:28 +0000)]
print-rtl.c (print_rtx): Print locators in asm_operands and asm_input.

* print-rtl.c (print_rtx): Print locators in asm_operands
and asm_input.

From-SVN: r152928

15 years agore PR debug/41535 (Broken var location info after scheduling)
Alexandre Oliva [Sat, 17 Oct 2009 06:28:43 +0000 (06:28 +0000)]
re PR debug/41535 (Broken var location info after scheduling)

PR debug/41535
* sched-deps.c (depl_on_debug_p): New.
(attach_dep_link): Reject debug deps before nondebug deps.
(add_to_deps_list): Insert debug deps after nondebug deps.
(sd_lists_empty_p): Stop at first nonempty list.  Disregard debug
deps.
(sd_add_dep): Do not reject debug deps.
(add_insn_mem_dependence): Don't count debug deps.
(remove_from_deps): Likewise.
(sched_analyze_2): Set up mem deps on debug insns.
(sched_analyze_insn): Record reg uses for deps on debug insns.
* haifa-sched.c (schedule_insn): Reset deferred debug insn.  Don't
try_ready nondebug insn after debug insn.
* ddg.c (create_ddg_dep_from_intra_loop_link,
create_ddg_dep_no_link): Don't reject debug deps.

From-SVN: r152927

15 years agore PR c++/38888 ([C++0x] badly readable diagnostic output with variadic templates)
Jason Merrill [Sat, 17 Oct 2009 06:11:21 +0000 (02:11 -0400)]
re PR c++/38888 ([C++0x] badly readable diagnostic output with variadic templates)

PR c++/38888
* error.c (dump_template_bindings): Wrap argument packs in {}.

From-SVN: r152925

15 years agore PR c++/38798 ([c++0x] Trouble with struct/class/enum keyword in late return types)
Jason Merrill [Sat, 17 Oct 2009 06:11:08 +0000 (02:11 -0400)]
re PR c++/38798 ([c++0x] Trouble with struct/class/enum keyword in late return types)

PR c++/38798
* parser.c (CP_PARSER_FLAGS_NO_TYPE_DEFINITIONS): New.
(cp_parser_type_specifier): Don't try to parse a class-specifier
or enum-specifier in that case.
(cp_parser_trailing_type_id): New.
(cp_parser_late_return_type_opt): Call it.
(cp_parser_type_id_1): Add is_trailing_return parm.
(cp_parser_type_specifier_seq): Likewise.

From-SVN: r152924

15 years agoDaily bump.
GCC Administrator [Sat, 17 Oct 2009 00:17:06 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r152923

15 years agolto-symtab.c (merge_incomplete_and_complete_type): Remove.
Richard Guenther [Fri, 16 Oct 2009 21:17:31 +0000 (21:17 +0000)]
lto-symtab.c (merge_incomplete_and_complete_type): Remove.

2009-10-16  Richard Guenther  <rguenther@suse.de>

* lto-symtab.c (merge_incomplete_and_complete_type): Remove.
(maybe_merge_incomplete_and_complete_type): Likewise.
(lto_symtab_merge): Do not call them.  Do not warn for
complete vs. incomplete compatible types.
(lto_symtab_merge_decls_2): Simplify.
* gimple.c (gimple_force_type_merge): Remove.
(gimple_types_compatible_p): Make it static.
* gimple.h (gimple_force_type_merge): Remove.
(gimple_types_compatible_p): Likewise.

From-SVN: r152920

15 years agore PR fortran/41719 ([OOP] invalid: Intrinsic assignment involving polymorphic variables)
Janus Weil [Fri, 16 Oct 2009 21:10:43 +0000 (23:10 +0200)]
re PR fortran/41719 ([OOP] invalid: Intrinsic assignment involving polymorphic variables)

2009-10-16  Janus Weil  <janus@gcc.gnu.org>

PR fortran/41719
* resolve.c (resolve_ordinary_assign): Reject intrinsic assignments
to polymorphic variables.

2009-10-16  Janus Weil  <janus@gcc.gnu.org>

PR fortran/41719
* gfortran.dg/class_5.f03: New test case.
* gfortran.dg/typebound_operator_2.f03: Fixing invalid test case.
* gfortran.dg/typebound_operator_4.f03: Ditto.

From-SVN: r152919

15 years agostdatomic.h: Include cstdatomic if __cplusplus.
Benjamin Kosnik [Fri, 16 Oct 2009 20:17:39 +0000 (20:17 +0000)]
stdatomic.h: Include cstdatomic if __cplusplus.

2009-10-16  Benjamin Kosnik  <bkoz@redhat.com>

* include/c_compatibility/stdatomic.h: Include cstdatomic if
__cplusplus.

From-SVN: r152918

15 years agoada-tree.h (TYPE_FAT_POINTER_P): Swap with...
Eric Botcazou [Fri, 16 Oct 2009 20:07:52 +0000 (20:07 +0000)]
ada-tree.h (TYPE_FAT_POINTER_P): Swap with...

* gcc-interface/ada-tree.h (TYPE_FAT_POINTER_P): Swap with...
(TYPE_IS_FAT_POINTER_P): ...this.
(TYPE_THIN_POINTER_P): Rename into...
(TYPE_IS_THIN_POINTER_P): ...this.
(TYPE_FAT_OR_THIN_POINTER_P): Rename into...
(TYPE_IS_FAT_OR_THIN_POINTER_P): ...this.
(TYPE_IS_PADDING_P): Change definition, move old one to...
(TYPE_PADDING_P): ...this.
* gcc-interface/decl.c (gnat_to_gnu_entity): Adjust for above changes.
(get_unpadded_type): Likewise.
(gnat_to_gnu_component_type): Likewise.
(gnat_to_gnu_param): Likewise.
(relate_alias_sets): Likewise.
(make_packable_type): Likewise.
(maybe_pad_type): Likewise.
(gnat_to_gnu_field): Likewise.
(is_variable_size): Likewise.
(annotate_object): Likewise.
(validate_size): Likewise.
(set_rm_size): Likewise.
(make_type_from_size): Likewise.
(rm_size): Likewise.
* gcc-interface/misc.c (gnat_print_type): Likewise.
(gnat_get_alias_set): Likewise.
* gcc-interface/trans.c (Identifier_to_gnu): Likewise.
(Attribute_to_gnu): Likewise.
(call_to_gnu): Likewise.
(gnat_to_gnu): Likewise.
(add_decl_expr): Likewise.
(convert_with_check): Likewise.
(addressable_p): Likewise.
(maybe_implicit_deref): Likewise.
(protect_multiple_eval): Likewise.
(gnat_stabilize_reference_1): Likewise.
* gcc-interface/utils.c (gnat_pushdecl): Likewise.
(finish_record_type): Likewise.
(rest_of_record_type_compilation): Likewise.
(create_type_decl): Likewise.
(gnat_types_compatible_p): Likewise.
(build_template): Likewise.
(convert_vms_descriptor64): Likewise.
(convert_vms_descriptor32): Likewise.
(build_unc_object_type_from_ptr): Likewise.
(update_pointer_to): Likewise.
(convert_to_fat_pointer): Likewise.
(convert_to_fat_pointer): Likewise.
(convert): Likewise.
(remove_conversions): Likewise.
(maybe_unconstrained_array): Likewise.
(unchecked_convert): Likewise.
(handle_vector_type_attribute): Likewise.
* gcc-interface/utils2.c (build_binary_op): Likewise.
(build_unary_op): Likewise.
(build_allocator): Likewise.

From-SVN: r152917

15 years agoexp_dbug.ads: Adjust type names in comments.
Eric Botcazou [Fri, 16 Oct 2009 19:28:52 +0000 (19:28 +0000)]
exp_dbug.ads: Adjust type names in comments.

* exp_dbug.ads: Adjust type names in comments.
* gcc-interface/decl.c (maybe_pad_type): Remove NAME_TRAILER parameter,
add new IS_COMPONENT_TYPE parameter.  Adjust.  Remove dead code.
(gnat_to_gnu_entity): Adjust for above change.
(gnat_to_gnu_component_type): Likewise.
(gnat_to_gnu_field): Likewise.
* gcc-interface/trans.c (call_to_gnu): Likewise.  Do not unnecessarily
call max_size.
* gcc-interface/utils.c (finish_record_type): Remove obsolete code.
* gcc-interface/gigi.h (maybe_pad_type): Adjust prototype.

From-SVN: r152916

15 years agodwarf2out.c (mem_loc_descriptor): Cast DWARF2_ADDR_SIZE to int to avoid signed vs.
Jakub Jelinek [Fri, 16 Oct 2009 18:21:09 +0000 (20:21 +0200)]
dwarf2out.c (mem_loc_descriptor): Cast DWARF2_ADDR_SIZE to int to avoid signed vs.

* dwarf2out.c (mem_loc_descriptor) <case ZERO_EXTRACT>: Cast
DWARF2_ADDR_SIZE to int to avoid signed vs. unsigned warnings.

From-SVN: r152915

15 years agoiinline-1.C: Use dg-add-options bind_pic_locally.
Kaveh R. Ghazi [Fri, 16 Oct 2009 17:01:15 +0000 (17:01 +0000)]
iinline-1.C: Use dg-add-options bind_pic_locally.

* g++.dg/ipa/iinline-1.C: Use dg-add-options bind_pic_locally.
* g++.dg/other/first-global.C: Likewise.
* g++.dg/parse/attr-externally-visible-1.C: Likewise.
* g++.dg/torture/pr40323.C: Likewise.
* g++.dg/tree-ssa/nothrow-1.C: Likewise.
* gcc.dg/inline-33.c: Likewise.
* gcc.dg/ipa/ipa-1.c: Likewise.
* gcc.dg/ipa/ipa-2.c: Likewise.
* gcc.dg/ipa/ipa-3.c: Likewise.
* gcc.dg/ipa/ipa-4.c: Likewise.
* gcc.dg/ipa/ipa-5.c: Likewise.
* gcc.dg/ipa/ipa-7.c: Likewise.
* gcc.dg/ipa/ipacost-2.c: Likewise.
* gcc.dg/tree-ssa/inline-3.c: Likewise.
* gcc.dg/tree-ssa/local-pure-const.c: Likewise.
* gfortran.dg/whole_file_5.f90: Likewise.
* gfortran.dg/whole_file_6.f90: Likewise.

From-SVN: r152911

15 years agore PR tree-optimization/41728 (error: SSA name in freelist but still referenced)
Richard Guenther [Fri, 16 Oct 2009 16:57:31 +0000 (16:57 +0000)]
re PR tree-optimization/41728 (error: SSA name in freelist but still referenced)

2009-10-16  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/41728
* tree-ssa-dom.c (optimize_stmt): Mark the stmt modified
if fold_stmt did anything.

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

From-SVN: r152910

15 years agolto-plugin.c (message): New variable.
Rafael Avila de Espindola [Fri, 16 Oct 2009 15:25:13 +0000 (15:25 +0000)]
lto-plugin.c (message): New variable.

2009-10-16  Rafael Avila de Espindola  <espindola@google.com>

* lto-plugin.c (message): New variable.
(check): New function.
(parse_table_entry, translate, write_resolution,add_output_files,
exec_lto_wrapper,claim_file_handler, onload): Use check instead of
assert.
(cleanup_handler): Use check instead of assert. Remove the arguments
file if it exists.

From-SVN: r152906

15 years agore PR lto/41598 (bootstrap *using* lto fails)
Richard Guenther [Fri, 16 Oct 2009 14:42:47 +0000 (14:42 +0000)]
re PR lto/41598 (bootstrap *using* lto fails)

2009-10-16  Richard Guenther  <rguenther@suse.de>

PR lto/41598
* gcc.dg/lto/20091016-1_0.c: New testcase.
* gcc.dg/lto/20091016-1_1.c: Likewise.
* gcc.dg/lto/20091016-1_a.h: Likewise.

From-SVN: r152904

15 years agore PR lto/41715 (VIEW_CONVERT_EXPR use for mismatched prevailing decl replacement...
Richard Guenther [Fri, 16 Oct 2009 14:23:22 +0000 (14:23 +0000)]
re PR lto/41715 (VIEW_CONVERT_EXPR use for mismatched prevailing decl replacement doesn't work)

2009-10-16  Richard Guenther  <rguenther@suse.de>

PR lto/41715
* lto-streamer-in.c (lto_input_tree_ref): Revert last change.
(maybe_fixup_handled_component): New function.
(input_gimple_stmt): Fixup mismatched decl replacements.

lto/
* lto.c (lto_fixup_tree): Revert last change.

* gfortran.dg/lto/20091015-1_0.f: New testcase.
* gfortran.dg/lto/20091015-1_1.f: Likewise.
* gfortran.dg/lto/20091015-1_2.f: Likewise.

From-SVN: r152903

15 years agore PR middle-end/41713 (-O -flto -g: ICE in lto_output_tree_ref, at lto-streamer...
Richard Guenther [Fri, 16 Oct 2009 14:21:05 +0000 (14:21 +0000)]
re PR middle-end/41713 (-O -flto -g: ICE in lto_output_tree_ref, at lto-streamer-out.c:732)

2009-10-16  Richard Guenther  <rguenther@suse.de>

PR lto/41713
* lto-streamer-out.c (lto_output_tree_ref): Handle DEBUG_EXPR_DECL
the same as VAR_DECL.

* gfortran.dg/lto/20091016-1_0.f90: New testcase.

From-SVN: r152902

15 years agos-osinte-rtems.ads: Add mutex type to pthread_mutexattr_t
Joel Sherrill [Fri, 16 Oct 2009 13:33:53 +0000 (13:33 +0000)]
s-osinte-rtems.ads: Add mutex type to pthread_mutexattr_t

2009-10-16  Joel Sherrill <joel.sherrill@oarcorp.com>

* s-osinte-rtems.ads: Add mutex type to pthread_mutexattr_t
* s-stchop-rtems.adb: Correct binding to rtems_stack_checker_is_blown.

From-SVN: r152900

15 years agogimple.c (iterative_hash_gimple_type): For integer types also hash their minimum...
Richard Guenther [Fri, 16 Oct 2009 11:45:55 +0000 (11:45 +0000)]
gimple.c (iterative_hash_gimple_type): For integer types also hash their minimum and maximum values and the string flag.

2009-10-16  Richard Guenther  <rguenther@suse.de>

* gimple.c (iterative_hash_gimple_type): For integer types
also hash their minimum and maximum values and the string flag.
For array types hash their domain and the string flag.

From-SVN: r152899

15 years agogimple.c (gimple_types_compatible_p): Restrict completing types to record or unions.
Richard Guenther [Fri, 16 Oct 2009 11:44:46 +0000 (11:44 +0000)]
gimple.c (gimple_types_compatible_p): Restrict completing types to record or unions.

2009-10-16  Richard Guenther  <rguenther@suse.de>

* gimple.c (gimple_types_compatible_p): Restrict completing
types to record or unions.  Simplify completion.
Do not merge records or unions with different
TYPE_STRUCTURAL_EQUALITY_P tag.
(iterative_hash_gimple_type): Restrict non-recursing into
pointer targets for records and unions.

From-SVN: r152898

15 years agore PR debug/41717 (internal compiler error: in expand_debug_expr)
Jakub Jelinek [Fri, 16 Oct 2009 10:43:18 +0000 (12:43 +0200)]
re PR debug/41717 (internal compiler error: in expand_debug_expr)

PR debug/41717
* cfgexpand.c (expand_debug_expr): Handle CONJ_EXPR.
* dwarf2out.c (mem_loc_descriptor): Don't handle
POST_INT/POST_DEC/POST_MODIFY like SUBREG.  For SUBREG
punt if it is not lowpart subreg or if inner mode isn't
MODE_INT.

* gcc.dg/debug/pr41717.c: New test.

From-SVN: r152897

15 years agos390.c (s390_z10_optimize_cmp): Skip notes when investigating previous or next insns.
Andreas Krebbel [Fri, 16 Oct 2009 10:09:28 +0000 (10:09 +0000)]
s390.c (s390_z10_optimize_cmp): Skip notes when investigating previous or next insns.

2009-10-16  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/s390/s390.c (s390_z10_optimize_cmp): Skip notes when
investigating previous or next insns.

From-SVN: r152896

15 years agore PR libstdc++/40654 ([C++0x] atomic.cc: 'd' is used uninitialized warning)
Benjamin Kosnik [Fri, 16 Oct 2009 07:47:33 +0000 (07:47 +0000)]
re PR libstdc++/40654 ([C++0x] atomic.cc: 'd' is used uninitialized warning)

2009-10-15  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/40654
PR libstdc++/40826
* src/atomic.cc (atomic_flag_test_and_set_explicit): Add
static_cast from base to derived.
(atomic_flag_clear_explicit): Same.
* include/bits/atomic_2.h (__atomic2::atomic_flag): Public derivation.
Remove value type constructor.
* include/bits/atomic_0.h (__atomic0::atomic_flag): Same.
* include/std/future (_Future_state): Use ATOMIC_FLAG_INIT to
initialized the atomic_flag member.

From-SVN: r152895

15 years agoCommit file missed in previous commit.
Jerry DeLisle [Fri, 16 Oct 2009 07:08:52 +0000 (07:08 +0000)]
Commit file missed in previous commit.

From-SVN: r152894

15 years ago* tree-sra.c (build_ref_for_offset_1): Update comment.
Eric Botcazou [Fri, 16 Oct 2009 06:56:34 +0000 (06:56 +0000)]
* tree-sra.c (build_ref_for_offset_1): Update comment.

From-SVN: r152893

15 years agos390.md (atype): Added missing values.
Wolfgang Gellerich [Fri, 16 Oct 2009 06:21:47 +0000 (06:21 +0000)]
s390.md (atype): Added missing values.

2009-10-16  Wolfgang Gellerich  <gellerich@de.ibm.com>

* config/s390/s390.md (atype): Added missing values.

From-SVN: r152891

15 years agore PR fortran/41648 ([OOP] Type-bound procedures refused)
Paul Thomas [Fri, 16 Oct 2009 06:07:09 +0000 (06:07 +0000)]
re PR fortran/41648 ([OOP] Type-bound procedures refused)

2009-10-16  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/41648
PR fortran/41656
* trans-expr.c (select_class_proc): Convert the expression for the
vindex, carried on the first member of the esym list.
* gfortran.h : Add the vindex field to the esym_list structure.
and eliminate the class_object field.
* resolve.c (check_class_members): Remove the setting of the
class_object field.
(vindex_expr): New function.
(get_class_from_expr): New function.
(resolve_class_compcall): Call the above to find the ultimate
class or derived component.  If derived, do not generate the
esym list.  Add and expression for the vindex to the esym list
by calling the above.
(resolve_class_typebound_call): The same.

2009-10-16  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/41648
* gfortran.dg/dynamic_dispatch_4.f03 : New test.

PR fortran/41656
* gfortran.dg/dynamic_dispatch_5.f03 : New test.

From-SVN: r152890

15 years agoChangeLogs fixed, again.
Daniel Gutson [Fri, 16 Oct 2009 00:37:38 +0000 (00:37 +0000)]
ChangeLogs fixed, again.

From-SVN: r152888

15 years agoDaily bump.
GCC Administrator [Fri, 16 Oct 2009 00:16:49 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r152887

15 years agore PR target/41702 (FAIL: abi/demangle/abi_text/09.cc execution test)
John David Anglin [Thu, 15 Oct 2009 23:22:44 +0000 (23:22 +0000)]
re PR target/41702 (FAIL: abi/demangle/abi_text/09.cc execution test)

PR target/41702
* pa.md (casesi): Use sign extended index in call to
gen_casesi64p.
(casesi64p): Update pattern to reflect above.

From-SVN: r152882

15 years agoFixed ChangeLog entries.
Daniel Gutson [Thu, 15 Oct 2009 22:32:31 +0000 (22:32 +0000)]
Fixed ChangeLog entries.

From-SVN: r152877

15 years agore PR rtl-optimization/41697 (ICE on gcc.c-torture/compile/20090917-1.c)
Steve Ellcey [Thu, 15 Oct 2009 21:49:29 +0000 (21:49 +0000)]
re PR rtl-optimization/41697 (ICE on gcc.c-torture/compile/20090917-1.c)

2009-10-15  Steve Ellcey  <sje@cup.hp.com>

PR rtl-optimization/41697
* sel-sched-ir.h (_eligible_successor_edge_p): Check successor count.

From-SVN: r152872

15 years agoRemove extra pathname.
H.J. Lu [Thu, 15 Oct 2009 21:05:37 +0000 (14:05 -0700)]
Remove extra pathname.

From-SVN: r152869

15 years agoFix 23983, add proper attributes to the altivec/vsx builtins
Michael Meissner [Thu, 15 Oct 2009 20:50:40 +0000 (20:50 +0000)]
Fix 23983, add proper attributes to the altivec/vsx builtins

From-SVN: r152867

15 years agolinux.h (ASM_SPEC): Add --32.
H.J. Lu [Thu, 15 Oct 2009 18:55:27 +0000 (18:55 +0000)]
linux.h (ASM_SPEC): Add --32.

2009-10-15  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/linux.h (ASM_SPEC): Add --32.

From-SVN: r152865

15 years agotarget-supports.exp (add_options_for_bind_pic_locally): New.
Kaveh R. Ghazi [Thu, 15 Oct 2009 18:09:59 +0000 (18:09 +0000)]
target-supports.exp (add_options_for_bind_pic_locally): New.

* lib/target-supports.exp (add_options_for_bind_pic_locally): New.
* gcc.dg/tree-ssa/ipa-cp-1.c: Bind pic locally.

From-SVN: r152857

15 years agoAdd the PR number for the ETIME/DTIME documentation change.
Steven G. Kargl [Thu, 15 Oct 2009 17:31:36 +0000 (17:31 +0000)]
Add the PR number for the ETIME/DTIME documentation change.

From-SVN: r152855

15 years agointrinsic.texi: Explicitly state that ETIME and DTIME take REAL(4) arguments.
Steven G. Kargl [Thu, 15 Oct 2009 17:28:04 +0000 (17:28 +0000)]
intrinsic.texi: Explicitly state that ETIME and DTIME take REAL(4) arguments.

2009-10-15  Steven G. Kargl  <kargl@gcc.gnu.org>

* intrinsic.texi: Explicitly state that ETIME and DTIME take
REAL(4) arguments.  Fix nearby typographically errors where
/leq was used instead of \leq.

From-SVN: r152854

15 years agodwarf2out.c (dwarf_tag_name): Handle DW_TAG_rvalue_reference_type and DW_TAG_template...
Jakub Jelinek [Thu, 15 Oct 2009 16:40:52 +0000 (18:40 +0200)]
dwarf2out.c (dwarf_tag_name): Handle DW_TAG_rvalue_reference_type and DW_TAG_template_alias.

* dwarf2out.c (dwarf_tag_name): Handle DW_TAG_rvalue_reference_type
and DW_TAG_template_alias.
(dwarf_attr_name): Handle DW_AT_main_subprogram,
DW_AT_data_bit_offset, DW_AT_const_expr, DW_AT_enum_class,
DW_AT_linkage_name, DW_AT_GNU_guarded_by, DW_AT_GNU_pt_guarded_by,
DW_AT_GNU_guarded, DW_AT_GNU_pt_guarded, DW_AT_GNU_locks_excluded,
DW_AT_GNU_exclusive_locks_required, DW_AT_GNU_shared_locks_required
and DW_AT_GNU_odr_signature.
(dwarf_form_name): Handle DW_FORM_sec_offset, DW_FORM_exprloc,
DW_FORM_flag_present and DW_FORM_ref_sig8.
(output_signature): Only print name on the first byte.
(output_die): Likewise for dw_val_class_data8.

* include/dwarf2.h (DW_LANG_Python): Add comment that it is
a DWARF 4 addition.

From-SVN: r152853

15 years agoinvoke.texi: Clarify that most optimizations are not enabled without -O.
Alexander Monakov [Thu, 15 Oct 2009 16:10:49 +0000 (20:10 +0400)]
invoke.texi: Clarify that most optimizations are not enabled without -O.

2009-10-15  Alexander Monakov  <amonakov@ispras.ru>

* doc/invoke.texi: Clarify that most optimizations are not enabled
without -O.

From-SVN: r152852

15 years agore PR lto/41668 (ICE in get_alias_set, at alias.c:698)
Richard Guenther [Thu, 15 Oct 2009 16:04:29 +0000 (16:04 +0000)]
re PR lto/41668 (ICE in  get_alias_set, at alias.c:698)

2009-10-15  Richard Guenther  <rguenther@suse.de>

PR lto/41668
* gimple.c (compare_type_names_p): Handle anonymous names
differently based on new mode argument.
(gimple_types_compatible_p): For structs also compare the tags.
(iterative_hash_type_name): Rename to ...
(iterative_hash_name): ... this.  Hash all names.
(iterative_hash_gimple_type): Fix hashing the struct tag of
pointer targets.  Hash field decl names.

From-SVN: r152851

15 years agore PR lto/41669 (Infinite recursion trying to build gcc)
Richard Guenther [Thu, 15 Oct 2009 16:03:32 +0000 (16:03 +0000)]
re PR lto/41669 (Infinite recursion trying to build gcc)

2009-10-15  Richard Guenther  <rguenther@suse.de>

PR lto/41669
* gimple.c (gimple_get_alias_set): Avoid recursing on
invalid type topology.

* gcc.dg/lto/20091015-1_0.c: New testcase.
* gcc.dg/lto/20091015-1_1.c: Likewise.
* gcc.dg/lto/20091015-1_2.c: Likewise.
* gcc.dg/lto/20091015-1_a.h: Likewise.
* gcc.dg/lto/20091015-1_b.h: Likewise.

From-SVN: r152850

15 years agopr41555.c: Add -std=c99 option.
Steve Ellcey [Thu, 15 Oct 2009 15:40:31 +0000 (15:40 +0000)]
pr41555.c: Add -std=c99 option.

2009-10-15  Steve Ellcey  <sje@cup.hp.com>

* gcc.dg/torture/pr41555.c: Add -std=c99 option.

From-SVN: r152848

15 years agospu.c (get_branch_target): Use extract_asm_operands.
Andrew Pinski [Thu, 15 Oct 2009 15:12:03 +0000 (15:12 +0000)]
spu.c (get_branch_target): Use extract_asm_operands.

2009-10-15  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        * config/spu/spu.c (get_branch_target): Use extract_asm_operands.

From-SVN: r152847

15 years agolto-plugin.c (resolution_file): New.
Rafael Avila de Espindola [Thu, 15 Oct 2009 14:36:40 +0000 (14:36 +0000)]
lto-plugin.c (resolution_file): New.

2009-10-15  Rafael Avila de Espindola  <espindola@google.com>

* lto-plugin.c (resolution_file): New.
(free_1): Update comment.
(free_2): Free resolution_file.
(write_resolution): Write resolution to specified file. Use the
syms array from the symbol table.
(all_symbols_read_handler): Delay call to free_1 past call to
write_resolution.
(process_option): Add a -resolution option.

From-SVN: r152846

15 years ago2009-10-15 Jim Blandy <jimb@red-bean.com>
Jim Blandy [Thu, 15 Oct 2009 08:56:02 +0000 (08:56 +0000)]
2009-10-15  Jim Blandy  <jimb@red-bean.com>

* libgnuintl.h (_INTL_MAY_RETURN_STRING_ARG, gettext, dgettext)
(dcgettext, ngettext, dngettext, dcngettext): Backport changes
from current gettext to provide GCC format_arg attributes.

From-SVN: r152842

15 years agotree.c (free_lang_data_in_decl): Free DECL_FCONTEXT.
Richard Guenther [Thu, 15 Oct 2009 08:53:35 +0000 (08:53 +0000)]
tree.c (free_lang_data_in_decl): Free DECL_FCONTEXT.

2009-10-15  Richard Guenther  <rguenther@suse.de>

* tree.c (free_lang_data_in_decl): Free DECL_FCONTEXT.

From-SVN: r152841

15 years agooption-defaults.h (OPTION_DEFAULT_SPECS): Don't add --with-tune{,-32,-64} configured...
Jakub Jelinek [Thu, 15 Oct 2009 07:34:25 +0000 (09:34 +0200)]
option-defaults.h (OPTION_DEFAULT_SPECS): Don't add --with-tune{,-32,-64} configured default for -mtune if...

* config/rs6000/option-defaults.h (OPTION_DEFAULT_SPECS): Don't
add --with-tune{,-32,-64} configured default for -mtune if explicit
-mcpu is used.

From-SVN: r152799

15 years agoauthors.xml: Update.
Benjamin Kosnik [Thu, 15 Oct 2009 02:51:30 +0000 (02:51 +0000)]
authors.xml: Update.

2009-10-14  Benjamin Kosnik  <bkoz@redhat.com>

* doc/xml/authors.xml: Update.
* doc/xml/manual/intro.xml: Move test section...
* doc/xml/manual/appendix_porting.xml: ...here.
* doc/xml/manual/diagnostics.xml: Edit.
* doc/xml/manual/using.xml: Break out exception section.
* doc/xml/manual/using_exceptions.xml: New.
* doc/html: Regenerate.

From-SVN: r152797

15 years agognu.ver: Export the _S_construct<> helpers.
Paolo Carlini [Thu, 15 Oct 2009 02:39:28 +0000 (02:39 +0000)]
gnu.ver: Export the _S_construct<> helpers.

2009-10-14  Paolo Carlini  <paolo.carlini@oracle.com>

* config/abi/pre/gnu.ver: Export the _S_construct<> helpers.

From-SVN: r152796

15 years agoh8300.c (F): New.
DJ Delorie [Thu, 15 Oct 2009 02:30:48 +0000 (22:30 -0400)]
h8300.c (F): New.

* config/h8300/h8300.c (F): New.
(Fpa): New.
(h8300_emit_stack_adjustment): Call them.
(push): Likewise.
(h8300_push_pop): Likewise.
(h8300_expand_prologue): Likewise.
* config/h8300/h8300.h (DWARF2_DEBUGGING_INFO): Define.
(MUST_USE_SJLJ_EXCEPTIONS): Define.
(INCOMING_RETURN_ADDR_RTX): Define.
(INCOMING_FRAME_SP_OFFSET): Define.
(DWARF_CIE_DATA_ALIGNMENT): Define.

From-SVN: r152795

15 years agobasic_string.h (operator+=(initializer_list<>), [...]): Forward to the append overloa...
Paolo Carlini [Thu, 15 Oct 2009 01:16:53 +0000 (01:16 +0000)]
basic_string.h (operator+=(initializer_list<>), [...]): Forward to the append overload taking a const CharT* pointer and a size...

2009-10-14  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/basic_string.h (operator+=(initializer_list<>),
append(initializer_list<>)): Forward to the append overload taking
a const CharT* pointer and a size, thus avoiding instantiating
unnecessarily in the built library the overload taking a pair of
iterators.
(operator=(initializer_list<>), assign(initializer_list<>)): Likewise
for assign.
(insert(iterator, initializer_list<>): Likewise for insert.

From-SVN: r152794

15 years agoDaily bump.
GCC Administrator [Thu, 15 Oct 2009 00:17:03 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r152793

15 years agoc++config: Do not disable extern templates for string in plain parallel-mode and...
Paolo Carlini [Thu, 15 Oct 2009 00:01:05 +0000 (00:01 +0000)]
c++config: Do not disable extern templates for string in plain parallel-mode and in...

2009-10-14  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/c++config: Do not disable extern templates for string
in plain parallel-mode and in profile-mode; add comment explaining
_GLIBCXX_EXTERN_TEMPLATE == -1.
* testsuite/ext/profile/mutex_extensions.cc: Adjust dg-error line.

From-SVN: r152790

This page took 0.111475 seconds and 5 git commands to generate.