aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-11-08tree-dfa.c (remove_referenced_var): If removing a variable which has subvars...Richard Guenther2-2/+20
2007-11-08 Richard Guenther <rguenther@suse.de> * tree-dfa.c (remove_referenced_var): If removing a variable which has subvars, also remove those from the referenced vars. Do not create a variable annotation. From-SVN: r130030
2007-11-08xtensa.c (xtensa_expand_prologue): Remove first argument for gen_entry calls.Bob Wilson3-7/+13
* config/xtensa/xtensa.c (xtensa_expand_prologue): Remove first argument for gen_entry calls. * config/xtensa/xtensa.md: Add new "entry" value to "type" attribute. (entry): Use the new attribute value. Remove unused first operand. From-SVN: r130029
2007-11-08* cpplib.pot: Regenerate.Joseph Myers2-150/+190
From-SVN: r130027
2007-11-08* gcc.pot: Regenerate.Joseph Myers2-6878/+9304
From-SVN: r130026
2007-11-08c-parser.c (c_parser_translation_unit): Use location in error.Tom Tromey8-58/+159
gcc * c-parser.c (c_parser_translation_unit): Use location in error. (c_parser_external_declaration): Likewise. (c_parser_declaration_or_fndef): Likewise. (c_parser_enum_specifier): Likewise. (c_parser_struct_or_union_specifier): Likewise. (c_parser_struct_declaration): Likewise. (c_parser_typeof_specifier): Likewise. (c_parser_parms_list_declarator): Likewise. (c_parser_asm_string_literal): Likewise. (c_parser_braced_init): Likewise. (c_parser_initelt): Likewise. (c_parser_compound_statement_nostart): Likewise. (c_parser_statement_after_labels): Likewise. (c_parser_do_statement): Likewise. (c_parser_asm_statement): Likewise. (c_parser_conditional_expression): Likewise. (c_parser_unary_expression): Likewise. (c_parser_sizeof_expression): Likewise. (c_parser_postfix_expression): Likewise. (c_parser_postfix_expression_after_paren_type): Likewise. (c_parser_objc_class_instance_variables): Likewise. (c_parser_objc_method_definition): Likewise. (c_parser_objc_methodprotolist): Likewise. (c_parser_pragma): Likewise. (c_parser_omp_clause_num_threads): Likewise. (c_parser_omp_clause_schedule): Likewise. (c_parser_omp_all_clauses): Likewise. (c_parser_omp_sections_scope): Likewise. (c_parser_label): Use location of label, not colon. gcc/testsuite * gcc.dg/empty-source-3.c: Update warning location. * gcc.dg/gomp/barrier-2.c: Likewise. * gcc.dg/label-decl-3.c: Likewise. * gcc.dg/label-decl-2.c: Likewise. * gcc.dg/empty-source-2.c: Likewise. From-SVN: r130025
2007-11-08re PR target/33774 (Cygwin/mingw do not support 16 byte alignment of ↵Danny Smith2-1/+11
struct/union fields) PR target/33774 * config/i386/cygming.h (BIGGEST_FIELD_ALIGNMENT): Define only if IN_TARGET_LIBS. From-SVN: r130024
2007-11-08re PR c++/30297 (ICE with extern "C" and inheritance)Tom Tromey4-0/+25
gcc/cp 2007-11-08 Andrew Pinski <pinskia@gmail.com> PR c++/30297: * tree.c (decl_linkage): Fields have no linkage. gcc/testsuite PR c++/30297: * g++.dg/inherit/pr30297.C: New file. From-SVN: r130018
2007-11-08* gcc.dg/compat/struct-layout-1_generate.c (dg-options) AddDanny Smith2-3/+8
-fno-common for cygwin and mingw32. From-SVN: r130017
2007-11-08re PR debug/33739 (Failure of gfortran.dg/literal_character_constant_1_*.F ↵Francois-Xavier Coudert2-6/+57
with -m64 -g on Darwin) PR fortran/33739 * scanner.c (start_source_file, end_source_file, exit_remaining_files): New functions. (gfc_advance_line): Use the new functions. From-SVN: r130016
2007-11-08* mk-kinds-h.sh: Change sed syntax.Francois-Xavier Coudert2-1/+5
From-SVN: r130015
2007-11-08MAINTAINERS (Write After Approval): Add myself.Alexander Monakov2-0/+5
* MAINTAINERS (Write After Approval): Add myself. From-SVN: r130008
2007-11-08[multiple changes]Kenneth Zadeck6-8/+85
2007-11-07 Kenneth Zadeck <zadeck@naturalbridge.com> PR middle-end/33826 * ipa-pure-const (static_execute): Added code to keep recursive functions from being marked as pure or const. * ipa-utils (searchc): Fixed comment. 2007-11-08 Kenneth Zadeck <zadeck@naturalbridge.com> PR middle-end/33826 * gcc.dg/pr33826.c: New. * gcc.dg/tree-ssa/20030714-1.c: Removed two tests that depend on recursive functions being marked pure or const. From-SVN: r130006
2007-11-08common.opt (fshow-column): Default to 0.Tom Tromey4-4/+10
* common.opt (fshow-column): Default to 0. * configure: Rebuilt. * configure.ac (--enable-mapped-location): Default to 'yes'. From-SVN: r130005
2007-11-08basic_file_stdio.cc (fopen_mode): Add modes missing per DR 596.Paolo Carlini5-21/+64
2007-11-08 Paolo Carlini <pcarlini@suse.de> * config/io/basic_file_stdio.cc (fopen_mode): Add modes missing per DR 596. * testsuite/27_io/basic_filebuf/open/char/4.cc: Extend. * include/std/fstream: Update comment preceding open. * docs/html/ext/howto.html: Update. From-SVN: r130004
2007-11-08re PR fortran/34028 (Type mismatch with optimization of ISHFT)Francois-Xavier Coudert2-1/+6
PR fortran/34028 * trans-intrinsic.c (gfc_conv_intrinsic_ishft): Use correct type. From-SVN: r130003
2007-11-08re PR fortran/33917 (Rejects valid PROCEDURE declarations)Tobias Burnus6-3/+61
2007-11-08 Tobias Burnus <burnus@net-b.de> PR fortran/33917 * interface.c (check_sym_interfaces): Disallow PROCEDURE-declared procedures for MODULE PROCEDURE. * decl.c (match_procedure_in_interface): Do not mark as procedure. 2007-11-08 Tobias Burnus <burnus@net-b.de> PR fortran/33917 * gfortran.dg/proc_decl_5.f90: New. * gfortran.dg/proc_decl_6.f90: New. From-SVN: r130002
2007-11-08type_traits (__decay_selector<_Up, [...]): Change according to DR 705.Paolo Carlini5-12/+53
2007-11-08 Paolo Carlini <pcarlini@suse.de> * include/std/type_traits (__decay_selector<_Up, false, false>): Change according to DR 705. * include/bits/stl_pair.h (make_pair(_T1&&, _T2&&)): Change according to DR 706. * include/tr1_impl/tuple: Tweak. From-SVN: r130001
2007-11-08common.opt: Add pointer to doc/options.texi.Kenneth Zadeck3-75/+98
2007-11-07 Kenneth Zadeck <zadeck@naturalbridge.com> * common.opt: Add pointer to doc/options.texi. * doc/invoke.texi (-fdse, -fdce, -fauto-inc-dec, -fipa-pure-const, -fipa-reference): Add or correct doc. Sorted options list for -Os -O, -O2. From-SVN: r130000
2007-11-08re PR target/16350 (gcc only understands little endian ARM systems)Bernhard Fischer5-17/+65
PR target/16350 * config.gcc: For arm*b-* define TARGET_BIG_ENDIAN_DEFAULT. * config/arm/linux-elf.h (TARGET_ENDIAN_DEFAULT): Define based on TARGET_BIG_ENDIAN_DEFAULT. Use for MULTILIB_DEFAULTS. (TARGET_DEFAULT): Set according to TARGET_ENDIAN_DEFAULT. (LINUX_TARGET_LINK_SPEC): Pass -mlittle-endian on to the assembler. * config/arm/linux-eabi.h (TARGET_LINKER_EMULATION): Set according to TARGET_BIG_ENDIAN_DEFAULT. (SUBTARGET_EXTRA_LINK_SPEC): Likewise. * gcc/config/arm/bpabi.h (TARGET_DEFAULT_MASK): Set according to TARGET_BIG_ENDIAN_DEFAULT. From-SVN: r129999
2007-11-08re PR tree-optimization/32575 (With -ftree-vrp miscompiles a single line of ↵Jakub Jelinek2-0/+58
code in SQLite) PR tree-optimization/32575 * gcc.c-torture/execute/20071108-1.c: New test. From-SVN: r129998
2007-11-08class.c (build_ctor_vtbl_group): Lay out the new type and decl.Daniel Jacobowitz4-0/+70
* class.c (build_ctor_vtbl_group): Lay out the new type and decl. * g++.dg/opt/anchor1.C: New. From-SVN: r129997
2007-11-08vector (push_back, emplace): Fix signature typo.Paolo Carlini2-2/+6
2007-11-08 Paolo Carlini <pcarlini@suse.de> * include/debug/vector (push_back, emplace): Fix signature typo. From-SVN: r129996
2007-11-08locale_facets.h (ctype<char>::taple, [...]): Implement trivial resolution of ↵Paolo Carlini4-1/+52
DR 695 [Ready]. 2007-11-08 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.h (ctype<char>::taple, classic_table): Implement trivial resolution of DR 695 [Ready]. * testsuite/22_locale/ctype/dr695.cc: New. * docs/html/ext/howto.html: Update. From-SVN: r129995
2007-11-08lwg-active.html: Update to Revision R52.Paolo Carlini5-2912/+7977
2007-11-08 Paolo Carlini <pcarlini@suse.de> * docs/html/ext/lwg-active.html: Update to Revision R52. * docs/html/ext/lwg-closed.html: Likewise. * docs/html/ext/lwg-defects.html: Likewise. * docs/html/ext/howto.html: Adjust. From-SVN: r129994
2007-11-08complex (fabs): In C++0x mode adjust return type per DR 595 [Ready].Paolo Carlini2-0/+14
2007-11-07 Paolo Carlini <pcarlini@suse.de> * include/tr1_impl/complex (fabs): In C++0x mode adjust return type per DR 595 [Ready]. From-SVN: r129983
2007-11-07tree.h (struct tree_struct_field_tag): Move field in_nested_struct ...Diego Novillo2-4/+11
* tree.h (struct tree_struct_field_tag): Move field in_nested_struct ... (struct tree_memory_tag): ... here. From-SVN: r129982
2007-11-08Daily bump.GCC Administrator1-1/+1
From-SVN: r129980
2007-11-08floatformat.h (struct floatformat): Add split_half field.Joseph Myers4-39/+206
include: 2007-11-07 Joseph Myers <joseph@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> * floatformat.h (struct floatformat): Add split_half field. (floatformat_ibm_long_double): New. libiberty: 2007-11-07 Joseph Myers <joseph@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> * floatformat.c (mant_bits_set): New. (floatformat_to_double): Use it. Note no special handling of split formats. (floatformat_from_double): Note no special handing of split formats. (floatformat_ibm_long_double_is_valid, floatformat_ibm_long_double): New. (floatformat_ieee_single_big, floatformat_ieee_single_little, floatformat_ieee_double_big, floatformat_ieee_double_little, floatformat_ieee_double_littlebyte_bigword, floatformat_vax_f, floatformat_vax_d, floatformat_vax_g, floatformat_i387_ext, floatformat_m68881_ext, floatformat_i960_ext, floatformat_m88110_ext, floatformat_m88110_harris_ext, floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword, floatformat_ia64_spill_big, floatformat_ia64_spill_little, floatformat_ia64_quad_big, floatformat_ia64_quad_little): Update for addition of split_half field. Co-Authored-By: Daniel Jacobowitz <dan@codesourcery.com> From-SVN: r129977
2007-11-07re PR tree-optimization/33870 (miscompiles sqlite)Diego Novillo8-13/+100
PR 33870 * tree.h (struct tree_struct_field_tag): Add field in_nested_struct. (SFT_IN_NESTED_STRUCT): Define. * tree-dfa.c (dump_subvars_for): Show offset of each sub-var. * tree-flow.h (struct fieldoff): Add field in_nested_struct. * tree-ssa-structalias.c (struct variable_info): Likewise. (push_fields_onto_fieldstack): If OFFSET is positive, set in_nested_struct. (create_variable_info_for): Copy setting of in_nested_struct from the field offset object. (set_uids_in_ptset): Set SFT_IN_NESTED_STRUCT from the variable info object. * tree-ssa-operands.c (add_vars_for_offset): If VAR belongs to a nested structure, adjust OFFSET by SFT_OFFSET(VAR). testsuite/ChangeLog * gcc.c-torture/execute/pr33870.x: Remove. From-SVN: r129976
2007-11-07re PR c++/33045 ([c++0x] Incorrect decltype result for function calls.)Douglas Gregor7-2/+65
2007-11-07 Douglas Gregor <doug.gregor@gmail.com> PR c++/33045 PR c++/33837 PR c++/33838 * semantics.c (finish_decltype_type): See through INDIRECT_REFs. Be careful with ERROR_MARK_NODEs. * parser.c (cp_parser_check_access_in_redeclaration): Handle NULL argument. 2007-11-07 Douglas Gregor <doug.gregor@gmail.com> PR c++/33045 PR c++/33837 PR c++/33838 * g++.dg/cpp0x/decltype-33837.C: New. * g++.dg/cpp0x/decltype-refbug.C: New. * g++.dg/cpp0x/decltype-33838.C: New. From-SVN: r129975
2007-11-07re PR java/34019 (Minor typo in gcj documentation)Tom Tromey2-1/+6
PR java/34019: * gcj.texi (Input Options): Add missing noun. From-SVN: r129974
2007-11-07re PR rtl-optimization/33737 (verify_flow_info failed: Wrong probability of ↵Eric Botcazou5-3/+358
edge 94->1 -6651) PR rtl-optimization/33737 * cfgcleanup.c (try_crossjump_to_edge): Add count and frequency of target block after computing the probabilities of outgoing edges. Cap the frequency to BB_FREQ_MAX. * tree-ssa-threadupdate.c (redirect_edges): Also adjust count and frequency of the basic block if it has been reused. From-SVN: r129973
2007-11-07re PR rtl-optimization/33822 (-g -O -mstrict-align causes an ICE in ↵Eric Botcazou5-15/+67
set_variable_part,) PR rtl-optimization/33822 * rtl.h (REG_OFFSET): Fix comment. * var-tracking.c (INT_MEM_OFFSET): New macro. (var_mem_set): Use it. (var_mem_delete_and_set): Likewise. (var_mem_delete): Likewise. (same_variable_part_p): Likewise. (vt_get_decl_and_offset): Likewise. (offset_valid_for_tracked_p): New predicate. (count_uses): Do not track locations with invalid offsets. (add_uses): Likewise. (add_stores): Likewise. From-SVN: r129970
2007-11-07Makefile.in (tree-ssa-structalias.o): Depend on $(FUNCTION_H)Tom Tromey2-2/+8
* Makefile.in (tree-ssa-structalias.o): Depend on $(FUNCTION_H) (BASIC_BLOCK_H): Add vec.h, $(FUNCTION_H). From-SVN: r129969
2007-11-07re PR c++/33501 (Copy constructor assumed to exist for undefined class)Jakub Jelinek6-1/+61
PR c++/33501 * call.c (build_over_call): Don't check TREE_ADDRESSABLE on incomplete type. * g++.dg/warn/incomplete2.C: New test. * g++.dg/template/incomplete4.C: New test. * g++.dg/template/incomplete5.C: New test. From-SVN: r129968
2007-11-07modulo-sched.c (sms_order_nodes, [...]): Fix prototypes.Dmitry Zhurikhin2-14/+23
* modulo-sched.c (sms_order_nodes, permute_partial_schedule, generate_prolog_epilog, duplicate_insns_of_cycles): Fix prototypes. (calculate_order_params, sms_order_nodes): New parameter pmax_asap. Save calculated max_asap in it. (sms_schedule): Calculate maxii using max_asap. Co-Authored-By: Andrey Belevantsev <abel@ispras.ru> From-SVN: r129966
2007-11-07sem_attr.adb (Analyze_Attribute): Remove duplicate identical embedded check ↵Samuel Tardieu2-4/+6
for "Ada_Version >= Ada_05". gcc/ada/ * sem_attr.adb (Analyze_Attribute): Remove duplicate identical embedded check for "Ada_Version >= Ada_05". From-SVN: r129965
2007-11-07tracebak.c (i386 alternative): Remove useless comparaison which is always ↵Samuel Tardieu2-2/+4
false... gcc/ada/ * tracebak.c (i386 alternative): Remove useless comparaison which is always false; LOWEST_ADDRESS is 0 and is never greater than an unsigned integer. From-SVN: r129964
2007-11-07a-tasatt.adb: Use 'Access instead of 'Unchecked_Access when applicable.Samuel Tardieu4-15/+28
gcc/ada/ * a-tasatt.adb: Use 'Access instead of 'Unchecked_Access when applicable. Local lifetime is the one of the package. (Set_Value): W is allocated on the heap. * g-socket.adb: Use 'Access instead of 'Unchecked_Access when applicable. (Get_Socket_Option): Optlen formal of C_Getsockopt is of an anonymous access type. (Receive_Socket): Fromlen formal of C_Recvfrom is of an anonymous access type. * s-taasde.adb: Use 'Access instead of 'Unchecked_Access when applicable. (elaboration code): Timer_Queue lifetime is the one of the package. From-SVN: r129963
2007-11-07a-tasatt.adb: Type Wrapper should be declared in comment instead of already ↵Samuel Tardieu2-1/+6
declared type... gcc/ada/ * a-tasatt.adb: Type Wrapper should be declared in comment instead of already declared type Node_Access. From-SVN: r129962
2007-11-07* MAINTAINERS (Write After Approval): Add myself.Samuel Tardieu2-0/+5
From-SVN: r129961
2007-11-07stl_iterator.h (move_iterator<>::pointer): Adjust typedef per DR 680 [Ready].Paolo Carlini2-1/+7
2007-11-07 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_iterator.h (move_iterator<>::pointer): Adjust typedef per DR 680 [Ready]. From-SVN: r129959
2007-11-07decl.c (make_aligning_type): Set the mode of the RECORD_TYPE we craft and ↵Olivier Hainque4-4/+33
expand comment. 2007-11-07 Olivier Hainque <hainque@adacore.com> * decl.c (make_aligning_type): Set the mode of the RECORD_TYPE we craft and expand comment. testsuite/ * gnat.dg/max_align.adb: New test. From-SVN: r129958
2007-11-07invoke.texi: Replace rs6000 dfp switches -mdfp/-mno-dfp with ↵Andreas Krebbel2-6/+11
-mhard-dfp/-mno-hard-dfp. 2007-11-07 Andreas Krebbel <krebbel1@de.ibm.com> * doc/invoke.texi: Replace rs6000 dfp switches -mdfp/-mno-dfp with -mhard-dfp/-mno-hard-dfp. From-SVN: r129957
2007-11-06tree-flow.h (struct fieldoff): Reformat comment.Diego Novillo3-37/+62
* tree-flow.h (struct fieldoff): Reformat comment. Document fields. * tree-ssa-operands.c: Tidy top-level comments. (add_vop): Likewise. (add_vars_for_offset): Tidy parameter formatting.. (get_addr_dereference_operands): Likewise. (get_indirect_ref_operands): Likewise. (get_expr_operands) <OMP_ATOMIC_LOAD>: Reformat. <OMP_ATOMIC_STORE>: Likewise. From-SVN: r129956
2007-11-07re PR libfortran/33985 (access="stream",form="unformatted" doesn't buffer)Jerry DeLisle2-6/+8
2007-11-06 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/33985 * io/transfer.c (finalize_transfer): Revert previous patch. From-SVN: r129955
2007-11-07vector.tcc (vector<>::_M_insert_aux<>(iterator, _Args&&...)): In C++0x mode ↵Paolo Carlini2-11/+34
do not use temporary copies. 2007-11-06 Paolo Carlini <pcarlini@suse.de> * include/bits/vector.tcc (vector<>::_M_insert_aux<>(iterator, _Args&&...)): In C++0x mode do not use temporary copies. (insert(iterator, const value_type&)): Copy to a temporary when not reallocating. * include/bits/vector.tcc (insert(iterator, value_type&&)): Minor tweaks in C++0x mode. From-SVN: r129954
2007-11-07Daily bump.GCC Administrator1-1/+1
From-SVN: r129952
2007-11-07re PR middle-end/33670 (cc1 segfault with -O2 -fsched-stalled-insns=0 for twolf)Maxim Kuvyrkov2-18/+7
PR middle-end/33670 * haifa-sched.c (check_sched_flags): Remove. (sched_init): Don't call it. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r129948
2007-11-06Add myself to MAINTAINERSDoug Kwan2-0/+5
From-SVN: r129947