platform/upstream/linaro-gcc.git
15 years ago2009-01-26 Andreas Tobler <a.tobler@schweiz.org>
andreast [Mon, 26 Jan 2009 21:47:10 +0000 (21:47 +0000)]
2009-01-26  Andreas Tobler  <a.tobler@schweiz.org>

* config/t-vxworks (LIBGCC2_INCLUDES): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143686 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-26 Danny Smith <dannysmith@users.sourceforge.net>
hjl [Mon, 26 Jan 2009 20:34:09 +0000 (20:34 +0000)]
2009-01-26  Danny Smith  <dannysmith@users.sourceforge.net>

PR testsuite/38949
* g++.dg/torture/stackalign/test-unwind.h (ASMNAME): Define.
Use instead of C name in asm statements.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143684 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoFix a typo.
hjl [Mon, 26 Jan 2009 16:46:03 +0000 (16:46 +0000)]
Fix a typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143679 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-26 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 26 Jan 2009 15:03:30 +0000 (15:03 +0000)]
2009-01-26  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38745
* tree-ssa-alias.c (update_alias_info_1): Exclude RESULT_DECL
from special handling.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143676 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-26 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 26 Jan 2009 09:55:30 +0000 (09:55 +0000)]
2009-01-26  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38745
* tree-ssa.c (execute_update_addresses_taken): Do not include
variables that cannot possibly be a register in not_reg_needs.
Do not clear TREE_ADDRESSABLE on vars that may not become
registers.
* tree-ssa.c (update_alias_info_1): Include those in the set
of addressable vars.

* g++.dg/torture/pr38745.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143673 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-26 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 26 Jan 2009 09:52:48 +0000 (09:52 +0000)]
2009-01-26  Richard Guenther  <rguenther@suse.de>

PR middle-end/38851
* Makefile.in (tree-ssa-dse.o): Add langhooks.h.
* tree-ssa-dse.c: Include langhooks.h
(execute_simple_dse): Remove stores with zero size.

