* config/sparc/gas.h: New file. Restore
TARGET_ASM_NAMED_SECTION to its ELF default.
* config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Do not
check !HAVE_GNU_AS.
* config/sparc/sparc.c (sparc_elf_asm_named_section):
Likewise. Add ATTRIBUTE_UNUSED to prototype.
* config.gcc (sparc*-*-linux*): Include sparc/gas.h
after sparc/sysv4.h.
Jerry DeLisle [Fri, 5 Feb 2010 04:58:30 +0000 (04:58 +0000)]
re PR fortran/42901 (reading array of structures from namelist fails)
2010-02-04 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/42901
* io/list_read.c (nml_get_obj_data): Add new qualifier flag, clean up
code, and adjust logic to set namelist info pointer correctly for array
qualifiers of derived type components.
Rainer Orth [Wed, 27 Jan 2010 08:12:27 +0000 (09:12 +0100)]
sparc.c (sparc_elf_asm_named_section): Test for HAVE_GNU_AS value.
* config/sparc/sparc.c (sparc_elf_asm_named_section): Test for
HAVE_GNU_AS value.
* config/sparc/sysv4.h [HAVE_GNU_AS] (TARGET_ASM_NAMED_SECTION):
Test for HAVE_GNU_AS value.
David S. Miller [Mon, 25 Jan 2010 10:34:07 +0000 (10:34 +0000)]
sysv4.h (TARGET_ASM_NAMED_SECTION): Only define if not using GAS.
2010-01-24 David S. Miller <davem@davemloft.net>
* gcc/config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Only
define if not using GAS.
* gcc/config/sparc/sparc.c (sparc_elf_asm_named_section):
Likewise. Delete SECTION_MERGE code, which is only applicable
when using GAS.
re PR bootstrap/42786 (Athlon SSE3 and Fx processors not supported by configure)
PR bootstrap/42786
* config.gcc (i[34567]86-*-*): Fix handling of athlon64 and athlon-fx
cpu types. Add support for *-sse3 cpu types.
(x86_64-*-*): Ditto.
Uros Bizjak [Mon, 18 Jan 2010 21:44:32 +0000 (22:44 +0100)]
re PR target/42774 (ICE in get_aligned_mem, at config/alpha/alpha.c:1484)
PR target/42774
* config/alpha/predicates.md (aligned_memory_operand): Return 0 for
memory references with unaligned offsets. Remove CQImode handling.
(unaligned_memory_operand): Return 1 for memory references with
unaligned offsets. Remove CQImode handling.
testsuite/ChangeLog:
PR target/42774
* gcc.target/alpha/pr42774.c: New test.
H.J. Lu [Sun, 17 Jan 2010 18:55:03 +0000 (18:55 +0000)]
Backport ia64 fix for PR target/42542 from mainline.
gcc/
2010-01-17 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline:
2010-01-13 Steve Ellcey <sje@cup.hp.com>
PR target/42542
* config/ia64/ia64.c (ia64_expand_vecint_compare): Convert GTU to GT
for V2SI by subtracting (-(INT MAX) - 1) from both operands to make
them signed.
gcc/testsuite/
2010-01-17 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline:
2010-01-13 Steve Ellcey <sje@cup.hp.com>
H.J. Lu [Thu, 7 Jan 2010 19:58:16 +0000 (19:58 +0000)]
Properly convert GTU to GT for V4SI and V2DI
gcc/
2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline
2010-01-05 Paolo Bonzini <bonzinI@gnu.rg>
H.J. Lu <hongjiu.lu@intel.com>
PR target/42542
* config/i386/i386.c (ix86_expand_int_vcond): Convert GTU to GT
for V4SI and V2DI by subtracting (-(INT MAX) - 1) from both
operands to make them signed.
gcc/testsuite/
2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline
2010-01-05 H.J. Lu <hongjiu.lu@intel.com>
Eric Botcazou [Tue, 5 Jan 2010 22:34:01 +0000 (22:34 +0000)]
re PR target/42564 (unrecognizable insn with -O -fPIC)
PR target/42564
* config/sparc/sparc.h (SPARC_SYMBOL_REF_TLS_P): Delete.
* config/sparc/sparc-protos.h (legitimize_pic_address): Likewise.
(legitimize_tls_address): Likewise.
(sparc_tls_referenced_p): Likewise.
* config/sparc/sparc.c (sparc_expand_move): Use legitimize_tls_address
and adjust calls to legitimize_pic_address.
(legitimate_constant_p) Use sparc_tls_referenced_p.
(legitimate_pic_operand_p): Likewise.
(sparc_legitimate_address_p): Do not use SPARC_SYMBOL_REF_TLS_P.
(sparc_tls_symbol_ref_1): Delete.
(sparc_tls_referenced_p): Make static, recognize specific patterns.
(legitimize_tls_address): Make static, handle CONST patterns.
(legitimize_pic_address): Make static, remove unused parameter and
adjust recursive calls.
(sparc_legitimize_address): Make static, use sparc_tls_referenced_p
and adjust call to legitimize_pic_address.
(sparc_output_mi_thunk): Likewise.
Ian Lance Taylor [Wed, 30 Dec 2009 19:50:24 +0000 (19:50 +0000)]
re PR middle-end/42099 (Error in 64-bit division for 32-bit target)
gcc/:
PR middle-end/42099
* expmed.c (expand_divmod): Don't shift HOST_WIDE_INT value more
than HOST_BITS_PER_WIDE_INT.
gcc/testsuite/:
PR middle-end/42099
* gcc.c-torture/execute/20091229-1.c: New test.