- 10 Oct, 2004 7 commits
-
-
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 19 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 -
2004-10-08 Andrew Pinski <pinskia@physics.uc.edu> PR fortran/17901 * options.c (gfc_handle_option): Add break after handing the J/M option. From-SVN: r88797
Andrew Pinski committed -
c-lex.c (interpret_float): Give a pedwarn rather than a warning for an out-of-range floating point constant. * c-lex.c (interpret_float): Give a pedwarn rather than a warning for an out-of-range floating point constant. * builtins.c (fold_builtin_inf): Give a pedwarn rather than a warning if the target format does not support infinities. testsuite: * gcc.dg/float-range-1.c, gcc.dg/float-range-2.c: New tests. From-SVN: r88793
Joseph Myers committed -
From-SVN: r88790
Matthias Klose committed -
* emit-rtl.c (last_label_num, base_label_num): Remove. (max_label_num): Always return label_num. (set_new_last_label_num, restore_emit_status): Remove. (init_emit): Don't initialize last_label_num. * function.c (pop_function_context_from): Don't call restore_emit_status. * function.h: Remove the prototype for restore_emit_status. * rtl.h: Remove the prototype for set_new_last_label_num. From-SVN: r88789
Kazu Hirata committed -
* stmt.c (expand_decl_init): Remove. * tree.h: Remove the corresponding prototype. From-SVN: r88788
Kazu Hirata committed -
* integrate.c (try_constants, subst_constants, mark_stores): Remove. * integrate.h: Remove the prototype for try_constants. From-SVN: r88787
Kazu Hirata committed -
* c-typeck.c (enum impl_conv): Add ic_argpass_nonproto. (convert_for_assignment): Handle ic_argpass_nonproto. Add comments about its relevance to errors. (c_convert_parm_for_inlining): Use ic_argpass_nonproto. testsuite: * gcc.dg/assign-warn-3.c: New test. From-SVN: r88784
Joseph Myers committed -
PR c++/17868 * error.c (dump_expr): Add missing case for RDIV_EXPR. From-SVN: r88781
Volker Reichelt committed -
From-SVN: r88779
Tobias Schlüter committed -
2004-10-08 Andrew Pinski <pinskia@physics.uc.edu> PR c/16999 * c-ppoutput.c (cb_ident): Don't quote string as it is already quoted. * gcc.dg/cpp/ident-1.c: New test. From-SVN: r88773
Andrew Pinski committed -
* tree-ssa-pre.c (init_pre): Use size of ARRAY_REF to allocate reference_node_pool. From-SVN: r88769
Diego Novillo committed -
From-SVN: r88767
Kazu Hirata committed -
2004-10-08 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.c (s390_register_info): Don't save fprs for -msoft-float. (s390_conditional_register_usage): Make fprs 'fixed' for -msoft-float. From-SVN: r88764
Andreas Krebbel committed -
* config/s390/s390.h (TARGET_DEFAULT_BACKCHAIN): New define. (TARGET_DEFAULT): Use symbolic values. * config/s390/tpf.h (TARGET_DEFAULT_BACKCHAIN): Redefine. (TARGET_DEFAULT): Use symbolic values. * config/s390/s390.c (s390_backchain_string): Initialize to TARGET_DEFAULT_BACKCHAIN. From-SVN: r88763
Ulrich Weigand committed
-