* g++.dg/warn/Wuninitialized-1.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143672 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoDaily bump.
gccadmin [Mon, 26 Jan 2009 00:16:58 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143667 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoReplace spurious character 0xa0 with 0x20 before 'target'
hp [Sun, 25 Jan 2009 20:15:44 +0000 (20:15 +0000)]
Replace spurious character 0xa0 with 0x20 before 'target'

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143664 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * gcc.dg/bitfld-15.c: Gate warning on target
hp [Sun, 25 Jan 2009 12:11:21 +0000 (12:11 +0000)]
* gcc.dg/bitfld-15.c: Gate warning on target
pcc_bitfield_type_matters.
* gcc.dg/bitfld-17.c, g++.dg/ext/bitfield2.C,
g++.dg/ext/bitfield4.C: Likewise.
* gcc.dg/pr17112-1.c: Don't expect a warning for the packed
bitfield for any target.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143662 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoDaily bump.
gccadmin [Sun, 25 Jan 2009 00:16:43 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143659 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR c/38957
jakub [Sat, 24 Jan 2009 21:36:09 +0000 (21:36 +0000)]
PR c/38957
* c-typeck.c (c_finish_return): Handle POINTER_PLUS_EXPR the same way
as PLUS_EXPR.

* gcc.dg/pr38957.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143654 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * config/arm/t-linux-eabi (LIB2FUNCS_STATIC_EXTRA): Add
jules [Sat, 24 Jan 2009 21:06:08 +0000 (21:06 +0000)]
* config/arm/t-linux-eabi (LIB2FUNCS_STATIC_EXTRA): Add
config/arm/linux-atomic.c.
* config/arm/linux-atomic.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143653 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * config/sparc/linux.h (DBX_REGISTER_NUMBER): Delete.
ebotcazou [Sat, 24 Jan 2009 20:49:41 +0000 (20:49 +0000)]
* config/sparc/linux.h (DBX_REGISTER_NUMBER): Delete.
* config/sparc/linux64.h (DBX_REGISTER_NUMBER): Likewise.
* config/sparc/sysv4.h (DBX_REGISTER_NUMBER): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143649 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-24 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 24 Jan 2009 16:05:53 +0000 (16:05 +0000)]
2009-01-24  H.J. Lu  <hongjiu.lu@intel.com>

PR c/38938
* c-opts.c (c_common_handle_option): Upate warn_pointer_sign
properly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143648 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-24 David Billinghurst (billingd@gcc.gnu.org)
billingd [Sat, 24 Jan 2009 08:00:13 +0000 (08:00 +0000)]
2009-01-24 David Billinghurst (billingd@gcc.gnu.org)

PR fortran/38955
* gfortran.dg/array_constructor_24.f: Allow tolerance when
comparing floats

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143600 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-24 Sebastian Pop <sebastian.pop@amd.com>
spop [Sat, 24 Jan 2009 00:59:51 +0000 (00:59 +0000)]
2009-01-24  Sebastian Pop  <sebastian.pop@amd.com>

PR tree-optimization/38953
* graphite.c (graphite_verify): Add a call to verify_loop_closed_ssa.
(scop_adjust_phis_for_liveouts): Initialize false_i to zero.
(gloog): Split the exit of the scop when the scop exit is a loop exit.
(graphite_transform_loops): Only call cleanup_tree_cfg if gloog
changed the CFG.

* gfortran.dg/graphite/pr38953.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143599 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoDaily bump.
gccadmin [Sat, 24 Jan 2009 00:17:00 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143597 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-24 Paul Brook <paul@codesourcery.com>
pbrook [Sat, 24 Jan 2009 00:10:30 +0000 (00:10 +0000)]
2009-01-24  Paul Brook  <paul@codesourcery.com>

gcc/
* config/arm/neon.md (neon_type): Move to arm.md.
(neon_mov<VSTRUCT>): Add neon_type attribute.
* config/arm/arm.md (neon_type): Move to here.
(conds): Add "unconditioal" and use as default for NEON insns.

gcc/testsuite/
* gcc.target/arm/neon-cond-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143594 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * bitmap.h (BITMAP_FREE): Eliminate `implicit conversion from
bje [Fri, 23 Jan 2009 22:48:23 +0000 (22:48 +0000)]
* bitmap.h (BITMAP_FREE): Eliminate `implicit conversion from
void *' warning from -Wc++-compat.
* Makefile.in (dominance.o-warn): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143593 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2008-01-23 Paolo Bonzini <bonzini@gnu.org>
bonzini [Fri, 23 Jan 2009 15:57:19 +0000 (15:57 +0000)]
2008-01-23  Paolo Bonzini  <bonzini@gnu.org>

PR tree-optimization/38932
* fold-const.c (fold_unary_no_overflow): New.
* tree.h (fold_unary_no_overflow): Declare.
* tree-ssa-ccp.c (ccp_fold): Use fold_unary_no_overflow.
* tree-ssa-sccvn.c (visit_reference_op_load,
simplify_unary_expression): Likewise.

testsuite:
2008-01-23  Paolo Bonzini  <bonzini@gnu.org>

PR tree-optimization/38932
* gcc.dg/pr38932.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143588 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agofix testcase sms-7.c
revitale [Fri, 23 Jan 2009 10:34:44 +0000 (10:34 +0000)]
fix testcase sms-7.c

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143587 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * c-decl.c (finish_struct): Move code to set DECL_PACKED after
nemet [Fri, 23 Jan 2009 06:29:54 +0000 (06:29 +0000)]
* c-decl.c (finish_struct): Move code to set DECL_PACKED after
DECL_BIT_FIELD is alreay known.  Also inherit packed for bitfields
regardless of their type.
* c-common.c (handle_packed_attribute): Don't ignore packed on
bitfields.
* c.opt (Wpacked-bitfield-compat): New warning option.
* stor-layout.c (place_field): Warn if offset of a field changed.
* doc/extend.texi (packed): Mention the ABI change.
* doc/invoke.texi (-Wpacked-bitfield-compat): Document.
(Warning Options): Add it to the list.

cp/
* class.c (check_field_decls): Also inherit packed for bitfields
regardless of their type.

testsuite/
* gcc.dg/bitfld-15.c, gcc.dg/bitfld-16.c,
gcc.dg/bitfld-17.c,gcc.dg/bitfld-18.c: New tests.
* g++.dg/ext/bitfield2.C, g++.dg/ext/bitfield3.C,
g++.dg/ext/bitfield4.C, g++.dg/ext/bitfield5.C: New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143584 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago libmudflap/
jiez [Fri, 23 Jan 2009 04:58:03 +0000 (04:58 +0000)]
libmudflap/
* mf-impl.h (__mf_get_state, __mf_set_state): Don't use
__thread when TLS support is emulated.
* mf-hooks3.c (__mf_get_state, __mf_set_state): Likewise.
* mf-runtime.c (__mf_state_1): Likewise.
* configure.ac: Use GCC_CHECK_EMUTLS.
* configure: Regenerate.
* config.h.in: Regenerate.

config/
* tls.m4 (GCC_CHECK_EMUTLS): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143583 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoDaily bump.
gccadmin [Fri, 23 Jan 2009 00:16:47 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143581 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-22 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 22 Jan 2009 23:46:46 +0000 (23:46 +0000)]
2009-01-22  H.J. Lu  <hongjiu.lu@intel.com>

* c-opts.c (c_common_post_options): Fix a typo in comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143578 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-22 Jonathan Wakely <jwakely.gcc@gmail.com>
redi [Thu, 22 Jan 2009 22:33:02 +0000 (22:33 +0000)]
2009-01-22  Jonathan Wakely  <jwakely.gcc@gmail.com>

* include/std/thread (__thread_data_base, thread): Rename member
functions to match coding style.
(thread::thread,thread::operator=): Define move operations.
* src/thread.cc (__thread_data_base, thread): Rename member functions.
* config/abi/pre/gnu.ver: Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143577 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-22 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 22 Jan 2009 21:40:23 +0000 (21:40 +0000)]
2009-01-22  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/38384
* acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Disable symbol versioning
on HPUX.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143576 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * gcc.dg/pr35729.c: Make test x86 specific.
sje [Thu, 22 Jan 2009 17:34:57 +0000 (17:34 +0000)]
* gcc.dg/pr35729.c: Make test x86 specific.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143573 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago Should have been in previous checkin.
sje [Thu, 22 Jan 2009 17:09:56 +0000 (17:09 +0000)]
Should have been in previous checkin.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143572 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR middle-end/38615
sje [Thu, 22 Jan 2009 17:03:35 +0000 (17:03 +0000)]
PR middle-end/38615
* gcc.dg/pr38615.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143571 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR middle-end/38615
sje [Thu, 22 Jan 2009 17:02:21 +0000 (17:02 +0000)]
PR middle-end/38615
* gimplify.c (gimplify_init_constructor): Fix promotion of const
variables to static.
* doc/invoke.texi (-fmerge-all-constants): Update description.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143570 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR target/38931
uros [Thu, 22 Jan 2009 12:48:03 +0000 (12:48 +0000)]
PR target/38931
* config/i386/i386.md (*movsi_1): Use type "mmx" for alternative 2.
(*movdi_1_rex64): Use type "mmx" for alternative 5.

testsuite/ChangeLog:

PR target/38931
* gcc.target/i386/pr38931.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143567 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * arm.h (DATA_ALIGNMENT): Align structures, unions and arrays to
rearnsha [Thu, 22 Jan 2009 11:17:53 +0000 (11:17 +0000)]
* arm.h (DATA_ALIGNMENT): Align structures, unions and arrays to
a word boundary.
(LOCAL_ALIGNMENT): Similarly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143566 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-22 Mark Shinwell <shinwell@codesourcery.com>
jsm28 [Thu, 22 Jan 2009 11:16:45 +0000 (11:16 +0000)]
2009-01-22  Mark Shinwell  <shinwell@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* config/arm/arm.c (all_architectures): Add iWMMXt2 entry.
* config/arm/arm-cores.def: New ARM_CORE entry for iWMMXt2.
* config/arm/arm-tune.md: Regenerate.
* doc/invoke.texi (ARM Options): Document -mcpu=iwmmxt2 and
-march=iwmmxt2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143565 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-22 Mark Shinwell <shinwell@codesourcery.com>
jsm28 [Thu, 22 Jan 2009 11:14:42 +0000 (11:14 +0000)]
2009-01-22  Mark Shinwell  <shinwell@codesourcery.com>

* config/arm/bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Bump EABI
version number to five.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143564 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoReverted commit 143546 related to PR c++/26693
dodji [Thu, 22 Jan 2009 07:15:41 +0000 (07:15 +0000)]
Reverted commit 143546 related to PR c++/26693

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143562 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoDaily bump.
gccadmin [Thu, 22 Jan 2009 00:16:56 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143560 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-21 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 21 Jan 2009 22:50:31 +0000 (22:50 +0000)]
2009-01-21  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/29_atomics/headers/stdatomic.h/functions.c: Remove
atomic_flag_fence.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143557 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-21 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Wed, 21 Jan 2009 20:18:03 +0000 (20:18 +0000)]
2009-01-21  Vladimir Makarov  <vmakarov@redhat.com>

