[Bug target/36720] ia64_split_tmode_move doesn't work on little endian

2008-07-06 Thread hjl at gcc dot gnu dot org


--- Comment #3 from hjl at gcc dot gnu dot org  2008-07-07 00:34 ---
Subject: Bug 36720

Author: hjl
Date: Mon Jul  7 00:34:16 2008
New Revision: 137547

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137547
Log:
2008-07-06  H.J. Lu  <[EMAIL PROTECTED]>

PR target/36720
* config/ia64/ia64.c (ia64_split_tmode): Fix typo in TImode
constant for little endian.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/ia64/ia64.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36720



[Bug debug/36728] [stack]: gdb doesn't work with stack alignment

2008-07-05 Thread hjl at gcc dot gnu dot org


--- Comment #11 from hjl at gcc dot gnu dot org  2008-07-06 01:19 ---
Subject: Bug 36728

Author: hjl
Date: Sun Jul  6 01:18:49 2008
New Revision: 137517

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137517
Log:
2008-07-05  H.J. Lu  <[EMAIL PROTECTED]>
Xuepeng Guo  <[EMAIL PROTECTED]>

PR debug/36728
* dwarf2out.c (dw_fde_node): Add drap_reg and vdrap_reg.  Remove
cfa_uses_expression.
(add_cfi): Check drap_reg instead of cfa_uses_expression.
(dwarf2out_frame_debug_expr): Add rule 20 to handle virtual
drap.  Update rule 19 to set drap_reg instead of
cfa_uses_expression.
(dwarf2out_begin_prologue): Initialize drap_reg and vdrap_reg
to INVALID_REGNUM.
(based_loc_descr): Use cfa+offset to represent the location of
arguments passed on stack when drap is used to align stack.

* config/i386/i386.c (ix86_get_drap_rtx): Set RTX_FRAME_RELATED_P
bit on virtual drap insn.

Modified:
branches/stack/gcc/ChangeLog.stackalign
branches/stack/gcc/config/i386/i386.c
branches/stack/gcc/dwarf2out.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36728



[Bug debug/36728] [stack]: gdb doesn't work with stack alignment

2008-07-04 Thread hjl at gcc dot gnu dot org


--- Comment #4 from hjl at gcc dot gnu dot org  2008-07-04 14:18 ---
Subject: Bug 36728

Author: hjl
Date: Fri Jul  4 14:17:18 2008
New Revision: 137460

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137460
Log:
2008-07-04  Xuepeng Guo  <[EMAIL PROTECTED]>

PR debug/36728
* dwarf2out.c (based_loc_descr): For local variables, use
sp+offset when stack is aligned without drap and fp+offset
when stack is aligned with drap.

Modified:
branches/stack/gcc/ChangeLog.stackalign
branches/stack/gcc/dwarf2out.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36728



[Bug bootstrap/36702] [4.4 Regression] Bootstrap fails at revision 137369 on i686-apple-darwin9

2008-07-02 Thread hjl at gcc dot gnu dot org


--- Comment #2 from hjl at gcc dot gnu dot org  2008-07-02 19:32 ---
Subject: Bug 36702

Author: hjl
Date: Wed Jul  2 19:31:53 2008
New Revision: 137380

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137380
Log:
2008-07-02  H.J. Lu  <[EMAIL PROTECTED]>

PR boostrap/36702
* config.host: Only include 32bit t-fprules-softfp for Darwin/x86
and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.

* config/i386/64/t-fprules-softfp: Moved to ...
* config/i386/64/t-softfp-compat: This.  New.

Added:
trunk/libgcc/config/i386/64/t-softfp-compat
  - copied unchanged from r137369,
trunk/libgcc/config/i386/64/t-fprules-softfp
Removed:
trunk/libgcc/config/i386/64/t-fprules-softfp
Modified:
trunk/libgcc/ChangeLog
trunk/libgcc/config.host


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36702



[Bug target/36669] Wrong versioning for __float128

2008-07-02 Thread hjl at gcc dot gnu dot org


--- Comment #22 from hjl at gcc dot gnu dot org  2008-07-02 16:00 ---
Subject: Bug 36669

Author: hjl
Date: Wed Jul  2 15:59:19 2008
New Revision: 137369

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137369
Log:
gcc/

2008-07-02  H.J. Lu  <[EMAIL PROTECTED]>

PR target/36669
* config/libgcc-glibc.ver: Add %exclude.
* config/m32r/libgcc-glibc.ver: Likwise.
* config/s390/libgcc-glibc.ver: Likwise.
* config/sh/libgcc-glibc.ver: Likwise.
* config/sparc/libgcc-sparc-glibc.ver: Likwise.

* config/i386/libgcc-glibc.ver: New.

* config/i386/libgcc-x86_64-glibc.ver: Removed.

2008-07-02  H.J. Lu  <[EMAIL PROTECTED]>

* config.gcc: Remove i386/t-fprules-softfp64 soft-fp/t-softfp
from tmake_file from i[34567]86-*-darwin*, x86_64-*-darwin*,
i[34567]86-*-linux*, x86_64-*-linux*.  Add
i386/t-fprules-softfp and soft-fp/t-softfp to tmake_file for
i[34567]86-*-darwin*, x86_64-*-darwin*, i[34567]86-*-linux*,
x86_64-*-linux*.  Add i386/t-linux to tmake_file for
i[34567]86-*-linux*, x86_64-*-linux*.

* libgcc-std.ver: Add empty GCC_4.4.0.

* mkmap-symver.awk: Support multiple versions per symbol.

* config/i386/i386.c (ix86_init_builtins): Always define
__builtin_fabsq and __builtin_copysignq with fallbacks.
(ix86_expand_builtin): Emit normal call for __builtin_fabsq
and __builtin_copysignq if SSE2 isn't available.

* config/i386/linux.h (LIBGCC2_HAS_TF_MODE): Defined.
(LIBGCC2_TF_CEXT): Likwise.
(TF_SIZE): Likwise.

* config/i386/linux64.h (LIBGCC2_HAS_TF_MODE): Defined as 1.

* config/i386/sfp-machine.h: Moved to libgcc.

* config/i386/sfp-machine.h: New.
* config/i386/t-linux: Likwise.

* config/i386/t-darwin: Remove softfp_wrap_start and
softfp_wrap_end.
* config/i386/t-darwin64: Likewise.

* config/i386/t-fprules-softfp64: Renamed to ...
* config/i386/t-fprules-softfp: This.

* config/i386/t-linux64: Remove SHLIB_MAPFILES, softfp_wrap_start
and softfp_wrap_end.

libgcc/

2008-07-02  H.J. Lu  <[EMAIL PROTECTED]>

PR target/36669
* shared-object.mk ($(base)_s$(objext)): Add -DSHARED.

* config/i386/64/_divtc3-compat.c: New.
* config/i386/64/_multc3-compat.c: Likewise.
* config/i386/64/_powitf2-compat.c: Likewise.
* config/i386/64/eqtf2.c: Likewise.
* config/i386/64/getf2.c: Likewise.
* config/i386/64/letf2.c: Likewise.
* config/i386/64/t-fprules-softfp: Likewise.

2008-07-02  H.J. Lu  <[EMAIL PROTECTED]>

* config.host: Add i386/${host_address}/t-fprules-softfp to
tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
i[34567]86-*-linux*, x86_64-*-linux*. 

* configure.ac: Set host_address to 64 or 32 for x86.
* configure: Regenerated.

* Makefile.in (config.status): Also depend on
$(srcdir)/config.host.

* config/i386/32/t-fprules-softfp: New.
* config/i386/32/tf-signs.c: Likewise.

* config/i386/64/sfp-machine.h: New. Moved from gcc.

2008-07-02  H.J. Lu  <[EMAIL PROTECTED]>
Uros Bizjak  <[EMAIL PROTECTED]>

* config/i386/32/sfp-machine.h: New.

Added:
trunk/gcc/config/i386/libgcc-glibc.ver
trunk/gcc/config/i386/t-fprules-softfp
trunk/gcc/config/i386/t-linux
trunk/libgcc/config/i386/32/
trunk/libgcc/config/i386/32/sfp-machine.h
trunk/libgcc/config/i386/32/t-fprules-softfp
trunk/libgcc/config/i386/32/tf-signs.c
trunk/libgcc/config/i386/64/
trunk/libgcc/config/i386/64/_divtc3-compat.c
trunk/libgcc/config/i386/64/_multc3-compat.c
trunk/libgcc/config/i386/64/_powitf2-compat.c
trunk/libgcc/config/i386/64/eqtf2.c
trunk/libgcc/config/i386/64/getf2.c
trunk/libgcc/config/i386/64/letf2.c
trunk/libgcc/config/i386/64/sfp-machine.h
trunk/libgcc/config/i386/64/t-fprules-softfp
Removed:
trunk/gcc/config/i386/libgcc-x86_64-glibc.ver
trunk/gcc/config/i386/t-fprules-softfp64
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config.gcc
trunk/gcc/config/i386/i386.c
trunk/gcc/config/i386/linux.h
trunk/gcc/config/i386/linux64.h
trunk/gcc/config/i386/sfp-machine.h
trunk/gcc/config/i386/t-darwin
trunk/gcc/config/i386/t-darwin64
trunk/gcc/config/i386/t-linux64
trunk/gcc/config/libgcc-glibc.ver
trunk/gcc/config/m32r/libgcc-glibc.ver
trunk/gcc/config/s390/libgcc-glibc.ver
trunk/gcc/config/sh/libgcc-glibc.ver
trunk/gcc/config/sparc/libgcc-sparc-glibc.ver
trunk/gcc/libgcc-std.ver
trunk/gcc/mkmap-symver.awk
trunk/libgcc/ChangeLog
trunk/libgcc/Makefile.in
trunk/libgcc/config.host
trunk/libgcc/configure
trunk/libgcc/configure.ac
trunk/libgcc/shared-object.mk


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36669



[Bug target/36584] [4.3/4.4 Regression] Stack is not aligned correctly in recursive function

2008-06-27 Thread hjl at gcc dot gnu dot org


--- Comment #7 from hjl at gcc dot gnu dot org  2008-06-27 13:59 ---
Subject: Bug 36584

Author: hjl
Date: Fri Jun 27 13:59:05 2008
New Revision: 137179

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137179
Log:
2008-06-27  H.J. Lu  <[EMAIL PROTECTED]>

PR middle-end/36584
* gcc.target/i386/stackalign/local-1.c: Remove invalid test.

Removed:
branches/stack/gcc/testsuite/gcc.target/i386/stackalign/local-1.c
Modified:
branches/stack/gcc/testsuite/ChangeLog.stackalign


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36584



[Bug preprocessor/36479] Short buffer in libcpp

2008-06-12 Thread hjl at gcc dot gnu dot org


--- Comment #8 from hjl at gcc dot gnu dot org  2008-06-12 17:04 ---
Subject: Bug 36479

Author: hjl
Date: Thu Jun 12 17:03:41 2008
New Revision: 136714

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=136714
Log:
2008-06-12  H.J. Lu  <[EMAIL PROTECTED]>

PR preprocessor/36479
* charset.c (cpp_interpret_string_notranslate): Also set
narrow_cset_desc.width.

Modified:
trunk/libcpp/ChangeLog
trunk/libcpp/charset.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36479



[Bug middle-end/35771] Call expander ignores type alignment

2008-05-29 Thread hjl at gcc dot gnu dot org


--- Comment #10 from hjl at gcc dot gnu dot org  2008-05-29 12:35 ---
Subject: Bug 35771

Author: hjl
Date: Thu May 29 12:35:04 2008
New Revision: 136159

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=136159
Log:
gcc/

2008-05-29  H.J. Lu  <[EMAIL PROTECTED]>

PR target/35771
* config/i386/i386.c (ix86_function_arg_boundary): Convert to
canonical type if needed.

gcc/testsuite/

2008-05-29  H.J. Lu  <[EMAIL PROTECTED]>

PR target/35771
* gcc.dg/torture/pr35771.h: New.
* gcc.dg/torture/pr35771-1.c: Likewise.
* gcc.dg/torture/pr35771-2.c: Likewise.
* gcc.dg/torture/pr35771-3.c: Likewise.

Added:
trunk/gcc/testsuite/gcc.dg/torture/pr35771-1.c
trunk/gcc/testsuite/gcc.dg/torture/pr35771-2.c
trunk/gcc/testsuite/gcc.dg/torture/pr35771-3.c
trunk/gcc/testsuite/gcc.dg/torture/pr35771.h
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35771



[Bug middle-end/35771] Call expander ignores type alignment

2008-05-27 Thread hjl at gcc dot gnu dot org


--- Comment #5 from hjl at gcc dot gnu dot org  2008-05-27 20:19 ---
Subject: Bug 35771

Author: hjl
Date: Tue May 27 20:18:33 2008
New Revision: 136054

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=136054
Log:
gcc/

2008-05-27  H.J. Lu  <[EMAIL PROTECTED]>

PR target/35767
PR target/35771
* config/i386/i386.c (ix86_function_arg_boundary): Use
alignment of canonical type.
(ix86_expand_vector_move): Check unaligned memory access for
all SSE modes.

gcc/testsuite/

2008-05-27  H.J. Lu  <[EMAIL PROTECTED]>

PR target/35767
PR target/35771
* gcc.target/i386/pr35767-1.c: New.
* gcc.target/i386/pr35767-1d.c: Likewise.
* gcc.target/i386/pr35767-1i.c: Likewise.
* gcc.target/i386/pr35767-2.c: Likewise.
* gcc.target/i386/pr35767-2d.c: Likewise.
* gcc.target/i386/pr35767-2i.c: Likewise.
* gcc.target/i386/pr35767-3.c: Likewise.
* gcc.target/i386/pr35767-4.c: Likewise.
* gcc.target/i386/pr35767-5.c: Likewise.

