- 12 Dec, 2001 32 commits
-
-
2001-12-12 Philip Martin <philip@codematters.co.uk> Ross Smith <r-smith@ihug.co.nz> Paolo Carlini <pcarlini@unitus.it> libstdc++/5045 * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10): Fix digits10 values for integral types. * include/bits/locale_facets.tcc (num_get::do_get for integral types): Tweak _M_extract_int call. * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux): Tweak overflowing number of digits. * testsuite/18_support/numeric_limits.cc (test03): New testcase. Co-Authored-By: Paolo Carlini <pcarlini@unitus.it> Co-Authored-By: Ross Smith <r-smith@ihug.co.nz> From-SVN: r47947
Philip Martin committed -
* dwarf2out.c (dw_val_class): Add dw_val_class_range_list. (DEBUG_RANGES_SECTION_LABEL): Define. (ranges_section_label): Add. (add_AT_range_list): New. (print_die, sizeof_die, value_format): Handle dw_val_class_range_list. (output_loc_list): Location expression length is always 2-byte. (output_die): Handle dw_val_class_range_list. (gen_lexical_block_die): Call add_AT_range_list. (dwarf2out_init): Initialize ranges_section_label. (dwarf2out_finish): Emit ranges_section_label. From-SVN: r47946
Jakub Jelinek committed -
c-typeck.c (digest_init): Allow initializing static storage duration objects with compound literals. * c-typeck.c (digest_init): Allow initializing static storage duration objects with compound literals. * doc/extend.texi (Compound literals): Document the extension. * gcc.dg/gnu89-init-1.c: New test. From-SVN: r47945
Jakub Jelinek committed -
From-SVN: r47943
Jason Merrill committed -
* emit-rtl.c (adjust_address_1): Always copy address to avoid shared rtl. From-SVN: r47942
Richard Henderson committed -
From-SVN: r47941
Richard Henderson committed -
(ensureCapacity_unsynchronized): Ensure we always get at least `minimumCapacity' characters in new buffer. From-SVN: r47940
Tom Tromey committed -
* cp-tree.h (DESTRUCTOR_DECL_PREFIX, DESTRUCTOR_NAME_P, ANON_PARMNAME_FORMAT, ANON_PARMNAME_P, DESTRUCTOR_NAME_FORMAT, THIS_NAME_P): Delete. * spew.c (read_process_identifier): Remove DESTRUCTOR_NAME_P, THIS_NAME_P and ANON_PARMNAME_P tests from warning about clash with internal naming scheme. * error.c (dump_decl): Remove DESTRUCTOR_NAME_P use. From-SVN: r47936
Jakub Jelinek committed -
* stmt.c (expand_end_case): Do subtraction of lower bound as trees to avoid overflow. From-SVN: r47932
Olivier Hainque committed -
* cppfiles.c (read_include_file): Set buffer size properly when file is shorter than expected. From-SVN: r47931
Douglas B Rupp committed -
From-SVN: r47930
Richard Kenner committed -
From-SVN: r47929
Nicola Pero committed -
From-SVN: r47928
Nicola Pero committed -
* doc/extend.texi (Deprecated Features): Deprecate implicit typename. Document that named return and initializer lists are now removed. cp: * decl.c (grokdeclarator): Deprecated implicit typename use. testsuite: * g++.old-deja/g++.brendan/crash56.C: Adjust implicit typename. * g++.old-deja/g++.jason/2371.C: Likewise. * g++.old-deja/g++.jason/template33.C: Likewise. * g++.old-deja/g++.jason/template34.C: Likewise. * g++.old-deja/g++.jason/template36.C: Likewise. * g++.old-deja/g++.oliva/typename1.C: Likewise. * g++.old-deja/g++.oliva/typename2.C: Likewise. * g++.old-deja/g++.other/typename1.C: Likewise. * g++.old-deja/g++.pt/inherit2.C: Likewise. * g++.old-deja/g++.pt/nontype5.C: Likewise. * g++.old-deja/g++.pt/typename11.C: Likewise. * g++.old-deja/g++.pt/typename14.C: Likewise. * g++.old-deja/g++.pt/typename16.C: Likewise. * g++.old-deja/g++.pt/typename3.C: Likewise. * g++.old-deja/g++.pt/typename4.C: Likewise. * g++.old-deja/g++.pt/typename5.C: Likewise. * g++.old-deja/g++.pt/typename7.C: Likewise. * g++.old-deja/g++.robertl/eb9.C: Likewise. From-SVN: r47927
Nathan Sidwell committed -
except.c (reachable_next_level): Handle ERT_UNKNOWN to avoid compiler warning about enumeration values not being... 2001-12-11 Roger Sayle <roger@eyesopen.com> * except.c (reachable_next_level): Handle ERT_UNKNOWN to avoid compiler warning about enumeration values not being handled. From-SVN: r47926
Roger Sayle committed -
From-SVN: r47924
GCC Administrator committed -
* config/fp-bit.c (pack_d): Cast to ``fractype'' for long long shifts. From-SVN: r47923
Momchil Velikov committed -
* config/alpha/alpha.h (TARGET_FIXUP_EV5_PREFETCH): New. * config/alpha/linux.h (TARGET_FIXUP_EV5_PREFETCH): New. * config/alpha/alpha.md (prefetch): New. From-SVN: r47922
Richard Henderson committed -
combine.c (simplify_and_const_int): Simplify (AND (PLUS X Y) C) if C has only low bits set and doesn't intersect... * combine.c (simplify_and_const_int): Simplify (AND (PLUS X Y) C) if C has only low bits set and doesn't intersect with X or Y. From-SVN: r47921
Richard Henderson committed -
* basic-block.h (flow_preorder_transversal_compute): Declare. * cfganal.c (flow_preorder_transversal_compute): Implement. From-SVN: r47920
John Wehle committed -
* cfganal.c (flow_depth_first_order_compute): Always increment dfsnum. From-SVN: r47919
John Wehle committed -
2001-12-11 Benjamin Kosnik <bkoz@redhat.com> * config/os/generic/bits/ctype_inline.h: Remove spaces. * config/os/gnu-linux/bits/ctype_noninline.h: Same. * include/bits/locale_facets.h (__num_base): Move double data members to first in class. * include/bits/locale_facets.tcc: Re-arrange, tweak. * src/locale.cc: Clean. *include/bits/stl_vector.h: Space typedefs. From-SVN: r47918
Benjamin Kosnik committed -
2001-11-30 Alan Matsuoka <alanm@redhat.com> * combine.c (combine_simplify_rtx) : Can't simplify cases that use mode class MODE_CC. From-SVN: r47917
Alan Matsuoka committed -
* expmed.c (expand_divmod): Ignore sdiv_pow2_cheap for modes in which there is no divide expander. From-SVN: r47916
Richard Henderson committed -
except.c (sjlj_find_directly_reachable_regions): Don't consider RNL_BLOCKED a directly reachable region. * except.c (sjlj_find_directly_reachable_regions): Don't consider RNL_BLOCKED a directly reachable region. (sjlj_assign_call_site_values): Trust directly_reachable. (sjlj_emit_dispatch_table): Likewise. From-SVN: r47915
Richard Henderson committed -
alpha.md (divmodsi_internal_er): Split, so that we represent the address load's dependency on the gp. * config/alpha/alpha.md (divmodsi_internal_er): Split, so that we represent the address load's dependency on the gp. (divmoddi_internal_er): Likewise. (divmodsi_internal_er_1, divmoddi_internal_er_1): New. From-SVN: r47914
Richard Henderson committed -
* emit-rtl.c (widen_memory_access): New. * expr.h (widen_memory_access): Declare it. * config/alpha/alpha.c (get_aligned_mem): Use it. From-SVN: r47913
Richard Henderson committed -
combine.c (simplify_shift_const): Move SHIFT_COUNT_TRUNCATED simplification above out of range check. * combine.c (simplify_shift_const): Move SHIFT_COUNT_TRUNCATED simplification above out of range check. From-SVN: r47912
Richard Henderson committed -
From-SVN: r47911
Dan Nicolaescu committed -
2001-12-11 Aldy Hernandez <aldyh@redhat.com> * output.h (regno_uninitialized): Make argument unsigned. * flow.c (regno_uninitialized): Make regno unsigned. From-SVN: r47910
Aldy Hernandez committed -
2001-12-11 David O'Brien <obrien@FreeBSD.org> * elfos.h (ENDFILE_SPEC, STARTFILE_SPEC): Do not define. * config/cris/cris.h (ENDFILE_SPEC): Define. * config/i386/i386elf.h ((ENDFILE_SPEC, STARTFILE_SPEC): Define. * config/pa/elf.h: Likewise. Approved by: Richard Henderson <rth@redhat.com> Message-ID: <20011211153437.A24619@redhat.com> From-SVN: r47909
David O'Brien committed -
* objc/objc-act.c (build_string_class_template): New. (build_objc_string_object): Call it. From-SVN: r47908
Richard Henderson committed
-
- 11 Dec, 2001 8 commits
-
-
sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance that is the parent of other generics... * sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance that is the parent of other generics, the instance body replaces the instance node. Retrieve the instance of the spec, which is the one that is visible in clients and within the body. From-SVN: r47906
Ed Schonberg committed -
* gnatmain.adb: Initial version. * gnatmain.ads: Initial version. * prj-attr.adb (Initialisation_Data): Add package Gnatstub. * snames.adb: Updated to match snames.ads. * snames.ads: Added Gnatstub. * prj-attr.adb (Initialization_Data): Change name from Initialisation_Data. * g-regpat.adb (Parse_Literal): Properly handle simple operators ?, + and * applied to backslashed expressions like \r. * g-os_lib.ads: String_List type added, Argument_List type is now subtype of String_List. * g-os_lib.ads: Change copyright to FSF Add comments for String_List type * g-dirope.adb (Expand_Path): Fix bug. (wrong length when adding a string to the buffer). From-SVN: r47905
Geert Bosch committed -
2001-12-11 Steve Ellcey <sje@cup.hp.com> * doc/tm.texi (FUNCTION_ARG_REG_LITTLE_ENDIAN): New. * defaults.h (FUNCTION_ARG_REG_LITTLE_ENDIAN): New. * calls.c (store_unaligned_arguments_into_pseudos): Check FUNCTION_ARG_REG_LITTLE_ENDIAN to see how structures are passed/returned. * expr.c (move_block_from_reg): Ditto. (move_block_from_reg): Ditto. (copy_blkmode_from_reg): Ditto. * stmt.c (expand_return): Ditto. * stor-layout.c (compute_record_mode): If FUNCTION_ARG_REG_LITTLE_ENDIAN is set then check MEMBER_TYPE_FORCES_BLK even if mode == VOIDmode. * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Set to true so that Structures of one field are still treated as structures. (FUNCTION_ARG_REG_LITTLE_ENDIAN): New, set it to true. (FUNCTION_ARG_PADDING): Set to ia64_hpux_function_arg_padding(). (PAD_VARARGS_DOWN): Modify from default to not pad structures down. * config/ia64/ia64-protos.h (ia64_hpux_function_arg_padding): New. * config/ia64/ia64.c (ia64_hpux_function_arg_padding): New function to special case handling of structure padding. From-SVN: r47904
Steve Ellcey committed -
at end of line. From-SVN: r47903
Matthias Klose committed -
* freeze.adb: Make Freeze_Fixed_Point_Type visible, for use in sem_attr. * sem_attr.adb: Simplify previous fix for Address. (Set_Bounds): If prefix is a non-frozen fixed-point type, freeze now, to avoid anomalies where the bound of the type appears to raise constraint error. * lib-xref.adb (Output_Refs): Make sure pointers are always properly handled. * sem_ch12.adb (Analyze_Subprogram_Instantiation): Check for a renamed unit before checking for recursive instantiations. * prj.ads: Add comments for some of the fields. From-SVN: r47902
Geert Bosch committed -
* lib-xref.adb (Output_Refs): Don't output type references outside the main unit if they are not otherwise referenced. * sem_attr.adb (Analyze_attribute, case Address and Size): Simplify code and diagnose additional illegal uses * sem_util.adb (Is_Object_Reference): An indexed component is an object only if the prefix is. * g-diopit.adb: Initial version. * g-diopit.ads: Initial version. * g-dirope.adb: (Expand_Path): Avoid use of Unbounded_String (Find, Wildcard_Iterator): Moved to child package Iteration * Makefile.in: Added g-diopit.o to GNATRTL_NONTASKING_OBJS * sem_attr.adb: Minor reformatting From-SVN: r47901
Geert Bosch committed -
2001-12-11 Daniel Berlin <dan@cgsoftware.com> * sched-rgn.c (CONST_BASED_ADDRESS_P): CONST_INT -> CONSTANT_P. (may_trap_exp): Stores only are risk if they trap, too, not just if code == MEM. From-SVN: r47900
Daniel Berlin committed -
* sem_ch3.adb: Clarify some ???. * exp_util.adb (Must_Be_Aligned): Removed, replaced by Exp_Pakd.Known_Aligned_Enough * sem_ch13.adb (Check_Address_Alignment): Removed, extended version is moved to Exp_Ch13. From-SVN: r47899
Geert Bosch committed
-