- 24 Apr, 2002 17 commits
-
-
* expr.c (PRE_JSR): Call NOTE_LABEL for return address. * java-tree.h (BCODE_RETURN_TARGET): Removed - never set. (BCODE_TARGET): Remove BCODE_RETURN_TARGET. From-SVN: r52735
Per Bothner committed -
* sh.c (sh_va_arg): If argument was passed by reference, dereference the pointer. From-SVN: r52734
J"orn Rennecke committed -
* sh.h (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic. testsuite: * gcc.dg/20020312-2.c: Add SH target. From-SVN: r52733
J"orn Rennecke committed -
* sh.md (divsi3_i4_media): Use match_operand for input values rather than hard registers. (divsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values unnecessarily through hard registers. Keep copies of pseudo registers outside of the libcall sequence. * sh.md (casesi_shift_media): Add modes. From-SVN: r52732
J"orn Rennecke committed -
* sh.h (RETURN_IN_MEMORY): Return variable size BLKmode values in memory. From-SVN: r52731
J"orn Rennecke committed -
* attribs.c (c_common_attribute_table): Move table and handlers to c-common.c. (format_attribute_table, lang_attribute_table, lang_attribute_common): Remove. (init_attributes): Replace NULL pointers with pointers to the empty table. (handle_packed_attribute, handle_nocommon_attribute, handle_common_attribute, handle_noreturn_attribute, handle_noinline_attribute, handle_always_inline_attribute, handle_used_attribute, handle_unused_attribute, handle_const_attribute, handle_transparent_union_attribute, handle_constructor_attribute, handle_destructor_attribute, handle_mode_attribute, handle_section_attribute, handle_aligned_attribute, handle_weak_attribute, handle_alias_attribute, handle_visibility_attribute, handle_no_instrument_function_attribute, handle_malloc_attribute, handle_no_limit_stack_attribute, handle_pure_attribute, handle_deprecated_attribute, handle_vector_size_attribute, vector_size_helper): Move to c-common.c. * c-common.c (c_common_attribute_table, handle_packed_attribute, handle_nocommon_attribute, handle_common_attribute, handle_noreturn_attribute, handle_noinline_attribute, handle_always_inline_attribute, handle_used_attribute, handle_unused_attribute, handle_const_attribute, handle_transparent_union_attribute, handle_constructor_attribute, handle_destructor_attribute, handle_mode_attribute, handle_section_attribute, handle_aligned_attribute, handle_weak_attribute, handle_alias_attribute, handle_visibility_attribute, handle_no_instrument_function_attribute, handle_malloc_attribute, handle_no_limit_stack_attribute, handle_pure_attribute, handle_deprecated_attribute, handle_vector_size_attribute, vector_size_helper): Move from attribs.c. * c-common.h (c_common_attribute_table, c_common_format_attribute_table): New. * c-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine. * langhooks-def.h (LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE, LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, LANG_HOOKS_ATTRIBUTE_TABLE): New. (LANG_HOOKS_INITIALIZER): Update. * langhooks.h (struct lang_hooks): 3 new attribute hooks. * target-def.h (TARGET_ATTRIBUTE_TABLE): Default to NULL. * target.h: Update comment. * tree.c (default_target_attribute_table): Remove. * tree.h (default_target_attribute_table, format_attribute_table, lang_attribute_table, lang_attribute_common): Remove. ada: * misc.c (gnat_init): Don't set lang_attribute_common. cp: * cp-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE, LANG_HOOKS_ATTRIBUTE_TABLE): Redefine. * cp-tree.h (cp_attribute_table): Rename. * decl.c (lang_attribute_table): Remove declaration. (cxx_init_decl_processing): Don't set it. * tree.c (cp_attribute_table): Rename. objc: * objc-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine. From-SVN: r52730
Neil Booth committed -
* gcc.c-torture/compile/labels-3.x: New file, don't assemble the compiler output on mips*-*-irix*. From-SVN: r52726
Kaveh R. Ghazi committed -
* dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector. * dwarf2out.c (dwarf_attr_name): Support it. (gen_array_type_die): Emit it. (lookup_type_die): No special handling for VECTOR_TYPE. (gen_type_die): Hand VECTOR_TYPE off to gen_array_type_die. From-SVN: r52724
Jason Merrill committed -
From-SVN: r52723
Richard Henderson committed -
2002-04-24 David S. Miller <davem@redhat.com> PR target/6420 * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Return false if 32-bit Sparc and current_function_returns_struct is true. From-SVN: r52720
David S. Miller committed -
From-SVN: r52715
Jan Hubicka committed -
2002-04-24 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/altivec.h: Cleanup file. Add non individual variants. (vec_vaddubm): New. (vec_vadduhm): New. (vec_vadduwm): New. (vec_vaddfp): New. (vec_vaddcuw): New. (vec_vaddubs): New. (vec_vaddsbs): New. (vec_vadduhs): New. (vec_vadduws): New. (vec_vaddsws): New. (vec_vand): New. (vec_vandc): New. (vec_vavgub): New. (vec_vavgsb): New. (vec_vavguh): New. (vec_vavgsh): New. (vec_vavguw): New. (vec_vavgsw): New. (vec_vrfip): New. (vec_vcmpbfp): New. (vec_vcmpequb): New. (vec_vcmpequh): New. (vec_vcmpequw): New. (vec_vcmpeqfp): New. (vec_vcmpgefp): New. (vec_vcmpgtub): New. (vec_vcmpgtsb): New. (vec_vcmpgtuh): New. (vec_vcmpgtsh): New. (vec_vcmpgtuw): New. (vec_vcmpgtsw): New. (vec_vcmpgtfp): New. (vec_vcmpgefp): New. (vec_vcfux): New. (vec_vcfsx): New. (vec_vctsxs): New. (vec_vctuxs): New. (vec_vexptefp): New. (vec_vrfim): New. (vec_lvx): New. (vec_lvebx): New. (vec_lvehx): New. (vec_lde): Add vector float variant. (vec_lvewx): New. (vec_lvxl): New. (vec_vlogefp): New. (vec_vmaddfp): New. (vec_vmhaddshs): New. (vec_vmaxub): New. (vec_vmaxsb): New. (vec_vmaxuh): New. (vec_vmaxsh): New. (vec_vmaxuw): New. (vec_vmaxsw): New. (vec_vmaxsw): New. (vec_vmaxfp): New. (vec_vmrghb): New. (vec_vmrghh): New. (vec_vmrghw): New. (vec_vmrglb): New. (vec_vmrglh): New. (vec_vmrglw): New. (vec_vminub): New. (vec_vminsb): New. (vec_vminuh): New. (vec_vminsh): New. (vec_vminuw): New. (vec_vminsw): New. (vec_vminfp): New. (vec_vmladduhm): New. (vec_vmhraddshs): New. (vec_msumubm): New. (vec_vmsummbm): New. (vec_vmsumuhm): New. (vec_vmsumshm): New. (vec_vmsumuhs): New. (vec_vmsumshs): New. (vec_vmuleub): New. (vec_vmulesb): New. (vec_vmuleuh): New. (vec_vmulesh): New. (vec_vmuloub): New. (vec_mulosb): New. (vec_vmulouh): New. (vec_vmulosh): New. (vec_vnmsubfp): New. (vec_vnor): New. (vec_vor): New. (vec_vpkuhum): New. (vec_vpkuwum): New. (vec_vpkpx): New. (vec_vpkuhus): New. (vec_vpkshss): New. (vec_vpkuwus): New. (vec_vpkswss): New. (vec_vpkshus): New. (vec_vpkswus): New. (vec_vperm): New. (vec_vrefp): New. (vec_vrlb): New. (vec_vrlh): New. (vec_vrlw): New. (vec_vrfin): New. (vec_vrsqrtefp): New. (vec_vsel): New. (vec_vslb): New. (vec_vslh): New. (vec_vslw): New. (vec_vsldoi): New. (vec_vsl): New. (vec_vslo): New. (vec_vspltb): New. (vec_vsplth): New. (vec_vspltw): New. (vec_vspltisb): New. (vec_vspltish): New. (vec_vspltisw): New. (vec_vsrb): New. (vec_vsrh): New. (vec_vsrw): New. (vec_vsrab): New. (vec_vsrah): New. (vec_vsraw): New. (vec_vsr): New. (vec_vsro): New. (vec_stvx): New. (vec_stvebx): New. (vec_stvehx): New. (vec_stvewx): New. (vec_stvxl): New. (vec_vsububm): New. (vec_vsubuhm): New. (vec_vsubuwm): New. (vec_vsubfp): New. (vec_vsubcuw): New. (vec_vsububs): New. (vec_vsubsbs): New. (vec_vsubuhs): New. (vec_vsubshs): New. (vec_vsubuws): New. (vec_vsubsws): New. (vec_vsum4ubs): New. (vec_vsum4sbs): New. (vec_vsum4shs): New. (vec_vsum2sws): New. (vec_vsumsws): New. (vec_vrfiz): New. (vec_vupkhsb): New. (vec_vupkhpx): New. (vec_vupkhsh): New. (vec_vupklsb): New. (vec_vupklpx): New. (vec_vupklsh): New. (vec_vxor): New. From-SVN: r52711
Aldy Hernandez committed -
PR c++/6331 * method.c (do_build_copy_constructor): Use cp_build_qualified_type. * typeck.c (build_modify_expr): Allow arrays to differ in cv-quals. From-SVN: r52709
Jason Merrill committed -
From-SVN: r52708
GCC Administrator committed -
From-SVN: r52703
Per Bothner committed -
2002-04-23 Adam Megacz <adam@xwt.org> * win32.cc, include/win32.cc (backtrace): Added this function because Win32 does not supply it. From-SVN: r52701
Adam Megacz committed -
* include/std/std_fstream.h (basic_filebuf::sync): Hoist unconditional flush on lower-layer handle to here... * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): ...from here. Optimize remaining _M_file.sync() call pattern. * testsuite/27_io/narrow_stream_objects.cc (test04): New test. (test05): Likewise. From-SVN: r52699
Loren J. Rittle committed
-
- 23 Apr, 2002 23 commits
-
-
PR c++/6395 * decl.c (make_rtl_for_nonlocal_decl): Don't mess with #pragma i/i stuff for comdats. From-SVN: r52696
Jason Merrill committed -
fold-const.c (split_tree): Add MINUS_LITP parameter; separate added literals from substracted literals. * fold-const.c (split_tree): Add MINUS_LITP parameter; separate added literals from substracted literals. (associate_trees): Don't convert MINUS_EXPR into PLUS_EXPR. (fold) [associate]: Preserve MINUS_EXPR if needed. * gcc.c-torture/execute/20020423-1.c: New. From-SVN: r52695
Eric Botcazou committed -
* doc/install.texi: Clarify which versions of alpha*-dec-osf* are obsoleted. From-SVN: r52691
Zack Weinberg committed -
* jvspec.c (lang_specific_driver): Use --resource, not -R. Also recognize `-fcompile-resource='. * gcj.texi (Invoking gcj): Use --resource, not -R. Expanded text a bit. From-SVN: r52690
Tom Tromey committed -
From-SVN: r52689
Tom Tromey committed -
* include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for output-only filebufs. * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate): Likewise. (basic_filebuf::_M_set_determinate): Likewise. From-SVN: r52685
Jason Merrill committed -
PR libstdc++/6414 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return value properly in the trivial case. * testsuite/27_io/istream_seeks.cc (test04): Make sure that tellg() returns the right value after a read. From-SVN: r52679
Jason Merrill committed -
* parse.y (check_class_key): Allow KEY to be union/enum/struct/class node with attributes. * g++.dg/parse/attr1.C: New test. From-SVN: r52678
Jakub Jelinek committed -
* config/cpu/mmix/bits/cpu_limits.h: New file. * configure.target (CPULIMITSH): Use it. From-SVN: r52674
Hans-Peter Nilsson committed -
From-SVN: r52672
David O'Brien committed -
2002-04-23 David O'Brien <obrien@FreeBSD.org> * cp/g++spec.c: Use profiled libstdc++ and libm with -p/-pg. * config/freebsd.h (MATH_LIBRARY_PROFILE): Use the _p verions of these libraries. Approved by: Richard Henderson <rth@redhat.com> Message-ID: <20020422223253.A32678@redhat.com> From-SVN: r52671
David O'Brien committed -
2002-04-23 David O'Brien <obrien@FreeBSD.org> * g++spec.c: Use profiled libstdc++ and libm with -p/-pg. * config/freebsd.h (MATH_LIBRARY_PROFILE): Use the _p verions of these libraries. Approved by: Richard Henderson <rth@redhat.com> Message-ID: <20020422223253.A32678@redhat.com> From-SVN: r52667
David O'Brien committed -
2002-04-23 David O'Brien <obrien@FreeBSD.org> * config/freebsd.h(OBJECT_FORMAT_ELF): Define. Approved by: Richard Henderson <rth@redhat.com> Message-ID: <20020422223325.B32678@redhat.com> From-SVN: r52666
David O'Brien committed -
From-SVN: r52665
Philipp Thomas committed -
* i386.c (ix86_output_addr_diff_elt): Avoid x86_64 binutils bug workaround. (ix86_expand_int_movcc): Avoid x86_64 compilation chrash. (ix86_expand_clrstr): Fix typo. * loop.c (gen_load_of_final_value): New. (loop_givs_rescan, strength_reduce, check_dbra_loop): Use it. From-SVN: r52664
Jan Hubicka committed -
2002-04-23 Roger Sayle <roger@eyesopen.com> * builtins.c (builtin_memset_gen_str): New function. (expand_builtin_memset): Optimize the case of constant length, but unknown value. testsuite: * gcc.c-torture/execute/string-opt-17.c: New test case. * gcc.c-torture/execute/memset-2.c: New test case. From-SVN: r52662
Roger Sayle committed -
PR c++/6256: * pt.c (tsubst_friend_class): Handle templates with explicit nested names. PR c++/6331: * typeck.c (merge_types): Remember the cv-qualification of pointer types when merging them. PR c++/6256: * g++.dg/template/friend5.C: New test. PR c++/6331: * g++.dg/template/qual1.C: Likewise. From-SVN: r52661
Mark Mitchell committed -
2002-04-23 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/altivec.h (vec_step): Remove extraneous parentheses. (vec_ctu): Cast return. From-SVN: r52657
Aldy Hernandez committed -
PR target/6413 * function.h: (struct function): Add profile_label_no field. (current_function_profile_label_no): Define. * function.c: (profile_label_no): New static var. (expand_function_start): Increment it, and copy to current_function_profile_label_no. * output.h (profile_label_no): Delete. * final.c (profile_label_no): Delete. (profile_function): Use current_function_profile_label_no. (final_end_function): Don't increment profile_label_no here. * config/i386/i386.c (ix86_osf_output_function_prologue): Replace profile_label_no with current_function_profile_label_no. * config/pa/pa.c (current_function_number): Delete. (pa_output_function_prologue): Don't output profile label here. (hppa_profile_hook): Use label_no param rather than current_function_number. (FUNC_BEGIN_PROLOG_LABEL): Move to .. * config/pa/pa.h: .. here. (FUNCTION_PROFILER): Output profile label here. From-SVN: r52656
Alan Modra committed -
From-SVN: r52655
GCC Administrator committed -
* Makefile.am (toolexeclib_LTLIBRARIES): Remove. (noinst_LTLIBRARIES): Add libgcjgc.la. * Makefile.in: Rebuild. From-SVN: r52651
Jeff Sturm committed -
2002-04-22 Eric Christopher <echristo@redhat.com> * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Revert patch of 2002-04-09 due to binutils issues. (FUNCTION_ARG_REGNO_P): Ensure even numbered float register. From-SVN: r52649
Eric Christopher committed -
2002-04-19 David O'Brien <obrien@FreeBSD.org> * encoding.c (MAX, MIN, ROUNDING): #undef before defining. Approved by: David S. Miller <davem@redhat.com> Message-Id: <20020419.184825.67430590.davem@redhat.com> From-SVN: r52648
David O'Brien committed
-