PR middle-end/38587
* ira-color.c (coalesce_spill_slots): Don't coalesce allocnos
crossing setjmps.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143554 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR bootstrap/37660
davek [Wed, 21 Jan 2009 19:20:08 +0000 (19:20 +0000)]
PR bootstrap/37660
* config/i386/cygwin.h (SHARED_LIBGCC_SPEC):  New helper macro.
(LIBGCC_SPEC):  Don't define.
(REAL_LIBGCC_SPEC):  Define instead, using SHARED_LIBGCC_SPEC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143552 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agogcc/testsuite/
rsandifo [Wed, 21 Jan 2009 18:57:22 +0000 (18:57 +0000)]
gcc/testsuite/
* gcc.dg/tree-ssa/ssa-store-ccp-3.c: Skip for mips*-*-linux*
and mips*-*-irix*.
* gcc.dg/tree-ssa/vrp47.c: Skip for all MIPS targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143551 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * testsuite/ChangeLog: Add missing ChangeLog entry.
uros [Wed, 21 Jan 2009 18:50:07 +0000 (18:50 +0000)]
* testsuite/ChangeLog: Add missing ChangeLog entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143550 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR rtl-optimization/38879
uros [Wed, 21 Jan 2009 18:47:19 +0000 (18:47 +0000)]
PR rtl-optimization/38879
* alias.c (base_alias_check): Unaligned access via AND address can
alias all surrounding object types except those with sizes equal
or wider than the size of unaligned access.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143549 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agogcc/ChangeLog:
dodji [Wed, 21 Jan 2009 16:14:49 +0000 (16:14 +0000)]
gcc/ChangeLog:
2009-01-21  Dodji Seketeli  <dodji@redhat.com>