Added:
trunk/gcc/testsuite/gcc.target/i386/pr35767-1.c
trunk/gcc/testsuite/gcc.target/i386/pr35767-1d.c
trunk/gcc/testsuite/gcc.target/i386/pr35767-1i.c
trunk/gcc/testsuite/gcc.target/i386/pr35767-2.c
trunk/gcc/testsuite/gcc.target/i386/pr35767-2d.c
trunk/gcc/testsuite/gcc.target/i386/pr35767-2i.c
trunk/gcc/testsuite/gcc.target/i386/pr35767-3.c
trunk/gcc/testsuite/gcc.target/i386/pr35767-4.c
trunk/gcc/testsuite/gcc.target/i386/pr35767-5.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35771



[Bug target/35767] x86 backend uses aligned load on unaligned memory

2008-05-27 Thread hjl at gcc dot gnu dot org


--- Comment #3 from hjl at gcc dot gnu dot org  2008-05-27 20:19 ---
Subject: Bug 35767

Author: hjl
Date: Tue May 27 20:18:33 2008
New Revision: 136054

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=136054
Log:
gcc/

2008-05-27  H.J. Lu  <[EMAIL PROTECTED]>

PR target/35767
PR target/35771
* config/i386/i386.c (ix86_function_arg_boundary): Use
alignment of canonical type.
(ix86_expand_vector_move): Check unaligned memory access for
all SSE modes.

gcc/testsuite/

2008-05-27  H.J. Lu  <[EMAIL PROTECTED]>

PR target/35767
PR target/35771
* gcc.target/i386/pr35767-1.c: New.
* gcc.target/i386/pr35767-1d.c: Likewise.
* gcc.target/i386/pr35767-1i.c: Likewise.
* gcc.target/i386/pr35767-2.c: Likewise.
* gcc.target/i386/pr35767-2d.c: Likewise.
* gcc.target/i386/pr35767-2i.c: Likewise.
* gcc.target/i386/pr35767-3.c: Likewise.
* gcc.target/i386/pr35767-4.c: Likewise.
* gcc.target/i386/pr35767-5.c: Likewise.

Added:
trunk/gcc/testsuite/gcc.target/i386/pr35767-1.c
trunk/gcc/testsuite/gcc.target/i386/pr35767-1d.c
trunk/gcc/testsuite/gcc.target/i386/pr35767-1i.c
trunk/gcc/testsuite/gcc.target/i386/pr35767-2.c
trunk/gcc/testsuite/gcc.target/i386/pr35767-2d.c
trunk/gcc/testsuite/gcc.target/i386/pr35767-2i.c
trunk/gcc/testsuite/gcc.target/i386/pr35767-3.c
trunk/gcc/testsuite/gcc.target/i386/pr35767-4.c
trunk/gcc/testsuite/gcc.target/i386/pr35767-5.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35767



[Bug middle-end/36253] Caller-save stack slot may not have proper alignment

2008-05-17 Thread hjl at gcc dot gnu dot org


--- Comment #4 from hjl at gcc dot gnu dot org  2008-05-17 23:58 ---
Subject: Bug 36253

Author: hjl
Date: Sat May 17 23:57:59 2008
New Revision: 135486

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135486
Log:
2008-05-17  H.J. Lu  <[EMAIL PROTECTED]>

PR middle-end/36253
* caller-save.c (insert_restore): Verify alignment of spill
space.
(insert_save): Likewise.

* cfgexpand.c (LOCAL_ALIGNMENT): Removed.
(get_decl_align_unit): Pass VOIDmode to LOCAL_ALIGNMENT.

* defaults.h (LOCAL_ALIGNMENT): New. Provide default.

* function.c (LOCAL_ALIGNMENT): Removed.
(get_stack_local_alignment): New.
(assign_stack_local): Use it.  Set alignment on stack slot.
(assign_stack_temp_for_type): Use get_stack_local_alignment.

* config/bfin/bfin.c (bfin_local_alignment): Updated.
* config/bfin/bfin.h (LOCAL_ALIGNMENT): Likewise.
* config/bfin/bfin-protos.h (bfin_local_alignment): Likewise.
* config/i386/i386.h (LOCAL_ALIGNMENT): Likewise.
* config/i386/i386-protos.h (ix86_local_alignment): Likewise.
* config/mips/mips.h (LOCAL_ALIGNMENT): Likewise.
* config/mmix/mmix.c (mmix_local_alignment): Likewise.
* config/mmix/mmix.h (LOCAL_ALIGNMENT): Likewise.
* config/mmix/mmix-protos.h (mmix_local_alignment): Likewise.
* config/rs6000/rs6000.h (LOCAL_ALIGNMENT): Likewise.
* config/score/score.h (LOCAL_ALIGNMENT): Likewise.
* config/sh/sh.h (LOCAL_ALIGNMENT): Likewise.
* config/sparc/sparc.h (LOCAL_ALIGNMENT): Likewise.
* config/spu/spu.h (LOCAL_ALIGNMENT): Likewise.

* config/i386/i386.c (ix86_local_alignment): Handle caller-save
stack slot in XFmode.

* config/rs6000/rs6000.h (LOCAL_ALIGNMENT_1): New.
* config/sh/sh.h (LOCAL_ALIGNMENT_1): Likewise.

* doc/tm.texi (LOCAL_ALIGNMENT): Add mode.

Modified:
branches/stack/gcc/ChangeLog.stackalign
branches/stack/gcc/caller-save.c
branches/stack/gcc/cfgexpand.c
branches/stack/gcc/config/bfin/bfin-protos.h
branches/stack/gcc/config/bfin/bfin.c
branches/stack/gcc/config/bfin/bfin.h
branches/stack/gcc/config/i386/i386-protos.h
branches/stack/gcc/config/i386/i386.c
branches/stack/gcc/config/i386/i386.h
branches/stack/gcc/config/mips/mips.h
branches/stack/gcc/config/mmix/mmix-protos.h
branches/stack/gcc/config/mmix/mmix.c
branches/stack/gcc/config/mmix/mmix.h
branches/stack/gcc/config/rs6000/rs6000.h
branches/stack/gcc/config/score/score.h
branches/stack/gcc/config/sh/sh.h
branches/stack/gcc/config/sparc/sparc.h
branches/stack/gcc/config/spu/spu.h
branches/stack/gcc/defaults.h
branches/stack/gcc/doc/tm.texi
branches/stack/gcc/function.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36253



[Bug target/35657] Alignments of DFP types aren't consistent

2008-05-08 Thread hjl at gcc dot gnu dot org


--- Comment #13 from hjl at gcc dot gnu dot org  2008-05-08 19:12 ---
Subject: Bug 35657

Author: hjl
Date: Thu May  8 19:11:23 2008
New Revision: 135089

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135089
Log:
2008-05-08  H.J. Lu  <[EMAIL PROTECTED]>

Backport from mainline:
2008-05-06  H.J. Lu  <[EMAIL PROTECTED]>

PR target/35657
* config/i386/i386.c (contains_128bit_aligned_vector_p): Renamed
to ...
(contains_aligned_value_p): This.  Handle _Decimal128.
(ix86_function_arg_boundary): Only align _Decimal128 to its
natural boundary and handle it properly.

Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/config/i386/i386.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35657



[Bug testsuite/36155] UTF tests doesn't work on Linux

2008-05-06 Thread hjl at gcc dot gnu dot org


--- Comment #3 from hjl at gcc dot gnu dot org  2008-05-06 21:36 ---
Subject: Bug 36155

Author: hjl
Date: Tue May  6 21:35:33 2008
New Revision: 135008

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135008
Log:
2008-05-06  H.J. Lu  <[EMAIL PROTECTED]>

PR testsuite/36155
* g++.dg/ext/utf32-4.C: Fix a typo.

Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/ext/utf32-4.C


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36155



[Bug testsuite/36155] UTF tests doesn't work on Linux

2008-05-06 Thread hjl at gcc dot gnu dot org


--- Comment #2 from hjl at gcc dot gnu dot org  2008-05-06 18:37 ---
Subject: Bug 36155

Author: hjl
Date: Tue May  6 18:37:03 2008
New Revision: 134994

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134994
Log:
2008-05-06  H.J. Lu  <[EMAIL PROTECTED]>

PR testsuite/36155
* gcc.dg/utf32-4.c: Fix a typo.

* lib/target-supports.exp (check_effective_target_4byte_wchar_t):
Use __WCHAR_TYPE__ instead of wchar_t.

Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/utf32-4.c
trunk/gcc/testsuite/lib/target-supports.exp


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36155



[Bug target/35657] Alignments of DFP types aren't consistent

2008-05-06 Thread hjl at gcc dot gnu dot org


--- Comment #12 from hjl at gcc dot gnu dot org  2008-05-06 15:41 ---
Subject: Bug 35657

Author: hjl
Date: Tue May  6 15:41:08 2008
New Revision: 134987

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134987
Log:
2008-05-06  H.J. Lu  <[EMAIL PROTECTED]>

PR target/35657
* config/i386/i386.c (contains_128bit_aligned_vector_p): Renamed
to ...
(contains_aligned_value_p): This.  Handle _Decimal128.
(ix86_function_arg_boundary): Only align _Decimal128 to its
natural boundary and handle it properly.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35657



[Bug bootstrap/36121] config/i386/i386.c: array index out of range

2008-05-04 Thread hjl at gcc dot gnu dot org


--- Comment #1 from hjl at gcc dot gnu dot org  2008-05-04 15:22 ---
Subject: Bug 36121

Author: hjl
Date: Sun May  4 15:22:05 2008
New Revision: 134932

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134932
Log:
2008-05-04  H.J. Lu  <[EMAIL PROTECTED]>

PR target/36121
* config/i386/i386.c (ix86_expand_special_args_builtin): Remove
3 argument handling.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36121



[Bug target/36095] __builtin_ia32_crc32di shouldn't defined in 32bit

2008-05-01 Thread hjl at gcc dot gnu dot org


--- Comment #3 from hjl at gcc dot gnu dot org  2008-05-01 16:14 ---
Subject: Bug 36095

Author: hjl
Date: Thu May  1 16:13:23 2008
New Revision: 134861

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134861
Log:
2008-05-01  H.J. Lu  <[EMAIL PROTECTED]>

PR target/36095
* config/i386/i386.c (bdesc_crc32): Removed.
(ix86_expand_crc32): Likewise.
(ix86_builtin_type): Replace V2DI2TI_FTYPE_V2DI2TI_INT with
V2DI2TI_FTYPE_V2DI_INT, V2DI2TI_FTYPE_V2DI2TI_V2DI2TI_INT with
V2DI2TI_FTYPE_V2DI_V2DI_INT.  Add UINT64_FTYPE_UINT64_UINT64,
UINT_FTYPE_UINT_UINT, UINT_FTYPE_UINT_USHORT and
UINT_FTYPE_UINT_UCHAR.
(bdesc_args): Updated. Add crc32 builtins.
(ix86_init_mmx_sse_builtins): Updated.
(ix86_expand_args_builtin): Updated to support subreg.

* doc/extend.texi: Correct __builtin_ia32_crc32di.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/doc/extend.texi


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36095



[Bug target/36095] __builtin_ia32_crc32di shouldn't defined in 32bit

2008-05-01 Thread hjl at gcc dot gnu dot org


--- Comment #2 from hjl at gcc dot gnu dot org  2008-05-01 13:20 ---
Subject: Bug 36095

Author: hjl
Date: Thu May  1 13:20:04 2008
New Revision: 134852

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134852
Log:
2008-05-01  H.J. Lu  <[EMAIL PROTECTED]>

PR target/36095
* config/i386/i386.c (bdesc_crc32): Remove OPTION_MASK_ISA_64BIT
from IX86_BUILTIN_CRC32QI.  Add OPTION_MASK_ISA_64BIT to
IX86_BUILTIN_CRC32DI.
(ix86_init_mmx_sse_builtins): Add OPTION_MASK_ISA_64BIT to
IX86_BUILTIN_CRC32DI.

* doc/extend.texi: Correct __builtin_ia32_crc32di.

Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/config/i386/i386.c
branches/gcc-4_3-branch/gcc/doc/extend.texi


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36095



[Bug testsuite/36053] [4.4 Regression]: ERROR: tcl error sourcing gcc/gcc/testsuite/gcc.dg/dg.exp

2008-04-26 Thread hjl at gcc dot gnu dot org


--- Comment #5 from hjl at gcc dot gnu dot org  2008-04-26 19:15 ---
Subject: Bug 36053

Author: hjl
Date: Sat Apr 26 19:14:46 2008
New Revision: 134716

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134716
Log:
2008-04-26  H.J. Lu  <[EMAIL PROTECTED]>

PR testsuite/36053
* gcc.dg/large-size-array-2.c: Fix x86_64-*-mingw* check.
* gcc.dg/large-size-array-4.c: Likewise.

Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/large-size-array-2.c
trunk/gcc/testsuite/gcc.dg/large-size-array-4.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36053



[Bug testsuite/36053] [4.4 Regression]: ERROR: tcl error sourcing gcc/gcc/testsuite/gcc.dg/dg.exp

2008-04-26 Thread hjl at gcc dot gnu dot org


--- Comment #4 from hjl at gcc dot gnu dot org  2008-04-26 15:28 ---
Subject: Bug 36053

Author: hjl
Date: Sat Apr 26 15:27:34 2008
New Revision: 134707

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134707
Log:
2008-04-26  H.J. Lu  <[EMAIL PROTECTED]>

PR testsuite/36053
* gcc.dg/large-size-array-2.c: Fix x86_64-*-mingw* check.
* gcc.dg/large-size-array-4.c: Likewise.

