- 26 Apr, 2004 11 commits
-
-
2004-04-26 Andrew Pinski <pinskia@physics.uc.edu> PR c++/15119 * g++.dg/other/vararg-1.C: New test. PR c++/4794 * g++.dg/eh/cleanup3.C: New test. From-SVN: r81188
Andrew Pinski committed -
2004-04-26 Thomas Quinot <quinot@act-europe.fr> * sem_dist.adb, exp_dist.adb: When constructing a RAS value for a local subprogram for which no pragma All_Calls_Remote applies, store the address of the real subprogram in the underlying record type, so local dereferences do not go through the PCS. 2004-04-26 Robert Dewar <dewar@gnat.com> * i-c.ads: Add some type qualifications to avoid ambiguities when compiling with s-auxdec.ads and a non-private address type. 2004-04-26 Arnaud Charlet <charlet@act-europe.fr> * Makefile.rtl: Fix error in previous check-in: Add s-addope.o to non tasking object list (rather than tasking object list). 2004-04-26 Javier Miranda <miranda@gnat.com> * sem_aggr.adb: Fix typo in comments (Resolve_Aggr_Expr): Propagate the type to the nested aggregate. Required to check the null-exclusion attribute. * sem_attr.adb (Resolve_Attribute): Check the accessibility level in case of anonymous access types in record and array components. For a component definition the level is the same of the enclosing composite type. * sem_ch3.adb (Analyze_Component_Declaration): In case of components that are anonymous access types the level of accessibility depends on the enclosing type declaration. In order to have this information, set the scope of the anonymous access type to the enclosing record type declaration. (Array_Type_Declaration): In case of components that are anonymous access types the level of accessibility depends on the enclosing type declaration. In order to have this information, set the scope of the anonymous access type to the enclosing array type declaration. * sem_ch3.adb (Array_Type_Declaration): Set the scope of the anonymous access type. * sem_ch8.adb (Analyze_Object_Renaming): Add check to verify that renaming of anonymous access-to-constant types allowed if and only if the renamed object is access-to-constant. * sem_util.adb (Type_Access_Level): In case of anonymous access types that are component_definition or discriminants of a nonlimited type, the level is the same as that of the enclosing component type. 2004-04-26 Sergey Rybin <rybin@act-europe.fr> * sem_elim.adb: Some minor code reorganization from code reading. Fix misprint in the function name (File_Name_Match). From-SVN: r81186
Arnaud Charlet committed -
2004-04-26 Paolo Bonzini <bonzini@gnu.org> * Makefile.def (host_modules): Mark with the bootstrap flag packages on which gcc depends. * Makefile.tpl (all-bootstrap): Use it. * Makefile.in: Regenerate. From-SVN: r81185
Paolo Bonzini committed -
2004-04-26 Paolo Bonzini <bonzini@gnu.org> * Makefile.def (flags_to_pass): Remove *dir variables that are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS, as well as prefix and exec_prefix. * Makefile.in: Regenerate. From-SVN: r81184
Paolo Bonzini committed -
2004-04-26 Paolo Bonzini <bonzini@gnu.org> * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL. * configure: Regenerate. * config/acx.m4: Mutuate ACX_PROG_CMP_IGNORE_INITIAL from gcc. * gcc/Makefile.tpl (compare): Use the result of the test. * gcc/Makefile.in: Regenerate. From-SVN: r81183
Paolo Bonzini committed -
From-SVN: r81182
Arnaud Charlet committed -
From-SVN: r81180
Paul Brook committed -
2004-04-26 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_vector.h: Trivial formatting fixes. * include/bits/vector.tcc: Likewise. From-SVN: r81178
Paolo Carlini committed -
* fold-const.c (fold): Prefer fold_convert (negate_expr (...)) to fold (build1 (NEGATE_EXPR, ...)). Optimize X / -1 as -X and X % -1 as 0. From-SVN: r81177
Roger Sayle committed -
re PR bootstrap/15141 (MMIX breakage in except.c:connect_post_landing_pads:handle insns after actual call insn) PR bootstrap/15141 * except.c (connect_post_landing_pads): Delete insns after the barrier when generating a unwind_resume_libfunc call. From-SVN: r81176
Hans-Peter Nilsson committed -
From-SVN: r81173
GCC Administrator committed
-
- 25 Apr, 2004 11 commits
-
-
PR/c++ 15119 * tree.c (substitute_placeholder_in_expr, case 4): New case, for TARGET_EXPR. From-SVN: r81170
Richard Kenner committed -
From-SVN: r81169
Richard Kenner committed -
* configure.ac: Fix stupid brain-fade; set default_gnattools_target correctly. * configure: Regenerate. From-SVN: r81167
Nathanael Nerode committed -
* gcov-io.h (__gcov_fork, __gcov_execl, __gcov_execlp, __gcov_execle, __gcov_execv, __gcov_execvp, __gcov_execve): Do not declare when inhibit_libc is defined. From-SVN: r81164
Zdenek Dvorak committed -
2004-04-25 Paolo Carlini <pcarlini@suse.de> PR libstdc++/15002 (continued again) * include/bits/istream.tcc (getline(basic_istream<>&, basic_string<>&, _CharT)): Use a temporary buffer, thus avoiding reallocation for common case. * include/bits/basic_string.tcc (_S_construct(_InIterator, _InIterator, const _Alloc&, input_iterator_tag)): Tweak size of temporary buffer to a power of two. * testsuite/27_io/basic_istream/getline/char/4.cc: Add comment. From-SVN: r81163
Paolo Carlini committed -
2004-04-25 Paolo Carlini <pcarlini@suse.de> * testsuite/21_strings/basic_string/inserters_extractors/char/10.cc: New. * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc: Likewise. * testsuite/27_io/basic_istream/getline/char/5.cc: Likewise. From-SVN: r81159
Paolo Carlini committed -
2004-04-24 Laurent GUERBY <laurent@guerby.net> * ada/acats/run_all.sh: Handle cd2a83c, cd2a91c (target_bit) and ad8011a (target_insn). * ada/acats/support/macro.dfs: Likewise. * ada/acats/support/impbit.adb: New file. From-SVN: r81158
Laurent GUERBY committed -
* config/mips/mips-protos.h (mips_linked_macc_p): Declare. * config/mips/mips.h (TUNE_MACC_CHAINS): New macro. * config/mips/mips.c (TARGET_SCHED_REORDER): Define. (TARGET_SCHED_VARIABLE_ISSUE): Define. (mips_adjust_cost): Move later in file, next to other sched hooks. (mips_macc_chains_last_hilo): New variable. (mips_linked_madd_p, mips_macc_chains_record, mips_macc_chains_reorder) (mips_promote_ready, mips_sched_reorder, mips_variable_issue): New. * config/mips/mips.md (may_clobber_hilo): New attribute. From-SVN: r81157
Richard Sandiford committed -
* testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly limit the maximum heap size to avoid unnecessary thrashing. From-SVN: r81156
Ranjit Mathew committed -
From-SVN: r81155
Andreas Jaeger committed -
From-SVN: r81152
GCC Administrator committed
-
- 24 Apr, 2004 11 commits
-
-
* fixinc/inclhack.def (aix_syswait_2): New fix. * fixinc/fixincl.x: Regenerate. * fixinc/tests/base/sys/wait.h: Update for new test. Co-Authored-By: Bruce Korb <bkorb@gnu.org> From-SVN: r81147
Roger Sayle committed -
2004-04-24 Paolo Carlini <pcarlini@suse.de> Petur Runolfsson <peturr02@ru.is> PR libstdc++/15002 (continued) * include/bits/istream.tcc (basic_istream<>::getline(char_type*, streamsize, char_type)): Use traits::find/copy in a loop to speed up greatly the function in the common case (I/O buffer size >> 1). 2004-04-24 Paolo Carlini <pcarlini@suse.de> * testsuite/27_io/basic_istream/getline/char/4.cc: New. * include/bits/istream.tcc (getline(basic_istream<>&, basic_string<>&, _CharT)): Change to use sgetc()/snextc() instead of sbumpc(), consistently with the other functions, thus also dealing correctly with the case of exceeded string::max_size(). Co-Authored-By: Petur Runolfsson <peturr02@ru.is> From-SVN: r81146
Paolo Carlini committed -
2004-04-24 Jerry Quinn <jlquinn@optonline.net> * java/text/CollationElementIterator.java (reset): Reset lookahead variables. From-SVN: r81142
Jerry Quinn committed -
2004-04-24 Andreas Tobler <a.tobler@schweiz.ch> * testsuite/libffi.call/cls_multi_schar.c (main): Fix initialization error. Reported by Thomas Heller <theller@python.net>. * testsuite/libffi.call/cls_multi_sshort.c (main): Likewise. * testsuite/libffi.call/cls_multi_ushort.c (main): Likewise. From-SVN: r81131
Andreas Tobler committed -
Makefile.tpl (all-stage1-gcc, [...]): Always relocate gcc and prev-gcc to the original names, even if the build fails. 2004-04-23 Paolo Bonzini <bonzini@gnu.org> * Makefile.tpl (all-stage1-gcc, all-stage2-gcc, all-stage3-gcc): Always relocate gcc and prev-gcc to the original names, even if the build fails. (new-cleanstrap, new-restage1, new-restage2, new-restage3): New targets. From-SVN: r81130
Paolo Bonzini committed -
PR target/14960 * config/rs6000/rs6000.c (rs6000_stack_info): Rename total_raw_size to non_fixed_size, and leave out fixed_size from the sum. (generate_set_vrsave): Correct clobbers. (rs6000_emit_epilogue): Test TARGET_ALTIVEC with TARGET_ALTIVEC_SAVE. (rs6000_function_value): Test TARGET_ALTIVEC and TARGET_ALTIVEC_ABI. (rs6000_libcall_value): Likewise. * config/rs6000/rs6000.h (FUNCTION_VALUE_REGNO_P): Likewise. (FUNCTION_ARG_REGNO_P): Likewise. From-SVN: r81129
Alan Modra committed -
* Makefile.in: Revert most of Arnaud's last change. Prefer anything over error-prone Make abuse. Remove temporary debug code. (gnatlib-zcx): New target. (gnattools): Split into gnattools-native, gnattools-cross, to fix previous bug; select which on the basis of default_gnattools_target. (ada.all.cross): Merged with gnattools-cross target. * configure.ac: Set default_gnattools_target. * configure: Regenerate. From-SVN: r81128
Nathanael Nerode committed -
* expmed.c (expand_mult_highpart_adjust): Do not assume OP1 is a CONST_INT. (expand_mult_highpart_optab): Call expand_mult_highpart_adjust with NARROW_OP1 instead of OP1. From-SVN: r81127
Ulrich Weigand committed -
From-SVN: r81125
Ulrich Weigand committed -
* config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for __s390__ and __s390x__ hosts. From-SVN: r81124
Ulrich Weigand committed -
From-SVN: r81121
GCC Administrator committed
-
- 23 Apr, 2004 7 commits
-
-
* Makefile.in (LIBGCOV): Add _gcov_fork, _gcov_execl, _gcov_execlp, _gcov_execle, _gcov_execv, _gcov_execvp, _gcov_execve. * builtin-types.def (BT_PID, BT_PTR_CONST_STRING, BT_FN_PID, BT_FN_INT_CONST_STRING_PTR_CONST_STRING, BT_FN_INT_CONST_STRING_PTR_CONST_STRING_PTR_CONST_STRING): New. * builtins.c (expand_builtin_fork_or_exec): New. (expand_builtin): Call it. * builtins.def (BUILT_IN_EXECL, BUILT_IN_EXECLP,BUILT_IN_EXECLE, BUILT_IN_EXECV, BUILT_IN_EXECVP, BUILT_IN_EXECVE, BUILT_IN_FORK): New. * c-common.c (PID_TYPE): New macro. (c_common_nodes_and_builtins): Initialize pid_type_node. * calls.c (special_function_p): Do not handle fork and exec. (expand_call): Do not handle ECF_FORK_OR_EXEC. * gcov-io.h (__gcov_fork, __gcov_execl, __gcov_execlp, __gcov_execle, __gcov_execv, __gcov_execvp, __gcov_execve): Declare. * libgcov.c (__gcov_fork, __gcov_execl, __gcov_execlp, __gcov_execle, __gcov_execv, __gcov_execvp, __gcov_execve): New. * tree.h (enum tree_index): Add TI_PID_TYPE. (pid_type_node): New macro. (ECF_FORK_OR_EXEC): Removed. From-SVN: r81118
Zdenek Dvorak committed -
2004-04-24 Matthias Klose <doko@debian.org> Jonathan Wakely <cow@compsoc.man.ac.uk> * docs/html/configopts.html: Fix reference to allocator config option. From-SVN: r81114
Matthias Klose committed -
PR optimization/13985 * cfgloopmanip.c (fix_loop_placements): New prototype. Call fix_bb_placements on the preheader of loops that have been reparented. (remove_path): Adjust call to fix_loop_placements. From-SVN: r81112
Eric Botcazou committed -
2004-04-23 Laurent GUERBY <laurent@guerby.net> * Makefile.in: Remove RANLIB_TEST, use -$(RANLIB) including after install. From-SVN: r81105
Laurent GUERBY committed -
From-SVN: r81104
Mark Wielaard committed -
2004-04-23 Andrew Pinski <pinskia@physics.uc.edu> * linkage.m4 (GLIBCXX_CHECK_MATH_SUPPORT): Check for libmx also. * configure: Regenerate. From-SVN: r81103
Andrew Pinski committed -
2004-04-23 Andrew Pinski <pinskia@physics.uc.edu> * config/darwin7.h: New file. * config.gcc (*-*-darwin*): Add darwin7.h if the version is greater than 6. * config/darwin.h (TARGET_C99_FUNCTIONS): Define. (MATH_LIBRARY): Wrap in ifdefs. From-SVN: r81100
Andrew Pinski committed
-