PR c++/26693
* c-decl.c: (clone_underlying_type): Move this  ...
* c-common.c (set_underlying_type): ... here.
Also, make sure the function  properly sets TYPE_STUB_DECL() on
the newly created typedef variant type.
(is_typedef_decl ): New entry point.
* tree.h: Added a new member member_types_needing_access_check to
struct tree_decl_non_common.
(set_underlying_type): New entry point.
(is_typedef_type): Likewise.

gcc/cp/ChangeLog/
2009-01-21  Dodji Seketeli  <dodji@redhat.com>

PR c++/26693
* decl2.c (grokfield): when a typedef appears in a
class, create the typedef variant type node for it.
(save_template_attributes): Creating typedef variant type node
 here is now useless.
* decl.c (grokdeclarator): If the typedef'ed struct/class was
anonymous, set the proper type name to all its type variants.
* name-lookup.c (pushdecl_maybe_friend): Reuse the
set_underlying_type function to install typedef variant types.
* cp-tree.h (MEMBER_TYPES_NEEDING_ACCESS_CHECK): New template accessor
macro.
(append_type_to_template_for_access_check): New entry points.
* semantics.c (check_accessibility_of_qualified_id):
When a typedef that is a member of a class appears in a template,
add it to the template. It will be ...
* pt.c (instantiate_class_template, instantiate_template ): ... access
checked at template instantiation time.
(tsubst): Handle the case of being called with NULL args.
(resolve_type_name_type): The type name should be the name of the
main type variant.
(append_type_to_template_for_access_check): New entry point.

gcc/testsuite/ChangeLog
2009-01-21  Dodji Seketeli  <dodji@redhat.com>

PR c++/26693
* g++.dg/template/typedef11.C: New test.
* g++.dg/template/typedef12.C: Likewise.
* g++.dg/template/typedef13.C: Likewise.
* g++.dg/template/typedef14.C: Likewise.
* g++.dg/template/sfinae3.C: Compile this pedantically.
The only errors expected should be the one saying the typedef is ill
formed.
* g++.old-deja/g++.pt/typename8.C: Likewise.
* g++.dg/template/access11.C: Update this.

libstdc++-v3/ChangeLog:
2009-01-21  Dodji Seketeli  <dodji@redhat.com>

* include/ext/bitmap_allocator.h: the typedefs should be made public
if we want them to be accessible. This has been revealed by the patch
that fixes PR c++/26693 in g++.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143546 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-21 Daniel Kraft <d@domob.eu>
domob [Wed, 21 Jan 2009 13:34:55 +0000 (13:34 +0000)]
2009-01-21  Daniel Kraft  <d@domob.eu>

* trans-stmt.c (gfc_conv_elemental_dependencies):  Cleaned up comment.

2009-01-21  Daniel Kraft  <d@domob.eu>

PR fortran/38887
* runtime/in_unpack_generic.c (internal_unpack):  Return instead of
abort when called with empty array.
* m4/in_unpack.m4:  Ditto.
* generated/in_unpack_i1.c:  Regenerated.
* generated/in_unpack_i2.c:  Regenerated.
* generated/in_unpack_i4.c:  Regenerated.
* generated/in_unpack_i8.c:  Regenerated.
* generated/in_unpack_i16.c: Regenerated.
* generated/in_unpack_r4.c:  Regenerated.
* generated/in_unpack_r8.c:  Regenerated.
* generated/in_unpack_r10.c: Regenerated.
* generated/in_unpack_r16.c: Regenerated.
* generated/in_unpack_c4.c:  Regenerated.
* generated/in_unpack_c8.c:  Regenerated.
* generated/in_unpack_c10.c: Regenerated.
* generated/in_unpack_c16.c: Regenerated.

2009-01-21  Daniel Kraft  <d@domob.eu>

PR fortran/38887
* gfortran.dg/mvbits_5.f90:  New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143541 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agocheck alias sets in add_inter_loop_mem_dep
revitale [Wed, 21 Jan 2009 11:39:19 +0000 (11:39 +0000)]
check alias sets in add_inter_loop_mem_dep

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143540 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-20 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 21 Jan 2009 04:04:24 +0000 (04:04 +0000)]
2009-01-20  Benjamin Kosnik  <bkoz@redhat.com>
    Uros Bizjak  <ubizjak@gmail.com>

