]>
git.ipfire.org Git - thirdparty/gcc.git/log
John David Anglin [Tue, 22 Jun 2010 13:06:40 +0000 (13:06 +0000)]
Add missing '*'.
From-SVN: r161177
GCC Administrator [Tue, 22 Jun 2010 00:16:44 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r161126
John David Anglin [Mon, 21 Jun 2010 23:51:10 +0000 (23:51 +0000)]
re PR target/39690 (ld: An unknown relocation type 8)
PR target/39690
config/pa/pa.c (override_options): Disable
-freorder-blocks-and-partition.
From-SVN: r161123
H.J. Lu [Mon, 21 Jun 2010 20:28:24 +0000 (20:28 +0000)]
Add -mtune=k8 to gcc.target/i386/amd64-abi-3.c.
2010-06-21 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline
2010-06-21 H.J. Lu <hongjiu.lu@intel.com>
PR target/44615
* gcc.target/i386/amd64-abi-3.c: Add -mtune=k8.
From-SVN: r161114
Rainer Orth [Mon, 21 Jun 2010 17:23:53 +0000 (17:23 +0000)]
backport: target-supports.exp (check_effective_target_ucn_nocache): New function.
Backport from mainline:
2010-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* lib/target-supports.exp (check_effective_target_ucn_nocache):
New function.
(check_effective_target_ucn): Likewise.
* g++.dg/other/ucnid-1.C: Don't XFAIL on *-*-solaris2.*, but skip
if !ucn.
* gcc.dg/ucnid-2.c: Likewise.
* gcc.dg/ucnid-3.c: Likewise.
* gcc.dg/ucnid-4.c: Likewise.
* gcc.dg/ucnid-11.c: Likewise.
* gcc.dg/ucnid-12.c: Likewise.
* gcc.dg/ucnid-6.c: Skip if !ucn.
* gcc.dg/ucnid-9.c: Likewise.
From-SVN: r161104
Rainer Orth [Mon, 21 Jun 2010 17:21:31 +0000 (17:21 +0000)]
backport: clearcap.map: New file.
Backport from mainline:
2010-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* gcc.target/i386/clearcap.map: New file.
* gcc.target/i386/i386.exp: Check for linker -M mapfile support.
Pass clearcap.map by default if supported.
From-SVN: r161103
Jakub Jelinek [Mon, 21 Jun 2010 17:10:02 +0000 (19:10 +0200)]
re PR bootstrap/44426 (gcc 4.5.0 requires c9x compiler to build)
PR bootstrap/44426
* sel-sched-dump.h (sel_prepare_string_for_dot_label): Remove
prototype.
(sel_print_to_dot): Remove macro.
(sel_print): Likewise. New prototype.
* sel-sched-dump.c (sel_prepare_string_for_dot_label): Make static.
(sel_print): New function.
From-SVN: r161102
Rainer Orth [Mon, 21 Jun 2010 15:59:01 +0000 (15:59 +0000)]
backport: target-supports.exp (check_effective_target_gas): New proc.
Backport from mainline:
2010-06-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* lib/target-supports.exp (check_effective_target_gas): New proc.
* gcc.c-torture/execute/960321-1.x: New file.
2009-10-03 Ben Elliston <bje@au.ibm.com>
Janis Johnson <janis187@us.ibm.com>
Diego Novillo <dnovillo@google.com>
* lib/c-torture.exp: Load target-supports.exp.
From-SVN: r161090
GCC Administrator [Mon, 21 Jun 2010 00:16:48 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r161058
Gerald Pfeifer [Sun, 20 Jun 2010 19:42:19 +0000 (19:42 +0000)]
backport: pass51-frag.c (MAP_FAILED): Define, if not in system header; use it.
Backport from mainline:
2009-09-01 Loren J. Rittle <ljrittle@acm.org>
Andreas Schwab <schwab@linux-m68k.org>
* testsuite/libmudflap.c/pass51-frag.c (MAP_FAILED): Define,
if not in system header; use it. On FreeBSD, must pass fd==-1
with MAP_ANON flag. Correct mmap error check.
* testsuite/libmudflap.c/fail40-frag.c: Ditto.
From-SVN: r161051
Gerald Pfeifer [Sun, 20 Jun 2010 19:40:29 +0000 (19:40 +0000)]
backport: mf-runtime.c (__mf_init): Support FreeBSD.
Backport from mainline:
2009-09-01 Loren J. Rittle <ljrittle@acm.org>
* mf-runtime.c (__mf_init): Support FreeBSD.
Prime mutex which calls calloc upon first lock to avoid deadlock.
* mf-hooks1.c (__mf_0fn_mmap): Support FreeBSD.
Ignore red zone allocation request for initial thread's stack.
From-SVN: r161050
Gerald Pfeifer [Sun, 20 Jun 2010 17:12:11 +0000 (17:12 +0000)]
backport: PR testsuite/32843 (strikes again)
Backport from mainline:
2009-09-17 Loren J. Rittle <ljrittle@acm.org>
PR testsuite/32843 (strikes again)
src/x86/ffi.c (ffi_prep_cif_machdep): Add X86_FREEBSD to
enable proper extension on char and short.
From-SVN: r161048
Gerald Pfeifer [Sun, 20 Jun 2010 15:43:53 +0000 (15:43 +0000)]
backport: configure.ac (*-*-freebsd*): Enable check for __stack_chk_fail.
Backport from mainline:
2009-09-11 Loren J. Rittle <ljrittle@acm.org>
* configure.ac (*-*-freebsd*): Enable check for __stack_chk_fail.
* configure: Regenerate.
From-SVN: r161047
GCC Administrator [Sun, 20 Jun 2010 00:16:34 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r161043
John David Anglin [Sat, 19 Jun 2010 18:28:28 +0000 (18:28 +0000)]
backport: re PR target/44261 (Multiplying -1 by NaN is not valid.)
Backport from mainline
2010-05-29 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR target/44261
config/pa/pa.md (negdf2_slow, negsf2_slow): New patterns.
(negdf2): Adjust expander pattern and use negdf2_slow.
(negsf2): Likewise.
From-SVN: r161035
GCC Administrator [Sat, 19 Jun 2010 00:16:36 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r161015
John David Anglin [Fri, 18 Jun 2010 22:38:32 +0000 (22:38 +0000)]
backport: re PR testsuite/43739 (FAIL: gcc.dg/pr43643.c (test for excess errors))
Backport from mainline
2010-04-14 Steve Ellcey <sje@cup.hp.com>
PR testsuite/43739
* gcc.dg/pr43643.c: Use static link on hppa*-*-hpux*.
From-SVN: r161013
John David Anglin [Fri, 18 Jun 2010 00:29:30 +0000 (00:29 +0000)]
re PR target/43740 (FAIL: gcc.dg/tree-ssa/
20031015 -1.c (internal compiler error))
PR target/43740
config/pa/pa.c (emit_move_sequence): Don't infer REG_POINTER flag for
SET source operand from SET destination operand.
From-SVN: r160957
GCC Administrator [Fri, 18 Jun 2010 00:17:08 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r160952
Matthias Klose [Thu, 17 Jun 2010 12:10:47 +0000 (12:10 +0000)]
compatibility.cc: Export long double versions of "C" math library for arm-linux-gnueabi...
2010-06-16 Matthias Klose <doko@ubuntu.com>
* src/compatibility.cc: Export long double versions of "C" math
library for arm-linux-gnueabi, m68k-linux-gnu (ColdFire),
mips*-linux-gnu (o32 ABI), sh*-linux-gnu (32 bit).
From-SVN: r160901
GCC Administrator [Thu, 17 Jun 2010 00:16:46 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r160867
GCC Administrator [Wed, 16 Jun 2010 00:16:56 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r160816
Jakub Jelinek [Tue, 15 Jun 2010 16:32:24 +0000 (18:32 +0200)]
re PR bootstrap/44544 (build failure due to lhd_pass_through_t)
PR bootstrap/44544
Backport from mainline
2009-09-13 Richard Guenther <rguenther@suse.de>
Rafael Avila de Espindola <espindola@google.com>
* langhooks-def.h (lhd_pass_through_t): Declare.
* langhooks.c (lhd_pass_through_t): New function.
From-SVN: r160798
Jakub Jelinek [Tue, 15 Jun 2010 12:27:01 +0000 (14:27 +0200)]
re PR fortran/44536 (OMP: missing error with default(none))
PR fortran/44536
* langhooks.h (struct lang_hooks_for_decls): Add omp_report_decl.
* langhooks-def.h (LANG_HOOKS_OMP_REPORT_DECL): Define.
(LANG_HOOKS_DECLS): Add it.
* gimplify.c (omp_notice_variable): Call
lang_hooks.decls.omp_report_decl.
* trans-openmp.c (gfc_omp_predetermined_sharing): Don't return
OMP_CLAUSE_DEFAULT_SHARED for artificial vars with
GFC_DECL_SAVED_DESCRIPTOR set.
(gfc_omp_report_decl): New function.
* trans.h (gfc_omp_report_decl): New prototype.
* f95-lang.c (LANG_HOOKS_OMP_REPORT_DECL): Redefine.
* gfortran.dg/gomp/pr44536.f90: New test.
* gfortran.dg/gomp/sharing-3.f90: Remove xfail.
From-SVN: r160783
GCC Administrator [Tue, 15 Jun 2010 00:16:44 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r160768
H.J. Lu [Mon, 14 Jun 2010 18:07:13 +0000 (18:07 +0000)]
Replace 0x1 with 0x0 in AVX vec_extract_lo_* patterns.
gcc/
2010-06-14 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline
2010-06-14 H.J. Lu <hongjiu.lu@intel.com>
PR target/44534
* config/i386/sse.md (vec_extract_lo_<mode>): Replace 0x1 with
0x0.
(vec_extract_lo_v16hi): Likewise.
(vec_extract_lo_v32qi): Likewise.
gcc/testsuite/
2010-06-14 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline
2010-06-14 H.J. Lu <hongjiu.lu@intel.com>
PR target/44534
* gcc.target/i386/avx-vextractf128-256-3.c: New.
* gcc.target/i386/avx-vextractf128-256-4.c: Likewise.
From-SVN: r160758
Jakub Jelinek [Mon, 14 Jun 2010 15:28:00 +0000 (17:28 +0200)]
re PR tree-optimization/44508 (libgomp.fortran/vla1.f90 ICE on s390)
PR tree-optimization/44508
* tree-ssa-propagate.c (substitute_and_fold): Don't do DCE
when called from tree-vrp.c.
* gcc.dg/tree-ssa/pr21086.c: Adjust.
From-SVN: r160752
GCC Administrator [Mon, 14 Jun 2010 00:16:33 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r160692
Gerald Pfeifer [Sun, 13 Jun 2010 22:16:50 +0000 (22:16 +0000)]
backport: config.gcc (*-*-freebsd*): Enable default_use_cxa_atexit to match the system compiler's configuration at...
Backport from mainline:
2009-09-11 Loren J. Rittle <ljrittle@acm.org>
* config.gcc (*-*-freebsd*): Enable default_use_cxa_atexit
to match the system compiler's configuration at inflection point.
From-SVN: r160689
GCC Administrator [Sun, 13 Jun 2010 00:16:44 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r160666
Uros Bizjak [Sat, 12 Jun 2010 07:43:40 +0000 (09:43 +0200)]
re PR target/44481 (__builtin_parity() causes ICE in trunc_int_for_mode())
PR target/44481
* config/i386/i386.md (UNSPEC_PARITY): New unspec.
(paritydi2_cmp): Use UNSPEC_PARITY unspec insted of parity RTX.
(partiysi2_cmp): Ditto.
(*partiyhi2_cmp): Ditto.
(*parityqi2_cmp): Remove.
testsuite/ChangeLog:
PR target/44481
* gcc.target/i386/pr44481.c: New test.
From-SVN: r160654
GCC Administrator [Sat, 12 Jun 2010 00:17:20 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r160642
Rainer Orth [Fri, 11 Jun 2010 11:49:16 +0000 (11:49 +0000)]
re PR libgcj/44216 (All libjava tests fail on IRIX 6.5: ld warns about -no-merge-exidx-entries)
config:
* override.m4 (AC_LANG_WERROR): Redefine to autoconf 2.62 version.
libjava:
Backport from mainline:
2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR libgcj/44216
* configure.ac (libgcj_cv_exidx): Enable AC_LANG_WERROR.
Save and restore werror flag.
* configure: Regenerate.
From-SVN: r160603
GCC Administrator [Fri, 11 Jun 2010 00:17:04 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r160586
Jakub Jelinek [Thu, 10 Jun 2010 15:31:56 +0000 (17:31 +0200)]
re PR other/43838 (Incorrect output from abi::__cxa_demangle)
PR other/43838
* cp-demangle.c (struct d_print_info): Add flush_count field.
(d_print_init): Initialize it to 0.
(d_print_flush): Increment it.
(d_print_comp): If needed flush before appending ", ". Only
decrement dpi->len if no flushes happened during the recursive
call.
* testsuite/demangle-expected: Add a test for this.
2009-06-16 Nick Clifton <nickc@redhat.com>
PR 10197
* testsuite/test-demangle.c: Rename getline to get_line to avoid
conflicts with system function of the same name.
From-SVN: r160556
Rainer Orth [Thu, 10 Jun 2010 12:34:42 +0000 (12:34 +0000)]
backport: pr32000-2.c: Add missing include and exclude lists to dg-skip-if.
Backport from mainline:
2010-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* gcc.target/i386/pr32000-2.c: Add missing include and exclude
lists to dg-skip-if.
* gcc.target/i386/stackalign/return-3.c: Likewise.
From-SVN: r160543
Rainer Orth [Thu, 10 Jun 2010 12:32:12 +0000 (12:32 +0000)]
gcc/testsuite:
Backport from mainline:
2010-01-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* g++.old-deja/g++.mike/eh16.C: Rename err to e.
* g++.old-deja/g++.mike/eh17.C: Likewise.
* g++.old-deja/g++.mike/p5571.C: Likewise.
libgomp:
Backport from mainline:
2010-01-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* testsuite/libgomp.c++/task-1.C: Renamed err to e.
* testsuite/libgomp.c++/task-6.C: Likewise.
From-SVN: r160542
Rainer Orth [Thu, 10 Jun 2010 12:27:08 +0000 (12:27 +0000)]
backport: dg-extract-results.sh: Fix result order to match sequential case.
Backport from mainline:
2010-03-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* dg-extract-results.sh: Fix result order to match sequential case.
From-SVN: r160540
GCC Administrator [Thu, 10 Jun 2010 00:17:28 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r160520
Rainer Orth [Wed, 9 Jun 2010 17:59:09 +0000 (17:59 +0000)]
dwarf2.C: Don't xfail on i386-pc-solaris*.
* g++.old-deja/g++.oliva/dwarf2.C: Don't xfail on i386-pc-solaris*.
* g++.old-deja/g++.oliva/dwarf3.C: Likewise.
* g++.old-deja/g++.other/init19.C: Don't xfail on *-*-solaris2*.
From-SVN: r160501
Steven G. Kargl [Wed, 9 Jun 2010 16:37:05 +0000 (16:37 +0000)]
mvbits_9.f90: New test.
2010-06-09 Steven G. Kargl <kargl@gcc.gnu.org>
* testsuite/gfortran.dg/mvbits_9.f90: New test.
* testsuite/gfortran.dg/ibset_1.f90: Ditto.
* testsuite/gfortran.dg/ibits_1.f90: Ditto.
* testsuite/gfortran.dg/btest_1.f90: Ditto.
* testsuite/gfortran.dg/ibclr_1.f90: Ditto.
2010-06-09 Steven G. Kargl <kargl@gcc.gnu.org>
* fortran/intrinsic.c (add_functions): Change gfc_check_btest,
gfc_check_ibclr, and gfc_check_ibset to gfc_check_bitfcn.
* fortran/intrinsic.h: Remove prototypes for gfc_check_btest,
gfc_check_ibclr, and gfc_check_ibset. Add prototype for
gfc_check_bitfcn.
* fortran/check.c (nonnegative_check, less_than_bitsize1,
less_than_bitsize2): New functions.
(gfc_check_btest): Renamed to gfc_check_bitfcn. Use
nonnegative_check and less_than_bitsize1.
(gfc_check_ibclr, gfc_check_ibset): Removed.
(gfc_check_ibits,gfc_check_mvbits): Use nonnegative_check and
less_than_bitsize1.
From-SVN: r160495
GCC Administrator [Wed, 9 Jun 2010 00:16:59 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r160451
Uros Bizjak [Tue, 8 Jun 2010 09:41:58 +0000 (11:41 +0200)]
i386.md (*movsi_1): Use %a modifier to output operand 1.
* config/i386/i386.md (*movsi_1) <TYPE_LEA>: Use %a modifier
to output operand 1.
(ashift_zext lea splitter): Use DImode for multiplication.
* config/i386/i386.c (ix86_expand_epilogue): Do not use ix86_gen_add
to generate addition.
From-SVN: r160429
GCC Administrator [Tue, 8 Jun 2010 00:17:17 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r160412
Rainer Orth [Mon, 7 Jun 2010 20:55:36 +0000 (20:55 +0000)]
backport: configure.ac (gcc_cv_ld_sol2_emulation): Test for GNU ld *_sol2 linker emulations.
Backport from mainline:
2010-06-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* configure.ac (gcc_cv_ld_sol2_emulation): Test for GNU ld *_sol2
linker emulations.
* configure: Regenerate.
* config.in: Regenerate.
* config/i386/sol2-10.h [TARGET_GNU_LD] (I386_EMULATION): Define.
(X86_64_EMULATION): Define.
(TARGET_LD_EMULATION): Use them.
* config/sparc/sol2-gld-bi.h (SPARC32_EMULATION): Define.
(SPARC64_EMULATION): Define.
(LINK_ARCH_SPEC): Use them.
From-SVN: r160400
Rainer Orth [Mon, 7 Jun 2010 20:38:34 +0000 (20:38 +0000)]
backport: deallocate_global.cc: Require __cxa_atexit.
Backport from mainline:
2010-02-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* testsuite/ext/new_allocator/deallocate_global.cc: Require
__cxa_atexit.
* testsuite/ext/throw_allocator/deallocate_global.cc: Likewise.
From-SVN: r160396
Rainer Orth [Mon, 7 Jun 2010 20:10:41 +0000 (20:10 +0000)]
toplevel:
Backport from mainline:
2010-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR libstdc++/32499
* configure.ac (RANLIB): Default to true.
(STRIP): Likewise.
(RANLIB_FOR_TARGET): Remove superfluous : argument.
* configure: Regenerate.
libstdc++-v3:
Backport from mainline:
2010-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR libstdc++/32499
* testsuite/Makefile.am (check-DEJAGNU
$(check_DEJAGNU_normal_targets)): Export AR, RANLIB.
* testsuite/Makefile.in: Regenerate.
From-SVN: r160395
Rainer Orth [Mon, 7 Jun 2010 19:25:07 +0000 (19:25 +0000)]
fp-int-convert-float128-timode.c: Skip on i?86-*-solaris2*.
* gcc.dg/torture/fp-int-convert-float128-timode.c: Skip on
i?86-*-solaris2*.
* gcc.dg/torture/fp-int-convert-float128.c: Likewise.
From-SVN: r160393
GCC Administrator [Mon, 7 Jun 2010 00:16:32 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r160354
GCC Administrator [Sun, 6 Jun 2010 00:16:52 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r160332
GCC Administrator [Sat, 5 Jun 2010 00:17:07 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r160302
Rainer Orth [Fri, 4 Jun 2010 14:39:55 +0000 (14:39 +0000)]
backport:
20011009 -1.c (COMMENT): Define.
Backport from mainline:
2010-05-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* gcc.target/i386/
20011009 -1.c (COMMENT): Define.
(main): Use it.
* gcc.target/i386/pr25993.c [__sun__]: Use .globl.
2010-05-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* gcc.target/i386/pr25993.c: Use @function as type specifier.
From-SVN: r160271
Rainer Orth [Fri, 4 Jun 2010 14:06:27 +0000 (14:06 +0000)]
check_jni_methods.sh.in: Don't use diff -U.
libjava/classpath:
* scripts/check_jni_methods.sh.in: Don't use diff -U.
Adapt grep regex, ignore file and problem message.
contrib:
* test_summary: Don't use diff -u.
Adapt egrep regex.
From-SVN: r160266
Uros Bizjak [Fri, 4 Jun 2010 09:50:04 +0000 (11:50 +0200)]
i386.md (*addqi_4): Check for incdec_operand in QImode.
* config/i386/i386.md (*addqi_4): Check for incdec_operand in QImode.
From-SVN: r160256
Alan Modra [Fri, 4 Jun 2010 04:57:21 +0000 (14:27 +0930)]
re PR target/44075 (__builtin_eh_return miscompiled)
PR target/44075
* gcc/config/rs6000/rs6000.c (struct machine_function): Reorder
fields for better packing. Add lr_save_state.
(rs6000_ra_ever_killed): Return lr_save_state if set.
(rs6000_emit_eh_reg_restore): Set lr_save_state.
From-SVN: r160247
GCC Administrator [Fri, 4 Jun 2010 00:17:15 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r160241
Alan Modra [Thu, 3 Jun 2010 03:08:32 +0000 (12:38 +0930)]
re PR rtl-optimization/44169 (Wrong code while generating TLS offsets)
PR target/44169
* config/rs6000/rs6000.md (load_toc_v4_PIC_1b): Add label operand.
* config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Pass label
rtx to gen_load_toc_v4_PIC_1b. Tidy.
(rs6000_emit_load_toc_table): Likewise.
From-SVN: r160208
GCC Administrator [Thu, 3 Jun 2010 00:17:01 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r160201
Rainer Orth [Wed, 2 Jun 2010 17:51:29 +0000 (17:51 +0000)]
backport: sysv4.h (PUSHSECTION_FORMAT): Remove undef.
Backport from mainline:
2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config/sparc/sysv4.h (PUSHSECTION_FORMAT): Remove undef.
(PUSHSECTION_ASM_OP): Remove.
(POPSECTION_ASM_OP): Remove.
(PUSHSECTION_FORMAT): Remove.
* config/sol2.h (PUSHSECTION_FORMAT): Define.
* config/sparc/sol2.h [!USE_GAS] (PUSHSECTION_FORMAT): Redefine.
* config/sol2.c (solaris_output_init_fini): Use it.
2010-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config.gcc (sparc*-*-solaris2*) [$gas=yes]: Add usegas.h to tm_file.
From-SVN: r160181
Rainer Orth [Wed, 2 Jun 2010 17:45:45 +0000 (17:45 +0000)]
backport: sol2-gld.h: Remove SPARC reference.
Backport from mainline:
2010-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config/sparc/sol2-gld.h: Remove SPARC reference. Rename ...
* config/sol2-gld.h: ... here.
* config.gcc (sparc*-*-solaris2*): Reflect this.
(i[34567]86-*-solaris2*): Use it.
From-SVN: r160180
Rainer Orth [Wed, 2 Jun 2010 17:41:33 +0000 (17:41 +0000)]
backport: socket1.adb: Disable on *-*-solaris2*.
Backport from mainline:
2010-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* gnat.dg/socket1.adb: Disable on *-*-solaris2*.
From-SVN: r160179
Rainer Orth [Wed, 2 Jun 2010 17:28:24 +0000 (17:28 +0000)]
backport: re PR pch/14940 (PCH largefile test fails on various platforms)
Backport from mainline:
2010-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR pch/14940
* config/host-solaris.c (HOST_HOOKS_GT_PCH_GET_ADDRESS): Redefine
to sol_gt_pch_get_address.
(TRY_EMPTY_VM_SPACE): Define for all combinations of 32 and
64-bit, SPARC and x86.
(sol_gt_pch_get_address): New function.
From-SVN: r160176
Rainer Orth [Wed, 2 Jun 2010 17:25:42 +0000 (17:25 +0000)]
backport: sol2.h (NO_DBX_BNSYM_ENSYM): Define.
Backport from mainline:
2010-02-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config/i386/sol2.h (NO_DBX_BNSYM_ENSYM): Define.
* config/i386/sol2-gas.h: New file.
* config.gcc (i[34567]86-*-solaris2*): Use it.
From-SVN: r160175
Rainer Orth [Wed, 2 Jun 2010 17:21:33 +0000 (17:21 +0000)]
backport: configure.ac (gcc_cv_as_cfi_directive): Disable cfi directives unless GCC and gas agree on using read-only .eh_frame...
Backport from mainline:
2010-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* configure.ac (gcc_cv_as_cfi_directive) [i?86-*-solaris*]:
Disable cfi directives unless GCC and gas agree on using read-only
.eh_frame sections for 64-bit.
* configure: Regenerate.
From-SVN: r160174
Rainer Orth [Wed, 2 Jun 2010 17:18:44 +0000 (17:18 +0000)]
backport: linkage.exp: Remove mips-sgi-irix6*o32 support.
Backport from mainline:
2010-01-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* gcc.misc-tests/linkage.exp: Remove mips-sgi-irix6*o32 support.
Add i?86-*-solaris2* support.
From-SVN: r160173
Rainer Orth [Wed, 2 Jun 2010 17:16:55 +0000 (17:16 +0000)]
backport: re PR libobjc/36610 (objc_msg_sendv is broken for targets which pass argument via registers)
Backport from mainline:
2010-02-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR libobjc/36610
* objc/execute/forward-1.x: XFAIL on alpha*-dec-osf*, 64-bit
i?86-*-solaris2*, mips-sgi-irix*, sparc*-sun-solaris2* with
-fgnu-runtime.
Sort entries.
From-SVN: r160172
Rainer Orth [Wed, 2 Jun 2010 17:08:19 +0000 (17:08 +0000)]
backport: Makefile.am (GJDOC_EX): Use find -name pattern -prune -o.
Backport from mainline:
2010-01-18 Andreas Tobler <andreast@fgznet.ch>
* tools/Makefile.am (GJDOC_EX): Use find -name pattern -prune -o.
* tools/Makefile.in: Regenerate.
From-SVN: r160171
Rainer Orth [Wed, 2 Jun 2010 16:57:10 +0000 (16:57 +0000)]
backport: re PR libgcj/38251 (tools.zip doesn't build on systems with short command lines)
Backport from mainline:
2010-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR libgcj/38251
* tools/Makefile.am (dist-hook): Prune .svn directories in asm and
classes copies.
* tools/Makefile.in: Regenerate.
Revert:
2008-11-05 Andrew Haley <aph@redhat.com>
* tools/Makefile.am (UPDATE_TOOLS_ZIP, CREATE_TOOLS_ZIP): Exclude
.svn direcories.
From-SVN: r160168
Rainer Orth [Wed, 2 Jun 2010 16:52:51 +0000 (16:52 +0000)]
backport: inclhack.def (alpha_assert): Allow for more whitespace in select.
Backport from mainline:
2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* inclhack.def (alpha_assert): Allow for more whitespace in
select.
* fixincl.x: Regenerate.
From-SVN: r160167
Rainer Orth [Wed, 2 Jun 2010 16:49:39 +0000 (16:49 +0000)]
backport: re PR libfortran/41169 (libgfortran fails to build on Solaris 10+: '_Imaginary_I' undeclared)
Backport from mainline:
2009-09-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR libfortran/41169
* inclhack.def (irix_complex): New fix.
(solaris_complex): Likewise.
* fixincl.x: Regenerate.
* tests/base/complex.h [IRIX_COMPLEX_CHECK, SOLARIS_COMPLEX_CHECK]:
New tests.
2009-09-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* inclhack.def (solaris_complex): Remove superfluous backslashes from
replacement string. Replace \+ operator with \{1,\}.
From-SVN: r160166
Rainer Orth [Wed, 2 Jun 2010 16:38:06 +0000 (16:38 +0000)]
backport: write_float.def (WRITE_FLOAT): Use __builtin_signbit.
Backport from mainline:
2010-02-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* io/write_float.def (WRITE_FLOAT): Use __builtin_signbit.
From-SVN: r160162
Rainer Orth [Wed, 2 Jun 2010 16:35:15 +0000 (16:35 +0000)]
backport: re PR fortran/42900 (gfortran.dg/stat_[12].f90 may fail on NFS filesystems)
Backport from mainline:
2010-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR fortran/42900
* gfortran.dg/stat_1.f90: Accept 'testfile' gid == parent dir gid.
Explain this.
* gfortran.dg/stat_2.f90: Likewise.
From-SVN: r160161
Andreas Krebbel [Wed, 2 Jun 2010 12:00:02 +0000 (12:00 +0000)]
2097.md (z10_fhex): Remove insn reservation.
2010-06-02 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/2097.md (z10_fhex): Remove insn reservation.
* config/s390/s390.md (UNSPEC_COPYSIGN): Remove unused constant.
(*mov<mode>_64 TD_TF, *mov<mode>_31 TD_TF, *mov<mode>_64dfp DD_DF,
*mov<mode>_64 DD_DF, *mov<mode>_31, mov<mode>): Remove load zero
instruction.
* config/s390/s390.c: Don't accept fp zeros as valid constants
anymore.
From-SVN: r160149
Tobias Burnus [Wed, 2 Jun 2010 06:06:27 +0000 (08:06 +0200)]
re PR fortran/44360 (wrong-code: host-associated procedure wrongly favoured to use-associated one)
2010-06-02 Tobias Burnus <burnus@net-b.de>
PR fortran/44360
* parse.c (gfc_fixup_sibling_symbols): Do not "fix"
use-associated symbols.
2010-06-02 Tobias Burnus <burnus@net-b.de>
PR fortran/44360
* gfortran.dg/use_13.f90: New test case.
From-SVN: r160140
GCC Administrator [Wed, 2 Jun 2010 00:16:50 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r160128
GCC Administrator [Tue, 1 Jun 2010 00:16:50 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r160090
GCC Administrator [Mon, 31 May 2010 00:16:40 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r160063
GCC Administrator [Sun, 30 May 2010 00:16:36 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r160042
GCC Administrator [Sat, 29 May 2010 00:17:06 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r160012
Andreas Krebbel [Fri, 28 May 2010 13:59:35 +0000 (13:59 +0000)]
s390.md (movqi): Fix typo ('*' -> '#').
2010-05-28 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.md (movqi): Fix typo ('*' -> '#').
From-SVN: r159977
GCC Administrator [Fri, 28 May 2010 00:16:54 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r159957
Jason Merrill [Thu, 27 May 2010 19:00:33 +0000 (15:00 -0400)]
re PR c++/43555 (wrong address calculation of multidimensional variable-length array element)
PR c++/43555
* decl.c (grokdeclarator) [cdk_pointer et al]: Force evaluation of
anonymous VLA size.
From-SVN: r159942
Matthias Klose [Thu, 27 May 2010 06:29:55 +0000 (06:29 +0000)]
backport: re PR rtl-optimization/39580 (Revision 145204 caused libgomp.c++/collapse-2.C)
2010-05-27 Matthias Klose <doko@ubuntu.com>
Backport from mainline:
2009-04-22 Andrey Belevantsev <abel@ispras.ru>
PR rtl-optimization/39580
* sel-sched-ir.c (insert_in_history_vect): Remove incorrect gcc_assert.
From-SVN: r159909
GCC Administrator [Thu, 27 May 2010 00:16:54 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r159904
Jakub Jelinek [Wed, 26 May 2010 16:09:25 +0000 (18:09 +0200)]
re PR target/44199 (ppc64 glibc miscompilation)
PR target/44199
* config/rs6000/rs6000.c (rs6000_emit_epilogue): Fix up a backport
glitch.
From-SVN: r159878
Jakub Jelinek [Wed, 26 May 2010 06:05:29 +0000 (08:05 +0200)]
re PR target/44199 (ppc64 glibc miscompilation)
PR target/44199
* config/rs6000/rs6000.c (rs6000_emit_epilogue): If cfun->calls_alloca
or total_size is larger than red zone size for non-V4 ABI, emit a
stack_tie resp. frame_tie insn before stack pointer restore.
* config/rs6000/rs6000.md (frame_tie): New insn.
From-SVN: r159855
GCC Administrator [Wed, 26 May 2010 00:17:03 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r159849
Rainer Orth [Tue, 25 May 2010 20:20:59 +0000 (20:20 +0000)]
configure.ac: Redirect grep stdout, stderr to /dev/null instead of grep -q.
libjava:
* configure.ac: Redirect grep stdout, stderr to /dev/null instead
of grep -q.
Use -- instead of grep -e.
* configure: Regenerate.
contrib:
* dg-extract-results.sh: Redirect grep output to /dev/null instead
of grep -q.
Backport from mainline:
2010-01-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* dg-extract-results.sh: Don't use tail -n.
From-SVN: r159843
GCC Administrator [Tue, 25 May 2010 00:16:49 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r159802
Uros Bizjak [Mon, 24 May 2010 16:26:17 +0000 (18:26 +0200)]
backport: re PR target/43733 (bootstrap fails on Solaris 10 x86 with GNU as 2.15 and --with-arch=core2)
Backport from mainline:
2010-05-20 Uros Bizjak <ubizjak@gmail.com>
PR target/43733
* configure.ac (gcc_cv_as_ix86_sahf): Switch to 64bit mode.
* configure: Regenerate.
* config.in: Regenerate.
* config/i386/i386.md (x86_sahf_1): Conditionally output 0x9e
instead of sahf only for 64bit targets.
From-SVN: r159786
GCC Administrator [Mon, 24 May 2010 00:16:52 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r159772
H.J. Lu [Sun, 23 May 2010 22:17:27 +0000 (22:17 +0000)]
Properly check OPTION_MASK_ISA_64BIT.
gcc/
2010-05-23 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline
2010-05-23 H.J. Lu <hongjiu.lu@intel.com>
PR target/44245
* config/i386/i386.c (def_builtin): Properly check
OPTION_MASK_ISA_64BIT.
gcc/testsuite/
2010-05-23 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline
2010-05-23 H.J. Lu <hongjiu.lu@intel.com>
PR target/44245
* gcc.target/i386/crc32-3.c: New.
* gcc.target/i386/crc32-4.c: Likewise.
From-SVN: r159770
GCC Administrator [Sun, 23 May 2010 00:16:37 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r159751
GCC Administrator [Sat, 22 May 2010 00:16:53 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r159689
Andreas Krebbel [Fri, 21 May 2010 15:42:33 +0000 (15:42 +0000)]
s390.c (override_options): Increase the default of max-completely-peel-times.
2010-05-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.c (override_options): Increase the default
of max-completely-peel-times.
From-SVN: r159674
Richard Guenther [Fri, 21 May 2010 12:56:49 +0000 (12:56 +0000)]
re PR tree-optimization/43845 (Segfault when using __attribute__((const)), versions 4.4.3 and 4.6)
2010-05-21 Richard Guenther <rguenther@suse.de>
PR tree-optimization/43845
* tree-ssa-pre.c (create_component_ref_by_pieces_1): Properly
lookup the CALL_EXPR function and arguments.
* gcc.c-torture/compile/pr43845.c: New testcase.
From-SVN: r159660
Jakub Jelinek [Fri, 21 May 2010 12:33:10 +0000 (14:33 +0200)]
* configure: Regenerate.
From-SVN: r159659
Jakub Jelinek [Fri, 21 May 2010 09:30:07 +0000 (11:30 +0200)]
re PR debug/44205 (Wrong .debug_line for -O0 -g)
PR debug/44205
* tree-cfgcleanup.c (tree_forwarder_block_p): Return false if
at -O0 goto_locus of any of the incoming edges differs from
goto_locus of outgoing edge, or gimple_location of any of the
labels differs.
From-SVN: r159654
GCC Administrator [Fri, 21 May 2010 00:16:51 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r159648
Kenneth Zadeck [Thu, 20 May 2010 12:08:34 +0000 (12:08 +0000)]
re PR bootstrap/43870 (ICE in gcc/config/soft-fp/divtf3.c)
PR bootstrap/43870
* df-scan.c (df_ref_compare): Stabilize sort.
From-SVN: r159627