- 28 Jun, 2003 27 commits
-
-
From-SVN: r68646
Kazu Hirata committed -
From-SVN: r68645
Nathan Sidwell committed -
* error.c (print_instantiation_partial_context): Take a location_t. (print_instantiation_full_context): Adjust. (print_instantiation_context): Adjust. From-SVN: r68644
Nathan Sidwell committed -
* diagnostic.h (diagnostic_set_info): Replace file and lineno parameters with a location_t. * diagnostic.c (diagnostic_set_info): Replace file and lineno parameters with a location_t. (inform, warning, pedwarn, error, sorry, fatal_error, internal_error, warning_with_decl, pedwarn_with_decl, error_with_decl): Adjust. * c-error.c (pedwarn_c99): Adjust. * c-format.c (status_warning): Adjust. * rtl-error.c (file_and_line_for_asm): Rename to ... (location_for_asm): Return a location_t. (diagnostic_for_asm): Adjust. * cp/cp-tree.h (cp_line_of, cp_file_of): Remove. * cp/error.c (cp_line_of, cp_file_of): Merge into ... (location_of): ... here. Make static, return a location_t. (cp_error_at, cp_warning_at, cp_pedwarn_at): Adjust. * testsuite/g++.old-deja/g++.robertl/eb133.C: Set expected line number. * testsuite/g++.old-deja/g++.robertl/eb133a.C: Likewise. * testsuite/g++.old-deja/g++.robertl/eb133b.C: Likewise. From-SVN: r68643
Nathan Sidwell committed -
* cpptrad.c (skip_macro_block_comment): New. (copy_comment): Use it if appropriate. From-SVN: r68641
Neil Booth committed -
* gcse.c (compute_ld_motion_mems): Use INSN_P instead of its definition. (store_killed_in_insn): Likewise. * print-rtl.c (print_rtx): Likewise. * config/frv/frv.c (frv_final_prescan_insn): Likewise. * config/m68hc11/m68hc11.c (dead_register_here): Likewise. (m68hc11_reassign_regs): Likewise. (m68hc11_reorg): Likewise. From-SVN: r68640
Kazu Hirata committed -
re PR c++/10784 (Warning about choosing custom operator over copy constructor cannot be turned off (and it's useless in the first place)) PR c++/10784 * call.c (joust): Move warn_conversion check outwards. From-SVN: r68639
Nathan Sidwell committed -
* diagnostic.c (output_integer_with_precision): New macro. (output_format): Use it. Handle more format specifiers. (output_long_decimal): Remove. (output_unsigned_decimal): Likewise. (output_long_unsigned_decimal): Likewise. (output_octal): Likewise. (output_long_octal): Likewise. (output_hexadecimal): Likewise. (output_long_hexadecimal): Likewise. (output_long_long_decimal): Likewise. From-SVN: r68638
Gabriel Dos Reis committed -
From-SVN: r68637
Andreas Schwab committed -
* c-parse.in (%union): Replace filename & lineno with location. (save_filename, save_lineno): Remove. (save_location): New. (fndef, old_style_parm_decls_1, lineno_datadecl, lineno_decl, nested_function, notype_nested_function, if_prefix, lineno_stmt, lineno_label, label): Adjust. From-SVN: r68636
Nathan Sidwell committed -
From-SVN: r68635
Jakub Jelinek committed -
* builtins.c (c_strlen): Add only_value argument. Handle COND_EXPR and COMPOUND_EXPR. (expand_builtin_strlen): Optimize also strlen (i++ ? "foo" : "bar"). Adjust c_strlen callers. (expand_builtin_strcpy, expand_builtin_strncpy, expand_builtin_strcmp, expand_builtin_strncmp, expand_builtin_fputs, expand_builtin_sprintf, fold_builtin): Adjust c_strlen callers. * gcc.c-torture/execute/builtins/string-8.c: New test. * gcc.c-torture/execute/builtins/string-8-lib.c: New. * gcc.c-torture/execute/stdio-opt-1.c (main): Add new tests. * gcc.c-torture/execute/string-opt-7.c (main): Add new test. From-SVN: r68634
Jakub Jelinek committed -
bb-reorder.c (find_traces_1_round): Do not send basic block to next round when we are in the last round. * bb-reorder.c (find_traces_1_round): Do not send basic block to next round when we are in the last round. From-SVN: r68633
Josef Zlomek committed -
* java/io/PrintStream.java (checkError): Call flush() instead of direct flushing of the Writer object. (print): Call print(String) instead of direct print method of the Writer Object. (println): Call println(String) instead of direct println method of the Writer Object. (write): Simplified. From-SVN: r68632
Michael Koch committed -
* java/net/ServerSocket.java (setChannel): New method. * java/net/Socket.java (setChannel): New method. From-SVN: r68631
Michael Koch committed -
2003-06-28 Paolo Carlini <pcarlini@unitus.it> PR libstdc++/9875 * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0. (seekpos): Likewise. * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc: New test. * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc: New test. From-SVN: r68630
Paolo Carlini committed -
* Makefile.in: Update. * opts.c: Include tm_p.h. (handle_options): Make static. (decode_options): Copied from toplev.c. * opts.h (decode_options): New. * toplev.c (parse_options_and_default_flags): Move most to opts.c, some to... (general_init): ...here. (toplev_main): Use decode_options instead. * toplev.h (save_argc, save_argv): New. From-SVN: r68629
Neil Booth committed -
* explow.c (find_next_ref): Remove. * rtl.h: Remove the prototype for find_next_ref. From-SVN: r68628
Kazu Hirata committed -
From-SVN: r68627
Matt Kraai committed -
* config/alpha/alpha.md (anonymous define_split): Adjust emit_note call to match recent API change. From-SVN: r68626
Roger Sayle committed -
PR other/10240 * configure.in: Removed $(XCFLAGS) from BUILD_CFLAGS for build != host. * configure: Rebuilt. From-SVN: r68625
Gunther Nikl committed -
* dbxout.c (flag_debug_only_used_symbols): Delete redundant declaration. f: * com.c (input_file_stack_tick): Delete redundant declaration. java: * gjavah.c (flag_jni): Make non-static. * parse-scan.y (ctxp): Make non-static. From-SVN: r68624
Zack Weinberg committed -
PR target/11014 * config/m68k/m68k.c (m68k_output_mi_thunk): Use correct assembly syntax for MIT / MOTOROLA. From-SVN: r68623
Gunther Nikl committed -
* cfgrtl.c (rtl_split_edge): Mark the definition static, matching the forward declaration. cp: * decl.c (build_typename_type) * mangle.c (write_template_template_arg) * parser.c (cp_parser_scope_through_which_access_occurs) * pt.c (push_access_scope_real, push_access_scope, pop_access_scope) * repo.c (get_base_filename) * semantics.c (maybe_convert_cond): Mark the definition static, matching the forward declaration. java: * class.c (build_method_symbols_entry) * expr.c (get_offset_table_index) * jcf-parse.c (jcf_parse): Mark the definition static, matching the forward declaration. From-SVN: r68622
Zack Weinberg committed -
* gcc_release: Command "all" now creates .gz files only for releases and pre-releases. From-SVN: r68620
Gerald Pfeifer committed -
From-SVN: r68618
GCC Administrator committed -
* unwind-c.c (PERSONALITY_FUNCTION): Delete duplicate define. From-SVN: r68616
Gunther Nikl committed
-
- 27 Jun, 2003 13 commits
-
-
PR c++/10468 * pt.c (tsubst): Handle qualified TYPEOF_TYPEs correctly. PR c++/10468 * g++.dg/ext/typeof5.C: New test. From-SVN: r68615
Mark Mitchell committed -
2003-06-27 Chris Demetriou <cgd@broadcom.com> * config/mips/mips.c (mips_build_va_list): Make padding in va_list structure explicit to avoid -Wpadded warnings. From-SVN: r68613
Chris Demetriou committed -
PR c++/10796 * decl.c (finish_enum): Implement DR377. * decl.c (cp_finish_decl): Don't make variables with reference type readonly while they are being initialized. PR c++/10796 * g++.dg/init/enum1.C: New test. From-SVN: r68610
Mark Mitchell committed -
gcc/ChangeLog: * config/s390/s390.h (SECONDARY_OUTPUT_RELOAD_CLASS): Define. * config/s390/s390.c (s390_secondary_output_reload_class): New function. * config/s390/s390-protos.h (s390_secondary_output_reload_class): Declare it. * config/s390/s390.md ("reload_outti", "reload_outdi", "reload_outdf"): New expanders. * config/s390/s390.md ("movti" + splitters): Handle non-offsettable memory operands as source. ("movdi" + splitters): Likewise. ("movdf" + splitters): Likewise. * config/s390/s390.c (s390_split_ok_p): New function. * config/s390/s390-protos.h (s390_split_ok_p): Declare it. gcc/testsuite/ChangeLog: * gcc.dg/20030627-1.c: New test. From-SVN: r68607
Ulrich Weigand committed -
2003-06-27 Michael Koch <konqueror@gmx.de> * java/beans/beancontext/BeanContextSupport.java: New version from classpath. From-SVN: r68606
Michael Koch committed -
2003-06-27 Michael Koch <konqueror@gmx.de> * java/awt/Window.java, java/awt/font/GraphicAttribute.java, java/awt/font/ImageGraphicAttribute.java, java/awt/image/DataBufferByte.java, java/awt/image/DataBufferInt.java, java/awt/image/DataBufferUShort.java, java/awt/image/DirectColorModel.java, java/awt/image/PixelGrabber.java: New versions from classpath. From-SVN: r68605
Michael Koch committed -
combine.c (force_to_mode): Replace the equality comparison of INTVALs with a pointer equality comparison. * combine.c (force_to_mode): Replace the equality comparison of INTVALs with a pointer equality comparison. (simplify_comparison): Likewise. From-SVN: r68603
Kazu Hirata committed -
* jump.c (rtx_renumbered_equal_p): Replace an expression that is known to be 0 with 0. From-SVN: r68602
Kazu Hirata committed -
* gcse.c (expr_equiv_p): Replace expressions that are known to be 0 with 0. From-SVN: r68601
Kazu Hirata committed -
* cse.c (fold_rtx): Replace the equality comparison of INTVALs with a pointer equality comparison. From-SVN: r68600
Kazu Hirata committed -
* rtlanal.c (reg_mentioned_p): Return 0 earlier if REG and IN are known to be not equivalent. From-SVN: r68599
Kazu Hirata committed -
* gcc_release (build_sources): Do not include gnats.html any longer. Make an error message more descriptive. From-SVN: r68597
Gerald Pfeifer committed -
2003-06-27 Benjamin Kosnik <bkoz@redhat.com> * testsuite/testsuite_performance.h (__gnu_cxx_test): Change output name to libstdc++-v3-performance.sum. * testsuite/Makefile.am (CLEANFILES): Remove .performance. * testsuite/Makefile.in: Regenerate. 2003-06-27 Matthias Klose <doko@debian.org> * testsuite/Makefile.am (check-abi, check-abi-verbose): Save output of abi-check in libstdc++-v3-abi.sum. * testsuite/Makefile.in: Regenerate. From-SVN: r68593
Benjamin Kosnik committed
-