PR libstdc++/38834
* config/abi/pre/gnu.ver: Correct char16_t and char32_t exports.
* config/os/gnu-linux/ldbl-extra.ver: Tweak.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143538 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoDaily bump.
gccadmin [Wed, 21 Jan 2009 00:16:51 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143536 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR other/38758
jsm28 [Tue, 20 Jan 2009 21:58:30 +0000 (21:58 +0000)]
PR other/38758
* longlong.h: Update copyright years.  Use soft-fp license
notice.  Sync __clz_tab declaration with glibc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143531 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-20 Paul Thomas <pault@gcc.gnu.org>
pault [Tue, 20 Jan 2009 21:56:49 +0000 (21:56 +0000)]
2009-01-20  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/38907
* resolve.c (check_host_association): Remove the matching to
correct an incorrect host association and use manipulation of
the expression instead.

2009-01-20  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/38907
* gfortran.dg/host_assoc_function_7.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143530 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-20 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 20 Jan 2009 19:30:51 +0000 (19:30 +0000)]
2009-01-20  Benjamin Kosnik  <bkoz@redhat.com>
            Rainer Emrich  <r.emrich@de.tecosim.com>

PR libstdc++/38919
* crossconfig.m4: Use GLIBCXX_CHECK_MATH_SUPPORT and
GLIBCXX_CHECK_STDLIB_SUPPORT for mingw crosses.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143526 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR target/30687
sje [Tue, 20 Jan 2009 19:14:06 +0000 (19:14 +0000)]
PR target/30687
* doc/extend.texi (syscall_linkage): New.
(version_id): Modify.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143525 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-20 Tobias Burnus <burnus@net-b.de>
burnus [Tue, 20 Jan 2009 18:46:30 +0000 (18:46 +0000)]
2009-01-20  Tobias Burnus  <burnus@net-b.de>

        * invoke.texi (RANGE): RANGE also takes INTEGER arguments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143524 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-20 Andrew Pinski <andrew_pinski@playstation.sony.com>
rguenth [Tue, 20 Jan 2009 17:10:40 +0000 (17:10 +0000)]
2009-01-20  Andrew Pinski  <andrew_pinski@playstation.sony.com>
Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38747
PR tree-optimization/38748
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Disable the VCE
conversion if the base address is an indirect reference and the
aliasing sets could cause issues.

* gcc.dg/tree-ssa/struct-aliasing-1.c: New test.
* gcc.dg/tree-ssa/struct-aliasing-2.c: Likewise.
* gcc.c-torture/execute/struct-aliasing-1.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143523 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-20 Sebastian Pop <sebastian.pop@amd.com>
spop [Tue, 20 Jan 2009 15:01:14 +0000 (15:01 +0000)]
2009-01-20  Sebastian Pop  <sebastian.pop@amd.com>

* common.opt (fgraphite, fgraphite-identity): Add comment for
explaining why these options are not documented.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143518 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-20 Sebastian Pop <sebastian.pop@amd.com>
spop [Tue, 20 Jan 2009 14:58:53 +0000 (14:58 +0000)]
2009-01-20  Sebastian Pop  <sebastian.pop@amd.com>

* graphite.c (stmt_simple_for_scop_p): Also handle cases when
gimple_call_lhs is NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143517 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-20 Kees Cook <kees@ubuntu.com>
hjl [Tue, 20 Jan 2009 14:40:30 +0000 (14:40 +0000)]
2009-01-20  Kees Cook  <kees@ubuntu.com>
    H.J. Lu  <hongjiu.lu@intel.com>

PR target/38902
* gcc.dg/pr38902.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143516 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agogcc:
bonzini [Tue, 20 Jan 2009 13:24:25 +0000 (13:24 +0000)]
gcc:
2008-01-20  Paolo Bonzini  <bonzini@gnu.org>

PR target/38868
* emit-rtl.c (adjust_address_1): Make sure memref is never
overwritten.

gcc/testsuite:
2008-01-20  Paolo Bonzini  <bonzini@gnu.org>

PR target/38868
* gfortran.dg/pr38868.f: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143513 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * libgcov.c (__gcov_execl, __gcov_execlp, __gcov_execle): Remove
bje [Tue, 20 Jan 2009 09:49:58 +0000 (09:49 +0000)]
* libgcov.c (__gcov_execl, __gcov_execlp, __gcov_execle): Remove
const qualifier from arg parameter. Remove unnecessary cast to
char *.
* gcov-io.h (__gcov_execl, __gcov_execlp, __gcov_execle): Remove
const qualifier from arg 2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143511 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-20 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 20 Jan 2009 09:21:41 +0000 (09:21 +0000)]
2009-01-20  Richard Guenther  <rguenther@suse.de>

* gcc.c-torture/execute/pr36227.c: Move ...
* gcc.dg/torture/pr36227.c: ... here.  Require stdint_types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143509 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-19 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
janis [Tue, 20 Jan 2009 00:59:24 +0000 (00:59 +0000)]
2009-01-19  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>

