- 29 Oct, 2003 11 commits
-
-
From-SVN: r73037
Arnaud Charlet committed -
2003-10-29 Paolo Carlini <pcarlini@suse.de> * config/locale/generic/c_locale.cc: Add back <cmath> and <cstdlib>. * include/bits/locale_facets.tcc (num_get::_M_extract_float): Clean up. From-SVN: r73036
Paolo Carlini committed -
2003-10-29 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (time_put::put): Absolutely avoid dereferencing end iterators; clean up. * include/bits/locale_facets.tcc (num_get::_M_extract_float, num_get::_M_extract_int): Minor tweak. From-SVN: r73035
Paolo Carlini committed -
* java/net/InetAddress.java (equals): Remove redundant obj == null check. * java/net/SocketPermission.java (equals): Likewise. * java/net/URL.java (equals): Likewise. (getURLStreamHandler): Likewise. From-SVN: r73034
Michael Koch committed -
* gnu/java/net/natPlainDatagramSocketImplPosix.cc (setOption): Directly return if no error occured. * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Likewise. From-SVN: r73033
Michael Koch committed -
* 3vtrasym.adb, 5vtraent.ads, sprint.adb, sem_ch10.adb: Minor reformatting * exp_ch5.adb (Expand_Assign_Array): Test for bit unaligned operands (Expand_Assign_Record): Test right hand side for bit unaligned as well * 3vtrasym.adb: * 5vtraent.adb: * 5vtraent.ads: * tb-alvms.c: Support for TBK$SYMBOLIZE-based symbolic traceback. * exp_disp.adb: Revert previous change, that did not work well when pragma No_Run_Time was used in conjunction with a run-time other than ZFP. * make.adb: (Gnatmake): When there are no Ada mains in attribute Main, disable the bind and link steps only is switch -z is not used. * Makefile.generic: Remove duplicated setting of CC. * Makefile.prolog: Set CC to gcc by default, to override make's default (cc). * einfo.h: Regenerated. * sem_ch10.adb (Analyze_Subunit): Restore state of suppress flags for current body, after compiling subunit. * itypes.adb (Create_Itype): In ASIS_Mode, do not freeze the itype when in deleted code, because gigi needs properly ordered freeze actions to annotate types. * freeze.adb (Is_Fully_Defined): Predicate must be recursive, to prevent the premature freezing of record type that contains subcomponents with a private type that does not yet have a completion. * sem_ch12.adb: (Analyze_Package_Instantiation): Check that instances can not be used in limited with_clauses. * sem_ch8.adb: (Analyze_Package_Renaming): Check that limited withed packages cannot be renamed. Improve text on error messages related to limited with_clauses. * einfo.adb, einfo.ads: Remove Non_Limited_Views attribute. * sprint.adb: (Sprint_Node_Actual): Print limited with_clauses. Update copyright notice. * sem_ch10.adb: (Build_Limited_Views): Complete its documentation. (Install_Limited_Context_Clauses): New subprogram that isolates all the checks required for limited context_clauses and installs the limited view. (Install_Limited_Withed_Unit): Complete its documentation. (Analyze_Context): Check that limited with_clauses are only allowed in package specs. (Install_Context): Call Install_Limited_Context_Clauses after the parents have been installed. (Install_Limited_Withed_Unit): Add documentation. Mark the installed package as 'From_With_Type'; this mark indicates that the limited view is installed. Used to check bad usages of limited with_clauses. (Build_Limited_Views): Do not add shadow entities to the scope's list of entities. Do not add real entities to the Non_Limited_Views chain. Improve error notification. (Remove_Context_Clauses): Remove context clauses in two phases: limited views first and regular views later (to maintain the stack model). (Remove_Limited_With_Clause): If the package is analyzed then reinstall its visible entities. * sem_type.adb (Specific_Type): Type Universal_Fixed is compatible with any type that Is_Fixed_Point_Type. * sinfo.ads: Fix documentation for Associated_Node attribute. * switch-c.adb (Scan_Front_End_Switches): ASIS_Mode is set now when both '-gnatc' and '-gnatt' are specified. * atree.adb (Initialize): Add initialization for Node_Count (set to zero). * decl.c (gnat_to_gnu_entity, case E_Subprogram): If no return value, do not consider as Pure. Part of implementation of function-at-a-time: * trans.c (gnat_to_gnu_code): If IS_STMT, call expand_expr_stmt. (tree_transform): Add new argument to build_component_ref. (tree_transform, case N_Assignment_Statement): Make and return an EXPR_STMT. (tree_transform): If result IS_STMT, set flags and return it. (gnat_expand_stmt, set_lineno_from_sloc): New functions. * utils2.c (build_simple_component_ref, build_component_ref): Add new arg, NO_FOLD_P. (build_binary_op, case EQ_EXPR): Pass additional arg to it. (build_allocator): Likewise. * utils.c (convert_to_fat_pointer, convert_to_thin_pointer, convert): Add new arg to build_component_ref. (maybe_unconstrained_array, unchecked_convert): Likewise. * ada-tree.def (EXPR_STMT): New code. * ada-tree.h (IS_STMT, TREE_SLOC, EXPR_STMT_EXPR): New macros. * decl.c (gnat_to_gnu_entity, case object): Add extra arg to build_component_ref calls. * misc.c (gnat_expand_expr): If IS_STMT, call gnat_expand_stmt. * gigi.h (gnat_expand_stmt, set_lineno_from_sloc): New functions. (build_component_ref): Add new argument, NO_FOLD_P. From-SVN: r73032
Arnaud Charlet committed -
* doc/install.texi (Building): Add a sentence about building Ada for a canadian cross. From-SVN: r73031
Andreas Schwab committed -
2003-10-29 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc: Remove some unnecessary includes. * config/locale/generic/c_locale.cc: Include <cerrno> here. * config/locale/gnu/c_locale.cc: Likewise. From-SVN: r73030
Paolo Carlini committed -
* config/ia64/ia64.c (cmptf_libfunc): New static. (ia64_expand_compare): Add logic to open-code calls to _U_Qfcmp for TFmode comparisons. (ia64_hpux_init_libfuncs): Initialize cmptf_libfunc. Set libfuncs for TFmode eq/ne/gt/ge/lt/gt to 0; these should never be generated anymore. * config/ia64/ia64.md (cmptf): New expander. From-SVN: r73028
Zack Weinberg committed -
* ia64.md (UNSPEC_SETF_EXP,UNSPEC_FR_SQRT_RECIP_APPROX): New constants. (*sqrt_approx): New instruction pattern for approximate square roots. (*setf_exp_xf): New instruction pattern for exponentiation. (*maddxf4_alts_truncsf): New instruction pattern for truncation. (sqrtsf2_internal_thr): New define_and_split implementing throughput-optimized inline calculation of SFmode square root. (sqrtdf2_internal_thr): Likewise for DFmode. (sqrtxf2_internal_thr): Likewise for XFmode. (sqrtsf2, sqrtdf2, sqrtxf2): New expanders to choose between latency- and throughput-optimized square root algorithms. * ia64.h (MASK_INLINE_SQRT_LAT, MASK_INLINE_SQRT_THR, TARGET_INLINE_SQRT_LAT, TARGET_INLINE_SQRT_THR, TARGET_INLINE_SQRT): New macros. (TARGET_SWITCHES): Add -minline-sqrt-min-latency and -minline-sqrt-max-throughput. * ia64.c (ia64_override_options): If both -minline-sqrt-min-latency and -minline-sqrt-max-throughput are given, notify the user that both options cannot be used simultaneously. If -minline-sqrt-min-latency is given, notify the user that this mode is not yet implemented. (rtx_needs_barrier): Reformat initial comment to obey 72-character width limit. Support UNSPEC_SETF_EXP and UNSPEC_FR_SQRT_RECIP_APPROX. From-SVN: r73027
Zack Weinberg committed -
From-SVN: r73025
GCC Administrator committed
-
- 28 Oct, 2003 17 commits
-
-
* java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a vtable slot for final methods. Add FIXME comment. From-SVN: r73023
Bryce McKinlay committed -
* config/rs6000/rs6000.md (movdf_softfloat64): Allow dummy ctr,ctr moves. From-SVN: r73022
Alan Modra committed -
2003-10-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> PR libgcj/10610 * gcc.dg/ppc-stackalign-1.c: New test. From-SVN: r73019
Franz Sirl committed -
re PR target/11598 (testcase gcc.dg/20020118-1.c fails runtime check of __attribute__((aligned(16)))) 2003-10-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> PR target/11598 PR libgcj/10610 * config/rs6000/sysv4.h (PREFERRED_STACK_BOUNDARY): New macro. From-SVN: r73017
Franz Sirl committed -
From-SVN: r73015
Falk Hueffner committed -
2003-10-28 Frank Ch. Eigler <fche@redhat.com> * verify.c (verify_jvm_instructions): Don't warn about legal eh binding regions generated for example by jdk 1.4.1. From-SVN: r73012
Frank Ch. Eigler committed -
* include/bits/locale_facets.tcc (money_get<>::do_get(..., string_type&)): Absolutely avoid dereferencing end iterators; general clean up. From-SVN: r73011
Paolo Carlini committed -
* ada/acats/run_all.sh: Only run [a-z]* directories, to filter out e.g. CVS. Redirect build output to log file. From-SVN: r73010
Arnaud Charlet committed -
* ada/acats/run_all.sh: Change output to be more compliant with dejagnu framework. Create acats.sum and acats.log files under testsuite/ada/acats From-SVN: r73007
Arnaud Charlet committed -
2003-10-28 David S. Miller <davem@redhat.com> * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0. From-SVN: r73006
David S. Miller committed -
Create acats.sum and acats.log files under testsuite/ada/acats From-SVN: r73005
Arnaud Charlet committed -
2003-10-28 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (time_get::_M_extract_num): Absolutely avoid dereferencing end iterators. (time_get::_M_extract_name): Likewise. * include/bits/locale_facets.tcc (time_get::_M_extract_via_format, case 'e'): Don't try to be smart wrt returning the right __beg in case of parse error, time_get::_M_extract_num must be fixed instead. From-SVN: r73004
Paolo Carlini committed -
* arm.c (arm_output_epilogue): When using a frame pointer, don't emit an extra stack adjustment insn if the stack pointer is already pointing at the right place. (use_return_insn): Allow a return insn to be used when we have a frame pointer if the stack pointer is in the right place. (output_return_instruction): Handle it. From-SVN: r73003
Richard Earnshaw committed -
* ggc-zone.c (check_cookies): Add missing variable. Add void to prototypes. From-SVN: r73000
Andreas Jaeger committed -
* config/mips/irix6-libc-compat.c (inet_makeaddr): Prototype. * crtstuff.c (__do_global_ctors_1): Move prototype. * unwind-dw2.c (NO_SIZE_OF_ENCODED_VALUE): Define when appropriate. * unwind-sjlj.c (_Unwind_GetCFA, _Unwind_FindEnclosingFunction): Mark parameter with __attribute__((unused)). From-SVN: r72999
Kaveh R. Ghazi committed -
From-SVN: r72998
Zack Weinberg committed -
From-SVN: r72996
GCC Administrator committed
-
- 27 Oct, 2003 12 commits
-
-
2003-10-27 Paolo Carlini <pcarlini@suse.de> PR libstdc++/12778 * acinclude.m4 (GLIBCXX_CHECK_LFS): Use the C++ compiler. * aclocal.m4: Regenerate. * configure: Regenerate. From-SVN: r72994
Paolo Carlini committed -
2003-10-27 Benjamin Kosnik <bkoz@redhat.com> * docs/html/17_intro/TODO: Add links. * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc: Uncomment. From-SVN: r72991
Benjamin Kosnik committed -
2003-10-27 Paolo Carlini <pcarlini@suse.de> PR libstdc++/12750 * include/bits/locale_facets.tcc (time_get::_M_extract_via_format): Deal with code 'e'. * testsuite/22_locale/time_get/get_date/char/12750.cc: New. * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Ditto. * include/bits/locale_facets.tcc (time_get::_M_extract_via_format): Tweak to absolutely avoid dereferencing end iterators. * include/bits/locale_facets.h (__verify_grouping): Const-ify second parameter. * include/bits/locale_facets.tcc (__verify_grouping): Ditto. * src/locale-inst.cc (__verify_grouping): Ditto. 2003-10-27 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (num_get::_M_extract_float): Various things: 1- Avoid absolutely end iterator dereferences; 2- Improve performance-wise the code skipping leading zeros; 3- Fix two bugs wrt early bail out in case of parsing errors (see testcases); 4- General clean up. (num_get::_M_extract_int): Likewise, except 3-. Additionally, use __builtin_expect to favor base 10 inputs. * testsuite/22_locale/num_get/get/char/7.cc: New. * testsuite/22_locale/num_get/get/wchar_t/7.cc: Ditto. From-SVN: r72987
Paolo Carlini committed -
From-SVN: r72986
Arnaud Charlet committed -
From-SVN: r72985
Arnaud Charlet committed -
PR ada/5909: * doc/sourcebuild.texi: Document Ada test suite. From-SVN: r72984
Arnaud Charlet committed -
* Makefile.generic: Add missing substitution on object_deps handling. PR ada/5909: * Make-lang.in (check-ada): Enable ACATS test suite. * exp_ch3.adb: (Freeze_Array_Type): We do not need an initialization routine for types derived from String or Wide_String. They should be treated the same as String and Wide_String themselves. This caused problems with the use of Initialize_Scalars. * exp_ch5.adb: (Expand_Assign_Record): Do component-wise assignment of non-byte aligned composites. This allows use of component clauses that are not byte aligned. * sem_prag.adb: (Analyze_Pragma, case Pack): Generate warning and ignore pack if there is an attempt to pack an array of atomic objects. * make.adb, prj-env.adb, prj-env.ads: Minor reformatting * g-dirope.adb: (Basename): Check for drive letters in a pathname only on DOS based OS. * make.adb: (Gnatmake): When unable to change dir to the object dir, display the content of the parent dir of the obj dir, to try to understand why this happens. * Make-lang.in: Makefile automatically updated * sem_ch12.adb: (Inline_Instance_Body): Indicate that the save/restore of use_clauses should not be done in Save/Restore_Scope_Stack, because it is performed locally. * sem_ch8.adb: (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate whether use clauses should be removed/restored. * sem_ch8.ads: (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate whether use clauses should be removed/restored. From-SVN: r72983
Arnaud Charlet committed -
* config/m68hc11/m68hc11.c: Convert to ISO C90. * config/m68hc11/m68hc11-protos.h: Likewise. From-SVN: r72981
Stephane Carrez committed -
From-SVN: r72980
Eric Botcazou committed -
* toplev.c (enum dump_file_index, dump_file): Fix ordering of webizer pass dump. From-SVN: r72979
Jan Hubicka committed -
PR ada/5909: * README.ada, ada/acats: Import ACATS 2.5 for GCC Ada test suite. From-SVN: r72978
Arnaud Charlet committed -
PR ada/5909: Import ACATS 2.5 for GCC Ada test suite. From-SVN: r72977
Arnaud Charlet committed
-