- 16 Oct, 2005 3 commits
-
-
From-SVN: r105454
Daniel Berlin committed -
[[Split portion of a mixed commit.]] From-SVN: r105451.2
GCC Administrator committed -
PR 23714 * builtins.c (expand_builtin_trap): Export. * expr.h (expand_builtin_trap): Declare. * expr.c (expand_assignment): Emit a trap for integral offsets from registers that weren't reduced to bitpos. * tree-cfg.c (mark_array_ref_addressable_1): Remove. (mark_array_ref_addressable): Remove. * tree-flow.h (mark_array_ref_addressable): Remove. * tree-optimize.c (execute_cleanup_cfg_post_optimizing): Don't call it. From-SVN: r105449Richard Henderson committed
-
- 15 Oct, 2005 7 commits
-
-
2005-10-15 Paolo Carlini <pcarlini@suse.de> * include/tr1/functional: Add missing #pragma GCC system_header. From-SVN: r105444
Paolo Carlini committed -
PR c++/21347 * class.c (maybe_warn_about_overly_private_class): Lazy constructors are public. PR c++/21347 * g++.dg/warn/Wctor-dtor.C: New test. From-SVN: r105441
Mark Mitchell committed -
PR target/24232 * sched-deps.c (add_dependence_list): New arg UNCOND. Fix all callers. (add_dependence_list_and_free): Likewise. (sched_analyze_2, case MEM): Delete sched_insns_conditions_mutex_p call. From-SVN: r105437
James E Wilson committed -
PR 23141 PR 23142 * tree-vrp.c (vrp_meet): Fix the intersection of equivalence sets VR0->EQUIV and VR1->EQUIV when meeting a range and an anti-range. (vrp_visit_phi_node): Only prevent infinite iterations when the previous result and the new result are both VR_RANGEs. From-SVN: r105436
Diego Novillo committed -
* tree-into-ssa.c (mark_def_sites): Correct minor typo in function comment. From-SVN: r105435
Ranjit Mathew committed -
From-SVN: r105429
Jie Zhang committed -
[[Split portion of a mixed commit.]] From-SVN: r105425.2
GCC Administrator committed
-
- 14 Oct, 2005 15 commits
-
-
PR c/23439 * c-parser.c (c_parser_for_statement): Use location of RID_FOR to initialize loc. * gcc.dg/for-1.c: New test. From-SVN: r105422
Volker Reichelt committed -
PR c++/19565 * g++.dg/warn/Wconversion1.C: New test. * g++.dg/ext/packed4.C: Compile with -w. * g++.dg/opt/20050511-1.C: Likewise. * g++.old-deja/g++.other/warn4.C: Compiler with -Wconversion. From-SVN: r105421
Mark Mitchell committed -
* primary.c (match_boz_constant): Add missing break after gfc_error. * gfortran.dg/boz_5.f90: New test. From-SVN: r105420
Jakub Jelinek committed -
PR c++/17796 * optimize.c (update_cloned_parm): Add FIRST parameter. Use it. (maybe_clone_body): Track the first clone. From-SVN: r105415
Nathan Sidwell committed -
PR preprocessor/21250 * c-ppoutput.c (print_line): Print internal line 0 as 1. From-SVN: r105408
Per Bothner committed -
.: PR c++/22551 * c-common.c (c_add_case_label): Clear LOW_VALUE and HIGH_VALUE's overflow flags. Refactor some conditionals. testsuite: PR c++/22551 * g++.dg/other/switch2.C: New. From-SVN: r105405
Nathan Sidwell committed -
* config/fpu-387.h (set_fpu): Remove extra ":" in stmxcsr. Change cw and cw_sse variables to unsigned. (SSE): New definition. (has_sse): Use it. From-SVN: r105402
Uros Bizjak committed -
2005-10-14 Paolo Carlini <pcarlini@suse.de> * include/tr1/hashtable (hashtable::m_erase): Rename to erase_node. (hashtable::erase(iterator), erase(const_iterator)): Adjust. From-SVN: r105401
Paolo Carlini committed -
PR java/23620 * class.c (make_class): Create empty binfo here. (set_super_info): Only create binfo if we have superclasses. Co-Authored-By: Wil Mahan <wmahan@gmail.com> From-SVN: r105399
Nathan Sidwell committed -
cp: PR c++/23984 * class.c (build_base_path): The vtable is always the first thing in the vtt. testsuite: PR c++/23984 * g++.dg/init/ctor7.C: New. From-SVN: r105396
Nathan Sidwell committed -
2005-10-13 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/21304 * tree-dfa.c (add_referenced_var): Only look at decls which have TREE_CONSTANT or TREE_READONLY set instead of if !TREE_PUBLIC or !TREE_CONSTANT. From-SVN: r105390Andrew Pinski committed -
PR c++/23730 * g++.dg/parse/crash32.C: New test. From-SVN: r105389David Edelsohn committed -
* doc/invoke.texi: For -x, add f95-cpp-input. From-SVN: r105388
James E Wilson committed -
* doc/install.texi: For --enable-languages doc, change f95 to fortran. From-SVN: r105387
James E Wilson committed -
[[Split portion of a mixed commit.]] From-SVN: r105382.2
GCC Administrator committed
-
- 13 Oct, 2005 12 commits
-
-
PR c++/20721 * cp-tree.h (DECL_NONTRIVIALLY_INITIALIZED_P): New macro. * decl.c (duplicate_decls): Merge it into new declarations. (decl_jump_unsafe): Use it, rather than DECL_INITIAL. (cp_finish_decl): Set it, when appropriate. PR c++/20721 * g++.dg/init/goto2.C: New test. From-SVN: r105380
Mark Mitchell committed -
2005-10-12 Andrew Haley <aph@redhat.com> PR java/24251 * link.cc (ensure_method_table_complete): Install Miranda methods for interfaces too. From-SVN: r105375
Andrew Haley committed -
2005-10-13 Thomas Koenig <Thomas.Koenig@online.de> * io/unix.c(fd_alloc_r_at): Use read() instead of do_read() only in case of special files (e.g. terminals). From-SVN: r105373
Thomas Koenig committed -
PR libstdc++/23926 * acinclude.m4 (port_specific_symbol_files): More symbol versioning fixes. * configure: Regenerate. From-SVN: r105371
Richard Earnshaw committed -
From-SVN: r105369
Uros Bizjak committed -
PR tree-optimization/24262 * tree-data-ref.c (analyze_offset_expr): Check that init is invariant in loop all the time. From-SVN: r105368
Sebastian Pop committed -
PR c++/22464 * semantics.c (finish_id_expression): Issue errors about uses of local variables in containing functions even in templates. PR c++/22180 * call.c (build_new_method_call): Correct pretty-printing of destructor names. * pt.c (tsubst_qualified_id): Recognize invalid uses of "~T" as an identifier. PR c++/23694 * decl.c (start_method): Return error_mark_node for errors. PR c++/23307 * pt.c (push_template_decl_real): Complain about attempts to declare template variables. PR c++/22352 * pt.c (tsubst_template_parms): Set processing_template_decl while processing the parameters. (tsubst_decl): Set processing_template_decl when substituting into a TEMPLATE_DECL. PR c++/22405 * pt.c (most_specialized_instantiation): Robustify. PR c++/22464 * g++.dg/template/crash/41.C: New test. PR c++/22180 * g++.dg/template/crash40.C: New test. PR c++/23694 * g++.dg/parse/friend5.C: New test. PR c++/23307 * g++.dg/template/crash38.C: New test. PR c++/22352 * g++.dg/template/friend38.C: New test. PR c++/22405 * g++.dg/template/crash39.C: New test. From-SVN: r105365
Mark Mitchell committed -
* testsuite/lib/libstdc++.exp (libstdc++_init): Require native testing before setting v3-sharedlib to 1. From-SVN: r105361
Hans-Peter Nilsson committed -
2005-10-12 Joe Buck <Joe.Buck@synopsys.com> * docs/html/27_io/howto.html: Use reference to ifstream when including iosfwd. From-SVN: r105356
Joe Buck committed -
* gcc.dg/debug/dwarf2/dwarf-char1.c, gcc.dg/debug/dwarf2/dwarf-char2.c, gcc.dg/debug/dwarf2/dwarf-char3.c: Skip for mmix-*-* From-SVN: r105349
Hans-Peter Nilsson committed -
From-SVN: r105343
Hans-Peter Nilsson committed -
[[Split portion of a mixed commit.]] From-SVN: r105340.2
GCC Administrator committed
-
- 12 Oct, 2005 3 commits
-
-
PR c/24255 * tree.h (DECL_TRANSPARENT_UNION): Remove. * function.c (assign_parm_find_data_types): Don't support it. * print-tree.c (print_node): Likewise. * c-common.c (handle_transparent_union_attribute): Likewise. Use build_duplicate_type. * tree-inline.c (remap_type_1): Split out of remap_type; properly remap aggregate fields. (build_duplicate_type): New. * doc/extend.texi (Variable Attributes): Remove documentation for transparent_union. From-SVN: r105338Richard Henderson committed -
PR target/24284 * config/sparc/sparc.c (gen_stack_pointer_inc): Build by hand. (gen_stack_pointer_dec): Likewise. From-SVN: r105336
Eric Botcazou committed -
PR middle-end/21275 PR middle-end/21766 * target.h (struct gcc_target): Add valid_dllimport_attribute_p target hook. (struct cxx): Add adjust_class_at_definition target hook. * target-def.h: (TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): New define, defaulting to hook_bool_tree_true. Add to TARGET_INITIALIZER (TARGET_CXX_ADJUST_CLASS_AT_DEFINITION): New define, defaulting to hook_void_tree. Add to TARGET_CXX. * tree.h (struct decl_with_vis): Rename non_addr_const_p field to dllimport_flag. (DECL_NON_ADDR_CONSTANT_P): Replace with DECL_DLLIMPORT_P macro. * tree.c (merge_dllimport_decl_attributes): Check DECL_DLLIMPORT_P instead of attribute. Check for dllexport override. Warn if inconsistent dll linkage. Don't lose old dllimport if decl has had address referenced. Tweak lookup of dllimport atribute. (handle_dll_attribute): Check targetm.valid_dllimport_attribute_p for target specific rules. Don't add dllimport attribute if DECL_DECLARED_INLINE_P. Set DECL_DLLIMPORT_P when adding dllimport attribute. (staticp): Replace DECL_NON_ADDR_CONSTANT_P with DECL_DLLIMPORT_P. * varasm.c (initializer_constant_valid_p): Replace DECL_NON_ADDR_CONSTANT_P with DECL_DLLIMPORT_P PR target/21801 PR target/23589 * config.gcc (i[34567]86-*-cygwin*): Add winnt-cxx.o to 'cxx_target_objs', winnt-stubs,o to 'extra_objs'. (i[34567]86-*-mingw32*): Likewise. * doc/tm.texi (TARGET_CXX_ADJUST_CLASS_AT_DEFINITION): Document. (TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): Document. * config/i386/winnt.c (i386_pe_dllimport_p): Factor out C++-specific code. Change return value to bool. (i386_pe_dllimport_p): Likewise. (associated_type): Simplify and make language-independent (i386_pe_encode_section_info): Replace override of ambiguous dllimport symbol refs with a gcc_assert. (i386_pe_valid_dllimport_attribute_p): Define. * config/i386/winnt-cxx.c: New file. Define C++ versions of i386_pe_type_dllimport_p, i386_pe_type_dllexport_p, i386_pe_adjust_class_at_definition. * config/i386/winnt-stubs.c: New file. Define stub versions of lang-specific functions. * config/i386/i386-protos.h: Declare winnt-[cxx|stubs].c functions i386_pe_type_dllimport_p, i386_pe_type_dllexport_p, i386_pe_adjust_class_at_definition. (i386_pe_valid_dllimport_attribute_p): Declare. * config/i386/cygming.h (TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): Define. (TARGET_CXX_ADJUST_CLASS_AT_DEFINITION): Define. * config/i386/t-cygming: Add rules for winnt-cxx.o, winnt-stubs.o. PR target/19704 * config/i386/i386.c (ix86_function_ok_for_sibcall): Replace test for dllimport attribute with test of DECL_DLLIMPORT_P. cp PR target/21801 PR target/23589 * class.c (finish_struct_1): Call targetm.cxx.adjust_class_at_definition. testsuite * gcc.dg/dll-2.c: Add tests for warnings. * gcc.dg/dll-3.c: Likewise. * gcc.dg/dll-4.c: Likewise. * g++.dg/ext/dllimport1.C: Adjust tests for warnings. * g++.dg/ext/dllimport2.C: Likewise. * g++.dg/ext/dllimport3.C: Likewise. * g++.dg/ext/dllimport7.C: Likewise. * g++.dg/ext/dllimport8.C: Likewise. * g++.dg/ext/dllimport9.C: Likewise. From-SVN: r105332
Danny Smith committed
-