- 11 Jan, 2005 12 commits
-
-
2005-01-11 Paolo Carlini <pcarlini@suse.de> * src/istream.cc (basic_istream<char>::ignore(streamsize), basic_istream<char>::ignore(streamsize, int_type), basic_istream<wchar_t>::ignore(streamsize), basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert 2005-01-05 change: actually, the previous behavior is conforming and consistent with that of get(char_type*, streamsize, char_type), albeit slightly different from that of 3.3/3.4 in a corner case due to the use of snextc. * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, int_type)): Likewise. * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove. * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise. From-SVN: r93189
Paolo Carlini committed -
* g++.dg/ext/altivec-3.C (baz, baz2): Check one component of structs at a time. * g++.dg/ext/altivec_check.h: Support compiling as C. From-SVN: r93184
Alan Modra committed -
2005-01-11 Paolo Carlini <pcarlini@suse.de> * include/tr1/type_traits: Implement alignment_of and aligned_storage. * testsuite/tr1/4_metaprogramming/other_transformations/ aligned_storage/aligned_storage.cc: New. * testsuite/tr1/4_metaprogramming/other_transformations/ aligned_storage/typedefs.cc: Likewise. * testsuite/tr1/4_metaprogramming/type_properties/ alignment_of/alignment_of.cc: Likewise. * testsuite/tr1/4_metaprogramming/type_properties/ alignment_of/typedefs.cc: Likewise. From-SVN: r93183
Paolo Carlini committed -
s390.c (override_options): Return error if -mbackchain, -mpacked-stack and -mhard-float are used together. 2005-01-11 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.c (override_options): Return error if -mbackchain, -mpacked-stack and -mhard-float are used together. (s390_va_start): Remove the backchain && packed-stack special case. (s390_gimplify_va_arg): Likewise. * doc/invoke.texi: Remove the ABI incompatibility note. From-SVN: r93182
Andreas Krebbel committed -
2005-01-11 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.c (struct s390_frame_layout): Remove save_backchain_p. (s390_frame_info, s390_emit_prologue): Replace occurrences of save_backchain_p with TARGET_BACKCHAIN. From-SVN: r93181
Andreas Krebbel committed -
PR target/18916 * builtins.c (std_gimplify_va_arg_expr): Adjust alignment of *ap. * expr.h (struct locate_and_pad_arg_data): Add "boundary". * function.c (locate_and_pad_parm): Set new field. (assign_parm_find_stack_rtl): Use it instead of FUNCTION_ARG_BOUNDARY. Tweak where_pad test to include "none". Always set mem align for stack_parm. (assign_parm_adjust_stack_rtl): Discard stack_parm if alignment not sufficient for type. (assign_parm_setup_block): If stack_parm is zero on entry, always make a new stack local. Block move old stack parm if necessary to new aligned stack local. (assign_parm_setup_stack): Use a block move to handle potentially misaligned entry_parm. (assign_parms_unsplit_complex): Specify required alignment when creating stack local. * calls.c (compute_argument_addresses): Override alignment of stack arg calculated from its type with the alignment given by FUNCTION_ARG_BOUNDARY. (store_one_arg): Likewise. From-SVN: r93179
Alan Modra committed -
gcc/ 2005-01-11 Jan Beulich <jbeulich@novell.com> * config/ia64/ia64.md (zero_extendsidi2): Replace zxt4 by addp4. Change respective itanium_class attribute to ialu. (shladdp4_internal): New. * config/ia64/predicates.md (shladd_log2_operand): New. From-SVN: r93178
Jan Beulich committed -
* expr.c (store_constructor): Use rtvec_alloc instead of alloca+gen_rtvec_v, and an incorrect number passed to alloca. From-SVN: r93177
Richard Henderson committed -
From-SVN: r93176
Kazu Hirata committed -
* varasm.c (default_section_type_flags_1): Don't set SECTION_SMALL. * config/ia64/ia64.c (TARGET_SECTION_TYPE_FLAGS): Define. (TARGET_RWRELOC): Define. (ia64_rwreloc_section_type_flags): Delete. (ia64_section_type_flags): New function. * config/ia64/hpux.h (TARGET_SECTION_TYPE_FLAGS): Don't define. (TARGET_RWRELOC): Define. From-SVN: r93175
Alan Modra committed -
Patch from David Mosberger to fix -fno-omit-frame-pointer bug. PR target/18987 * config/ia64/ia64.c (process_set): For alloc insn, only call process_epilogue is !frame_pointer_needed. From-SVN: r93174
David Mosberger committed -
From-SVN: r93162
GCC Administrator committed
-
- 10 Jan, 2005 18 commits
-
-
PR c++/19355 * c-common.c (c_common_truthvalue_conversion): TRUTH_NOT_EXPR is a unary operator and can't be treated as a binary/comparison operator. * g++.dg/expr/pr19355-1.C: New test case. From-SVN: r93159
Roger Sayle committed -
From-SVN: r93157
Tom Tromey committed -
* config/i386/i386.c (ix86_function_value): Use type_natural_mode. (ix86_return_in_memory): Likewise. (function_arg_advance): Likewise. Mirror structure in function_arg for choosing register to advance. From-SVN: r93156
Richard Henderson committed -
* java/lang/Package.java (getPackages): Use VMClassLoader when appropriate. (getPackage): Likewise. * prims.cc (_Jv_CreateJavaVM): Call _Jv_RegisterBootstrapPackages. * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare. * java/lang/VMClassLoader.java (getPackage): Rewrote. (getPackages): Likewise. (definedPackages): New field. (definePackageForNative): New method. * java/lang/Class.h (_Jv_FindClassInCache): Updated. * java/lang/natVMClassLoader.cc (loadClass): Updated. * defineclass.cc (handleClassBegin): Use ClassLoader.findLoadedClass. * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Rewrote. (struct _Jv_LoaderInfo): Removed. (initiated_classes): Likewise. (_Jv_UnregisterClass): Don't use initiated_classes. (_Jv_FindClassInCache): Likewise. Removed 'loader' argument. (_Jv_FindClass): Register classes found during boostrap. (BOOTSTRAP_CLASS_LIST_SIZE): New define. (bootstrap_class_list): New global. (bootstrap_index): Likewise. (_Jv_RegisterBootstrapPackages): New function. * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call definePackageForNative. (findClass): Updated. * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative): New method. From-SVN: r93155
Tom Tromey committed -
From-SVN: r93154
Kazu Hirata committed -
From-SVN: r93153
Kazu Hirata committed -
PR libgcj/18868: * include/jvm.h (_Jv_Linker::find_field): Declare. (_Jv_Linker::find_field_helper): Likewise. * link.cc (find_field_helper): New method. (find_field): Likewise. (resolve_pool_entry): Use it. Throw NoSuchFieldError when field not found. (link_symbol_table): Use find_field. From-SVN: r93151
Tom Tromey committed -
2005-01-10 Michael Koch <konqueror@gmx.de> PR libgcj/18014 * java/util/Locale.java (Locale): Don't uppercase variant. (getISOCountries): Fixed typo in javadoc. From-SVN: r93150
Michael Koch committed -
2005-01-10 Michael Koch <konqueror@gmx.de> * java/util/SimpleTimeZone.java (checkRule): Throw IllegalArgumentException on invalid month values. * java/util/TimeZone.java (setID): Throw NullPointerException if needed. 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org> * java/util/SimpleTimeZone.java (getOffset): offset end date with daylight savings From-SVN: r93149
Michael Koch committed -
From-SVN: r93147
Ranjit Mathew committed -
* testsuite/libjava.compile/PR19277.java: New file for PR java/19277. * testsuite/libjava.compile/PR19277.xfail: Likewise. From-SVN: r93146
Ranjit Mathew committed -
PR java/19277 * check-init.c (check_init): Take care of references that do not have an explicit final variable declaration (e.g. array length access) for pre/post in/de-crement operators. From-SVN: r93144
Ranjit Mathew committed -
2005-01-10 Paolo Carlini <pcarlini@suse.de> * Makefile.in: Regenerate. * libmath/Makefile.in: Likewise. * libsupc++/Makefile.in: Likewise. * po/Makefile.in: Likewise. * src/Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. 2005-01-10 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_algobase.h (lexicographical_compare): Fix concept check. From-SVN: r93143
Paolo Carlini committed -
2005-01-10 Mark Dettinger <dettinge@de.ibm.com> * config/s390/s390.c (struct processor_costs): 4 new fields: ddbr, ddr, debr, der. (s390_rtx_costs): More precise handling of divide instructions. From-SVN: r93142
Mark Dettinger committed -
From-SVN: r93140
David Edelsohn committed -
2005-01-10 Laurent GUERBY <laurent@guerby.net> * ada/acats/tests/c4/c456001.a: New from ACATS 2.5L * ada/acats/tests/c3/c392014.a: Update from ACATS 2.5L * ada/acats/tests/c3/c92005b.ada: Likewise. * ada/acats/tests/c3/cxb3012.a: Likewise. * ada/acats/norun.lst: Add c380004 and c953002, add PR From-SVN: r93135
Laurent GUERBY committed -
gcc/ 2005-01-10 Jan Beulich <jbeulich@novell.com> * config/ia64/ia64.c (ia64_in_small_data_p): Also handle the section names resulting from -ffunction-sections/-fdata-sections and linkonce ones. * varasm.c (default_section_type_flags_1): Also set SECTION_SMALL based on the section name. Rearrange the section name comparison logic slightly so that each section name is compared against at most once. From-SVN: r93134
Jan Beulich committed -
From-SVN: r93126
GCC Administrator committed
-
- 09 Jan, 2005 10 commits
-
-
invoke.texi (Code Gen Options): Add PowerPC to the list of targets for which -fPIC reduces limitations on the... * doc/invoke.texi (Code Gen Options): Add PowerPC to the list of targets for which -fPIC reduces limitations on the GOT size. From-SVN: r93123
Ben Elliston committed -
2005-01-09 Paul Brook <paul@codesourcery.com> PR fortran/17675 * trans-common.c (current_common, current_offset): Remove. (create_common): Add head argument. (align_segment): New function. (apply_segment_offset): New function. (translate_common): Merge code from new_segment. Handle alignment. (new_segment): Remove. (finish_equivalences): Ensure proper alignment. testsuite/ * gfortran.dg/common_2.f90: New file. * gfortran.dg/common_3.f90: New file. From-SVN: r93122
Paul Brook committed -
* fold-const.c (fold): Also handle EXACT_DIV_EXPR when folding X/C1 cmpop C2. From-SVN: r93121
Falk Hueffner committed -
PR target/18720 * collect2.c (main): Set aixrtl_flag for -brtl option. (resolve_lib_name): Search for .so file extension before .a if aixrtl_flag set. From-SVN: r93119
David Edelsohn committed -
From-SVN: r93116
Zdenek Dvorak committed -
re PR libgcj/17069 (InetAddress.getLocalHost() returns broken InetAddress object if hostname not set) 2005-01-09 Michael Koch <konqueror@gmx.de> PR libgcj/17069 * java/net/InetAddress.java (getLocalHost): Throw UnknownHostException if local hostname cannot be determined. From-SVN: r93115
Michael Koch committed -
* tree-vectorizer.c (vect_enhance_data_refs_alignment): Add dump prints. (vect_analyze_data_refs_alignment): Add dump prints. * gcc.dg/vect/pr18400.c: Add checks for alignment prints. * gcc.dg/vect/pr18425.c: Add checks for alignment prints. * gcc.dg/vect/pr18536.c: Add checks for alignment prints. * gcc.dg/vect/vect-1.c: Add checks for alignment prints. * gcc.dg/vect/vect-2.c: Add checks for alignment prints. * gcc.dg/vect/vect-3.c: Add checks for alignment prints. * gcc.dg/vect/vect-4.c: Add checks for alignment prints. * gcc.dg/vect/vect-5.c: Add checks for alignment prints. * gcc.dg/vect/vect-6.c: Add checks for alignment prints. * gcc.dg/vect/vect-7.c: Add checks for alignment prints. * gcc.dg/vect/vect-13.c: Add checks for alignment prints. * gcc.dg/vect/vect-17.c: Add checks for alignment prints. * gcc.dg/vect/vect-18.c: Add checks for alignment prints. * gcc.dg/vect/vect-19.c: Add checks for alignment prints. * gcc.dg/vect/vect-20.c: Add checks for alignment prints. * gcc.dg/vect/vect-21.c: Add checks for alignment prints. * gcc.dg/vect/vect-22.c: Add checks for alignment prints. * gcc.dg/vect/vect-23.c: Add checks for alignment prints. * gcc.dg/vect/vect-24.c: Add checks for alignment prints. * gcc.dg/vect/vect-25.c: Add checks for alignment prints. * gcc.dg/vect/vect-26.c: Add checks for alignment prints. * gcc.dg/vect/vect-27.c: Add checks for alignment prints. * gcc.dg/vect/vect-28.c: Add checks for alignment prints. * gcc.dg/vect/vect-29.c: Add checks for alignment prints. * gcc.dg/vect/vect-31.c: Add checks for alignment prints. * gcc.dg/vect/vect-32.c: Add checks for alignment prints. * gcc.dg/vect/vect-33.c: Add checks for alignment prints. * gcc.dg/vect/vect-34.c: Add checks for alignment prints. * gcc.dg/vect/vect-35.c: Add checks for alignment prints. * gcc.dg/vect/vect-36.c: Add checks for alignment prints. * gcc.dg/vect/vect-37.c: Add checks for alignment prints. * gcc.dg/vect/vect-40.c: Add checks for alignment prints. * gcc.dg/vect/vect-41.c: Add checks for alignment prints. * gcc.dg/vect/vect-42.c: Add checks for alignment prints. * gcc.dg/vect/vect-43.c: Add checks for alignment prints. * gcc.dg/vect/vect-44.c: Add checks for alignment prints. * gcc.dg/vect/vect-46.c: Add checks for alignment prints. * gcc.dg/vect/vect-47.c: Add checks for alignment prints. * gcc.dg/vect/vect-48.c: Add checks for alignment prints. * gcc.dg/vect/vect-50.c: Add checks for alignment prints. * gcc.dg/vect/vect-52.c: Add checks for alignment prints. * gcc.dg/vect/vect-53.c: Add checks for alignment prints. * gcc.dg/vect/vect-56.c: Add checks for alignment prints. * gcc.dg/vect/vect-58.c: Add checks for alignment prints. * gcc.dg/vect/vect-60.c: Add checks for alignment prints. * gcc.dg/vect/vect-62.c: Add checks for alignment prints. * gcc.dg/vect/vect-64.c: Add checks for alignment prints. * gcc.dg/vect/vect-65.c: Add checks for alignment prints. * gcc.dg/vect/vect-66.c: Add checks for alignment prints. * gcc.dg/vect/vect-67.c: Add checks for alignment prints. * gcc.dg/vect/vect-68.c: Add checks for alignment prints. * gcc.dg/vect/vect-69.c: Add checks for alignment prints. * gcc.dg/vect/vect-72.c: Add checks for alignment prints. * gcc.dg/vect/vect-73.c: Add checks for alignment prints. * gcc.dg/vect/vect-74.c: Add checks for alignment prints. * gcc.dg/vect/vect-75.c: Add checks for alignment prints. * gcc.dg/vect/vect-76.c: Add checks for alignment prints. * gcc.dg/vect/vect-77.c: Add checks for alignment prints. * gcc.dg/vect/vect-78.c: Add checks for alignment prints. * gcc.dg/vect/vect-80.c: Add checks for alignment prints. * gcc.dg/vect/vect-86.c: Add checks for alignment prints. * gcc.dg/vect/vect-87.c: Add checks for alignment prints. * gcc.dg/vect/vect-88.c: Add checks for alignment prints. * gcc.dg/vect/vect-89.c: Add checks for alignment prints. * gcc.dg/vect/vect-all.c: Add checks for alignment prints. * gcc.dg/vect/vect-1.c: Fix spelling. * gcc.dg/vect/vect-10.c: Fix spelling. * gcc.dg/vect/vect-11.c: Fix spelling. * gcc.dg/vect/vect-12.c: Fix spelling. * gcc.dg/vect/vect-14.c: Fix spelling. * gcc.dg/vect/vect-15.c: Fix spelling. * gcc.dg/vect/vect-16.c: Fix spelling. * gcc.dg/vect/vect-46.c: Remove obsolete comment. * gcc.dg/vect/vect-64.c: Fix comments. * gcc.dg/vect/vect-none.c: Remove vectorizable loop. Co-Authored-By: Ira Rosen <irar@il.ibm.com> From-SVN: r93114
Dorit Naishlos committed -
2005-01-09 Ira Rosen <irar@il.ibm.com> * tree-vectorizer.c (vect_analyze_offset_expr): Use expr_invariant_in_loop_p. Initialize outputs first thing in the function. (vect_update_ivs_after_vectorizer): Call initial_condition_in_loop_num. (vect_is_simple_iv_evolution): Call initial_condition_in_loop_num. (vect_analyze_pointer_ref_access): Check that the initial condition of the access function is loop invariant. From-SVN: r93113
Ira Rosen committed -
* parse.y (process_imports): Allocate (and free) original_name only when not already defined. * jcf-parse.c (read_class): Free results of find_class() and lrealpath(). (java_parse_file): Keep pointer to head of file_list and free when done. Free result of lrealpath(). From-SVN: r93109
Mark Wielaard committed -
* gcc.dg/pr18241-1.c: Fix dg-do parameter. * gcc.dg/pr18241-2.c: Likewise. * gcc.dg/pr18241-3.c: Likewise. * gcc.dg/pr18241-4.c: Likewise. * gcc.dg/pr18241-5.c: Likewise. From-SVN: r93108
Manfred Hollstein committed
-