gcc/
        * config/darwin.h: Add static-libgfortran to LINK_SPEC.
gcc/testsuite/
        * lib/gfortran.exp: Add -B options for targets that use
libgfortran.a%s in their specs.
libgomp/
        * testsuite/lib/libgomp.exp: Add -B option for targets that
use libgfortran.a%s in their specs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143507 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoDaily bump.
gccadmin [Tue, 20 Jan 2009 00:17:11 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143505 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR c++/23287
jason [Mon, 19 Jan 2009 22:50:43 +0000 (22:50 +0000)]
    PR c++/23287
        * parser.c (cp_parser_unqualified_id): In a template,
        accept ~identifier.
        * typeck.c (lookup_destructor): Handle IDENTIFIER_NODE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143502 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-19 Mikael Morin <mikael.morin@tele2.fr>
mikael [Mon, 19 Jan 2009 22:19:34 +0000 (22:19 +0000)]
2009-01-19  Mikael Morin  <mikael.morin@tele2.fr>

PR fortran/38859
* simplify.c (simplify_bound): Don't use array specification
if variable or component has subsequent references.

2009-01-19  Mikael Morin  <mikael.morin@tele2.fr>

PR fortran/38859
* gfortran.dg/bound_5.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143501 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-19 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Mon, 19 Jan 2009 17:17:14 +0000 (17:17 +0000)]
2009-01-19  Vladimir Makarov  <vmakarov@redhat.com>

PR c/38869
* rtl.h (reinit_regs): New prototype.
* regclass.c: Include ira.h.
(reinit_regs): New.
* Makefile.in (regclass.o): Add ira.h.
* config/i386/i386.c (ix86_maybe_switch_abi): Use reinit_regs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143498 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoDaily bump.
gccadmin [Mon, 19 Jan 2009 00:17:01 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143491 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoCorrect my most recent entry.
bje [Sun, 18 Jan 2009 21:41:52 +0000 (21:41 +0000)]
Correct my most recent entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143488 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * configure.ac (funcs, vars, checkfuncs): Don't munge on Cygwin,
davek [Sun, 18 Jan 2009 21:36:20 +0000 (21:36 +0000)]
* configure.ac (funcs, vars, checkfuncs):  Don't munge on Cygwin,
as it no longer shares libiberty object files.
* configure:  Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143487 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agogcc/
hjl [Sun, 18 Jan 2009 16:26:26 +0000 (16:26 +0000)]
gcc/

2009-01-18  H.J. Lu  <hongjiu.lu@intel.com>

PR target/38736
* c-common.c (handle_aligned_attribute): Use
ATTRIBUTE_ALIGNED_VALUE instead of BIGGEST_ALIGNMENT for
default alignment value.

* c-cppbuiltin.c (c_cpp_builtins): Define __BIGGEST_ALIGNMENT__.

* defaults.h (ATTRIBUTE_ALIGNED_VALUE): New.
* config/i386/i386.h (ATTRIBUTE_ALIGNED_VALUE): Likewise.

* doc/extend.texi: Update __attribute__ ((aligned)).  Document
__BIGGEST_ALIGNMENT__.

* doc/tm.texi: Document ATTRIBUTE_ALIGNED_VALUE.

gcc/testsuite/

2009-01-18  H.J. Lu  <hongjiu.lu@intel.com>

PR target/38736
* g++.dg/compat/abi/pr38736_main.C: New.
* g++.dg/compat/abi/pr38736_x.C: Likewise.
* g++.dg/compat/abi/pr38736_y.C: Likewise.
* g++.dg/other/macro-1.C: Likewise.
* gcc.dg/macro-1.c: Likewise.
* gcc.dg/compat/pr38736_main.c: Likewise.
* gcc.dg/compat/pr38736_x.c: Likewise.
* gcc.dg/compat/pr38736_y.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143486 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-18 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 18 Jan 2009 15:51:12 +0000 (15:51 +0000)]
2009-01-18  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38819
* tree-flow.h (operation_could_trap_helper_p): Declare.
* tree-eh.c (operation_could_trap_helper_p): Export.
* tree-ssa-sccvn.h (vn_nary_may_trap): Declare.
* tree-ssa-sccvn.c (vn_nary_may_trap): New function.
* tree-ssa-pre.c (insert_into_preds_of_block): Check if we
are about to insert a possibly trapping instruction and fail
in this case.

