- 05 Jul, 2003 1 commit
-
-
* config/pa/fptr.c: Fix comment typos. * config/pa/pa-64.h: Likewise. * config/pa/pa.c: Likewise. * config/pa/pa.h: Likewise. * config/rs6000/603.md: Likewise. * config/rs6000/7xx.md: Likewise. * config/rs6000/darwin.h: Likewise. * config/rs6000/freebsd.h: Likewise. * config/rs6000/rs6000.c: Likewise. * config/rs6000/rs6000.md: Likewise. * config/rs6000/spe.h: Likewise. From-SVN: r68947
Kazu Hirata committed
-
- 04 Jul, 2003 35 commits
-
-
* Makefile.tpl (all-bootstrap): Depend on maybe-all-intl. * Makefile.in: Regenerate. From-SVN: r68945
Zack Weinberg committed -
PR c/11428 * gcc.c-torture/compile/20030704-1.c: New. From-SVN: r68944
Kazu Hirata committed -
From-SVN: r68943
Kazu Hirata committed -
2003-07-04 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable. * aclocal.m4: Regenerate. * configure: Regenerate. 2003-07-04 Jerry Quinn <jlquinn@optonline.net> * include/bits/locale_facets.tcc (__int_to_char): Move common case to the top. From-SVN: r68942
Benjamin Kosnik committed -
* config/s390/2064.md: Change GNU CC to GCC. * config/s390/2084.md: Likewise. * config/s390/fixdfdi.h: Likewise. * config/s390/linux.h: Likewise. * config/s390/s390-modes.def: Likewise. * config/s390/s390-protos.h: Likewise. * config/s390/s390.c: Likewise. * config/s390/s390.h: Likewise. * config/s390/s390.md: Likewise. * config/s390/s390x.h: Likewise. From-SVN: r68941
Ulrich Weigand committed -
* expr.c (do_store_flag): Pass in the correct result type when calling fold_single_bit_test. * fold-const.c (fold_single_bit_test): Use result_type for the result when folding a sign bit test. From-SVN: r68940
Jeff Law committed -
From-SVN: r68939
Neil Booth committed -
2003-07-04 Benjamin Kosnik <bkoz@redhat.com> Petur Runolfsson <peturr02@ru.is> * config/io/basic_file_stdio.cc: Revert. Co-Authored-By: Petur Runolfsson <peturr02@ru.is> From-SVN: r68938
Benjamin Kosnik committed -
2003-07-04 Paolo Carlini <pcarlini@unitus.it> * include/bits/deque.tcc: Fully qualify standard functions with std::, thus avoiding Koenig lookup. * include/bits/gslice_array.h: Likewise. * include/bits/indirect_array.h: Likewise. * include/bits/list.tcc: Likewise. * include/bits/mask_array.h: Likewise. * include/bits/slice_array.h: Likewise. From-SVN: r68937
Paolo Carlini committed -
2003-07-04 Gawain Bolton <gbolton@free.fr> * include/bits/stl_tree.h: Performance and memory usage improvements. From-SVN: r68936
Gawain Bolton committed -
From-SVN: r68934
H.J. Lu committed -
From-SVN: r68932
H.J. Lu committed -
2003-07-04 H.J. Lu <hongjiu.lu@intel.com> * Makefile.tpl: Replace PWD with PWD_COMMAND. * Makefile.in: Regenerated. gcc/ 2003-07-04 H.J. Lu <hongjiu.lu@intel.com> * config-ml.in: Replace PWD with PWD_COMMAND. * Makefile.in: Likewise. gcc/ada/ 2003-07-04 H.J. Lu <hongjiu.lu@intel.com> * Make-lang.in: Replace PWD with PWD_COMMAND. * Makefile.adalib: Likewise. * Makefile.in: Likewise. gcc/treelang/ 2003-07-04 H.J. Lu <hongjiu.lu@intel.com> * Make-lang.in: Replace PWD with PWD_COMMAND. libf2c/ 2003-07-04 H.J. Lu <hongjiu.lu@intel.com> * Makefile.in: Replace PWD with PWD_COMMAND. libstdc++-v3/ 2003-07-04 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am: Replace PWD with PWD_COMMAND. * Makefile.in: Regenerated. * docs/html/Makefile: Likewise. From-SVN: r68931
H.J. Lu committed -
* cfgloopanal.c (count_strange_loop_iterations): New static function. (constant_iterations, count_loop_iterations, simple_loop_exit_p): Handle strange loops. From-SVN: r68930
Zdenek Dvorak committed -
2003-07-04 Toon Moene <toon@moene.indiv.nluug.nl> * install.texi: Even the g77 manpage is derived from the full g77 manual. From-SVN: r68929
Toon Moene committed -
top: * intl: New directory; see intl/ChangeLog for details. * ABOUT-NLS, config.rpath: Import from gettext 0.12.1. * Makefile.tpl: all-gcc depends on maybe-all-intl. * Makefile.in: Regenerate. config: * gettext.m4: New file - copy of gettext.m4 from binutils CVS, with added AC_ISC_POSIX macro from gcc/aclocal.m4. gcc: * ABOUT-NLS: Delete. * intl: Delete entire directory. * aclocal.m4: Include ../config/gettext.m4. Delete AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES, AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT. * configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT. Remove intl/Makefile from all_outputs. * configure, config.in: Regenerate. * Makefile.in: Expunge all references to intl subdirectory. Add -I../intl to INCLUDES. * intl.h: Include libintl.h if and only if ENABLE_NLS is defined. intl: * Makefile.in: Remove unnecessary capabilities for installation, build of shared libraries, generation of distribution tarballs, etc. Fix all the places that rely on the parent directory. Don't generate libgnuintl.h from anything; do generate $(objdir)/libintl.h from libgnuintl.h if necessary. Adjust DEFS for use of config.h. * libgnuintl.h.in: Rename libgnuintl.h. * README: New file. * config.charset, ref-add.sin, ref-del.sin: Delete (unused). * COPYING.LIB-2.0, COPYING.LIB-2.1: Delete (redundant). * aclocal.m4: New; generated per instructions in gettext manual. * configure.in: New; written from scratch for this configuration. * configure, config.h.in: Generated. contrib: * gcc_update: Remove gcc/intl/plural.c from list. Add new generated files intl/plural.c, intl/configure, intl/config.h.in. From-SVN: r68928
Zack Weinberg committed -
2003-07-04 Paolo Carlini <pcarlini@unitus.it> * include/bits/valarray_array.h: Fully qualify standard functions with std::, thus avoiding Koenig lookup. * include/bits/vector.tcc: Likewise. From-SVN: r68927
Paolo Carlini committed -
2003-07-04 Benjamin Kosnik <bkoz@redhat.com> * include/Makefile.am: Update target_ to host_. * include/Makefile.in: Regenerate. * src/Makefile.am: Same. * src/Makefile.in: Regenerate. * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support. From-SVN: r68926
Benjamin Kosnik committed -
2003-07-04 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug-flags. (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug. (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch. * aclocal.m4: Regenerate. * configure: Same. * docs/html/configopts.html: Update. From-SVN: r68925
Benjamin Kosnik committed -
* gcc_release: Execute gcc.gnu.org-only operations which are related to diff generation only if diffs have been requested. (build_sources): Improve tracing and an error message related to tagging. From-SVN: r68924
Gerald Pfeifer committed -
From-SVN: r68923
Kazu Hirata committed -
Revert the fix for libstdc++/11378. From-SVN: r68922
Paolo Carlini committed -
2003-07-04 Paolo Carlini <pcarlini@unitus.it> PR libstdc++/11378 * include/std/std_fstream.h (xsputn): In the unbuffered case, provided always_noconv(), issue directly _M_file.xsputn. * testsuite/performance/filebuf_unbuf_sputn.cc: New. From-SVN: r68921
Paolo Carlini committed -
* config/rs6000/aix51.h (TARGET_C99_FUNCTIONS): Define. * config/rs6000/aix52.h (TARGET_C99_FUNCTIONS): Likewise. From-SVN: r68920
Roger Sayle committed -
2003-07-04 Paolo Carlini <pcarlini@unitus.it> * include/bits/stl_list.h: Fully qualify standard functions with std::, thus avoiding Koenig lookup. * include/bits/stl_queue.h: Likewise. * include/bits/stl_raw_storage_iter.h: Likewise. * include/bits/stl_tempbuf.h: Likewise. * include/bits/stl_tree.h: Likewise. * include/bits/stl_uninitialized.h: Likewise. * include/bits/stl_vector.h: Likewise. * include/ext/rope: Change includes order. From-SVN: r68919
Paolo Carlini committed -
2003-07-04 Benjamin Kosnik <bkoz@redhat.com> * configure.host (fpos_include_dir): Fix. From-SVN: r68918
Benjamin Kosnik committed -
PR c++/5287, PR c++/7910, PR c++/11021 * testsuite/g++.dg/ext/dllimport1.C: Add mingw32 as target. Add tests for warnings. * testsuite/g++.dg/ext/dllimport2.C: Add tests for warnings. * testsuite/g++.dg/ext/dllimport3.C: Likewise. * testsuite/g++.dg/ext/dllimport4.C: New file. * testsuite/g++.dg/ext/dllimport5.C: New file. * testsuite/g++.dg/ext/dllimport6.C: New file. * testsuite/g++.dg/ext/dllimport7.C: New file. * testsuite/g++.dg/ext/dllimport8.C: New file. * testsuite/g++.dg/ext/dllimport9.C: New file. * testsuite/g++.dg/ext/dllimport10.C: New file. * testsuite/g++.dg/ext/dllexport1.C: New file. From-SVN: r68917
Danny Smith committed -
PR c++/5287, PR c++/7910, PR c++/11021 * config/i386/winnt.c (ix86_handle_dll_attribute): Don't add dllimport attribute if function is defined at declaration, but report error instead. Likewise for dllimport'd variable definitions. Set implicit TREE_PUBLIC for dllimport'd variables declared within functions, Report error if dllimport or dllexport symbol is not global. (i386_pe_dllimport_p): Ignore dllimport attribute of functions if defined after declaration or if inlined. Don't allow definition of static data members of C++ classes. Don't dllimport virtual methods. (i386_pe_mark_dllexport): Warn about inconsistent dll attributes. (i386_pe_mark_dllimport): Remove unnecessary checks. (i386_pe_encode_section_info): Warn if the dllimport attribute and symbol prefix have been instantiated and then overridden. * doc/extend.texi: Document dllimport and dllexport attributes. * config/i386/winnt.c (i386_pe_output_labelref): Fix indents. From-SVN: r68916
Danny Smith committed -
2003-07-04 Paolo Carlini <pcarlini@unitus.it> * include/bits/stl_heap.h: Fully qualify standard functions with std::, thus avoiding Koenig lookup. * include/bits/stl_iterator_base_funcs.h: Likewise. * include/bits/stl_algo.h: Qualify __iterator_category too. * include/bits/stl_algobase.h: Likewise. * include/bits/stl_bvector.h: Likewise. * include/bits/stl_algo.h: Don't qualify the pair type. From-SVN: r68915
Paolo Carlini committed -
2003-07-03 Benjamin Kosnik <bkoz@redhat.com> * include/Makefile.am (target_headers): Add fpos.h (bits_headers): Remove. * include/Makefile.in: Regenerate. * configure.in: Add FPOS_INC_SRCDIR, substitute it. * configure: Regenerate. * configure.host: Add fpos_include_dir. * config/os/gnu-linux/fpos.h: New. * config/os/generic/fpos.h: Add. * include/bits/fpos.h: Remove. * config/io/c_io_stdio.h: Remove fpos_t typedef. * include/bits/fstream.tcc: Tweaks. * include/std/std_fstream.h: Same. * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to... * testsuite/27_io/fpos/mbstate_t/1.cc: ...here. * testsuite/27_io/fpos/mbstate_t/2.cc: Same. * testsuite/27_io/fpos/mbstate_t/3.cc: Same. * testsuite/27_io/fpos/1.cc: New. From-SVN: r68914
Benjamin Kosnik committed -
2003-07-03 Benjamin Kosnik <bkoz@redhat.com> * include/Makefile.am (target_headers): Add fpos.h (bits_headers): Remove. * include/Makefile.in: Regenerate. * configure.in: Add FPOS_INC_SRCDIR, substitute it. * configure: Regenerate. * configure.host: Add fpos_include_dir. * config/os/gnu-linux/fpos.h: New. * config/os/generic/fpos.h: Add. * include/bits/fpos.h: Remove. * config/io/c_io_stdio.h: Remove fpos_t typedef. * include/bits/fstream.tcc: Tweaks. * include/std/std_fstream.h: Same. * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to... * testsuite/27_io/fpos/mbstate_t/1.cc: ...here. * testsuite/27_io/fpos/mbstate_t/2.cc: Same. * testsuite/27_io/fpos/mbstate_t/3.cc: Same. * testsuite/27_io/fpos/1.cc: New. 2003-07-03 Benjamin Kosnik <bkoz@redhat.com> Petur Runolfsson <peturr02@ru.is> * include/std/std_streambuf.h: Remove _M_pos. * config/io/basic_file_stdio.h: Use seekpos instead of seekoff. * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek, use fread/fwrite instead of read/write. * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix. * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs before reading again. * testsuite/27_io/objects/char/6.cc: Tweak. Co-Authored-By: Petur Runolfsson <peturr02@ru.is> From-SVN: r68913
Benjamin Kosnik committed -
* config/kaos.h (CPP_PREDEFINES): Delete. (TARGET_OS_CPP_BUILTINS): New. From-SVN: r68912
Uwe Stieber committed -
* call.c (build_addr_func): Handle bound pointers-to-members. (build_method_call): Do not call resolve_offset_ref. (implicit_conversion): Likewise. (resolve_scoped_fn_name): Use finish_non_static_data_member, not resolve_offset_ref. (resolve_args): Do not call resolve_offset_ref. (build_conditional_expr): Likewise. (build_new_method_call): Likewise. * cp-tree.def (OFFSET_REF): Update documentation. (cp_convert_to_pointer): Update handling of conversions from pointers to members to pointers. (ocp_convert): Do not call resolve_offset_ref. (convert_to_void): Likewise. (build_expr_type_conversion): Likewise. (delete_sanity): Likewise. (resolve_offset_ref): Simplify greatly. (build_vec_delete): Do not call resolve_offset_ref. * parser.c (cp_parser_postfix_expression): Call resolve_offset_ref if appropriate. (cp_parser_unary_expression): Use cp_parser_simple_cast_expression. (cp_parser_delete_expression): Likewise. (cp_parser_cast_expression): Likewise. (cp_parser_pm_expression): Use cp_parser_binary_op. (cp_parser_simple_cast_expression): New function. * rtti.c (build_dynamic_cast_1): Do not call resolve_offset_ref. * semantics.c (finish_increment_expr): Likewise. (finish_typeof): Likewise. * tree.c (lvalue_p_1): Do not handle OFFSET_REF. * typeck.c (require_complete_type): Do not handle OFFSET_REFs. (decay_conversion): Do not call resolve_offset_ref. (finish_class_member_access_expr): Likewise. (convert_arguments): Likewise. (build_x_binary_op): Handle DOTSTAR_EXPR. (condition_conversion): Do not call resolve_offset_ref. (unary_complex_lvalue): Likewise. (build_static_cast): Likewise. (build_reinterpret_cast): Likewise. (build_const_cast): Likewise. (build_c_cast): Likewise. (build_modify_expr): Likewise. (convert_for_assignment): Likewise. (convert_for_initialization): Likewise. * typeck2.c (build_x_arrow): Likewise. (build_m_component_ref): Simplify. * g++.old-deja/g++.jason/typeid1.C: Add dg-error marker. * g++.old-deja/g++.mike/net36.C: Tweak error messages. From-SVN: r68911
Mark Mitchell committed -
gcc: * c-aux-info.c: Include toplev.h after c-tree.h. * c-common.c: Likewise. (GCC_DIAG_STYLE): Undef. * c-semantics.c (GCC_DIAG_STYLE): Define. * c-tree.h (GCC_DIAG_STYLE): Likewise. * diagnostic.h (inform): Move prototype to toplev.h. * jump.c: Include diagnostic.h before toplev.h. * toplev.h (GCC_DIAG_STYLE, ATTRIBUTE_GCC_DIAG): Define. (warning, error, fatal_error, pedwarn, sorry, inform, error_for_asm, warning_for_asm): Mark with ATTRIBUTE_GCC_CXXDIAG. cp: * cp-tree.h (GCC_DIAG_STYLE, ATTRIBUTE_GCC_CXXDIAG): Define. (cp_error_at, cp_warning_at, cp_pedwarn_at): Mark with ATTRIBUTE_GCC_CXXDIAG. From-SVN: r68910
Kaveh R. Ghazi committed -
From-SVN: r68908
GCC Administrator committed
-
- 03 Jul, 2003 4 commits
-
-
* cfglayout.c (cfg_layout_duplicate_bb): Do not update frequencies at all if edge is not specified. (can_copy_bbs_p, copy_bbs): New. * cfglayout.h (can_copy_bbs_p, copy_bbs): Declare. * cfgloop.c (get_loop_body): Comment more precisely. * cfgloopmanip.c (copy_bbs, record_exit_edges): Removed. (scale_bbs_frequencies): Fix comment typo. (can_duplicate_loop_p): Use can_copy_bbs_p. (duplicate_loop_to_header_edge): Simplify by using copy_bbs. From-SVN: r68906
Zdenek Dvorak committed -
* c-opts.c (c_common_parse_file): Remove extra debug_hooks->start_source_file call. From-SVN: r68905
Devang Patel committed -
* misc.c (gnat_argv): Revert last change. (gnat_handle_option, gnat_init_options): Copy arguments. From-SVN: r68904
Matt Kraai committed -
* real.c (real_trunc, real_floor, real_ceil): New functions to implement trunc, floor and ceil respectively. * real.h (real_trunc, real_floor, real_ceil): Prototype here. * builtins.c (integer_valued_real_p): New function to test if a floating point expression has an integer valued result. (fold_trunc_transparent_mathfn): Optimize foo(foo(x)) as foo(x) where foo is an integer rounding function. Similarly, optimize foo(bar(x)) as bar(x), and foo((double)(int)x) as (double)(int)x when both foo and bar are integer rounding functions and we don't need to honor errno. (fold_builtin_trunc, fold_builtin_floor, fold_builtin_ceil): New functions to fold trunc, floor and ceil. (fold_builtin): Use fold_builtin_trunc to fold BUILT_IN_TRUNC*, fold_builtin_floor to fold BUILT_IN_FLOOR* and fold_builtin_ceil to fold BUILT_IN_CEIL*. * fold-const.c (tree_expr_nonnegative_p): Handle FLOAT_EXPR and the remaining integer rounding functions. * gcc.dg/builtins-25.c: New testcase. * gcc.dg/builtins-26.c: New testcase. From-SVN: r68903
Roger Sayle committed
-