Commit Graph

91767 Commits

Author SHA1 Message Date
GCC Administrator
525dbc9afb Daily bump.
From-SVN: r144282
2009-02-19 00:16:37 +00:00
Jack Howarth
5842753d9d re PR testsuite/38165 (g++.dg/pubtypes.C fails at -m32/-m64 on i686-apple-darwin9)
2009-02-18  Jack Howarth <howarth@bromo.med.uc.edu>

	PR testsuite/38165
	* g++.dg/pubtypes.C: Adopt Radar 4535968 fix to testcase.

From-SVN: r144277
2009-02-18 23:17:56 +00:00
Jack Howarth
4a877673b0 re PR testsuite/38166 (g++.dg/ext/visibility/class1.C fails at -m64 on i686-apple-darwin9)
2009-02-18  Jack Howarth <howarth@bromo.med.uc.edu>

	PR testsuite/38166
	* g++.dg/ext/visibility/class1.C: Revert revision 122348
	and skip on Darwin.

From-SVN: r144274
2009-02-18 22:19:26 +00:00
H.J. Lu
fd7b26033c re PR target/39224 (ABI attribute doesn't work with long double)
2009-02-18  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/39224
	* config/i386/i386.c (ix86_return_in_memory): Properly check
	ABI.

From-SVN: r144272
2009-02-18 13:40:08 -08:00
Jason Merrill
a669372a3a revert accidental commit
From-SVN: r144271
2009-02-18 16:03:05 -05:00
Jason Merrill
98b806924d re PR target/39179 (Wrong code in c++ for const members initialized in external file)
PR target/39179
        * tree-ssa-ccp.c (get_symbol_constant_value): Don't assume zero
        value if DECL_EXTERNAL.
        * tree-sra.c (sra_walk_gimple_assign): Likewise.
        * target.h (gcc_target::binds_local_p): Clarify module.
        * tree.h (TREE_PUBLIC): Clarify module.

From-SVN: r144270
2009-02-18 16:01:03 -05:00
Jason Merrill
1e80963d61 fix typo
From-SVN: r144269
2009-02-18 15:59:38 -05:00
Daniel Kraft
71810d0e7c gfortran.texi: New chapter about compiler characteristics.
2009-02-18  Daniel Kraft  <d@domob.eu>

	* gfortran.texi: New chapter about compiler characteristics.
	(Compiler Characteristics): Document KIND type parameters here.

From-SVN: r144268
2009-02-18 19:54:41 +01:00
H.J. Lu
e98c0739b3 misc.c (gnat_post_options): Turn off warn_psabi.
2009-02-18  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc-interface/misc.c (gnat_post_options): Turn off warn_psabi.

From-SVN: r144267
2009-02-18 10:37:00 -08:00
Tobias Burnus
8c685e616f intrinsic.texi (MALLOC): Make example more portable.
2009-02-18  Tobias Burnus  <burnus@net-b.de>

       * intrinsic.texi (MALLOC): Make example more portable.

From-SVN: r144266
2009-02-18 19:09:38 +01:00
H.J. Lu
19e56697e4 callabi.exp: Moved to ...
2009-02-18  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc.dg/callabi/callabi.exp: Moved to ...
	* gcc.target/x86_64/abi/callabi/callabi.exp: Here.  Only run
	in 64bit mode.

	* gcc.target/x86_64/abi/callabi/func-1.c: Don't check target.
	* gcc.target/x86_64/abi/callabi/func-indirect.c: Likewise.
	* gcc.target/x86_64/abi/callabi/func-indirect.c: Likewise.
	* gcc.target/x86_64/abi/callabi/pr38891.c: Likewise.
	* gcc.target/x86_64/abi/callabi/vaarg-1.c: Likewise.
	* gcc.target/x86_64/abi/callabi/vaarg-2.c: Likewise.
	* gcc.target/x86_64/abi/callabi/vaarg-3.c: Likewise.

	* gcc.dg/callabi/callabi.h: Moved to ...
	* gcc.target/x86_64/abi/callabi/callabi.h: Here.

	* gcc.dg/callabi/func-1.c: Moved to ...
	* gcc.target/x86_64/abi/callabi/func-1.c: Here.

	* gcc.dg/callabi/func-indirect.c: Moved to ...
	* gcc.target/x86_64/abi/callabi/func-indirect.c: Here.

	* gcc.dg/callabi/pr38891.c: Moved to ...
	* gcc.target/x86_64/abi/callabi/pr38891.c: Here.

	* gcc.dg/callabi/vaarg-1.c: Moved to ...
	* gcc.target/x86_64/abi/callabi/vaarg-1.c: Here.

	* gcc.dg/callabi/vaarg-2.c: Moved to ...
	* gcc.target/x86_64/abi/callabi/vaarg-2.c: Here.

	* gcc.dg/callabi/vaarg-3.c: Moved to ...
	* gcc.target/x86_64/abi/callabi/vaarg-3.c: Here.

From-SVN: r144264
2009-02-18 09:06:33 -08:00
Bingfeng Mei
b0adb0887e MAINTAINERS (Write After Approval): Add myself.
2009-02-18  Bingfeng Mei  <bmei@broadcom.com>

	* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r144260
2009-02-18 09:55:15 +00:00
Benjamin Kosnik
9b3003d590 system_error (system_category): To system_category().
2009-02-17  Benjamin Kosnik  <bkoz@redhat.com>

	* include/std/system_error (system_category): To system_category().
	(generic_category): To generic_category. DR 890.
	* src/system_error.cc: Define.
	* include/bits/functexcept.h: Only one __throw_system_error.
	* src/functexcept.cc: Same.
	* include/std/mutex: Fixup for changes above.
	* testsuite/19_diagnostics/error_condition/cons/1.cc: Same.
	* testsuite/19_diagnostics/error_code/cons/1.cc: Same.
	* testsuite/19_diagnostics/system_error/cons-1.cc: Same.
	* config/abi/pre/gnu.ver: Clean up exports.

From-SVN: r144259
2009-02-18 07:35:36 +00:00
H.J. Lu
0705d3f487 re PR target/38891 (using ms_abi function attribute with -mno-sse generates an internal compiler error)
gcc/

2009-02-17  Xuepeng Guo  <xuepeng.guo@intel.com>

	PR target/38891
	* config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Move the hunk of
	initialization for MS_ABI prior to the hunk of !TARGET_MMX.

gcc/testsuite

2009-02-17  Xuepeng Guo  <xuepeng.guo@intel.com>

	PR target/38891
	* gcc.dg/callabi/pr38891.c: New.

2009-02-17  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc.dg/callabi/callabi.exp: New.

From-SVN: r144258
2009-02-17 22:17:52 -08:00
H.J. Lu
bce08d5003 re PR target/39082 (union with long double doesn't follow x86-64 psABI)
gcc/

2009-02-17  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/39082
	* c.opt (Wabi): Support C and ObjC.
	(Wpsabi): New.

	* c-opts.c (c_common_handle_option): Handle OPT_Wabi.

	* config/i386/i386.c (classify_argument): Warn once about the ABI
	change when passing union with long double.

	* doc/invoke.texi: Update -Wabi for warning psABI changes.

gcc/testsuite/

2009-02-17  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/39082
	* g++.dg/compat/struct-layout-1_generate.c (dg_options): Add
	-Wno-abi for x86.
	* gcc.dg/compat/struct-layout-1_generate.c (dg_options): Likewise.

	* gcc.target/i386/pr39082-1.c: New.

	* gcc.target/x86_64/abi/abi-x86_64.exp (additional_flags): Add
	-Wno-abi.

	* gcc.target/x86_64/abi/args.h (XMM_T): Add _m64 and _m128 if
	CHECK_M64_M128 is defined.
	(check_f_arguments): Add "do".
	(check_vector_arguments): New.
	(check_m64_arguments): Likewise.
	(check_m128_arguments): Likewise.

	* gcc.target/x86_64/abi/defines.h: Include <xmmintrin.h>.
	(CHECK_M64_M128): Define.

	* gcc.target/x86_64/abi/test_m64m128_returning.c: New.  Based
	on abitest.
	* gcc.target/x86_64/abi/test_passing_m64m128.c: Likewise.

	* gcc.target/x86_64/abi/test_passing_structs.c: Define __m128
	tests only if CHECK_M64_M128 is defined.

	* gcc.target/x86_64/abi/test_passing_structs.c (m128_struct): New.
	(m128_2_struct): Likewise.
	(check_struct_passing5): Likewise.
	(check_struct_passing6): Likewise.
	(main): Test struct with __m128 if CHECK_M64_M128 is defined.

	* gcc.target/x86_64/abi/test_passing_unions.c (un4): New.
	(un5): Likewise.
	(check_union_passing4): Likewise.
	(main): Test union with __m128 if CHECK_M64_M128 is defined.

From-SVN: r144257
2009-02-17 18:16:03 -08:00
Joseph Myers
5600f233ef re PR c/35447 (ICE with broken statement expression)
PR c/35447
	* c-parser.c (c_parser_compound_statement): Always enter and leave
	a scope.

testsuite:
	* gcc.dg/noncompile/pr35447-1.c: New test.

From-SVN: r144256
2009-02-18 00:38:28 +00:00
GCC Administrator
afd1efee35 Daily bump.
From-SVN: r144254
2009-02-18 00:16:49 +00:00
John David Anglin
8cd01fe6f0 re PR target/34587 (gcc.dg/initpri1.c fails on *-apple-darwin)
PR target/34587
	* config/darwin.h (SUPPORTS_INIT_PRIORITY): Define.

From-SVN: r144251
2009-02-17 23:42:44 +00:00
Jakub Jelinek
418df9d79a re PR tree-optimization/36922 (ICE in tree-data-ref.c with -ftree-loop-linear)
PR tree-optimization/36922
	* tree-data-ref.c (initialize_matrix_A): Handle BIT_NOT_EXPR.
	* tree-scalar-evolution.c (interpret_rhs_expr, instantiate_scev_1):
	Likewise.

	* gfortran.dg/pr36922.f: New test.

From-SVN: r144250
2009-02-18 00:21:23 +01:00
Richard Sandiford
082d2ebb84 mips.c (mips_override_options): Set flag_dwarf2_cfi_asm to 0 for EABI64.
gcc/
	* config/mips/mips.c (mips_override_options): Set flag_dwarf2_cfi_asm
	to 0 for EABI64.

From-SVN: r144247
2009-02-17 21:10:43 +00:00
Richard Sandiford
17de576ca7 mips.md (type): Reclassify lui_movf as "unknown".
gcc/
	* config/mips/mips.md (type): Reclassify lui_movf as "unknown".

From-SVN: r144246
2009-02-17 20:52:58 +00:00
Richard Sandiford
6d8d543574 mips.c (mips_gimplify_va_arg_expr): Fix invalid tree sharing.
gcc/
	* config/mips/mips.c (mips_gimplify_va_arg_expr): Fix invalid
	tree sharing.

From-SVN: r144244
2009-02-17 20:46:01 +00:00
Ruan Beihong
e69ff91041 2009-02-xx Ruan Beihong <ruanbeihong@gmail.com> Richard Sandiford <rdsandiford@googlemail.com>
gcc/
2009-02-xx  Ruan Beihong  <ruanbeihong@gmail.com>
	    Richard Sandiford  <rdsandiford@googlemail.com>

	* config/mips/mips.c (CODE_FOR_loongson_biadd): Delete.
	* config/mips/loongson.md (reduc_uplus_<mode>): Rename to...
	(loongson_biadd): ...this.

Co-Authored-By: Richard Sandiford <rdsandiford@googlemail.com>

From-SVN: r144243
2009-02-17 20:26:22 +00:00
Janis Johnson
883935fd20 examples: New directory.
* examples: New directory.
	* examples/gcc-svn-env: New.
	* examples/reg-watch: New.
	* examples/reg-watch.awk: New.
	* examples/common.config: New.
	* examples/testall: New.
	* examples/28970.config: New.
	* examples/28970.list: New.
	* examples/28970.c: New.
	* examples/28970.log: New.
	* examples/29106.config: New.
	* examples/29106.list: New.
	* examples/29106.test: New.
	* examples/29106.cc: New.
	* examples/29106.log: New.
	* examples/29478.config: New.
	* examples/29478.list: New.
	* examples/29478.c: New.
	* examples/29478.log: New.
	* examples/29906a.config: New.
	* examples/29906a.list: New.
	* examples/29906a.cc: New.
	* examples/29906a.log: New.
	* examples/29906b.config: New.
	* examples/29906b.list: New.
	* examples/29906b.cc: New.
	* examples/29906b.log: New.
	* examples/30643.config: New.
	* examples/30643.list: New.
	* examples/30643.c: New.
	* examples/30643.test: New.
	* examples/30643.log: New.

From-SVN: r144242
2009-02-17 18:45:27 +00:00
Janis Johnson
e88396c072 bin: New directory.
* bin: New directory.
	* bin/reg-hunt: New.
	* bin/reg_periodic: New.
	* bin/gcc-svn-update: New.
	* bin/gcc-svn-update-fix: New.
	* bin/gcc-build-simple: New.
	* bin/gcc-build-full: New.
	* bin/gcc-cleanup: New.
	* bin/reg-test: New.
	* bin/reg-newmid: New.
	* bin/gcc-test-ice-on-valid-code: New.
	* bin/gcc-test-ice-on-invalid-code: New.
	* bin/gcc-test-compiler-hangs: New.
	* bin/gcc-test-missing-warning: New.
	* bin/gcc-test-bogus-warning: New.
	* bin/gcc-test-segfault-on-valid-code: New.
	* bin/gcc-test-rejects-valid: New.
	* bin/gcc-test-accepts-invalid: New.
	* bin/gcc-test-wrong-code: New.
	* bin/gcc-svn-patchlist: New.
	* bin/gcc-svn-checkfail: New.
	* bin/gcc-svn-recordfail: New.
	* bin/gcc-svn-report: New.
	* bin/gcc-svn-ids: New.

From-SVN: r144240
2009-02-17 18:35:24 +00:00
Janis Johnson
1ce205fe0b date_based: New directory.
* date_based: New directory.
	* README: Move from here ...
	* date_based/README: to here.
	* reg_search: Move from here ...
	* date_based/reg_search: to here.
	* reg_periodic: Move from here ...
	* date_based/reg_periodic: to here.
	* reg_test_template: Move from here ...
	* date_based_reg_test_template: to here.

From-SVN: r144238
2009-02-17 18:27:28 +00:00
Richard Guenther
6b24ee26e5 re PR tree-optimization/39202 (internal compiler error: in collapse_rest_of_var, at tree-ssa-structalias.c:3296)
2009-02-17  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/39202
	* tree-ssa-structalias.c (do_structure_copy): Before collapsing
	a var make sure to follow existing collapses.

	* gcc.c-torture/compile/pr39202.c: New testcase.

From-SVN: r144235
2009-02-17 16:01:53 +00:00
Richard Guenther
91ab2c868e re PR middle-end/39214 (internal compiler error: Segmentation fault)
2009-02-17  Richard Guenther  <rguenther@suse.de>
  
	PR middle-end/39214
	* langhooks.c (lhd_print_error_function): Check for NULL block.

From-SVN: r144234
2009-02-17 15:20:18 +00:00
Richard Guenther
73a63870d5 re PR tree-optimization/39204 (ICE in compute_antic)
2009-02-17  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/39204
	* tree-ssa-pre.c (phi_translate_1): Lookup the value-number
	of the PHI arg.

	* gcc.dg/torture/pr39204.c: New testcase.

From-SVN: r144233
2009-02-17 15:01:40 +00:00
Bingfeng Mei
1f2f555a97 vect-outer-5.c: Require vect_float support.
2009-02-17  Bingfeng Mei <bmei@broadcom.com>
 
	* gcc.dg/vect/vect-outer-5.c: Require vect_float support.
	* gcc.dg/vect/vect-outer-6.c: Ditto.

From-SVN: r144232
2009-02-17 14:28:06 +00:00
Uros Bizjak
0e08f686d7 double.h: Update from glibc CVS.
* config/soft-fp/double.h: Update from glibc CVS.

From-SVN: r144229
2009-02-17 14:50:31 +01:00
Richard Guenther
a60b7ddb73 re PR tree-optimization/39207 (Strict aliasing warnings in libstdc++ headers)
2009-02-17  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/39207
	* tree-ssa-structalias.c (find_what_p_points_to): Do not emit
	strict-aliasing warnings for pointers pointing to NULL.

From-SVN: r144228
2009-02-17 13:38:06 +00:00
GCC Administrator
723a3aa22c Daily bump.
From-SVN: r144222
2009-02-17 00:17:12 +00:00
Joseph Myers
a47e20fd93 re PR c/35446 (ICE with invalid array initializer)
PR c/35446
	* c-parser.c (c_parser_braced_init): Call pop_init_level when
	skipping until next close brace.

testsuite:
	* gcc.dg/noncompile/init-5.c: New test.
	* gcc.dg/init-bad-4.c: Adjust expected errors.

From-SVN: r144216
2009-02-16 22:55:56 +00:00
H.J. Lu
50aab7dc40 re PR target/37049 (Unaligned move used on aligned destination of push insn)
gcc/

2009-02-16  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/37049
	* config/i386/i386.c (ix86_expand_push): Set memory alignment
	to function argument boundary.

gcc/testsuite/

2009-02-16  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/37049
	* gcc.target/i386/push-1.c: New.

From-SVN: r144209
2009-02-16 12:37:49 -08:00
Andrew Haley
7f720bdbd4 gcjwebplugin.cc: Cope with the changed header file format.
2009-02-05  Andrew Haley  <aph@redhat.com>

	* native/plugin/gcjwebplugin.cc: Cope with the changed header file
	format.  https://bugzilla.mozilla.org/show_bug.cgi?id=455458
	(GCJ_GetJavaClass): Likewise.
	(NP_Initialize): Likewise.

From-SVN: r144203
2009-02-16 15:33:46 +00:00
Hariharan Sandanagobalane
68e53db04b picochip.md (lea_add): Allow any nonimmediate in the lea_add.
* config/picochip/picochip.md (lea_add): Allow any nonimmediate
        in the lea_add. Reload eventually constraints it properly.
        * config/picochip/constraints.md : Remove the target constraint
        "b", since it is not needed anymore.

From-SVN: r144202
2009-02-16 13:46:51 +00:00
Jakub Jelinek
09e361bbde gthr-dce.h: Uglify function parameter and local variable names.
* gthr-dce.h: Uglify function parameter and local variable names.
	* gthr-gnat.h: Likewise.
	* gthr-mipssde.h: Likewise.
	* gthr-nks.h: Likewise.
	* gthr-posix95.h: Likewise.
	* gthr-posix.h: Likewise.
	* gthr-rtems.h: Likewise.
	* gthr-single.h: Likewise.
	* gthr-solaris.h: Likewise.
	* gthr-tpf.h: Likewise.
	* gthr-vxworks.h: Likewise.
	* gthr-win32.h: Likewise.

From-SVN: r144201
2009-02-16 13:19:34 +01:00
Eric Botcazou
70f5fc7c74 * gcc-interface/deftarg.c: Remove.
From-SVN: r144199
2009-02-16 12:11:20 +00:00
GCC Administrator
9b7235647f Daily bump.
From-SVN: r144196
2009-02-16 00:16:49 +00:00
H.J. Lu
47f5a48f4a re PR rtl-optimization/39196 (ICE in copyprop_hardreg_forward_1, at regrename.c:1603 during libjava compile)
2009-02-15  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/39196
	* config/i386/i386.md: Restrict the new peephole2 to move
	between MMX/SSE registers.

From-SVN: r144191
2009-02-15 12:12:41 -08:00
Paolo Carlini
bbcac3becb re PR libstdc++/39168 (Incorrect interpretation of CHAR_MAX inside grouping string in monetary and numeric facets.)
2009-02-15  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/39168
	* src/locale_facets.cc (__verify_grouping(const char*, size_t,
	const string&)): Also check that the value != CHAR_MAX.
	* include/bits/locale_facets.tcc (__numpunct_cache<>::
	_M_cache(const locale&), __add_grouping(_CharT*, _CharT,
	const char*, size_t, const _CharT*, const _CharT*)): Likewise.
	* include/bits/locale_facets_nonio.tcc (__moneypunct_cache<>::
	_M_cache(const locale&)): Likewise.
	* testsuite/22_locale/money_put/put/wchar_t/39168.cc: New.
	* testsuite/22_locale/money_put/put/char/39168.cc: Likewise.
	* testsuite/22_locale/money_get/get/wchar_t/39168.cc: Likewise.
	* testsuite/22_locale/money_get/get/char/39168.cc: Likewise.
	* testsuite/22_locale/num_get/get/wchar_t/39168.cc: Likewise.
	* testsuite/22_locale/num_get/get/char/39168.cc: Likewise.

From-SVN: r144190
2009-02-15 16:47:57 +00:00
Richard Guenther
68c9ab451b revert: configure.ac: Enable LFS.
Revert
2009-02-13  Richard Guenther  <rguenther@suse.de>

	* configure.ac: Enable LFS.
	* configure: Re-generate.
	* config.in: Likewise.

	libcpp/
	* configure.ac: Enable LFS.
	* configure: Re-generate.
	* config.in: Likewise.

From-SVN: r144189
2009-02-15 11:11:13 +00:00
Uros Bizjak
e2721e12cf w_prof_single_str_global.c: Mask return value.
* gcc.dg/struct/w_prof_single_str_global.c: Mask return value.

From-SVN: r144187
2009-02-15 09:07:17 +01:00
GCC Administrator
ee38f2a25d Daily bump.
From-SVN: r144185
2009-02-15 00:16:53 +00:00
Ulrich Weigand
d78155547a spu_internals.h (spu_sr, [...]): Define.
ChangeLog:

	* config/spu/spu_internals.h (spu_sr, spu_sra, spu_srqw,
	spu_srqwbyte, spu_srqwbytebc): Define.
	* config/spu/spu-builtins.def (spu_sr, spu_sra, spu_srqw,
	spu_srqwbyte, spu_srqwbytebc): New overloaded builtins.
	* config/spu/spu.md ("shrqbybi_<mode>", "shrqbi_<mode>",
	"shrqby_<mode>"): New insn-and-split patterns.
	* config/spu/spu.c (expand_builtin_args): Determine and return
	number of operands using spu_builtin_description data.
	(spu_expand_builtin_1): Use it.

testsuite/ChangeLog:

	* gcc.target/spu/intrinsics-sr.c: New test.

From-SVN: r144178
2009-02-14 01:32:17 +00:00
GCC Administrator
64cfbcc3cf Daily bump.
From-SVN: r144176
2009-02-14 00:16:49 +00:00
Chris Fairles
626dda69bc thread (_Impl_base): Move _M_id out and into ...
2009-02-13  Chris Fairles  <cfairles@gcc.gnu.org>
	    Benjamin Kosnik  <bkoz@redhat.com>

	* include/std/thread (_Impl_base): Move _M_id out and into ...
	(thread): ...here. Call _M_make_routine in body of constructors.
	Adjust data member usage to reflect changes.
	(_M_make_routine): From _M_make_shared_data.
	(_M_start_thread): Add __shared_base_type argument.
	* src/thread.cc: Fixups for above.
	* config/abi/pre/gnu.ver: Adjust exports.
	* testsuite/30_threads/thread/native_handle/typesizes.cc: Enable.
	* testsuite/30_threads/thread/cons/assign_neg.cc: Adjust line numbers.
	* testsuite/30_threads/thread/cons/copy_neg.cc: Same.


Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>

From-SVN: r144171
2009-02-13 23:08:50 +00:00
Mikael Morin
2d05f84dc4 re PR fortran/38259 (Add version number to .mod file)
2009-02-13  Mikael Morin  <mikael.morin@tele2.fr>

        PR fortran/38259
        * module.c (gfc_dump_module,gfc_use_module): Add module
        version number.

From-SVN: r144169
2009-02-13 23:16:20 +01:00
Steve Ellcey
c208436c7b re PR target/38056 (Missed tail calls on ia64)
PR target/38056
	* config/ia64/ia64.c (ia64_function_ok_for_sibcall): Check
	TARGET_CONST_GP.
	* gcc.target/ia64/sibcall-opt-1.c: New test.
	* gcc.target/ia64/sibcall-opt-2.c: New test.

From-SVN: r144168
2009-02-13 21:59:32 +00:00