* gcc.c-torture/execute/pr38819.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143485 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agodoc/install.texi (Configuration): Remove obsolete paragraph
schwab [Sun, 18 Jan 2009 15:47:15 +0000 (15:47 +0000)]
doc/install.texi (Configuration): Remove obsolete paragraph
about use of --with-gnu-ld with --with-gnu-as.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143484 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * include/std/thread (__thread_data_base::__run): Make non-const.
redi [Sun, 18 Jan 2009 12:38:10 +0000 (12:38 +0000)]
* include/std/thread (__thread_data_base::__run): Make non-const.
* testsuite/30_threads/thread/cons/5.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143483 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * Makefile.in (bitmap.o-warn): Remove goal.
bje [Sun, 18 Jan 2009 11:30:29 +0000 (11:30 +0000)]
* Makefile.in (bitmap.o-warn): Remove goal.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143482 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * doc/extend.texi, doc/gimple.texi, doc/invoke.texi,
kazu [Sun, 18 Jan 2009 09:11:10 +0000 (09:11 +0000)]
* doc/extend.texi, doc/gimple.texi, doc/invoke.texi,
doc/md.texi, doc/sourcebuild.texi, doc/tm.texi: Fix typos.
Follow spelling conventions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143481 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * bitmap.c (bitmap_obstack_alloc_stat): Adjust cast to eliminate
bje [Sun, 18 Jan 2009 08:51:56 +0000 (08:51 +0000)]
* bitmap.c (bitmap_obstack_alloc_stat): Adjust cast to eliminate
C++ warning about implicit conversion from void * to struct
bitmap_head_def *.
(bitmap_obstack_free): Likewise for bitmap_element *.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143480 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoDaily bump.
gccadmin [Sun, 18 Jan 2009 00:16:46 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143478 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
bje [Sat, 17 Jan 2009 23:41:31 +0000 (23:41 +0000)]
* config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143475 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * MAINTAINERS: Remove Robert Millan from Write After Approval.
gerald [Sat, 17 Jan 2009 22:36:37 +0000 (22:36 +0000)]
* MAINTAINERS: Remove Robert Millan from Write After Approval.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143474 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * MAINTAINERS: Make whitespace consistent.
gerald [Sat, 17 Jan 2009 22:13:55 +0000 (22:13 +0000)]
* MAINTAINERS: Make whitespace consistent.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143473 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR bootstrap/38862
davek [Sat, 17 Jan 2009 21:06:17 +0000 (21:06 +0000)]
PR bootstrap/38862
* Makefile.in (BACKENDLIBS):  Reorder to match dependencies.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143472 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-17 Sebastian Pop <sebastian.pop@amd.com>
spop [Sat, 17 Jan 2009 15:13:12 +0000 (15:13 +0000)]
2009-01-17  Sebastian Pop  <sebastian.pop@amd.com>
    Tobias Grosser  <tobi.grosser@amd.com>

* graphite.c (graphite_trans_scop_block): Do not block single
nested loops.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143468 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-17 Richard Guenther <rguenther@suse.de>
rguenth [Sat, 17 Jan 2009 14:53:57 +0000 (14:53 +0000)]
2009-01-17  Richard Guenther  <rguenther@suse.de>

* gcc_release (JAVA_DIRS): Remove fastjar.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143465 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-17 Paul Thomas <pault@gcc.gnu.org>
pault [Sat, 17 Jan 2009 11:58:48 +0000 (11:58 +0000)]
2009-01-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/38657
* module.c (write_common_0): Add argument 'this_module' and
check that non-use associated common blocks are written first.
(write_common): Call write_common_0 twice, once with true and
then with false.

2009-01-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/38657
* gfortran.dg/module_commons_3.f90: Reapply.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143463 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-17 Paul Thomas <pault@gcc.gnu.org>
pault [Sat, 17 Jan 2009 11:32:02 +0000 (11:32 +0000)]
2009-01-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/34955
* trans-intrinsic.c (gfc_conv_intrinsic_array_transfer): Has
been absorbed into gfc_conv_intrinsic_transfer. All
references to it in trans-intrinsic.c have been changed
accordingly.  PR fixed by using a temporary for scalar
character transfer, when the source is shorter than the
destination.

2009-01-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/34955
* gfortran.dg/transfer_intrinsic_1.f90: New test.
* gfortran.dg/transfer_intrinsic_2.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143462 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-17 Paul Thomas <pault@gcc.gnu.org>
pault [Sat, 17 Jan 2009 09:43:57 +0000 (09:43 +0000)]
2009-01-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/38657
* module.c (write_common_0): Revert patch of 2009-01-10.

2009-01-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/38657
* gfortran.dg/module_commons_3.f90: Remove

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143459 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-16 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 17 Jan 2009 02:03:25 +0000 (02:03 +0000)]
2009-01-16  Benjamin Kosnik  <bkoz@redhat.com>

* src/Makefile.am (sources): Add math_stubs_float.cc.
* src/Makefile.in: Regenerate.
* src/math_stubs_float.cc: New, from libmath/stubs.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143457 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-16 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 17 Jan 2009 01:31:44 +0000 (01:31 +0000)]
2009-01-16  H.J. Lu  <hongjiu.lu@intel.com>