Modified:
branches/ix86/avx/gcc/testsuite/ChangeLog.avx
branches/ix86/avx/gcc/testsuite/gcc.dg/large-size-array-2.c
branches/ix86/avx/gcc/testsuite/gcc.dg/large-size-array-4.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36053



[Bug testsuite/36053] [4.4 Regression]: ERROR: tcl error sourcing gcc/gcc/testsuite/gcc.dg/dg.exp

2008-04-26 Thread hjl at gcc dot gnu dot org


--- Comment #3 from hjl at gcc dot gnu dot org  2008-04-26 14:50 ---
Subject: Bug 36053

Author: hjl
Date: Sat Apr 26 14:50:02 2008
New Revision: 134706

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134706
Log:
2008-04-26  H.J. Lu  <[EMAIL PROTECTED]>

PR testsuite/36053
* gcc.dg/large-size-array-2.c: Fix x86_64-*-mingw* check.
* gcc.dg/large-size-array-4.c: Likewise.

Modified:
branches/stack/gcc/testsuite/ChangeLog.stackalign
branches/stack/gcc/testsuite/gcc.dg/large-size-array-2.c
branches/stack/gcc/testsuite/gcc.dg/large-size-array-4.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36053



[Bug middle-end/35897] DSE doesn't support targets with wide registers

2008-04-11 Thread hjl at gcc dot gnu dot org


--- Comment #6 from hjl at gcc dot gnu dot org  2008-04-11 15:56 ---
Subject: Bug 35897

Author: hjl
Date: Fri Apr 11 15:55:57 2008
New Revision: 134200

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134200
Log:
2008-04-11  H.J. Lu  <[EMAIL PROTECTED]>

PR middle-end/35897
* dse.c (store_info): Change positions_needed to unsigned
HOST_WIDE_INT.
(lowpart_bitmask): New.
(record_store): Cast to unsigned HOST_WIDE_INT for
positions_needed.  Assert width <= size of positions_needed *
CHAR_BIT.  Call lowpart_bitmask to initialize positions_needed.
(check_mem_read_rtx): Use unsigned HOST_WIDE_INT on mask.  Call
lowpart_bitmask to set mask.

Modified:
branches/ix86/avx/gcc/ChangeLog.avx
branches/ix86/avx/gcc/dse.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35897



[Bug middle-end/35897] DSE doesn't support targets with wide registers

2008-04-11 Thread hjl at gcc dot gnu dot org


--- Comment #5 from hjl at gcc dot gnu dot org  2008-04-11 15:53 ---
Subject: Bug 35897

Author: hjl
Date: Fri Apr 11 15:52:19 2008
New Revision: 134199

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134199
Log:
2008-04-11  H.J. Lu  <[EMAIL PROTECTED]>

PR middle-end/35897
* dse.c (store_info): Change positions_needed to unsigned
HOST_WIDE_INT.
(lowpart_bitmask): New.
(record_store): Cast to unsigned HOST_WIDE_INT for
positions_needed.  Assert width <= size of positions_needed *
CHAR_BIT.  Call lowpart_bitmask to initialize positions_needed.
(check_mem_read_rtx): Use unsigned HOST_WIDE_INT on mask.  Call
lowpart_bitmask to set mask.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/dse.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35897



[Bug middle-end/35897] DSE doesn't support targets with wide registers

2008-04-10 Thread hjl at gcc dot gnu dot org


--- Comment #4 from hjl at gcc dot gnu dot org  2008-04-10 14:06 ---
Subject: Bug 35897

Author: hjl
Date: Thu Apr 10 14:05:52 2008
New Revision: 134163

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134163
Log:
2008-04-09  H.J. Lu  <[EMAIL PROTECTED]>

PR middle-end/35897
* dse.c (store_info): Add a FIXME for positions_needed.
(fill_bitmask): New.
(record_store): Assert width <= size of positions_needed *
CHAR_BIT.  Call fill_bitmask to initialize positions_needed.
(check_mem_read_rtx): Use long on mask.  Call fill_bitmask to
set mask.

Modified:
branches/ix86/avx/gcc/ChangeLog.avx
branches/ix86/avx/gcc/dse.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35897



[Bug middle-end/35897] DSE doesn't support targets with wide registers

2008-04-09 Thread hjl at gcc dot gnu dot org


--- Comment #2 from hjl at gcc dot gnu dot org  2008-04-10 00:53 ---
Subject: Bug 35897

Author: hjl
Date: Thu Apr 10 00:53:04 2008
New Revision: 134160

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134160
Log:
2008-04-09  H.J. Lu  <[EMAIL PROTECTED]>

PR middle-end/35897
* dse.c (store_info): Use long long on positions_needed.

Added:
branches/ix86/avx/gcc/ChangeLog.avx
Modified:
branches/ix86/avx/gcc/dse.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35897



[Bug target/35795] [4.4 Regression] Revision 133787 breaks ia64

2008-04-03 Thread hjl at gcc dot gnu dot org


--- Comment #8 from hjl at gcc dot gnu dot org  2008-04-03 12:50 ---
Subject: Bug 35795

Author: hjl
Date: Thu Apr  3 12:49:27 2008
New Revision: 133868

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133868
Log:
2008-04-03  Jan Hubicka  <[EMAIL PROTECTED]>

PR tree-optimization/35795
* alpha/alpha.c (alpha_output_mi_thunk_osf): Free after compilation.
* sparc/sparc.c (sparc_output_mi_thunk): Likewise.
* ia64/ia64.c (ia64_output_mi_thunk): Likewise.
* m68k/m68k.c (m68k_output_mi_thunk): Likewise.
* score/score3.c (score3_output_mi_thunk): Likewise.
* score/score7.c (score7_output_mi_thunk): Likewise.
* mips/mips.c (mips_output_mi_thunk): Likewise.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/alpha/alpha.c
trunk/gcc/config/ia64/ia64.c
trunk/gcc/config/m68k/m68k.c
trunk/gcc/config/mips/mips.c
trunk/gcc/config/score/score3.c
trunk/gcc/config/score/score7.c
trunk/gcc/config/sparc/sparc.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35795



[Bug target/32000] x86 backend uses aligned load on unaligned memory

2008-03-31 Thread hjl at gcc dot gnu dot org


--- Comment #6 from hjl at gcc dot gnu dot org  2008-03-31 13:33 ---
Subject: Bug 32000

Author: hjl
Date: Mon Mar 31 13:32:38 2008
New Revision: 133753

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133753
Log:
gcc/

2008-03-31  H.J. Lu  <[EMAIL PROTECTED]>

PR target/32000
* config/i386/i386.md (*movti_internal): Emit unaligned SSE
load/store if memory is unaligned.
(*movti_rex64): Likewise.

* config/i386/predicates.md (misaligned_operand): New.

gcc/testsuite/

2008-03-31  H.J. Lu  <[EMAIL PROTECTED]>

PR target/32000
* gcc.target/i386/pr32000-1.c: New.

Added:
trunk/gcc/testsuite/gcc.target/i386/pr32000-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.md
trunk/gcc/config/i386/predicates.md
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32000



[Bug target/35757] [4.4 Regression] Incorrect contraint on sse4_1_blendp

2008-03-30 Thread hjl at gcc dot gnu dot org


--- Comment #3 from hjl at gcc dot gnu dot org  2008-03-30 21:14 ---
Subject: Bug 35757

Author: hjl
Date: Sun Mar 30 21:13:33 2008
New Revision: 133736

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133736
Log:
gcc/

2008-03-30  H.J. Lu  <[EMAIL PROTECTED]>

PR target/35757
* config/i386/i386.c (ix86_expand_sse_4_operands_builtin): Issue
proper error message for the third argument on blendpd and
blendps.

* config/i386/sse.md (blendbits): New.
(sse4_1_blendp): Use it.

gcc/testsuite/

2008-03-30  H.J. Lu  <[EMAIL PROTECTED]>

PR target/35757
* gcc.target/i386/sse4_1-blendps-2.c: New.
* gcc.target/i386/sse4_1-pblendw-2.c: Likewise.

Added:
trunk/gcc/testsuite/gcc.target/i386/sse4_1-blendps-2.c
trunk/gcc/testsuite/gcc.target/i386/sse4_1-pblendw-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/config/i386/sse.md
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35757



[Bug target/35657] TDmode isn't aligned at 128bit when passing to a function

2008-03-27 Thread hjl at gcc dot gnu dot org


--- Comment #5 from hjl at gcc dot gnu dot org  2008-03-27 18:56 ---
Subject: Bug 35657

Author: hjl
Date: Thu Mar 27 18:55:36 2008
New Revision: 133651

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133651
Log:
2008-03-27  H.J. Lu  <[EMAIL PROTECTED]>

Backport from mainline:
2008-03-27  H.J. Lu  <[EMAIL PROTECTED]>

PR target/35657
* config/i386/i386.c (ix86_function_arg_boundary): Align
decimal floating point to its natural boundary.

Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/config/i386/i386.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35657



[Bug target/35657] TDmode isn't aligned at 128bit when passing to a function

2008-03-27 Thread hjl at gcc dot gnu dot org


--- Comment #4 from hjl at gcc dot gnu dot org  2008-03-27 18:53 ---
Subject: Bug 35657

Author: hjl
Date: Thu Mar 27 18:52:18 2008
New Revision: 133649

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133649
Log:
2008-03-27  H.J. Lu  <[EMAIL PROTECTED]>

PR target/35657
* config/i386/i386.c (ix86_function_arg_boundary): Align
decimal floating point to its natural boundary.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35657



[Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974

2008-03-23 Thread hjl at gcc dot gnu dot org


--- Comment #25 from hjl at gcc dot gnu dot org  2008-03-23 20:52 ---
Subject: Bug 35496

Author: hjl
Date: Sun Mar 23 20:51:29 2008
New Revision: 133466

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133466
Log:
2008-03-23  Uros Bizjak  <[EMAIL PROTECTED]>

Revert:
2008-03-05  H.J. Lu  <[EMAIL PROTECTED]>

* config/i386/i386-modes.def: Use 4 byte alignment on DI for
32bit host.

2008-03-19  Uros Bizjak  <[EMAIL PROTECTED]>

PR target/35496
* stor-layout.c (update_alignment_for_field): Set minimum alignment
of the underlying type of a MS bitfield layout to the natural
alignment of the type.

Modified:
branches/stack/gcc/ChangeLog.stackalign
branches/stack/gcc/config/i386/i386-modes.def
branches/stack/gcc/stor-layout.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496



[Bug target/12329] x86: local function declared with attribute((regparm(3))) gets corrupted parent frame pointer

2008-03-22 Thread hjl at gcc dot gnu dot org


--- Comment #3 from hjl at gcc dot gnu dot org  2008-03-22 16:04 ---
Subject: Bug 12329

Author: hjl
Date: Sat Mar 22 16:03:57 2008
New Revision: 133448

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133448
Log:
gcc/

2008-03-22  Uros Bizjak  <[EMAIL PROTECTED]>
H.J. Lu  <[EMAIL PROTECTED]>

PR target/12329
* config/i386/i386.c (ix86_function_regparm): Limit the number of
register passing arguments to 2 for nested functions.

gcc/testsuite/

2008-03-22  Uros Bizjak  <[EMAIL PROTECTED]>

PR target/12329
* gcc.target/i386/pr12329.c: New test.

Added:
branches/stack/gcc/testsuite/gcc.target/i386/pr12329.c
Modified:
branches/stack/gcc/ChangeLog.stackalign
branches/stack/gcc/config/i386/i386.c
branches/stack/gcc/testsuite/ChangeLog.stackalign


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12329



[Bug testsuite/35621] gcc.target/i386/ssse3-*.c violates C/C++ aliasing rules

2008-03-20 Thread hjl at gcc dot gnu dot org


--- Comment #14 from hjl at gcc dot gnu dot org  2008-03-20 14:42 ---
Subject: Bug 35621

Author: hjl
Date: Thu Mar 20 14:41:51 2008
New Revision: 133381

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133381
Log:
2008-03-20  H.J. Lu  <[EMAIL PROTECTED]>

Backport from mainline:
2008-03-20  H.J. Lu  <[EMAIL PROTECTED]>

PR testsuite/35621
* gcc.target/i386/ssse3-pabsb.c: Add -fno-strict-aliasing.
* gcc.target/i386/ssse3-pabsd.c: Likewise.
* gcc.target/i386/ssse3-pabsw.c: Likewise.
* gcc.target/i386/ssse3-palignr.c: Likewise.
* gcc.target/i386/ssse3-phaddd.c: Likewise.
* gcc.target/i386/ssse3-phaddsw.c: Likewise.
* gcc.target/i386/ssse3-phaddw.c: Likewise.
* gcc.target/i386/ssse3-phsubd.c: Likewise.
* gcc.target/i386/ssse3-phsubsw.c: Likewise.
* gcc.target/i386/ssse3-phsubw.c: Likewise.
* gcc.target/i386/ssse3-pmaddubsw.c: Likewise.
* gcc.target/i386/ssse3-pmulhrsw.c: Likewise.
* gcc.target/i386/ssse3-pshufb.c: Likewise.
* gcc.target/i386/ssse3-psignb.c: Likewise.
* gcc.target/i386/ssse3-psignd.c: Likewise.
* gcc.target/i386/ssse3-psignw.c: Likewise.

Modified:
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/ssse3-pabsb.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/ssse3-pabsd.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/ssse3-pabsw.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/ssse3-palignr.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/ssse3-phaddd.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/ssse3-phaddsw.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/ssse3-phaddw.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/ssse3-phsubd.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/ssse3-phsubsw.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/ssse3-phsubw.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/ssse3-pmaddubsw.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/ssse3-pmulhrsw.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/ssse3-pshufb.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/ssse3-psignb.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/ssse3-psignd.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/ssse3-psignw.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35621



[Bug testsuite/35621] gcc.target/i386/ssse3-*.c violates C/C++ aliasing rules

2008-03-20 Thread hjl at gcc dot gnu dot org


--- Comment #13 from hjl at gcc dot gnu dot org  2008-03-20 14:41 ---
Subject: Bug 35621

Author: hjl
Date: Thu Mar 20 14:40:10 2008
New Revision: 133380

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133380
Log:
2008-03-20  H.J. Lu  <[EMAIL PROTECTED]>

PR testsuite/35621
* gcc.target/i386/ssse3-pabsb.c: Add -fno-strict-aliasing.
* gcc.target/i386/ssse3-pabsd.c: Likewise.
* gcc.target/i386/ssse3-pabsw.c: Likewise.
* gcc.target/i386/ssse3-palignr.c: Likewise.
* gcc.target/i386/ssse3-phaddd.c: Likewise.
* gcc.target/i386/ssse3-phaddsw.c: Likewise.
* gcc.target/i386/ssse3-phaddw.c: Likewise.
* gcc.target/i386/ssse3-phsubd.c: Likewise.
* gcc.target/i386/ssse3-phsubsw.c: Likewise.
* gcc.target/i386/ssse3-phsubw.c: Likewise.
* gcc.target/i386/ssse3-pmaddubsw.c: Likewise.
* gcc.target/i386/ssse3-pmulhrsw.c: Likewise.
* gcc.target/i386/ssse3-pshufb.c: Likewise.
* gcc.target/i386/ssse3-psignb.c: Likewise.
* gcc.target/i386/ssse3-psignd.c: Likewise.
* gcc.target/i386/ssse3-psignw.c: Likewise.

Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.target/i386/ssse3-pabsb.c
trunk/gcc/testsuite/gcc.target/i386/ssse3-pabsd.c
trunk/gcc/testsuite/gcc.target/i386/ssse3-pabsw.c
trunk/gcc/testsuite/gcc.target/i386/ssse3-palignr.c
trunk/gcc/testsuite/gcc.target/i386/ssse3-phaddd.c
trunk/gcc/testsuite/gcc.target/i386/ssse3-phaddsw.c
trunk/gcc/testsuite/gcc.target/i386/ssse3-phaddw.c
trunk/gcc/testsuite/gcc.target/i386/ssse3-phsubd.c
trunk/gcc/testsuite/gcc.target/i386/ssse3-phsubsw.c
trunk/gcc/testsuite/gcc.target/i386/ssse3-phsubw.c
trunk/gcc/testsuite/gcc.target/i386/ssse3-pmaddubsw.c
trunk/gcc/testsuite/gcc.target/i386/ssse3-pmulhrsw.c
trunk/gcc/testsuite/gcc.target/i386/ssse3-pshufb.c
trunk/gcc/testsuite/gcc.target/i386/ssse3-psignb.c
trunk/gcc/testsuite/gcc.target/i386/ssse3-psignd.c
trunk/gcc/testsuite/gcc.target/i386/ssse3-psignw.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35621



[Bug testsuite/35558] Untested g++.dg/tls/static-1a.cc

2008-03-13 Thread hjl at gcc dot gnu dot org


--- Comment #2 from hjl at gcc dot gnu dot org  2008-03-14 03:09 ---
Subject: Bug 35558

Author: hjl
Date: Fri Mar 14 03:08:29 2008
New Revision: 133204

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133204
Log:
2008-03-13  H.J. Lu  <[EMAIL PROTECTED]>

PR testsuite/35558
* g++.dg/tls/static-1.C: Move dg-additional-sources after
dg-require-effective-target.
* g++.dg/tls/static-1a.cc: Likewise.

Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/tls/static-1.C
trunk/gcc/testsuite/g++.dg/tls/static-1a.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35558



[Bug tree-optimization/35494] [4.4 Regression]: Revision 132991 breaks C++ static member

2008-03-10 Thread hjl at gcc dot gnu dot org


--- Comment #13 from hjl at gcc dot gnu dot org  2008-03-10 18:21 ---
Subject: Bug 35494

Author: hjl
Date: Mon Mar 10 18:20:23 2008
New Revision: 133082

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133082
Log:
gcc/

2008-03-10  H.J. Lu  <[EMAIL PROTECTED]>

PR tree-optimization/35494
* tree-ssa-ccp.c (get_symbol_constant_value): Check if value
may be overriden at link and run time.

gcc/testsuite/

2008-03-10  H.J. Lu  <[EMAIL PROTECTED]>

PR tree-optimization/35494
* g++.dg/tree-ssa/ssa-store-ccp-1.C: New.
* gcc.dg/tree-ssa/ssa-store-ccp-2.c: Likewise.
* gcc.dg/tree-ssa/ssa-store-ccp-3.c: Likewise.
* gcc.dg/tree-ssa/ssa-store-ccp-4.c: Likewise.

Added:
trunk/gcc/testsuite/g++.dg/tree-ssa/ssa-store-ccp-1.C
trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-store-ccp-2.c
trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-store-ccp-3.c
trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-store-ccp-4.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-ccp.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35494



[Bug c++/35350] FAIL: gcc.target/i386/isa-10.c execution test

2008-03-08 Thread hjl at gcc dot gnu dot org


--- Comment #8 from hjl at gcc dot gnu dot org  2008-03-08 22:37 ---
Subject: Bug 35350

Author: hjl
Date: Sat Mar  8 22:37:07 2008
New Revision: 133045

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133045
Log:
2008-03-08  H.J. Lu  <[EMAIL PROTECTED]>

PR target/35350
* gcc.target/i386/isa-1.c: Add -march=x86-64.
* gcc.target/i386/isa-2.c: Likewise.
* gcc.target/i386/isa-3.c: Likewise.
* gcc.target/i386/isa-10.c: Likewise.
* gcc.target/i386/isa-11.c: Likewise.
* gcc.target/i386/isa-12.c: Likewise.
* gcc.target/i386/isa-13.c: Likewise.
* gcc.target/i386/isa-14.c: Likewise.

Modified:
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/isa-1.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/isa-10.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/isa-11.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/isa-12.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/isa-13.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/isa-14.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/isa-2.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/isa-3.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35350



[Bug c++/35350] FAIL: gcc.target/i386/isa-10.c execution test

2008-03-08 Thread hjl at gcc dot gnu dot org


--- Comment #7 from hjl at gcc dot gnu dot org  2008-03-08 22:34 ---
Subject: Bug 35350

Author: hjl
Date: Sat Mar  8 22:33:54 2008
New Revision: 133044

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133044
Log:
2008-03-08  H.J. Lu  <[EMAIL PROTECTED]>

PR target/35350
* gcc.target/i386/isa-1.c: Add -march=x86-64.
* gcc.target/i386/isa-2.c: Likewise.
* gcc.target/i386/isa-3.c: Likewise.
* gcc.target/i386/isa-10.c: Likewise.
* gcc.target/i386/isa-11.c: Likewise.
* gcc.target/i386/isa-12.c: Likewise.
* gcc.target/i386/isa-13.c: Likewise.
* gcc.target/i386/isa-14.c: Likewise.

Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.target/i386/isa-1.c
trunk/gcc/testsuite/gcc.target/i386/isa-10.c
trunk/gcc/testsuite/gcc.target/i386/isa-11.c
trunk/gcc/testsuite/gcc.target/i386/isa-12.c
trunk/gcc/testsuite/gcc.target/i386/isa-13.c
trunk/gcc/testsuite/gcc.target/i386/isa-14.c
trunk/gcc/testsuite/gcc.target/i386/isa-2.c
trunk/gcc/testsuite/gcc.target/i386/isa-3.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35350



[Bug target/35189] -mno-sse4.2 turns off SSE4a

2008-03-06 Thread hjl at gcc dot gnu dot org


--- Comment #7 from hjl at gcc dot gnu dot org  2008-03-07 00:08 ---
Subject: Bug 35189

Author: hjl
Date: Fri Mar  7 00:07:36 2008
New Revision: 132994

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132994
Log:
gcc/

2008-03-06  H.J. Lu  <[EMAIL PROTECTED]>

Backport from mainline:
2008-02-18  H.J. Lu  <[EMAIL PROTECTED]>

PR target/35189
* config/i386/i386.c (OPTION_MASK_ISA_MMX_SET): New.
(OPTION_MASK_ISA_3DNOW_SET): Likewise.
(OPTION_MASK_ISA_SSE_SET): Likewise.
(OPTION_MASK_ISA_SSE2_SET): Likewise.
(OPTION_MASK_ISA_SSE3_SET): Likewise.
(OPTION_MASK_ISA_SSSE3_SET): Likewise.
(OPTION_MASK_ISA_SSE4_1_SET): Likewise.
(OPTION_MASK_ISA_SSE4_2_SET): Likewise.
(OPTION_MASK_ISA_SSE4_SET): Likewise.
(OPTION_MASK_ISA_SSE4A_SET): Likewise.
(OPTION_MASK_ISA_SSE5_SET): Likewise.
(OPTION_MASK_ISA_3DNOW_A_UNSET): Likewise.
(OPTION_MASK_ISA_MMX_UNSET): Updated.
(OPTION_MASK_ISA_3DNOW_UNSET): Updated.
(OPTION_MASK_ISA_SSE_UNSET): Likewise.
(OPTION_MASK_ISA_SSE3_UNSET): Likewise.
(OPTION_MASK_ISA_SSSE3_UNSET): Likewise.
(OPTION_MASK_ISA_SSE4_1_UNSET): Likewise.
(OPTION_MASK_ISA_SSE4_2_UNSET): Likewise.
(OPTION_MASK_ISA_SSE4A_UNSET): Likewise.
(OPTION_MASK_ISA_SSE5_UNSET): Likewise.
(OPTION_MASK_ISA_SSE4): Removed.
(ix86_handle_option): Turn on bits in ix86_isa_flags and
ix86_isa_flags_explicit with OPTION_MASK_ISA_XXX_SET for
-mXXX.
(override_options): Don't turn on implied SSE/MMX bits in
ix86_isa_flags.

gcc/testsuite/

2008-03-06  H.J. Lu  <[EMAIL PROTECTED]>

Backport from mainline:
2008-02-18  H.J. Lu  <[EMAIL PROTECTED]>

PR target/35189
* gcc.target/i386/isa-1.c: New.
* gcc.target/i386/isa-2.c: Likewise.
* gcc.target/i386/isa-3.c: Likewise.
* gcc.target/i386/isa-4.c: Likewise.
* gcc.target/i386/isa-5.c: Likewise.
* gcc.target/i386/isa-6.c: Likewise.
* gcc.target/i386/isa-7.c: Likewise.
* gcc.target/i386/isa-8.c: Likewise.
* gcc.target/i386/isa-9.c: Likewise.
* gcc.target/i386/isa-10.c: Likewise.
* gcc.target/i386/isa-11.c: Likewise.
* gcc.target/i386/isa-12.c: Likewise.
* gcc.target/i386/isa-13.c: Likewise.
* gcc.target/i386/isa-14.c: Likewise.

Added:
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/isa-1.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/isa-10.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/isa-11.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/isa-12.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/isa-13.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/isa-14.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/isa-2.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/isa-3.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/isa-4.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/isa-5.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/isa-6.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/isa-7.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/isa-8.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/isa-9.c
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/config/i386/i386.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35189



[Bug target/35453] nmmintrin.h defines macros SIDD_XXX

2008-03-04 Thread hjl at gcc dot gnu dot org


--- Comment #2 from hjl at gcc dot gnu dot org  2008-03-04 19:24 ---
Subject: Bug 35453

Author: hjl
Date: Tue Mar  4 19:23:22 2008
New Revision: 132868

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132868
Log:
gcc/

2008-03-04  H.J. Lu  <[EMAIL PROTECTED]>

Backport from mainline:
2008-03-04  H.J. Lu  <[EMAIL PROTECTED]>

PR target/35453
* config/i386/smmintrin.h (SIDD_XXX): Renamed to ...
(_SIDD_XXX): This.

gcc/testsuite/

2008-03-04  H.J. Lu  <[EMAIL PROTECTED]>

Backport from mainline:
2008-03-04  H.J. Lu  <[EMAIL PROTECTED]>

PR target/35453
* gcc.target/i386/sse4_2-pcmpestri-1.c: Replace SIDD_XXX with
_SIDD_XXX.
* gcc.target/i386/sse4_2-pcmpestri-2.c: Likewise.
* gcc.target/i386/sse4_2-pcmpestrm-1.c: Likewise.
* gcc.target/i386/sse4_2-pcmpestrm-2.c: Likewise.
* gcc.target/i386/sse4_2-pcmpistri-1.c: Likewise.
* gcc.target/i386/sse4_2-pcmpistri-2.c: Likewise.
* gcc.target/i386/sse4_2-pcmpistrm-1.c: Likewise.
* gcc.target/i386/sse4_2-pcmpistrm-2.c: Likewise.
* gcc.target/i386/sse4_2-pcmpstr.h: Likewise.

Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/config/i386/smmintrin.h
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestri-1.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestri-2.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestrm-1.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestrm-2.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistri-1.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistri-2.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistrm-1.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistrm-2.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/sse4_2-pcmpstr.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35453



[Bug target/35453] nmmintrin.h defines macros SIDD_XXX

2008-03-04 Thread hjl at gcc dot gnu dot org


--- Comment #1 from hjl at gcc dot gnu dot org  2008-03-04 19:18 ---
Subject: Bug 35453

Author: hjl
Date: Tue Mar  4 19:17:35 2008
New Revision: 132867

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132867
Log:
gcc/

2008-03-04  H.J. Lu  <[EMAIL PROTECTED]>

PR target/35453
* config/i386/smmintrin.h (SIDD_XXX): Renamed to ...
(_SIDD_XXX): This.

gcc/testsuite/

2008-03-04  H.J. Lu  <[EMAIL PROTECTED]>

PR target/35453
* gcc.target/i386/sse4_2-pcmpestri-1.c: Replace SIDD_XXX with
_SIDD_XXX.
* gcc.target/i386/sse4_2-pcmpestri-2.c: Likewise.
* gcc.target/i386/sse4_2-pcmpestrm-1.c: Likewise.
* gcc.target/i386/sse4_2-pcmpestrm-2.c: Likewise.
* gcc.target/i386/sse4_2-pcmpistri-1.c: Likewise.
* gcc.target/i386/sse4_2-pcmpistri-2.c: Likewise.
* gcc.target/i386/sse4_2-pcmpistrm-1.c: Likewise.
* gcc.target/i386/sse4_2-pcmpistrm-2.c: Likewise.
* gcc.target/i386/sse4_2-pcmpstr.h: Likewise.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/smmintrin.h
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestri-1.c
trunk/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestri-2.c
trunk/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestrm-1.c
trunk/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestrm-2.c
trunk/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistri-1.c
trunk/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistri-2.c
trunk/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistrm-1.c
trunk/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistrm-2.c
trunk/gcc/testsuite/gcc.target/i386/sse4_2-pcmpstr.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35453



[Bug ada/35186] Implicit assumptions about alignment of DImode

2008-02-19 Thread hjl at gcc dot gnu dot org


--- Comment #6 from hjl at gcc dot gnu dot org  2008-02-19 14:36 ---
Subject: Bug 35186

Author: hjl
Date: Tue Feb 19 14:35:48 2008
New Revision: 132433

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132433
Log:
2008-02-19  H.J. Lu  <[EMAIL PROTECTED]>

PR Ada/35186
* config/i386/i386-modes.def: Revert the last DI alignment
change until Ada people can look into it.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386-modes.def


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35186



[Bug target/35189] -mno-sse4.2 turns off SSE4a

2008-02-18 Thread hjl at gcc dot gnu dot org


--- Comment #6 from hjl at gcc dot gnu dot org  2008-02-19 01:21 ---
Subject: Bug 35189

Author: hjl
Date: Tue Feb 19 01:21:03 2008
New Revision: 132403

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132403
Log:
gcc/

2008-02-18  H.J. Lu  <[EMAIL PROTECTED]>

PR target/35189
* config/i386/i386.c (OPTION_MASK_ISA_MMX_SET): New.
(OPTION_MASK_ISA_3DNOW_SET): Likewise.
(OPTION_MASK_ISA_SSE_SET): Likewise.
(OPTION_MASK_ISA_SSE2_SET): Likewise.
(OPTION_MASK_ISA_SSE3_SET): Likewise.
(OPTION_MASK_ISA_SSSE3_SET): Likewise.
(OPTION_MASK_ISA_SSE4_1_SET): Likewise.
(OPTION_MASK_ISA_SSE4_2_SET): Likewise.
(OPTION_MASK_ISA_SSE4_SET): Likewise.
(OPTION_MASK_ISA_SSE4A_SET): Likewise.
(OPTION_MASK_ISA_SSE5_SET): Likewise.
(OPTION_MASK_ISA_3DNOW_A_UNSET): Likewise.
(OPTION_MASK_ISA_MMX_UNSET): Updated.
(OPTION_MASK_ISA_3DNOW_UNSET): Updated.
(OPTION_MASK_ISA_SSE_UNSET): Likewise.
(OPTION_MASK_ISA_SSE3_UNSET): Likewise.
(OPTION_MASK_ISA_SSSE3_UNSET): Likewise.
(OPTION_MASK_ISA_SSE4_1_UNSET): Likewise.
(OPTION_MASK_ISA_SSE4_2_UNSET): Likewise.
(OPTION_MASK_ISA_SSE4A_UNSET): Likewise.
(OPTION_MASK_ISA_SSE5_UNSET): Likewise.
(OPTION_MASK_ISA_SSE4): Removed.
(ix86_handle_option): Turn on bits in ix86_isa_flags and
ix86_isa_flags_explicit with OPTION_MASK_ISA_XXX_SET for
-mXXX.
(override_options): Don't turn on implied SSE/MMX bits in
ix86_isa_flags.

gcc/testsuite/

2008-02-18  H.J. Lu  <[EMAIL PROTECTED]>

PR target/35189
* gcc.target/i386/isa-1.c: New.
* gcc.target/i386/isa-2.c: Likewise.
* gcc.target/i386/isa-3.c: Likewise.
* gcc.target/i386/isa-4.c: Likewise.
* gcc.target/i386/isa-5.c: Likewise.
* gcc.target/i386/isa-6.c: Likewise.
* gcc.target/i386/isa-7.c: Likewise.
* gcc.target/i386/isa-8.c: Likewise.
* gcc.target/i386/isa-9.c: Likewise.
* gcc.target/i386/isa-10.c: Likewise.
* gcc.target/i386/isa-11.c: Likewise.
* gcc.target/i386/isa-12.c: Likewise.
* gcc.target/i386/isa-13.c: Likewise.
* gcc.target/i386/isa-14.c: Likewise.

Added:
trunk/gcc/testsuite/gcc.target/i386/isa-1.c
trunk/gcc/testsuite/gcc.target/i386/isa-10.c
trunk/gcc/testsuite/gcc.target/i386/isa-11.c
trunk/gcc/testsuite/gcc.target/i386/isa-12.c
trunk/gcc/testsuite/gcc.target/i386/isa-13.c
trunk/gcc/testsuite/gcc.target/i386/isa-14.c
trunk/gcc/testsuite/gcc.target/i386/isa-2.c
trunk/gcc/testsuite/gcc.target/i386/isa-3.c
trunk/gcc/testsuite/gcc.target/i386/isa-4.c
trunk/gcc/testsuite/gcc.target/i386/isa-5.c
trunk/gcc/testsuite/gcc.target/i386/isa-6.c
trunk/gcc/testsuite/gcc.target/i386/isa-7.c
trunk/gcc/testsuite/gcc.target/i386/isa-8.c
trunk/gcc/testsuite/gcc.target/i386/isa-9.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35189



[Bug middle-end/34921] Misalign stack variable referenced by nested function

2008-02-18 Thread hjl at gcc dot gnu dot org


--- Comment #8 from hjl at gcc dot gnu dot org  2008-02-18 23:44 ---
Subject: Bug 34921

Author: hjl
Date: Mon Feb 18 23:43:23 2008
New Revision: 132396

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132396
Log:
gcc/

2008-02-18  Joey Ye  <[EMAIL PROTECTED]>

PR middle-end/34921
* tree-nested.c (insert_field_into_struct): Set type alignment
to field alignment if the former is less than the latter.

gcc/testsuite/

2008-02-18  Joey Ye  <[EMAIL PROTECTED]>
H.J. Lu  <[EMAIL PROTECTED]>

PR middle-end/34921
* gcc.c-torture/execute/nest-align-1.c: New test case.

Added:
trunk/gcc/testsuite/gcc.c-torture/execute/nest-align-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-nested.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34921



[Bug target/31868] Non-Linux DWARF EH x86-64 targets have broken crtend.o

2008-02-10 Thread hjl at gcc dot gnu dot org


--- Comment #8 from hjl at gcc dot gnu dot org  2008-02-10 22:26 ---
Subject: Bug 31868

Author: hjl
Date: Sun Feb 10 22:25:24 2008
New Revision: 13

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=13
Log:
2008-02-10  H.J. Lu  <[EMAIL PROTECTED]>

Backport from mainline:
2007-08-06  H.J. Lu  <[EMAIL PROTECTED]>
Daniel Jacobowitz  <[EMAIL PROTECTED]>

PR target/31868
* config.gcc (x86_64-*-freebsd*): Add i386/t-crtstuff to
tmake_file.
(x86_64-*-netbsd*): Likewise.
(x86_64-*-linux*): Likewise.
(x86_64-*-kfreebsd*-gnu): Likewise.
(x86_64-*-knetbsd*-gnu): Likewise.
(i[34567]86-*-solaris2.1[0-9]*): Likewise.

* config/i386/t-linux64 (CRTSTUFF_T_CFLAGS): Removed.

* config/i386/t-crtstuff (CRTSTUFF_T_CFLAGS): Update comments.
Add -fno-asynchronous-unwind-tables.

* config/t-freebsd (CRTSTUFF_T_CFLAGS_S): Add $(CRTSTUFF_T_CFLAGS).
* config/t-libc-ok (CRTSTUFF_T_CFLAGS_S): Likewise.
* config/t-lynx (CRTSTUFF_T_CFLAGS_S): Likewise.
* config/t-netbsd (CRTSTUFF_T_CFLAGS_S): Likewise.
* config/t-svr4 (CRTSTUFF_T_CFLAGS_S): Likewise.

Modified:
branches/gcc-4_2-branch/gcc/ChangeLog
branches/gcc-4_2-branch/gcc/config.gcc
branches/gcc-4_2-branch/gcc/config/i386/t-crtstuff
branches/gcc-4_2-branch/gcc/config/i386/t-linux64
branches/gcc-4_2-branch/gcc/config/t-freebsd
branches/gcc-4_2-branch/gcc/config/t-libc-ok
branches/gcc-4_2-branch/gcc/config/t-lynx
branches/gcc-4_2-branch/gcc/config/t-netbsd
branches/gcc-4_2-branch/gcc/config/t-svr4


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31868



[Bug middle-end/34921] Misalign stack variable referenced by nested function

2008-02-06 Thread hjl at gcc dot gnu dot org


--- Comment #7 from hjl at gcc dot gnu dot org  2008-02-06 15:23 ---
Subject: Bug 34921

Author: hjl
Date: Wed Feb  6 15:22:35 2008
New Revision: 132148

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132148
Log:
gcc/

2008-02-06  Joey Ye  <[EMAIL PROTECTED]>

PR middle-end/34921
* tree-nested.c (insert_field_into_struct): Set type alignment
to field alignment if the former is less than the latter.

gcc/testsuite/

2008-02-06  Joey Ye  <[EMAIL PROTECTED]>
H.J. Lu  <[EMAIL PROTECTED]>

PR middle-end/34921
* gcc.c-torture/execute/nest-align-1.c: New test case.

Added:
branches/stack/gcc/ChangeLog.stackalign
branches/stack/gcc/testsuite/ChangeLog.stackalign
branches/stack/gcc/testsuite/gcc.c-torture/execute/nest-align-1.c
Modified:
branches/stack/gcc/tree-nested.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34921



[Bug target/35084] Strang error messages

2008-02-05 Thread hjl at gcc dot gnu dot org


--- Comment #4 from hjl at gcc dot gnu dot org  2008-02-05 14:51 ---
Subject: Bug 35084

Author: hjl
Date: Tue Feb  5 14:51:06 2008
New Revision: 132122

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132122
Log:
2008-02-05  H.J. Lu  <[EMAIL PROTECTED]>

PR target/35084
* config/i386/i386.c (ix86_function_sseregparm): Add an arg
to indicate if a message should be generated.
(init_cumulative_args): Updated.
(function_value_32): Likewise.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35084



[Bug libffi/34612] libffi doesn't work with -fomit-frame-pointer on ia32

2008-01-30 Thread hjl at gcc dot gnu dot org


--- Comment #4 from hjl at gcc dot gnu dot org  2008-01-30 14:37 ---
Subject: Bug 34612

Author: hjl
Date: Wed Jan 30 14:36:58 2008
New Revision: 131964

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131964
Log:
2008-01-30  H.J. Lu  <[EMAIL PROTECTED]>

PR libffi/34612
* src/x86/sysv.S (ffi_closure_SYSV): Pop 4 byte from stack when
returning struct.

* testsuite/libffi.call/call.exp: Add "-O2 -fomit-frame-pointer"
tests.

Modified:
trunk/libffi/ChangeLog
trunk/libffi/src/x86/sysv.S
trunk/libffi/testsuite/libffi.call/call.exp


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34612



[Bug driver/34904] -march=native doesn't work with multiple input files

2008-01-24 Thread hjl at gcc dot gnu dot org


--- Comment #2 from hjl at gcc dot gnu dot org  2008-01-24 18:57 ---
Subject: Bug 34904

Author: hjl
Date: Thu Jan 24 18:57:12 2008
New Revision: 131802

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131802
Log:
2008-01-24  H.J. Lu  <[EMAIL PROTECTED]>

PR driver/34904
* gcc.c (SWITCH_OK): Removed.
(SWITCH_LIVE): Changed to bit.
(SWITCH_FALSE): Likewise.
(SWITCH_IGNORE): Likewise.
(switchstr): Change live_cond to unsigned int.
(process_command): Replace SWITCH_OK with 0.
(do_self_spec): Likewise.
(set_collect_gcc_options): Check the SWITCH_IGNORE bit.
(give_switch): Likewise.
(used_arg): Likewise.
(do_spec_1): Set the SWITCH_IGNORE bit.
(check_live_switch): Check both SWITCH_LIVE and SWITCH_FALSE
bits.  Set the SWITCH_LIVE bit.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/gcc.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34904



[Bug bootstrap/32287] gas version style changed causes warnings with configure

2008-01-22 Thread hjl at gcc dot gnu dot org


--- Comment #15 from hjl at gcc dot gnu dot org  2008-01-22 13:55 ---
Subject: Bug 32287

Author: hjl
Date: Tue Jan 22 13:55:11 2008
New Revision: 131718

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131718
Log:
2008-01-22  H.J. Lu  <[EMAIL PROTECTED]>

PR bootstrap/32287
* configure.ac (ld_vers): Support GNU linker version xx.xx.*
(as_vers): Likewise.
* configure: Regenerated.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/configure
trunk/gcc/configure.ac


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32287



[Bug fortran/33375] [4.3 Regression] ICE (segfault) gfortran.dg/common_6.f90

2008-01-17 Thread hjl at gcc dot gnu dot org


--- Comment #13 from hjl at gcc dot gnu dot org  2008-01-18 01:29 ---
Subject: Bug 33375

Author: hjl
Date: Fri Jan 18 01:29:11 2008
New Revision: 131621

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131621
Log:
2008-01-17  H.J. Lu  <[EMAIL PROTECTED]>

PR fortran/33375
* symbol.c (free_common_tree): Renamed to ...
(gfc_free_common_tree): This.  Remove static.
(gfc_free_namespace): Updated.

* gfortran.h (gfc_free_common_tree): New.

* match.c (gfc_match_common): Call gfc_free_common_tree () with
gfc_current_ns->common_root and set gfc_current_ns->common_root
to NULL on syntax error.

Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/gfortran.h
trunk/gcc/fortran/match.c
trunk/gcc/fortran/symbol.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33375



[Bug libffi/34612] libffi doesn't work with -fomit-frame-pointer on ia32

2008-01-17 Thread hjl at gcc dot gnu dot org


--- Comment #3 from hjl at gcc dot gnu dot org  2008-01-17 18:22 ---
Subject: Bug 34612

Author: hjl
Date: Thu Jan 17 18:21:28 2008
New Revision: 131607

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131607
Log:
2008-01-17  H.J. Lu  <[EMAIL PROTECTED]>

PR libffi/34612
* src/x86/sysv.S (ffi_closure_SYSV): Pop 4 byte from stack when
returning struct.

* testsuite/libffi.call/call.exp: Add "-O2 -fomit-frame-pointer"
tests.

Added:
branches/stack/libffi/ChangeLog.stackalign
Modified:
branches/stack/libffi/src/x86/sysv.S
branches/stack/libffi/testsuite/libffi.call/call.exp


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34612



[Bug target/34001] Incorrect x86 fastcall behavior

2007-11-27 Thread hjl at gcc dot gnu dot org


--- Comment #8 from hjl at gcc dot gnu dot org  2007-11-28 01:20 ---
Subject: Bug 34001

Author: hjl
Date: Wed Nov 28 01:20:34 2007
New Revision: 130488

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130488
Log:
2007-11-27  H.J. Lu  <[EMAIL PROTECTED]>
Joey Ye <[EMAIL PROTECTED]>

PR target/34001
* config/i386/i386.c (function_arg_32): Don't pass aggregate
arguments in ECX/EDX for fastcall.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34001



[Bug target/30961] [4.1/4.2/4.3 regression] redundant reg/mem stores/moves

2007-11-06 Thread hjl at gcc dot gnu dot org


--- Comment #35 from hjl at gcc dot gnu dot org  2007-11-06 19:19 ---
Subject: Bug 30961

Author: hjl
Date: Tue Nov  6 19:19:23 2007
New Revision: 129943

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129943
Log:
gcc/

2007-11-06  Ulrich Weigand  <[EMAIL PROTECTED]>

PR target/30961
* reload1.c (find_reloads): Also check in_reg when handling a
simple move with an input reload and a destination of a hard
register.

gcc/testsuite/

2007-11-06  H.J. Lu  <[EMAIL PROTECTED]>

PR target/30961
* gcc.target/i386/pr30961-1.c: New.

Added:
trunk/gcc/testsuite/gcc.target/i386/pr30961-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/reload.c
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30961



[Bug driver/32632] -pie won't override -shared in -shared -pie

2007-11-05 Thread hjl at gcc dot gnu dot org


--- Comment #2 from hjl at gcc dot gnu dot org  2007-11-05 23:42 ---
Subject: Bug 32632

Author: hjl
Date: Mon Nov  5 23:42:30 2007
New Revision: 129913

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129913
Log:
2007-11-05  H.J. Lu  <[EMAIL PROTECTED]>

PR driver/32632
* common.opt: Add shared and pie.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/common.opt


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32632



[Bug c++/33871] [4.3 Regression] typeinfo name referenced in ... defined in discarded section

2007-11-05 Thread hjl at gcc dot gnu dot org


--- Comment #44 from hjl at gcc dot gnu dot org  2007-11-05 23:12 ---
Subject: Bug 33871

Author: hjl
Date: Mon Nov  5 23:11:57 2007
New Revision: 129911

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129911
Log:
2007-11-05  H.J. Lu  <[EMAIL PROTECTED]>

PR c++/33871
* decl2.c (constrain_visibility): Clear DECL_ONE_ONLY if marked
local.

Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl2.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33871



[Bug regression/33926] FAIL: gcc.dg/dfp/convert-dfp-round-thread.c execution test

2007-10-27 Thread hjl at gcc dot gnu dot org


--- Comment #3 from hjl at gcc dot gnu dot org  2007-10-27 23:23 ---
Subject: Bug 33926

Author: hjl
Date: Sat Oct 27 23:22:57 2007
New Revision: 129687

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129687
Log:
2007-10-27  H.J. Lu  <[EMAIL PROTECTED]>

PR regression/33926
* configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
* configure: Regenerated.

Modified:
trunk/libgcc/ChangeLog
trunk/libgcc/configure
trunk/libgcc/configure.ac


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33926



[Bug rtl-optimization/33669] [4.3 Regression] Revision 128957 miscompiles 481.wrf

2007-10-09 Thread hjl at gcc dot gnu dot org


--- Comment #13 from hjl at gcc dot gnu dot org  2007-10-09 14:00 ---
Subject: Bug 33669

Author: hjl
Date: Tue Oct  9 14:00:11 2007
New Revision: 129166

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129166
Log:
gcc/

2007-10-09  Kenneth Zadeck <[EMAIL PROTECTED]>

PR middle-end/33669
* ra-conflict.c (record_one_conflict_between_regnos,
set_conflicts_for_earlyclobber, global_conflicts): Improved
logging.
(global_conflicts): Removed incorrect check.

gcc/testsuite/

2007-10-09  Kenneth Zadeck <[EMAIL PROTECTED]>

PR middle-end/33669
* gcc.c-torture/execute/pr33669.c: New.

Added:
trunk/gcc/testsuite/gcc.c-torture/execute/pr33669.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ra-conflict.c
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33669



[Bug fortran/33646] [4.3 Regression] Gcc 4.3 revision 128954 failed tonto in SPEC CPU 2006

2007-10-04 Thread hjl at gcc dot gnu dot org


--- Comment #8 from hjl at gcc dot gnu dot org  2007-10-04 15:39 ---
Subject: Bug 33646

Author: hjl
Date: Thu Oct  4 15:39:11 2007
New Revision: 129015

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129015
Log:
2007-10-04  H.J. Lu  <[EMAIL PROTECTED]>

PR fortran/33646
* gfortran.dg/pr33646.f90: New file.

Added:
trunk/gcc/testsuite/gfortran.dg/pr33646.f90
Modified:
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33646



[Bug fortran/33646] [4.3 Regression] Gcc 4.3 revision 128954 failed tonto in SPEC CPU 2006

2007-10-04 Thread hjl at gcc dot gnu dot org


--- Comment #7 from hjl at gcc dot gnu dot org  2007-10-04 13:42 ---
Subject: Bug 33646

Author: hjl
Date: Thu Oct  4 13:42:48 2007
New Revision: 129008

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129008
Log:
Mention PR fortran/33646 in revision 129000.

Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33646



[Bug bootstrap/33418] [4.1/4.2/4.3]: Gcc failed to detect HJL's binutils linker

2007-09-13 Thread hjl at gcc dot gnu dot org


--- Comment #4 from hjl at gcc dot gnu dot org  2007-09-13 19:12 ---
Subject: Bug 33418

Author: hjl
Date: Thu Sep 13 19:12:30 2007
New Revision: 128478

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128478
Log:
2007-09-13  H.J. Lu  <[EMAIL PROTECTED]>

PR bootstrap/33418
* configure.ac (ld_vers): Support Linux linker.
* configure: Regenerated.

Modified:
branches/gcc-4_2-branch/gcc/ChangeLog
branches/gcc-4_2-branch/gcc/configure
branches/gcc-4_2-branch/gcc/configure.ac


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33418



[Bug tree-optimization/33389] [4.3 Regression] Revision 128239 causes libgomp failure

2007-09-13 Thread hjl at gcc dot gnu dot org


--- Comment #27 from hjl at gcc dot gnu dot org  2007-09-13 16:34 ---
Subject: Bug 33389

Author: hjl
Date: Thu Sep 13 16:33:49 2007
New Revision: 128469

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128469
Log:
2007-09-13  James E. Wilson  <[EMAIL PROTECTED]>

PR tree-optimization/33389
* tree-ssa-operands.c (append_vuse): If ann->in_vdef_list true,
then set build_loads before returning.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-ssa-operands.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33389



[Bug bootstrap/33418] [4.1/4.2/4.3]: Gcc failed to detect Linux linker version

2007-09-13 Thread hjl at gcc dot gnu dot org


--- Comment #3 from hjl at gcc dot gnu dot org  2007-09-13 14:14 ---
Subject: Bug 33418

Author: hjl
Date: Thu Sep 13 14:13:49 2007
New Revision: 128466

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128466
Log:
2007-09-13  H.J. Lu  <[EMAIL PROTECTED]>

PR bootstrap/33418
* configure.ac (ld_vers): Support Linux linker.
* configure: Regenerated.

Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/configure
branches/gcc-4_1-branch/gcc/configure.ac


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33418



[Bug bootstrap/33418] [4.1/4.2/4.3]: Gcc failed to detect Linux linker version

2007-09-13 Thread hjl at gcc dot gnu dot org


--- Comment #2 from hjl at gcc dot gnu dot org  2007-09-13 14:12 ---
Subject: Bug 33418

Author: hjl
Date: Thu Sep 13 14:12:37 2007
New Revision: 128465

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128465
Log:
2007-09-13  H.J. Lu  <[EMAIL PROTECTED]>

PR bootstrap/33418
* configure.ac (ld_vers): Support Linux linker.
* configure: Regenerated.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/configure
trunk/gcc/configure.ac


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33418



[Bug tree-optimization/32183] [4.3 Regression] reassoc2 can more extra calculations into a loop

2007-09-07 Thread hjl at gcc dot gnu dot org


--- Comment #31 from hjl at gcc dot gnu dot org  2007-09-08 06:47 ---
Subject: Bug 32183

Author: hjl
Date: Sat Sep  8 06:46:53 2007
New Revision: 128262

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128262
Log:
2007-09-07  Zdenek Dvorak  <[EMAIL PROTECTED]>

PR tree-optimization/32183
* Makefile.in (tree-ssa-reassoc.o): Also depend on $(CFGLOOP_H).

* tree-ssa-reassoc.c: Include cfgloop.h.
(is_reassociable_op): Add a loop argument and return true only
for inside loop.
(linearize_expr): Updated.
(should_break_up_subtract): Likewise.
(linearize_expr_tree): Likewise.
(init_reassoc): Call loop_optimizer_init with
AVOID_CFG_MODIFICATIONS.  Remove calculate_dominance_info call
with CDI_DOMINATORS.
(fini_reassoc): Call loop_optimizer_finalize.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/Makefile.in
trunk/gcc/tree-ssa-reassoc.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32183



[Bug fortran/33276] [4.3 Regression] 465.tonto in SPEC CPU 2006 fails to compile

2007-09-02 Thread hjl at gcc dot gnu dot org


--- Comment #3 from hjl at gcc dot gnu dot org  2007-09-02 12:23 ---
Subject: Bug 33276

Author: hjl
Date: Sun Sep  2 12:23:04 2007
New Revision: 128024

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128024
Log:
gcc/fortran/

2007-09-02  H.J. Lu  <[EMAIL PROTECTED]>

PR fortran/33276
* array.c (expand_iterator): Initialize frame.prev.

gcc/testsuite/

2007-09-02  H.J. Lu  <[EMAIL PROTECTED]>

PR fortran/33276
* gfortran.fortran-torture/compile/pr33276.f90: New.

Added:
trunk/gcc/testsuite/gfortran.fortran-torture/compile/pr33276.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/array.c
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33276



[Bug target/31385] gcc fails to find spill register for decimal arithmetic

2007-08-27 Thread hjl at gcc dot gnu dot org


--- Comment #3 from hjl at gcc dot gnu dot org  2007-08-27 14:14 ---
Subject: Bug 31385

Author: hjl
Date: Mon Aug 27 14:14:31 2007
New Revision: 127833

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127833
Log:
gcc/

2007-08-27  H.J. Lu  <[EMAIL PROTECTED]>

PR target/31385
* config/i386/i386.h (VALID_DFP_MODE_P): New.
* config/i386/i386.c (ix86_hard_regno_mode_ok): Allow DFP in
GPR.

gcc/testsuite/

2007-08-27  H.J. Lu  <[EMAIL PROTECTED]>

PR target/31385
* gcc.dg/dfp/pr31385.c: New.

Added:
trunk/gcc/testsuite/gcc.dg/dfp/pr31385.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/config/i386/i386.h
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31385



[Bug target/32991] config/alpha/constraints.md is marked as mime-type

2007-08-26 Thread hjl at gcc dot gnu dot org


--- Comment #1 from hjl at gcc dot gnu dot org  2007-08-26 19:05 ---
Subject: Bug 32991

Author: hjl
Date: Sun Aug 26 19:04:09 2007
New Revision: 127815

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127815
Log:
2007-08-26  H.J. Lu  <[EMAIL PROTECTED]>

PR target/32991
* config/alpha/constraints.md: Delete "svn:mime-type" property
with svn propdel "svn:mime-type".

Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/alpha/constraints.md   (props changed)

Propchange: trunk/gcc/config/alpha/constraints.md
('svn:mime-type' removed)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32991



[Bug middle-end/33181] [4.3 Regression] Revision 127766 generates bad cmov

2007-08-26 Thread hjl at gcc dot gnu dot org


--- Comment #10 from hjl at gcc dot gnu dot org  2007-08-26 18:24 ---
Subject: Bug 33181

Author: hjl
Date: Sun Aug 26 18:24:19 2007
New Revision: 127810

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127810
Log:
gcc/

2007-08-26  H.J. Lu  <[EMAIL PROTECTED]>

PR middle-end/33181
* ifcvt.c (noce_get_alt_condition): Make sure that the previous
non NOTE insn doesn't cross basic block.
(noce_try_abs): Likewise.
(noce_process_if_block): Likewise.

gcc/testsuite/

2007-08-26  H.J. Lu  <[EMAIL PROTECTED]>

PR middle-end/33181
* gcc.dg/ifelse-2.c: New.

Added:
trunk/gcc/testsuite/gcc.dg/ifelse-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ifcvt.c
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33181



[Bug target/31868] Non-Linux DWARF EH x86-64 targets have broken crtend.o

2007-08-06 Thread hjl at gcc dot gnu dot org


--- Comment #3 from hjl at gcc dot gnu dot org  2007-08-06 19:58 ---
Subject: Bug 31868

Author: hjl
Date: Mon Aug  6 19:58:11 2007
New Revision: 127248

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127248
Log:
2007-08-06  H.J. Lu  <[EMAIL PROTECTED]>
Daniel Jacobowitz  <[EMAIL PROTECTED]>

PR target/31868
* config.gcc (x86_64-*-freebsd*): Add i386/t-crtstuff to
tmake_file.
(x86_64-*-netbsd*): Likewise.
(x86_64-*-linux*): Likewise.
(x86_64-*-kfreebsd*-gnu): Likewise.
(x86_64-*-knetbsd*-gnu): Likewise.
(i[34567]86-*-solaris2.1[0-9]*): Likewise.

* config/i386/t-linux64 (CRTSTUFF_T_CFLAGS): Removed.

* config/i386/t-crtstuff (CRTSTUFF_T_CFLAGS): Update comments.
Add -fno-asynchronous-unwind-tables.

* config/t-freebsd (CRTSTUFF_T_CFLAGS_S): Add $(CRTSTUFF_T_CFLAGS).
* config/t-libc-ok (CRTSTUFF_T_CFLAGS_S): Likewise.
* config/t-lynx (CRTSTUFF_T_CFLAGS_S): Likewise.
* config/t-netbsd (CRTSTUFF_T_CFLAGS_S): Likewise.
* config/t-svr4 (CRTSTUFF_T_CFLAGS_S): Likewise.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/config.gcc
trunk/gcc/config/i386/t-crtstuff
trunk/gcc/config/i386/t-linux64
trunk/gcc/config/t-freebsd
trunk/gcc/config/t-libc-ok
trunk/gcc/config/t-lynx
trunk/gcc/config/t-netbsd
trunk/gcc/config/t-svr4


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31868



[Bug other/32188] DFP instrinic document is out of date

2007-07-13 Thread hjl at gcc dot gnu dot org


--- Comment #3 from hjl at gcc dot gnu dot org  2007-07-13 13:22 ---
Subject: Bug 32188

Author: hjl
Date: Fri Jul 13 13:22:10 2007
New Revision: 126619

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126619
Log:
2007-07-13  H.J. Lu  <[EMAIL PROTECTED]>

PR other/32188
* doc/libgcc.texi: Update DFP intrinsics for DPD and BID.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/doc/libgcc.texi


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32188



[Bug java/32098] New libtool doesn't support libjava

2007-05-30 Thread hjl at gcc dot gnu dot org


--- Comment #7 from hjl at gcc dot gnu dot org  2007-05-30 17:54 ---
Subject: Bug 32098

Author: hjl
Date: Wed May 30 17:54:48 2007
New Revision: 125195

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125195
Log:
2007-05-30  H.J. Lu  <[EMAIL PROTECTED]>

PR libjava/32098
* configure: Regenerated.

Modified:
trunk/libjava/ChangeLog
trunk/libjava/configure


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32098



[Bug java/32098] New libtool doesn't support libjava

2007-05-30 Thread hjl at gcc dot gnu dot org


--- Comment #6 from hjl at gcc dot gnu dot org  2007-05-30 17:52 ---
Subject: Bug 32098

Author: hjl
Date: Wed May 30 17:52:05 2007
New Revision: 125194

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125194
Log:
2007-05-30  H.J. Lu  <[EMAIL PROTECTED]>

PR libjava/32098
* configure.ac: Add AC_CONFIG_AUX_DIR(../..).
* aclocal.m4: Regenerated.
* configure: Likewise.
* Makefile.in: Likewise.

Modified:
trunk/libjava/classpath/ChangeLog.gcj
trunk/libjava/classpath/Makefile.in
trunk/libjava/classpath/aclocal.m4
trunk/libjava/classpath/configure
trunk/libjava/classpath/configure.ac


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32098



[Bug java/32098] New libtool doesn't support libjava

2007-05-30 Thread hjl at gcc dot gnu dot org


--- Comment #5 from hjl at gcc dot gnu dot org  2007-05-30 17:48 ---
Subject: Bug 32098

Author: hjl
Date: Wed May 30 17:48:10 2007
New Revision: 125193

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125193
Log:
2007-05-30  H.J. Lu  <[EMAIL PROTECTED]>

PR libjava/32098
* libtool.m4 (_LT_LANG_GCJ_CONFIG): Use gcc to test gcj features.

Modified:
trunk/ChangeLog
trunk/libtool.m4


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32098



[Bug testsuite/32062] gcc revision 20070523 - Non-existant sse4 test (with wrong path) causes "UNSUPPORTED" for working tests

2007-05-24 Thread hjl at gcc dot gnu dot org


--- Comment #7 from hjl at gcc dot gnu dot org  2007-05-24 15:12 ---
Subject: Bug 32062

Author: hjl
Date: Thu May 24 14:12:18 2007
New Revision: 125025

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125025
Log:
2007-05-24  H.J. Lu  <[EMAIL PROTECTED]>

PR testsuite/32062
* gcc.target/i386/sse4_1-check.h (MASK): New.

Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.target/i386/sse4_1-check.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32062



[Bug libmudflap/31681] [4.3 regression]: Many libmudflap faulures

2007-05-18 Thread hjl at gcc dot gnu dot org


--- Comment #3 from hjl at gcc dot gnu dot org  2007-05-18 22:35 ---
Subject: Bug 31681

Author: hjl
Date: Fri May 18 21:35:12 2007
New Revision: 124835

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124835
Log:
2007-05-18  H.J. Lu  <[EMAIL PROTECTED]>

PR target/31989
PR target/31681
PR target/31666
* config/i386/i386.c (init_cumulative_args): Set maybe_vaarg to
true if function has no argument.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31681



[Bug target/31989] [4.3 regression]: Gcc miscompiles C/C++ on Linux/x86-64

2007-05-18 Thread hjl at gcc dot gnu dot org


--- Comment #2 from hjl at gcc dot gnu dot org  2007-05-18 22:35 ---
Subject: Bug 31989

Author: hjl
Date: Fri May 18 21:35:12 2007
New Revision: 124835

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124835
Log:
2007-05-18  H.J. Lu  <[EMAIL PROTECTED]>

PR target/31989
PR target/31681
PR target/31666
* config/i386/i386.c (init_cumulative_args): Set maybe_vaarg to
true if function has no argument.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31989



[Bug target/31666] [4.3 regression]: g++.old-deja/g++.other/vbase5.C execution test

2007-05-18 Thread hjl at gcc dot gnu dot org


--- Comment #3 from hjl at gcc dot gnu dot org  2007-05-18 22:35 ---
Subject: Bug 31666

Author: hjl
Date: Fri May 18 21:35:12 2007
New Revision: 124835

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124835
Log:
2007-05-18  H.J. Lu  <[EMAIL PROTECTED]>

PR target/31989
PR target/31681
PR target/31666
* config/i386/i386.c (init_cumulative_args): Set maybe_vaarg to
true if function has no argument.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31666



[Bug target/31628] stdcall function is miscompiled

2007-05-18 Thread hjl at gcc dot gnu dot org


--- Comment #8 from hjl at gcc dot gnu dot org  2007-05-18 20:30 ---
Subject: Bug 31628

Author: hjl
Date: Fri May 18 19:29:45 2007
New Revision: 124831

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124831
Log:
2007-05-18  H.J. Lu  <[EMAIL PROTECTED]>

PR target/31628
* gcc.target/i386/pr31628.c: New.

Added:
trunk/gcc/testsuite/gcc.target/i386/pr31628.c
Modified:
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31628



[Bug target/31582] ix86_expand_vec_set_builtin modifies source

2007-04-16 Thread hjl at gcc dot gnu dot org


--- Comment #4 from hjl at gcc dot gnu dot org  2007-04-16 15:04 ---
Subject: Bug 31582

Author: hjl
Date: Mon Apr 16 15:04:30 2007
New Revision: 123872

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123872
Log:
2007-04-16  H.J. Lu  <[EMAIL PROTECTED]>

* Backport from mainline:
2007-04-16  H.J. Lu  <[EMAIL PROTECTED]>

PR target/31582
* config/i386/i386.c (ix86_expand_vec_set_builtin): Make a
copy of source, pass it to ix86_expand_vector_set and return
it as target.

Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/config/i386/i386.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31582



[Bug target/31582] ix86_expand_vec_set_builtin modifies source

2007-04-16 Thread hjl at gcc dot gnu dot org


--- Comment #3 from hjl at gcc dot gnu dot org  2007-04-16 14:58 ---
Subject: Bug 31582

Author: hjl
Date: Mon Apr 16 14:57:37 2007
New Revision: 123868

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123868
Log:
2007-04-16  H.J. Lu  <[EMAIL PROTECTED]>

* Backport from mainline:
2007-04-16  H.J. Lu  <[EMAIL PROTECTED]>

PR target/31582
* config/i386/i386.c (ix86_expand_vec_set_builtin): Make a
copy of source, pass it to ix86_expand_vector_set and return
it as target.

Modified:
branches/gcc-4_2-branch/gcc/ChangeLog
branches/gcc-4_2-branch/gcc/config/i386/i386.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31582



[Bug target/31582] ix86_expand_vec_set_builtin modifies source

2007-04-16 Thread hjl at gcc dot gnu dot org


--- Comment #2 from hjl at gcc dot gnu dot org  2007-04-16 14:49 ---
Subject: Bug 31582

Author: hjl
Date: Mon Apr 16 14:49:14 2007
New Revision: 123866

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123866
Log:
2007-04-16  H.J. Lu  <[EMAIL PROTECTED]>

PR target/31582
* config/i386/i386.c (ix86_expand_vec_set_builtin): Make a
copy of source, pass it to ix86_expand_vector_set and return
it as target.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31582



[Bug target/31478] Typo in sse2_umulv2siv2di3 pattern

2007-04-05 Thread hjl at gcc dot gnu dot org


--- Comment #12 from hjl at gcc dot gnu dot org  2007-04-05 22:16 ---
Subject: Bug 31478

Author: hjl
Date: Thu Apr  5 22:16:37 2007
New Revision: 123527

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123527
Log:
2007-04-05  Uros Bizjak  <[EMAIL PROTECTED]>
H.J. Lu  <[EMAIL PROTECTED]>

PR target/31478
* config/i386/sse.md (sse2_umulv2siv2di3): Use V4SImode instead
of V8HImode when calling ix86_binary_operator_ok.
(sse2_pmaddwd): Call ix86_binary_operator_ok.
(sdot_prodv8hi): Operands 1 and 2 must be register.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/sse.md


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31478



[Bug target/31380] [4.1/4.2]: Typo in gcc/config/i386/sse.md

2007-04-02 Thread hjl at gcc dot gnu dot org


--- Comment #4 from hjl at gcc dot gnu dot org  2007-04-02 15:55 ---
Subject: Bug 31380

Author: hjl
Date: Mon Apr  2 15:55:17 2007
New Revision: 123429

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123429
Log:
2007-04-02  H.J. Lu  <[EMAIL PROTECTED]>

* Backport from mainline:
2007-03-28  Grigory Zagorodnev <[EMAIL PROTECTED]>

PR target/31380
* config/i386/sse.md (uminv16qi3): Use UMIN instead of UMAX.

Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/config/i386/sse.md


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31380



[Bug target/31380] [4.1/4.2]: Typo in gcc/config/i386/sse.md

2007-04-02 Thread hjl at gcc dot gnu dot org


--- Comment #3 from hjl at gcc dot gnu dot org  2007-04-02 15:54 ---
Subject: Bug 31380

Author: hjl
Date: Mon Apr  2 15:53:48 2007
New Revision: 123428

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123428
Log:
2007-04-02  H.J. Lu  <[EMAIL PROTECTED]>

* Backport from mainline:
2007-03-28  Grigory Zagorodnev <[EMAIL PROTECTED]>

PR target/31380
* config/i386/sse.md (uminv16qi3): Use UMIN instead of UMAX.

Modified:
branches/gcc-4_2-branch/gcc/ChangeLog
branches/gcc-4_2-branch/gcc/config/i386/sse.md


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31380



[Bug target/31380] [4.1/4.2/4.3]: Typo in gcc/config/i386/sse.md

2007-03-28 Thread hjl at gcc dot gnu dot org


--- Comment #2 from hjl at gcc dot gnu dot org  2007-03-28 14:38 ---
Subject: Bug 31380

Author: hjl
Date: Wed Mar 28 14:38:24 2007
New Revision: 123299

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123299
Log:
2007-03-28  Grigory Zagorodnev <[EMAIL PROTECTED]>

PR target/31380
* config/i386/sse.md (uminv16qi3): Use UMIN instead of UMAX.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/sse.md


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31380



[Bug libgcj/30550] Missing dependencies for ecjx target

2007-01-23 Thread hjl at gcc dot gnu dot org


--- Comment #2 from hjl at gcc dot gnu dot org  2007-01-23 20:01 ---
Subject: Bug 30550

Author: hjl
Date: Tue Jan 23 20:01:40 2007
New Revision: 121086

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121086
Log:
2007-01-23  H.J. Lu  <[EMAIL PROTECTED]>

PR libgcj/30550
* Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
* Makefile.in: Regenerated.

Modified:
trunk/libjava/ChangeLog
trunk/libjava/Makefile.am
trunk/libjava/Makefile.in


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30550



[Bug libgcj/30424] [4.3 regression] revision 120632 failed to build on ia64

2007-01-10 Thread hjl at gcc dot gnu dot org


--- Comment #5 from hjl at gcc dot gnu dot org  2007-01-10 17:51 ---
Subject: Bug 30424

Author: hjl
Date: Wed Jan 10 17:50:40 2007
New Revision: 120645

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120645
Log:
2007-01-10  H.J. Lu  <[EMAIL PROTECTED]>

PR libgcj/30424
* sysdep/ia64/locks.h (read_barrier): New.
(write_barrier): New.

Modified:
trunk/libjava/ChangeLog
trunk/libjava/sysdep/ia64/locks.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30424



[Bug target/30040] -mtune=native is wrong for Core 2 Duo and Core Duo

2006-12-28 Thread hjl at gcc dot gnu dot org


--- Comment #9 from hjl at gcc dot gnu dot org  2006-12-29 06:09 ---
Subject: Bug 30040

Author: hjl
Date: Fri Dec 29 06:09:06 2006
New Revision: 120256

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120256
Log:
2006-12-28  H.J. Lu  <[EMAIL PROTECTED]>

Backport from mainline:
2006-12-02  H.J. Lu  <[EMAIL PROTECTED]>

PR target/30040
* config/i386/driver-i386.c: Include "coretypes.h" and "tm.h".
(host_detect_local_cpu): Check -mtune= vs. -march=. Rewrite
processor detection.

* config/i386/i386.h (CC1_CPU_SPEC): Add -mtune=native for
-march=native if there is no -mtune=*.

* config/i386/x-i386 (driver-i386.o): Also depend on $(TM_H)
coretypes.h.

Modified:
branches/gcc-4_2-branch/gcc/ChangeLog
branches/gcc-4_2-branch/gcc/config/i386/driver-i386.c
branches/gcc-4_2-branch/gcc/config/i386/i386.h
branches/gcc-4_2-branch/gcc/config/i386/x-i386


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30040



[Bug middle-end/20218] Can't use __attribute__ ((visibility ("hidden"))) to hide a symbol

2006-12-11 Thread hjl at gcc dot gnu dot org


--- Comment #46 from hjl at gcc dot gnu dot org  2006-12-12 03:59 ---
Subject: Bug 20218

Author: hjl
Date: Tue Dec 12 03:58:52 2006
New Revision: 119764

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119764
Log:
2006-12-11  H.J. Lu  <[EMAIL PROTECTED]>

PR middle-end/17982
PR middle-end/20218
* cgraphunit.c (cgraph_optimize): Remove call to
process_pending_assemble_externals.

* config/elfos.h (ASM_OUTPUT_EXTERNAL): New.

* config/ia64/hpux.h (TARGET_ASM_FILE_END): Removed.

* config/ia64/ia64.c (ia64_asm_output_external): Rewritten.
(ia64_hpux_add_extern_decl): Removed.
(ia64_hpux_file_end): Likewise.
(extern_func_list): Likewise.
(extern_func_head): Likewise.

* output.h (assemble_external): Update comments.
(default_elf_asm_output_external): New.
(maybe_assemble_visibility): New.

* toplev.c (compile_file): Update comment.

* varasm.c (assemble_external): Always put it on
pending_assemble_externals.
(maybe_assemble_visibility): Make it extern and return int.
(default_elf_asm_output_external): New.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/cgraphunit.c
trunk/gcc/config/elfos.h
trunk/gcc/config/ia64/hpux.h
trunk/gcc/config/ia64/ia64.c
trunk/gcc/output.h
trunk/gcc/toplev.c
trunk/gcc/varasm.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20218



[Bug middle-end/17982] stop calling assemble_external before final assembly output time

2006-12-11 Thread hjl at gcc dot gnu dot org


--- Comment #29 from hjl at gcc dot gnu dot org  2006-12-12 03:59 ---
Subject: Bug 17982

Author: hjl
Date: Tue Dec 12 03:58:52 2006
New Revision: 119764

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119764
Log:
2006-12-11  H.J. Lu  <[EMAIL PROTECTED]>

PR middle-end/17982
PR middle-end/20218
* cgraphunit.c (cgraph_optimize): Remove call to
process_pending_assemble_externals.

* config/elfos.h (ASM_OUTPUT_EXTERNAL): New.

* config/ia64/hpux.h (TARGET_ASM_FILE_END): Removed.

* config/ia64/ia64.c (ia64_asm_output_external): Rewritten.
(ia64_hpux_add_extern_decl): Removed.
(ia64_hpux_file_end): Likewise.
(extern_func_list): Likewise.
(extern_func_head): Likewise.

* output.h (assemble_external): Update comments.
(default_elf_asm_output_external): New.
(maybe_assemble_visibility): New.

* toplev.c (compile_file): Update comment.

* varasm.c (assemble_external): Always put it on
pending_assemble_externals.
(maybe_assemble_visibility): Make it extern and return int.
(default_elf_asm_output_external): New.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/cgraphunit.c
trunk/gcc/config/elfos.h
trunk/gcc/config/ia64/hpux.h
trunk/gcc/config/ia64/ia64.c
trunk/gcc/output.h
trunk/gcc/toplev.c
trunk/gcc/varasm.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17982



[Bug driver/30074] [4.2] Cross compiler on i386/x86-64 hosts includes driver-i386.c

2006-12-05 Thread hjl at gcc dot gnu dot org


--- Comment #5 from hjl at gcc dot gnu dot org  2006-12-05 16:06 ---
Subject: Bug 30074

Author: hjl
Date: Tue Dec  5 16:06:39 2006
New Revision: 119545

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119545
Log:
2006-12-05  H.J. Lu  <[EMAIL PROTECTED]>

PR driver/30074
* config.host: Add driver-i386.o only if compiling for x86 or
x86_64.

Modified:
branches/gcc-4_2-branch/gcc/ChangeLog
branches/gcc-4_2-branch/gcc/config.host


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30074



[Bug target/30040] -mtune=native could be improved for Core 2 Duo and Core Duo

2006-12-02 Thread hjl at gcc dot gnu dot org


--- Comment #2 from hjl at gcc dot gnu dot org  2006-12-02 22:18 ---
Subject: Bug 30040

Author: hjl
Date: Sat Dec  2 22:18:25 2006
New Revision: 119454

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119454
Log:
2006-12-02  H.J. Lu  <[EMAIL PROTECTED]>

PR target/30040
* config/i386/driver-i386.c: Include "coretypes.h" and "tm.h".
(bit_SSSE3): New.
(host_detect_local_cpu): Check -mtune= vs. -march=. Rewrite
processor detection.

* config/i386/i386.h (CC1_CPU_SPEC): Add -mtune=native for
-march=native if there is no -mtune=*.

* config/i386/x-i386 (driver-i386.o): Also depend on $(TM_H)
coretypes.h.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/driver-i386.c
trunk/gcc/config/i386/i386.h
trunk/gcc/config/i386/x-i386


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30040



[Bug tree-optimization/29921] [4.3 regression]: internal compiler error: in set_lattice_value, at tree-ssa-ccp.c:437

2006-12-01 Thread hjl at gcc dot gnu dot org


--- Comment #13 from hjl at gcc dot gnu dot org  2006-12-01 14:49 ---
Subject: Bug 29921

Author: hjl
Date: Fri Dec  1 14:49:15 2006
New Revision: 119401

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119401
Log:
2006-12-01  Zdenek Dvorak <[EMAIL PROTECTED]>

PR tree-optimization/29921
* tree-ssa-ccp.c (canonicalize_float_value): New function.
(set_lattice_value): Use canonicalize_float_value.

2006-12-01  H.J. Lu  <[EMAIL PROTECTED]>
Zdenek Dvorak <[EMAIL PROTECTED]>

PR tree-optimization/29921
* gcc.dg/pr29921-2.c: New test.

Added:
trunk/gcc/testsuite/gcc.dg/pr29921-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-ccp.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29921



[Bug middle-end/29862] [4.3 Regression] Calling a function with gcc_assert

2006-11-15 Thread hjl at gcc dot gnu dot org


--- Comment #5 from hjl at gcc dot gnu dot org  2006-11-16 03:50 ---
Subject: Bug 29862

Author: hjl
Date: Thu Nov 16 03:50:16 2006
New Revision: 118881

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118881
Log:
2006-11-15  H.J. Lu  <[EMAIL PROTECTED]>

PR middle-end/29862
* real.c (mpfr_from_real): Call mpfr_set_str before gcc_assert.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/real.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29862



[Bug middle-end/28915] [4.1 regression] ICE: tree check: expected class 'constant', have 'declaration' (var_decl) in build_vector, at tree.c:973

2006-11-13 Thread hjl at gcc dot gnu dot org


--- Comment #21 from hjl at gcc dot gnu dot org  2006-11-13 18:55 ---
Subject: Bug 28915

Author: hjl
Date: Mon Nov 13 18:55:08 2006
New Revision: 118772

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118772
Log:
2006-11-12  Jason Merrill  <[EMAIL PROTECTED]>
Andrew Pinski <[EMAIL PROTECTED]>

Backport form mainline:
PR middle-end/28915
* gcc.target/i386/vectorize1.c: New.

Modified:
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28915



[Bug middle-end/28915] [4.1 regression] ICE: tree check: expected class 'constant', have 'declaration' (var_decl) in build_vector, at tree.c:973

2006-11-13 Thread hjl at gcc dot gnu dot org


--- Comment #20 from hjl at gcc dot gnu dot org  2006-11-13 18:53 ---
Subject: Bug 28915

Author: hjl
Date: Mon Nov 13 18:53:27 2006
New Revision: 118771

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118771
Log:
2006-11-12  Jason Merrill  <[EMAIL PROTECTED]>
Andrew Pinski <[EMAIL PROTECTED]>

PR middle-end/28915
* gcc.target/i386/vectorize1.c: New.

Modified:
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28915



[Bug target/27537] XMM alignment fault when compiling for i386 with -Os

2006-09-11 Thread hjl at gcc dot gnu dot org


--- Comment #14 from hjl at gcc dot gnu dot org  2006-09-12 02:54 ---
Subject: Bug 27537

Author: hjl
Date: Tue Sep 12 02:54:42 2006
New Revision: 116870

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116870
Log:
gcc/

2006-09-11  H.J. Lu  <[EMAIL PROTECTED]>

PR target/13685
PR target/27537
PR target/28621
* config/i386/i386.c (override_options): Always default to 16
byte stack boundary.

gcc/testsuite/

2006-09-11  H.J. Lu  <[EMAIL PROTECTED]>

PR target/13685
* gcc.target/i386/pr13685.c: New test.

Added:
branches/gcc-4_1-branch/gcc/testsuite/gcc.target/i386/pr13685.c
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/config/i386/i386.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27537



[Bug target/13685] Building simple test application with -march=pentium3 -Os gives SIGSEGV (unaligned sse instruction)

2006-09-11 Thread hjl at gcc dot gnu dot org


--- Comment #23 from hjl at gcc dot gnu dot org  2006-09-12 02:54 ---
Subject: Bug 13685

Author: hjl
Date: Tue Sep 12 02:54:42 2006
New Revision: 116870

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116870
Log:
gcc/

2006-09-11  H.J. Lu  <[EMAIL PROTECTED]>

PR target/13685
PR target/27537
PR target/28621
* config/i386/i386.c (override_options): Always default to 16
byte stack boundary.

gcc/testsuite/

2006-09-11  H.J. Lu  <[EMAIL PROTECTED]>

PR target/13685
* gcc.target/i386/pr13685.c: New test.

Added:
branches/gcc-4_1-branch/gcc/testsuite/gcc.target/i386/pr13685.c
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/config/i386/i386.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13685



[Bug target/28621] [4.1 Regression] SIGSEGV in set_fast_math () at -Os

2006-09-11 Thread hjl at gcc dot gnu dot org


--- Comment #13 from hjl at gcc dot gnu dot org  2006-09-12 02:54 ---
Subject: Bug 28621

Author: hjl
Date: Tue Sep 12 02:54:42 2006
New Revision: 116870

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116870
Log:
gcc/

2006-09-11  H.J. Lu  <[EMAIL PROTECTED]>

PR target/13685
PR target/27537
PR target/28621
* config/i386/i386.c (override_options): Always default to 16
byte stack boundary.

gcc/testsuite/

2006-09-11  H.J. Lu  <[EMAIL PROTECTED]>

PR target/13685
* gcc.target/i386/pr13685.c: New test.

Added:
branches/gcc-4_1-branch/gcc/testsuite/gcc.target/i386/pr13685.c
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/config/i386/i386.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28621



<    2   3   4   5   6   7   8   >