- 11 Oct, 2004 6 commits
-
-
* makedepend.c: Include mkdeps.h for prototype of deps_add_vpath. * Makefile.in (makedepend.o): Add dependency on mkdeps.h. From-SVN: r88870
Andreas Jaeger committed -
2004-10-10 Andrew Pinski <pinskia@physics.uc.edu> PR c++/17554 part of c++/17657 middle-end/17703 * semantics.c (maybe_cleanup_point_expr): Call fold_build_cleanup_point_expr. (maybe_cleanup_point_expr_void): New function. (add_decl_expr): Call maybe_cleanup_point_expr_void. (finish_expr_stmt): Likewise. (finish_return_stmt): Likewise. (finish_for_expr): Likewise. (finish_asm_stmt): Likewise. * typeck.c (condition_conversion): Call fold_build_cleanup_point_expr. 2004-10-10 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/17703 part of PR c++/17657 * fold-const.c (fold_build_cleanup_point_expr): New function. * tree.h (fold_build_cleanup_point_expr): Prototype. 2004-10-10 Andrew Pinski <pinskia@physics.uc.edu> PR c++/17554 * g++.dg/init/for3.C: New test. PR c++/17657 * g++.dg/opt/switch2.C: New test. PR middle-end/17703 * g++.dg/warn/Wreturn-2.C: New test. From-SVN: r88869
Andrew Pinski committed -
2004-10-10 Eric Christopher <echristo@redhat.com> * dwarf2out.c: Move attribute to subprogram declaration instead of subroutine type. From-SVN: r88868
Eric Christopher committed -
2004-10-10 Andrew Pinski <pinskia@physics.uc.edu> PR c++/17907 * semantics.c (add_decl_expr): If the decl has a size which has side effects then the decl expression needs a cleanup point. 2004-10-10 Andrew Pinski <pinskia@physics.uc.edu> PR c++/17907 * g++.dg/eh/cleanup5.C: New test. From-SVN: r88867
Andrew Pinski committed -
[[Split portion of a mixed commit.]] From-SVN: r88865.2
GCC Administrator committed -
[[Split portion of a mixed commit.]] From-SVN: r88864.2
GCC Administrator committed
-
- 10 Oct, 2004 15 commits
-
-
* basic-block.h: Remove the prototypes for can_hoist_insn_p, hoist_insn_after, and hoist_insn_to_edge. * rtl.h: Remove the prototypes for reg_referenced_between_p, no_jumps_between_p, and insn_dependent_p. * rtlanal.c (no_jumps_between_p, reg_referenced_between_p, insn_dependent_p, insn_dependent_p_1, hoist_test_store, can_hoist_insn_p, hoist_update_store, hoist_insn_after, hoist_insn_to_edge): Remove. From-SVN: r88860
Kazu Hirata committed -
2004-10-10 Benjamin Kosnik <bkoz@redhat.com> * include/bits/functexcept.h: Add guards. * acinclude.m4 (GLIBCXX_ENABLE_THREADS): Tweak test. * configure: Regenerate. From-SVN: r88857
Benjamin Kosnik committed -
PR c++/17393 * decl.c (grokdeclarator): Robustify error-recovery on invalid declarations. PR c++/17393 * g++.dg/parse/error21.C: New test. From-SVN: r88855
Mark Mitchell committed -
cp/ Convert diagnostics to use quoting flag q 7/n * typeck.c (composite_pointer_type_r, composite_pointer_type, cxx_sizeof_or_alignof_type, cxx_sizeof_or_alignof_expr, string_conv_p, build_class_member_access_expr, build_class_member_access_expr, lookup_destructor, finish_class_member_access_expr, build_indirect_ref, get_member_function_from_ptrfunc, build_function_call, convert_arguments, build_binary_op, pointer_diff, build_unary_op, check_for_casting_away_constness, build_static_cast, build_reinterpret_cast, build_const_cast, build_c_cast, build_modify_expr, get_delta_difference, build_ptrmemfunc, dubious_conversion_warnings, convert_for_assignment, convert_for_initialization, maybe_warn_about_returning_address_of_local, check_return_expr): Use quoting marks. * typeck2.c (error_not_base_type, readonly_error, abstract_virtuals_error, cxx_incomplete_type_diagnostic, store_init_value, digest_init, build_x_arrow, build_m_component_ref, require_complete_eh_spec_types): Likewise. * tree.c (cp_build_qualified_type_real, handle_java_interface_attribute, handle_init_priority_attribute): Likewise. * semantics.c (finish_asm_stmt, finish_non_static_data_member, finish_pseudo_destructor_expr, check_template_template_default_arg, begin_class_definition, finish_base_specifier, qualified_name_lookup_error, finish_id_expression, finish_typeof): Likewise. * search.c (lookup_base, check_final_overrider, look_for_overrides_r): Likewise. * rtti.c (get_tinfo_decl, build_dynamic_cast_1): Likewise. testsuite/ * g++.dg/overload/pmf1.C: Adjust quoting marks. * g++.dg/warn/incomplete1.C: Likewise. * g++.dg/template/qualttp20.C: Likewise. From-SVN: r88854
Gabriel Dos Reis committed -
PR c/17881 * c-decl.c (grokparms): Don't warn for parameters of incomplete type in declarations that are not definitions except for the case of parameters of void type. testsuite: * parm-incomplete-1.c: New test. From-SVN: r88850
Joseph Myers committed -
monetary_members.cc (_S_construct_pattern): Give __ret a default value, thus avoiding spurious warnings. 2004-10-10 Paolo Carlini <pcarlini@suse.de> * config/locale/gnu/monetary_members.cc (_S_construct_pattern): Give __ret a default value, thus avoiding spurious warnings. * testsuite/performance/27_io/filebuf_sgetn_unbuf.cc: Open either words or linux.words, otherwise exit. * testsuite/performance/27_io/ifstream_getline.cc: Slighlty tweak. From-SVN: r88848
Paolo Carlini committed -
2004-10-08 Bryce McKinlay <mckinlay@redhat.com> * java/util/Calendar.java (set): Invalidate DST_OFFSET field as a DST boundary may have been crossed. * java/util/GregorianCalendar.java (add): Throw IllegalArgumentException on attempt to add to DST_OFFSET or ZONE_OFFSET fields. Update javadoc. From-SVN: r88847
Bryce McKinlay committed -
From-SVN: r88846
Tobias Schlüter committed -
From-SVN: r88845
Kazu Hirata committed -
From-SVN: r88839
Mark Mitchell committed -
PR c++/17867 * error.c (dump_expr): Correct handling of AGGR_INIT_EXPRs using a constructor. PR c++/17670 * init.c (build_new): Correct comments. * parser.c (cp_parser_new_expression): Use NULL_TREE for nelts in the non-array case. PR c++/17821 * parser.c (cp_parser_postfix_dot_deref_expression): If the pseduo-destructor-name production does not work, fall back to the ordinary production. PR c++/17826 * tree.c (cp_tree_equal): Handle a BASELINK. PR c++/17687 * g++.dg/parse/error19.C: New test. PR c++/17670 * g++.dg/init/new11.C: New test. PR c++/17821 * g++.dg/parse/error20.C: New test. PR c++/17826 * g++.dg/template/crash24.C: New test. From-SVN: r88836
Mark Mitchell committed -
PR c/17301 * builtins.c (expand_builtin_va_start): Check for too few arguments to va_start. testsuite: * gcc.dg/pr17301-1.c: New test. From-SVN: r88835
Joseph Myers committed -
PR c/17189 * c-decl.c (grokfield): Make diagnostic for bad cases of unnamed fields a pedwarn. Pedwarn here for unnamed structs/unions if pedantic. * c-parse.in (component_decl): Don't pedwarn here for unnamed fields. testsuite: * gcc.dg/anon-struct-5.c: New test. From-SVN: r88834
Joseph Myers committed -
[[Split portion of a mixed commit.]] From-SVN: r88832.2
GCC Administrator committed -
[[Split portion of a mixed commit.]] From-SVN: r88831.2
GCC Administrator committed
-
- 09 Oct, 2004 14 commits
-
-
PR c/17844 * gcc.dg/pr17844-1.c: New test. From-SVN: r88829
Joseph Myers committed -
PR tree-optimization/17906 * tree-tailcall.c (tree_optimize_tail_calls_1): Do not attempt to copy non-gimple reg arguments. From-SVN: r88828
Zdenek Dvorak committed -
2004-10-09 Roger Sayle <roger@eyesopen.com> PR rtl-optimization/17853 * simplify-rtx.c (simplify_relational_operation): Correct comment. Reorganize handling of comparison operations with floating point results (always return 0.0 even without FLOAT_STORE_FLAG_VALUE). Likewise, introduce support for comparison operations with vector result types, introducing a new VECTOR_STORE_FLAG_VALUE target macro. * doc/rtl.texi: Document new VECTOR_STORE_FLAG_VALUE target macro. * doc/tm.texi: Likewise. 2004-10-09 Stuart Hastings <stuart@apple.com> Roger Sayle <roger@eyesopen.com> PR rtl-optimization/17853 * gcc.dg/i386-mmx-5.c: New testcase. From-SVN: r88826
Roger Sayle committed -
* regs.h (struct reg_info_def): Remove the last_node_uid and changes_mode fields. (REGNO_LAST_NOTE_UID): Don't define. * regclass.c (reg_scan_mark_refs): Don't set REGNO_LAST_NOTE_UID. * regmove.c (copy_src_to_dest): Likewise. From-SVN: r88825
Steven Bosscher committed -
2004-10-09 Andrew Pinski <pinskia@physics.uc.edu> * g++.dg/opt/pr17902.C: Fix typo in dg-do. From-SVN: r88823
Andrew Pinski committed -
PR c++/17524 * cp-tree.h (check_var_type): New function. * decl.c (check_var_type): New function, split out from ... (grokdeclarator): ... here. * pt.c (tsubst_decl): Use check_var_type. PR c++/17685 * decl.c (grokdeclarator): Disallow declarations of operators as PR c++/17524 * g++.dg/template/static9.C: New test. PR c++/17685 * g++.dg/parse/operator5.C: New test. From-SVN: r88820
Mark Mitchell committed -
* module.c (mio_interface_rest): Set where member of interface while loading. From-SVN: r88819
Tobias Schlüter committed -
PR middle-end/17894 * fold-const.c (fold_div_compare): When optimizing X/C1 op C2, the relational comparison operator op needs to be swapped/reversed when C1 is negative. i.e. X/-10 < 1 becomes X >= -9, not X < -9. * gcc.c-torture/execute/divcmp-4.c: New test case. From-SVN: r88818
Roger Sayle committed -
* java/io/CharArrayWriter.java (resize): Removed redundant 'final' modifier. * java/io/DataInputStream.java (readFully): Throw IndexOutOfBoundsException of len < 0. * java/io/FileDescriptor.java, java/io/FileInputStream.java, java/io/FileOutputStream.java, java/io/ObjectOutputStream.java, java/io/ObjectStreamClass.java, java/io/PipedInputStream.java, java/io/RandomAccessFile.java: Reorganized import statements. From-SVN: r88817
Michael Koch committed -
2004-10-09 Michael Koch <konqueror@gmx.de> * gnu/java/rmi/rmic/RMIC.java, gnu/java/rmi/server/RMIHashes.java, gnu/java/rmi/server/RMIObjectInputStream.java, gnu/java/rmi/server/UnicastConnection.java, gnu/java/rmi/server/UnicastConnectionManager.java, gnu/java/rmi/server/UnicastRemoteCall.java, gnu/java/rmi/server/UnicastServerRef.java: Reworked import statements and fixed file headers. From-SVN: r88816
Michael Koch committed -
2004-10-09 Paolo Carlini <pcarlini@suse.de> * include/std/std_memory.h (__get_temporary_buffer): Don't use INT_MAX, prefer numeric_limits<ptrdiff_t>::max(), ok on 64-bit platforms too. * testsuite/20_util/memory/auto_ptr/assign_neg.cc: Adjust dg-error line numbers. From-SVN: r88814
Paolo Carlini committed -
2004-10-08 Benjamin Kosnik <bkoz@redhat.com> * acconfig.h: Add _GLIBCXX_USE___CXA_ATEXIT. * acinclude.m4 (GLIBCXX_ENABLE_CXA_ATEXIT): New. * configure.ac: Call GLIBCXX_ENABLE_CXA_EXIT. * configure: Regenerate. * src/mt_allocator.cc (__pool::~__pool): Make conditional on _GLIBCXX_USE___CXA_ATEXIT macro. * docs/html/ext/mt_allocator.html: Add note about deallocation. * testsuite/ext/mt_allocator/deallocate_local-2.cc: Guard checks with _GLIBCXX_USE___CXA_ATEXIT. * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same. * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same. * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same. * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same. * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same. * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same. * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same. From-SVN: r88809
Benjamin Kosnik committed -
[[Split portion of a mixed commit.]] From-SVN: r88805.2
GCC Administrator committed -
[[Split portion of a mixed commit.]] From-SVN: r88804.2
GCC Administrator committed
-
- 08 Oct, 2004 5 commits
-
-
2004-10-08 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/17902 * g++.dg/opt/pr17902.C: New test. From-SVN: r88802
Andrew Pinski committed -
2004-10-08 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/17902 * tree-ssa-phiopt.c (conditional_replacement): Use bsi_after_labels instead of bsi_start. (value_replacement): Likewise. (abs_replacement): Likewise From-SVN: r88801
Andrew Pinski committed -
* cfgexpand.c (maybe_dump_rtl_for_tree_stmt): New function. (expand_gimple_cond_expr, expand_gimple_tailcall, expand_gimple_basic_block): Use it to dump RTL for each stmt. (tree_expand_cfg): Announce full RTL function dump. * tree-optimize.c (execute_one_pass): Use normal RTL printing, not the graph version. * tree-pretty-print.c (dump_generic_node): Allow empty statements in the arms of a COND_EXPR for lowered nodes. From-SVN: r88800
Steven Bosscher committed -
From-SVN: r88799
Jakub Jelinek committed -
* config/rs6000/spe.h (atosfix16, atosfix32, atosfix64, atoufix16, atoufix32, atoufix64, strtosfix16, strtosfix32, strtosfix64, strtoufix16, strtoufix32, strtoufix64): Declare. From-SVN: r88798
Joseph Myers committed
-