* gcc.dg/tree-ssa/foldaddr-1.c: Add the missing '}'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143455 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoDaily bump.
gccadmin [Sat, 17 Jan 2009 00:17:01 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143453 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR c++/38877
jason [Fri, 16 Jan 2009 22:40:25 +0000 (22:40 +0000)]
    PR c++/38877
        * tree.c (lvalue_p_1): Allow non-fields in COMPONENT_REF.
        * init.c (build_new): Don't call describable_type unless we
        have an auto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143448 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * gcc-interface/Makefile.in: Fix multilib handling for
jakub [Fri, 16 Jan 2009 22:38:12 +0000 (22:38 +0000)]
* gcc-interface/Makefile.in: Fix multilib handling for
powerpc64-linux.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143447 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR c++/38877
jason [Fri, 16 Jan 2009 22:36:32 +0000 (22:36 +0000)]
    PR c++/38877
        * tree.c (lvalue_p_1): Allow non-fields in COMPONENT_REF.
        * init.c (build_new): Don't call describable_type unless we
        have an auto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143446 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR c++/29470
jason [Fri, 16 Jan 2009 22:36:11 +0000 (22:36 +0000)]
    PR c++/29470
        * pt.c (tsubst_decl) [USING_DECL]: Propagate access flags.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143445 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago* ebitmap.h (ebitmap_iter_init): Initialize all fields.
aoliva [Fri, 16 Jan 2009 20:44:25 +0000 (20:44 +0000)]
* ebitmap.h (ebitmap_iter_init): Initialize all fields.
* ipa-struct-reorg.c (gen_struct_type): Replace known-true
test with assertion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143443 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-16 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 16 Jan 2009 19:18:18 +0000 (19:18 +0000)]
2009-01-16  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38835
PR middle-end/36227
* fold-const.c (fold_binary): Remove PTR + INT -> (INT)(PTR p+ INT)
and INT + PTR -> (INT)(PTR p+ INT) folding.
* tree-ssa-address.c (create_mem_ref): Properly use POINTER_PLUS_EXPR.

java/
* builtins.c (build_addr_sum): Use POINTER_PLUS_EXPR.

* gcc.c-torture/execute/pr36227.c: New testcase.
* gcc.dg/tree-ssa/foldaddr-1.c: XFAIL.
* g++.dg/init/const7.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143442 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR target/38554
nemet [Fri, 16 Jan 2009 18:56:47 +0000 (18:56 +0000)]
PR target/38554
* expmed.c (expand_shift): With SHIFT_COUNT_TRUNCATED, don't lift
the subreg from a lowpart subreg if it is also casting the value.

testsuite/
PR target/38554
* gcc.c-torture/compile/pr38554.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143440 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR c++/38579
jason [Fri, 16 Jan 2009 18:35:28 +0000 (18:35 +0000)]
    PR c++/38579
        * search.c (protected_accessible_p): N doesn't vary.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143439 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-16 Sebastian Pop <sebastian.pop@amd.com>
spop [Fri, 16 Jan 2009 15:20:16 +0000 (15:20 +0000)]
2009-01-16  Sebastian Pop  <sebastian.pop@amd.com>
    Tobias Grosser  <tobi.grosser@amd.com>

* graphite.c (compare_prefix_loops): New.
(build_scop_canonical_schedules): Rewritten.
(graphite_transform_loops): Move build_scop_canonical_schedules
after build_scop_iteration_domain.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143437 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-16 Sebastian Pop <sebastian.pop@amd.com>
spop [Fri, 16 Jan 2009 15:18:28 +0000 (15:18 +0000)]
2009-01-16  Sebastian Pop  <sebastian.pop@amd.com>
    Tobias Grosser  <tobi.grosser@amd.com>

* graphite.c (add_conditions_to_domain): Add the loops to
the dimension of the iteration domain.  Do copy the domain
only when it exists.
(build_scop_conditions_1): Do not call add_conditions_to_domain.
(add_conditions_to_constraints): New.
(can_generate_code_stmt, can_generate_code): Removed.
(gloog): Do not call can_generate_code.
(graphite_transform_loops): Call add_conditions_to_constraints
after building the iteration domain.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143436 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR tree-optimization/38789
jakub [Fri, 16 Jan 2009 15:01:24 +0000 (15:01 +0000)]
PR tree-optimization/38789
* tree-ssa-threadedge.c
(record_temporary_equivalences_from_stmts_at_dest): Ignore calls to
__builtin_constant_p.

* gcc.c-torture/compile/pr38789.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143435 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-16 Kenneth Zadeck <zadeck@naturalbridge.com>
zadeck [Fri, 16 Jan 2009 13:41:11 +0000 (13:41 +0000)]
2009-01-16  Kenneth Zadeck <zadeck@naturalbridge.com>

* dce.c (delete_unmarked_insns): Reversed the order that insns are
examined before deleting them.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143433 138bc75d-0d04-0410-961f-82ee72b054a4