OSDN Git Service

pf3gnuchains/gcc-fork.git
9 years ago gcc:
ro [Mon, 21 Mar 2011 12:33:34 +0000 (12:33 +0000)]
gcc:
* gthr-solaris.h: Remove.
* gthr.h (_SOLARIS_THREADS): Don't include gthr-solaris.h, remove.
* config/sol2.h (CPP_SUBTARGET_SPEC): Remove -threads support.
(LIB_SPEC): Likewise.
* config/sol2.opt (threads): Remove.
* config.gcc (i[34567]86-*-solaris2*): Remove solaris threads
support.
(sparc*-*-solaris2*): Likewise.
* configure.ac (enable_threads): Enable solaris support.
* configure: Regenerate.
* doc/invoke.texi (Option Summary, Solaris 2 Options): Remove
-threads.
* doc/install.texi (Configuration, --enable-threads=lib): Remove
solaris.

boehm-gc:
* configure.ac (THREADS): Remove solaris.
* configure: Regenerate.

libjava:
* configure.ac (THREADS): Remove solaris.
* configure: Regenerate.

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

9 years ago * gcc-interface/decl.c (components_to_record): Add REORDER parameter,
ebotcazou [Mon, 21 Mar 2011 12:31:12 +0000 (12:31 +0000)]
* gcc-interface/decl.c (components_to_record): Add REORDER parameter,
rename DEBUG_INFO_P into DEBUG_INFO and move P_GNU_REP_LIST parameter
to the end of the list.  Adjust recursive call.  Rename local variable.
If REORDER is true, reorder components of the record type.
(gnat_to_gnu_entity): Pass OK_To_Reorder_Components flag as argument to
components_to_record and adjust the parameter list.

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

9 years ago * config.gcc: Obsolete *-*-solaris2.8*.
ro [Mon, 21 Mar 2011 12:28:38 +0000 (12:28 +0000)]
* config.gcc: Obsolete *-*-solaris2.8*.
* doc/install.texi (Specific, *-*-solaris2*): Document it.

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

9 years ago PR bootstrap/48120:
ro [Mon, 21 Mar 2011 12:26:30 +0000 (12:26 +0000)]
PR bootstrap/48120:
* configure.ac (pwllib): Use LIBS instead of LDFLAGS.
Add -lstdc++ -lm to LIBS.
* configure: Regenerate.

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

9 years ago libgfortran:
ro [Mon, 21 Mar 2011 12:24:17 +0000 (12:24 +0000)]
libgfortran:
PR bootstrap/48135
* configure.ac (gfortran_use_symver): Handle --disable-symvers.
* configure: Regenerate.

libgomp:
PR bootstrap/48135
* acinclude.m4 (enable_symvers): Handle --disable-symvers.
* configure: Regenerate.

libjava:
PR bootstrap/48135
* configure.ac (libjava_cv_anon_version_script): Handle
--disable-symvers.
* configure: Regenerate.

libquadmath:
PR bootstrap/48135
* configure.ac (quadmath_use_symver): Handle --disable-symvers.
* configure: Regenerate.

libssp:
PR bootstrap/48135
* configure.ac (ssp_use_symver): Handle --disable-symvers.
* configure: Regenerate.

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

9 years ago contrib:
ro [Mon, 21 Mar 2011 12:17:10 +0000 (12:17 +0000)]
contrib:
PR bootstrap/48135
* make_sunver.pl: Don't use File::Glob.

gcc:
PR bootstrap/48135
* doc/install.texi (Prerequisites, Perl): Remove Glob.pm
reference.  Solaris 8 perl works.

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

9 years ago PR bootstrap/48135
ro [Mon, 21 Mar 2011 12:12:19 +0000 (12:12 +0000)]
PR bootstrap/48135
* doc/install.texi (Prerequisites): Move jar etc. up.
Explain support library version requirements.

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

9 years ago * gcc-interface/decl.c (elaborate_expression_1): When optimization is
ebotcazou [Mon, 21 Mar 2011 12:11:06 +0000 (12:11 +0000)]
* gcc-interface/decl.c (elaborate_expression_1): When optimization is
disabled, use the variable for bounds of loop iteration scheme.

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

9 years ago PR bootstrap/48135
ro [Mon, 21 Mar 2011 12:09:28 +0000 (12:09 +0000)]
PR bootstrap/48135
* doc/install.texi (Prerequisites): Move Perl to build
requirements.  Always necessary on Solaris 2 with Sun ld.

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

9 years ago * doc/install.texi (Specific, alpha*-dec-osf5.1): Update for
ro [Mon, 21 Mar 2011 12:03:41 +0000 (12:03 +0000)]
* doc/install.texi (Specific, alpha*-dec-osf5.1): Update for
binutils 2.21.
(Specific, i?86-*-solaris2.[89]): Likewise.
(Specific, i?86-*-solaris2.10): Likewise.
(Specific, mips-sgi-irix6): Likewise.
(Specific, *-*-solaris2*): Remove Sun Studio download URL.
Update for binutils 2.21.

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

9 years ago * configure.ac (gcc_cv_lto_plugin): Fix typo.
ro [Mon, 21 Mar 2011 10:57:51 +0000 (10:57 +0000)]
* configure.ac (gcc_cv_lto_plugin): Fix typo.
Allow -fuse-linker-plugin for non-default plugin linker.
* configure: Regenerate.

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

9 years agoIn gcc/:
nicola [Mon, 21 Mar 2011 10:25:38 +0000 (10:25 +0000)]
In gcc/:
2011-03-21  Nicola Pero  <nicola.pero@meta-innovation.com>

PR bootstrap/48167
* gengtype.c (files_rules): Added rule for cp/parser.h.

In gcc/objcp/:
2011-03-21  Nicola Pero  <nicola.pero@meta-innovation.com>

PR bootstrap/48167
* Make-lang.in (START_HDRS): Added CXX_PARSER_H and
CXX_PRETTY_PRINT_H.
* config-lang.in (gtfiles): Added cp/parser.h and reorganized list
so that it is more obvious that it is identical to the C++ one
with the addition of some files at the end.

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

9 years ago PR target/48213
jakub [Mon, 21 Mar 2011 09:25:47 +0000 (09:25 +0000)]
PR target/48213
* config/s390/s390.c (s390_delegitimize_address): Don't call
lowpart_subreg if orig_x has BLKmode.

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

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

9 years agoChangeLog gcc/c-family
ktietz [Mon, 21 Mar 2011 08:32:50 +0000 (08:32 +0000)]
ChangeLog gcc/c-family

2011-03-21  Kai Tietz  <ktietz@redhat.com>

PR target/12171
* c-pretty-print.c (pp_c_specifier_qualifier_list):
Display allowed attributes for function pointer types.
(pp_c_attributes_display): New function to display
attributes having affects_type_identity flag set to true.
* c-pretty-print.h (pp_c_attributes_display): New prototype.

ChangeLog gcc/cp

2011-03-21  Kai Tietz  <ktietz@redhat.com>

PR target/12171
* cxx-pretty-print.c (pp_cxx_ptr_operator):
Display allowed attributes for function pointer types.
* error.c (dump_type_prefix): Likewise.

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

9 years agoChangeLog gcc/
ktietz [Mon, 21 Mar 2011 08:29:36 +0000 (08:29 +0000)]
ChangeLog gcc/

2011-03-21  Kai Tietz  <ktietz@redhat.com>

PR target/12171
* doc/plugins.texi: Adjust documentation
for plugin register_callback.
* tree.h (attribute_spec): Add new member
affects_type_identity.
- Zitierten Text anzeigen -
* attribs.c (empty_attribute_table): Adjust
attribute_spec initializers.
* config/alpha/alpha.c: Likewise.
* config/arc/arc.c: Likewise.
* config/arm/arm.c: Likewise.
* config/avr/avr.c: Likewise.
* config/bfin/bfin.c: Likewise.
* config/crx/crx.c: Likewise.
* config/darwin.h: Likewise.
* config/h8300/h8300.c: Likewise.
* config/i386/cygming.h: Likewise.
* config/i386/i386.c: Likewise.
* config/ia64/ia64.c: Likewise.
* config/m32c/m32c.c: Likewise.
* config/m32r/m32r.c: Likewise.
* config/m68hc11/m68hc11.c: Likewise.
* config/m68k/m68k.c: Likewise.
* config/mcore/mcore.c: Likewise.
* config/mep/mep.c: Likewise.
* config/microblaze/microblaze.c: Likewise.
* config/mips/mips.c: Likewise.
* config/rs6000/rs6000.c: Likewise.
* config/rx/rx.c: Likewise.
* config/sh/sh.c: Likewise.
* config/sol2.h: Likewise.
* config/sparc/sparc.c: Likewise.
* config/spu/spu.c: Likewise.
* config/stormy16/stormy16.c: Likewise.
* config/v850/v850.c: Likewise.

ChangeLog gcc/cp

2011-03-21  Kai Tietz  <ktietz@redhat.com>

PR target/12171
* tree.c (cxx_attribute_table): Adjust table.

ChangeLog gcc/testsuite

2011-03-21  Kai Tietz  <ktietz@redhat.com>

PR target/12171
* g++.dg/plugin/attribute_plugin.c: Adjust test.

ChangeLog gcc/java

2011-03-21  Kai Tietz  <ktietz@redhat.com>

PR target/12171
* lang.c (java_attribute_table): Adjust table.

ChangeLog gcc/lto

2011-03-21  Kai Tietz  <ktietz@redhat.com>

PR target/12171
* lto-lang.c (lto_attribute_table): Adjust table.

ChangeLog gcc/ada

2011-03-21  Kai Tietz  <ktietz@redhat.com>

PR target/12171
* gcc-interface/utils.c (gnat_internal_attribute_table):
Add new element.

ChangeLog gcc/c-family

2011-03-17  Kai Tietz

PR target/12171
* c-common.c (c_common_attribute_table):
Add new element.
(c_common_format_attribute_table): Likewise.

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

9 years ago2011-03-21 Chung-Lin Tang <cltang@codesourcery.com>
cltang [Mon, 21 Mar 2011 07:27:03 +0000 (07:27 +0000)]
2011-03-21  Chung-Lin Tang  <cltang@codesourcery.com>

* simplify-rtx.c (simplify_binary_operation_1): Handle
(xor (and A B) C) case when B and C are both constants.

testsuite/
* gcc.target/arm/xor-and.c: New.

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

9 years ago2010-03-21 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Mon, 21 Mar 2011 07:14:42 +0000 (07:14 +0000)]
2010-03-21  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/22572
* gfortran.h (gfc_option_t) : Add
flag_aggressive_function_elimination.
(gfc_dep_compare_functions):  Add prototype.
* lang.opt: Add faggressive-function-elimination.
* invoke.texi: Document -faggressive-function-elimination.
* frontend_passes (expr_array):  New static variable.
(expr_size):  Likewise.
(expr_count):  Likewise.
(current_code):  Likewise.
(current_ns):  Likewise.
(gfc_run_passes):  Allocate and free space for expressions.
(cfe_register_funcs):  New function.
(create_var):  New function.
(cfc_expr_0):  New function.
(cfe_code):  New function.
(optimize_namespace):  Invoke gfc_code_walker with cfe_code
and cfe_expr_0.
* dependency.c (gfc_dep_compare_functions):  New function.
(gfc_dep_compare_expr):  Use it.
* options.c (gfc_init_options):  Handle
flag_aggressive_function_elimination.
(gfc_handle_option):  Likewise.

2010-03-21  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/22572
* gfortran.dg/function_optimize_1.f90:  New test.
* gfortran.dg/function_optimize_2.f90:  New test.

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

9 years agoFix typo in comment.
xmj [Mon, 21 Mar 2011 06:25:44 +0000 (06:25 +0000)]
Fix typo in comment.

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

9 years agoAdd 2 testcases for PR rtl-optimization/47502.
hjl [Mon, 21 Mar 2011 03:28:40 +0000 (03:28 +0000)]
Add 2 testcases for PR rtl-optimization/47502.

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

9 years agoDaily bump.
gccadmin [Mon, 21 Mar 2011 00:18:49 +0000 (00:18 +0000)]
Daily bump.

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

9 years ago PR bootstrap/48168
ebotcazou [Sun, 20 Mar 2011 21:50:20 +0000 (21:50 +0000)]
PR bootstrap/48168
* config/sparc/sparc.c (sparc_delegitimize_address): Add new pattern.

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

9 years ago PR rtl-optimization/48156
jakub [Sun, 20 Mar 2011 15:25:55 +0000 (15:25 +0000)]
PR rtl-optimization/48156
* df-core.c (df_get_bb_dirty): Use df_lr if df_live is NULL,
assume df and df_lr are not NULL.

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

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

9 years agoFix PR debug/48203
ramana [Sun, 20 Mar 2011 07:59:54 +0000 (07:59 +0000)]
Fix PR debug/48203

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

9 years agoDaily bump.
gccadmin [Sun, 20 Mar 2011 00:17:57 +0000 (00:17 +0000)]
Daily bump.

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

9 years ago * config/sh/sh.c (find_barrier): Don't emit a constant pool
kkojima [Sat, 19 Mar 2011 23:22:18 +0000 (23:22 +0000)]
* config/sh/sh.c (find_barrier): Don't emit a constant pool
between a call and its corresponding CALL_ARG_LOCATION note.

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

9 years ago2011-03-19 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sat, 19 Mar 2011 19:49:16 +0000 (19:49 +0000)]
2011-03-19  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename
to check_v3_target_cmath.
* testsuite/lib/dg-options.exp (dg-require-c99_math): Rename
to dg-require-cmath.
* testsuite/26_numerics/random/binomial_distribution/
operators/values.cc: Adjust.

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

9 years ago * cfgcleanup.c (mark_effect): Use bitmap_set_range/bitmap_clear_range
aesok [Sat, 19 Mar 2011 17:33:45 +0000 (17:33 +0000)]
* cfgcleanup.c (mark_effect): Use bitmap_set_range/bitmap_clear_range
instead of loop. Use HARD_REGISTER_NUM_P predicate.
* haifa-sched.c (setup_ref_regs): Ditto.
* caller-save.c (add_used_regs_1): Ditto.
* dse.c (look_for_hardregs): Ditto.
* df-problems.c (df_simulate_one_insn_forwards): Ditto.
* sched-rgn.c (check_live_1): Ditto.

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

9 years ago PR fortran/35667
danglin [Sat, 19 Mar 2011 17:25:18 +0000 (17:25 +0000)]
PR fortran/35667
* io/io.h (convert_infnan): Declare.
* io/read.c (convert_infnan): New.
(read_f): Use convert_infnan to convert INFs and NANs.
* list_read.c (parse_real, read_real): Likewise.

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

9 years ago PR libfortran/47439
fxcoudert [Sat, 19 Mar 2011 14:35:05 +0000 (14:35 +0000)]
PR libfortran/47439
* gfortran.dg/scratch_1.f90: Adjust test.

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

9 years ago PR libfortran/47439
fxcoudert [Sat, 19 Mar 2011 12:09:27 +0000 (12:09 +0000)]
PR libfortran/47439

* io/unix.c (tempfile): Work around poor mktemp() implementations.

* gfortran.dg/scratch_1.f90: New test.

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

9 years agoDaily bump.
gccadmin [Sat, 19 Mar 2011 00:18:08 +0000 (00:18 +0000)]
Daily bump.

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

9 years ago * c-decl.c (diagnose_mismatched_decls): Give an error for
jsm28 [Fri, 18 Mar 2011 23:26:16 +0000 (23:26 +0000)]
* c-decl.c (diagnose_mismatched_decls): Give an error for
redefining a typedef with variably modified type.

testsuite:
* gcc.dg/c1x-typedef-1.c: Expect errors for redefinitions of
variably modified typedefs.
* gcc.dg/c1x-typedef-2.c: Remove.

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

9 years ago * c-decl.c (grokfield): Don't allow typedefs for structures or
jsm28 [Fri, 18 Mar 2011 21:16:31 +0000 (21:16 +0000)]
* c-decl.c (grokfield): Don't allow typedefs for structures or
unions with no tag by default.
* doc/extend.texi (Unnamed Fields): Update.

testsuite:
* gcc.dg/c1x-anon-struct-1.c: Don't test use of typedefs.
* gcc.dg/c1x-anon-struct-3.c: New test.
* gcc.dg/anon-struct-11.c: Update.

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

9 years ago * config/i386/i386.md (float<SSEMODEI24:mode><X87MODEF:mode>2):
uros [Fri, 18 Mar 2011 20:54:25 +0000 (20:54 +0000)]
* config/i386/i386.md (float<SSEMODEI24:mode><X87MODEF:mode>2):
Rewrite using indirect functions.
(lwp_slwpcb): Ditto.
* config/i386/sse.md (avx_vextractf128<mode>): Ditto.
(avx_vinsertf128<mode>): Ditto.

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

9 years agotweak fconstexpr-depth docs
jason [Fri, 18 Mar 2011 20:27:33 +0000 (20:27 +0000)]
tweak fconstexpr-depth docs

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

9 years ago * c.opt (fconstexpr-depth): Add Var(max_constexpr_depth).
jason [Fri, 18 Mar 2011 20:23:48 +0000 (20:23 +0000)]
* c.opt (fconstexpr-depth): Add Var(max_constexpr_depth).
* c-common.h: Don't declare it here.
* c-common.c: Or define it here.
* c-opts.c (c_common_handle_option): Or set it here.

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

9 years agoPR bootstrap/45381
rth [Fri, 18 Mar 2011 20:20:35 +0000 (20:20 +0000)]
PR bootstrap/45381
* lex.c [ALTIVEC] (search_line_fast): Require gcc version 4.5.

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

9 years ago * mixed-mode-arith_neg.cc: Rename from mixed-mode_neg.cc
dnovillo [Fri, 18 Mar 2011 19:54:32 +0000 (19:54 +0000)]
* mixed-mode-arith_neg.cc: Rename from mixed-mode_neg.cc
* mixed-mode-cmp_neg.cc: Factor out of mixed-mode-arith_neg.cc

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

9 years ago * config.guess: Update to version 2011-02-02
dje [Fri, 18 Mar 2011 17:42:07 +0000 (17:42 +0000)]
    * config.guess: Update to version 2011-02-02
        * config.sub: Update to version 2011-02-24

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

9 years ago2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Fri, 18 Mar 2011 17:32:29 +0000 (17:32 +0000)]
2011-03-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/s390/s390.c (s390_delegitimize_address): Handle GOTOFF
unspecs.

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

9 years ago2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Fri, 18 Mar 2011 17:31:39 +0000 (17:31 +0000)]
2011-03-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/s390/s390.c (s390_chunkify_start): Prevent literal pool
splitting between a call and its corresponding CALL_ARG_LOCATION
note.

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

9 years ago PR rtl-optimization/48170
mkuvyrkov [Fri, 18 Mar 2011 17:12:19 +0000 (17:12 +0000)]
PR rtl-optimization/48170
* gcse.c (hoist_code): Remove bogus asserts.

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

9 years ago * ira-color.c (assign_hard_reg): Honor LOCAL_REGNO in cost
law [Fri, 18 Mar 2011 17:05:27 +0000 (17:05 +0000)]
* ira-color.c (assign_hard_reg): Honor LOCAL_REGNO in cost
computation for prologue/epilogue.

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

9 years ago * Makefile.in (check-consistency): Remove.
ro [Fri, 18 Mar 2011 16:58:25 +0000 (16:58 +0000)]
* Makefile.in (check-consistency): Remove.

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

9 years ago * gcc.dg/vect/slp-multitypes-2.c: Replace dg-do run with
ro [Fri, 18 Mar 2011 16:23:39 +0000 (16:23 +0000)]
* gcc.dg/vect/slp-multitypes-2.c: Replace dg-do run with
dg-xfail-run-if.
Only xfail with gas.

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

9 years ago PR debug/48176
jakub [Fri, 18 Mar 2011 16:18:05 +0000 (16:18 +0000)]
PR debug/48176
* dwarf2out.c (dwarf2out_finish): Call output_aranges even when
arange_table_in_use is 0, but either text_section_used or
cold_text_section_used is true.  Don't call it if
!info_section_emitted.

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

9 years ago * config/avr/avr.h (RET_REGISTER, LIBCALL_VALUE,
aesok [Fri, 18 Mar 2011 15:27:10 +0000 (15:27 +0000)]
* config/avr/avr.h (RET_REGISTER, LIBCALL_VALUE,
FUNCTION_VALUE_REGNO_P): Remove.
* config/avr/avr-protos.h (avr_ret_register, avr_libcall_value):
Remove.
* config/avr/avr.c (avr_ret_register): Make static inline.
(avr_function_value_regno_p): New function.
(avr_libcall_value): Make static. Add 'func' argument.
(avr_function_value): Make static. Rename 'func' argument to
'fn_decl_or_type', forward it to avr_libcall_value. Call
avr_ret_register function instead of RET_REGISTER macro.
  (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define.

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

9 years ago PR c++/48162
jason [Fri, 18 Mar 2011 15:07:13 +0000 (15:07 +0000)]
PR c++/48162
* semantics.c (finish_call_expr): Allow TARGET_EXPR for now.

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

9 years ago PR c++/48118
jason [Fri, 18 Mar 2011 15:07:04 +0000 (15:07 +0000)]
PR c++/48118
* call.c (build_over_call): Don't skip ck_rvalue.

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

9 years ago PR c++/23372
jason [Fri, 18 Mar 2011 15:06:51 +0000 (15:06 +0000)]
PR c++/23372
* gimplify.c (gimplify_arg): Strip redundant TARGET_EXPR.

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

9 years ago PR c++/35315
jason [Fri, 18 Mar 2011 15:06:41 +0000 (15:06 +0000)]
PR c++/35315
* c-common.c (handle_transparent_union_attribute): Don't
make a duplicate type in C++.

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

9 years ago2011-03-18 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 18 Mar 2011 14:33:45 +0000 (14:33 +0000)]
2011-03-18  Richard Guenther  <rguenther@suse.de>

* doc/install.texi (--enable-gold): Remove.
(--with-plugin-ld): Document.
* doc/invoke.texi (-fuse-linker-plugin): Clarify.

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

9 years ago PR middle-end/47405
ro [Fri, 18 Mar 2011 14:10:35 +0000 (14:10 +0000)]
PR middle-end/47405
* gcc.dg/torture/20090618-1.c: Skip on mips-sgi-irix*.

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

9 years ago PR middle-end/47790
law [Fri, 18 Mar 2011 14:01:41 +0000 (14:01 +0000)]
PR middle-end/47790
* expr.c (optimize_bitfield_assignment_op): Revamp to work
again after expansion changes.

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

9 years ago2011-03-18 Chung-Lin Tang <cltang@codesourcery.com>
cltang [Fri, 18 Mar 2011 13:22:42 +0000 (13:22 +0000)]
2011-03-18  Chung-Lin Tang  <cltang@codesourcery.com>

* combine.c (try_combine): Do simplification only call of
subst() on i2 even when i1 is present. Update comments.

testsuite/
* gcc.target/arm/unsigned-extend-1.c: New.

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

9 years ago2011-03-18 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 18 Mar 2011 13:09:29 +0000 (13:09 +0000)]
2011-03-18  Paolo Carlini  <paolo.carlini@oracle.com>

Fixup last ChangeLog entry.

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

9 years ago * config/sh/sh.c (sh_delegitimize_address): Handle UNSPEC_SYMOFF
kkojima [Fri, 18 Mar 2011 12:19:50 +0000 (12:19 +0000)]
* config/sh/sh.c (sh_delegitimize_address): Handle UNSPEC_SYMOFF
and UNSPEC_PCREL_SYMOFF.

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

9 years ago2011-03-18 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 18 Mar 2011 11:48:29 +0000 (11:48 +0000)]
2011-03-18  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/util/testsuite_random.h: New.
* testsuite/lib/libstdc++.exp (check_v3_target_c99_math,
dg-require-c99_math): Add.
* testsuite/26_numerics/random/bernoulli_distribution/
operators/values.cc: New.
* testsuite/26_numerics/random/binomial_distribution/
operators/values.cc: Likewise.
* testsuite/26_numerics/random/geometric_distribution/
operators/values.cc: Likewise.

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

9 years ago2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Fri, 18 Mar 2011 11:30:26 +0000 (11:30 +0000)]
2011-03-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/s390/s390.md: Use define_c_enum for the unspec constant
definitions.

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

9 years ago PR bootstrap/48161
jakub [Fri, 18 Mar 2011 08:35:17 +0000 (08:35 +0000)]
PR bootstrap/48161
* expr.c (expand_expr_addr_expr_1): Use simplify_gen_binary
instead of gen_rtx_PLUS if EXPAND_SUM or EXPAND_INITIALIZER.

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

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

9 years agoRevert the last change on cant_combine_insn_p.
hjl [Fri, 18 Mar 2011 04:02:25 +0000 (04:02 +0000)]
Revert the last change on cant_combine_insn_p.

2011-03-17  H.J. Lu  <hongjiu.lu@intel.com>

PR middle-end/47725
* combine.c (cant_combine_insn_p): Don't check zero/sign
extended hard registers.

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

9 years agoCheck zero/sign extended hard registers.
hjl [Fri, 18 Mar 2011 00:29:15 +0000 (00:29 +0000)]
Check zero/sign extended hard registers.

gcc/

2011-03-17  H.J. Lu  <hongjiu.lu@intel.com>

PR middle-end/47725
* combine.c (cant_combine_insn_p): Check zero/sign extended
hard registers.

gcc/testsuite/

2011-03-17  H.J. Lu  <hongjiu.lu@intel.com>

PR middle-end/47725
* gcc.dg/torture/pr47725.c: New.

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

9 years agoDaily bump.
gccadmin [Fri, 18 Mar 2011 00:18:53 +0000 (00:18 +0000)]
Daily bump.

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

9 years ago * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
aesok [Thu, 17 Mar 2011 22:02:00 +0000 (22:02 +0000)]
* config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
* config/v850/v850-protos.h (v850_output_addr_const_extra): Remove.
* config/v850/v850.c (v850_output_addr_const_extra): Make static.
Change return type to bool.
(TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.

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

9 years ago PR c++/47504
jason [Thu, 17 Mar 2011 22:00:47 +0000 (22:00 +0000)]
PR c++/47504
* semantics.c (cxx_eval_constant_expression) [NOP_EXPR]: Don't let
the conversion set TREE_OVERFLOW.

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

9 years ago PR debug/48163
jakub [Thu, 17 Mar 2011 20:34:59 +0000 (20:34 +0000)]
PR debug/48163
* var-tracking.c (prepare_call_arguments): If CALL target
is a non-SYMBOL_REF CONSTANT_P, just add that into the list as
pc instead of looking it up using cselib_lookup and use
Pmode for it if x has VOIDmode.
* dwarf2out.c (gen_subprogram_die): If also both first and
second CONCAT arguments are VOIDmode, use mode of CONCAT itself.

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

9 years ago PR debug/48163
jakub [Thu, 17 Mar 2011 20:33:54 +0000 (20:33 +0000)]
PR debug/48163
* function.c (assign_parms): For data.passed_pointer parms
use MEM of data.entry_parm instead of data.entry_parm itself
as DECL_INCOMING_RTL.
* dwarf2out.c (rtl_for_decl_location): Use DECL_INCOMING_RTL
also when passed and declared mode is the same, DECL_RTL
is a MEM with pseudo as address and DECL_INCOMING_RTL is
a MEM too.

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

9 years ago PR rtl-optimization/37273
law [Thu, 17 Mar 2011 20:08:01 +0000 (20:08 +0000)]
PR rtl-optimization/37273
* ira-costs.c (scan_one_insn): Detect constants living in memory and
handle them like argument loads from stack slots.  Do not double
count memory for memory constants and argument loads from stack slots.

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

9 years ago * gcc.pot: Regenerate.
jsm28 [Thu, 17 Mar 2011 19:57:48 +0000 (19:57 +0000)]
* gcc.pot: Regenerate.

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

9 years agoCheck SUBREG in prepare_call_arguments.
hjl [Thu, 17 Mar 2011 19:51:03 +0000 (19:51 +0000)]
Check SUBREG in prepare_call_arguments.

2011-03-17  H.J. Lu  <hongjiu.lu@intel.com>

PR debug/48160
* var-tracking.c (prepare_call_arguments): Check SUBREG.

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

9 years agoAdd Save to -mavx and -mfma.
hjl [Thu, 17 Mar 2011 19:23:34 +0000 (19:23 +0000)]
Add Save to -mavx and -mfma.

2011-03-17  H.J. Lu  <hongjiu.lu@intel.com>

PR target/48171
* config/i386/i386.opt: Add Save to -mavx and -mfma.

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

9 years ago * gcc-interface/decl.c (elaborate_expression_1): Try harder to find
ebotcazou [Thu, 17 Mar 2011 17:12:21 +0000 (17:12 +0000)]
* gcc-interface/decl.c (elaborate_expression_1): Try harder to find
out whether the expression is read-only.  Short-circuit placeholder
case and rename a couple of local variables.

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

9 years ago Core 1212
jason [Thu, 17 Mar 2011 16:20:16 +0000 (16:20 +0000)]
Core 1212
* semantics.c (finish_decltype_type): Return T&& for xvalue.
* typeck.c (unlowered_expr_type): Preserve cv-quals.

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

9 years ago PR c++/48166
jason [Thu, 17 Mar 2011 16:02:08 +0000 (16:02 +0000)]
PR c++/48166
* decl.c (revert_static_member_fn): Strip function-cv-quals.

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

9 years ago PR bootstrap/48153
jakub [Thu, 17 Mar 2011 15:22:20 +0000 (15:22 +0000)]
PR bootstrap/48153
* dwarf2out.c (mem_loc_descriptor) <case ENTRY_VALUE>: Return NULL
if dwarf_strict.
(gen_subprogram_die): Don't add call_site DIEs if dwarf_strict.
Clear call_arg_locations and call_arg_loc_last always.

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

9 years ago PR middle-end/48152
jakub [Thu, 17 Mar 2011 15:21:39 +0000 (15:21 +0000)]
PR middle-end/48152
* var-tracking.c (prepare_call_arguments): If argument needs to be
passed by reference, adjust argtype and mode.

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

9 years ago2011-03-17 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 17 Mar 2011 14:59:00 +0000 (14:59 +0000)]
2011-03-17  Richard Guenther  <rguenther@suse.de>

PR middle-end/48134
* tree-ssa.c (insert_debug_temp_for_var_def): If we propagated
a value make sure to fold the statement.

* gcc.dg/pr48134.c: New testcase.

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

9 years ago2011-03-17 Chung-Lin Tang <cltang@codesourcery.com>
cltang [Thu, 17 Mar 2011 14:02:12 +0000 (14:02 +0000)]
2011-03-17  Chung-Lin Tang  <cltang@codesourcery.com>

PR target/43872
* config/arm/arm.c (arm_get_frame_offsets): Adjust early
return condition with !cfun->calls_alloca.

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

9 years ago2011-03-17 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 17 Mar 2011 13:25:23 +0000 (13:25 +0000)]
2011-03-17  Richard Guenther  <rguenther@suse.de>

PR bootstrap/48148
* lto-cgraph.c (input_overwrite_node): Clear the abstract
origin for decls in other ltrans units.
(input_varpool_node): Likewise.

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

9 years ago2011-03-17 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 17 Mar 2011 13:19:01 +0000 (13:19 +0000)]
2011-03-17  Richard Guenther  <rguenther@suse.de>

PR middle-end/48165
* tree-object-size.c (compute_object_offset): Properly return
the offset operand of MEM_REFs as sizetype.

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

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

9 years ago * gcc-interface/gigi.h (smaller_form_type_p): Declare.
ebotcazou [Thu, 17 Mar 2011 12:37:53 +0000 (12:37 +0000)]
* gcc-interface/gigi.h (smaller_form_type_p): Declare.
* gcc-interface/trans.c (smaller_form_type_p): Make global and move...
* gcc-interface/utils.c (smaller_form_type_p): ...to here.
(convert): Deal with conversions from a smaller form type specially.

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

9 years ago PR rtl-optimization/48141
jakub [Thu, 17 Mar 2011 12:36:04 +0000 (12:36 +0000)]
PR rtl-optimization/48141
* params.def (PARAM_MAX_DSE_ACTIVE_LOCAL_STORES): New.
* dse.c: Include params.h.
(active_local_stores_len): New variable.
(add_wild_read, dse_step1): Clear it when setting active_local_stores
to NULL.
(record_store, check_mem_read_rtx): Decrease it when removing
from the chain.
(scan_insn): Likewise.  Increase it when adding to chain, if it
reaches PARAM_MAX_DSE_ACTIVE_LOCAL_STORES limit, set to 1 and
set active_local_stores to NULL before the addition.
* Makefile.in (dse.o): Depend on $(PARAMS_H).

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

9 years ago PR rtl-optimization/48141
jakub [Thu, 17 Mar 2011 12:35:04 +0000 (12:35 +0000)]
PR rtl-optimization/48141
* dse.c (record_store): If no positions are needed in an insn
that cannot be deleted, at least unchain it from active_local_stores.

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

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

9 years ago PR c++/48089
jason [Thu, 17 Mar 2011 02:36:29 +0000 (02:36 +0000)]
PR c++/48089
* semantics.c (potential_constant_expression_1): Don't allow *this
in a constructor.
(register_constexpr_fundef): Use potential_rvalue_constant_expression.

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

9 years ago PR c++/47301
jason [Thu, 17 Mar 2011 02:36:20 +0000 (02:36 +0000)]
PR c++/47301
* decl.c (compute_array_index_type): Don't bother trying to deal
with literal classes in ABI v1.

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

9 years ago PR c++/46336
jason [Thu, 17 Mar 2011 02:36:12 +0000 (02:36 +0000)]
PR c++/46336
* decl.c (duplicate_decls): Return NULL_TREE for clashing
C functions.

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

9 years ago PR c++/47570
jason [Thu, 17 Mar 2011 02:36:04 +0000 (02:36 +0000)]
PR c++/47570
* semantics.c (cxx_eval_constant_expression) [COMPOUND_EXPR]: Don't
use the generic binary expression handling.

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

9 years agoDaily bump.
gccadmin [Thu, 17 Mar 2011 00:18:12 +0000 (00:18 +0000)]
Daily bump.

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

9 years agoDon't catch LIBPROF in Go code.
ian [Wed, 16 Mar 2011 23:18:40 +0000 (23:18 +0000)]
Don't catch LIBPROF in Go code.

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

9 years agoUpdate to current version of Go library (revision 94d654be2064).
ian [Wed, 16 Mar 2011 23:05:44 +0000 (23:05 +0000)]
Update to current version of Go library (revision 94d654be2064).

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

9 years ago * Make-lang.in (CXX_PARSER_H): New.
dnovillo [Wed, 16 Mar 2011 22:03:56 +0000 (22:03 +0000)]
* Make-lang.in (CXX_PARSER_H): New.
(cp/parser.o): Add dependency on CXX_PARSER_H.
Add dependency on tree-pretty-print.h
(cp/cp-lang.o): Add dependency on CXX_PARSER_H.
* cp-lang.c: Include parser.h.
* parser.c: Include parser.h.
(struct cp_token): Add bitfield purged_p.
Update all users.
Move to parser.h.
(CPP_PURGED): Remove.  Update all users.
(struct cp_lexer): Change field buffer to be a VEC of cp_token.
Remove field buffer_length.
Update all users.
Move to parser.h.
(struct tree_check): Move to parser.h.
(cp_token_position): Likewise.
(struct cp_token_cache): Likewise.
(CPP_KEYWORD): Likewise.
(CPP_TEMPLATE_ID): Likewise.
(CPP_NESTED_NAME_SPECIFIER): Likewise.
(N_CP_TTYPES): Likewise.
(enum cp_parser_status_kind): Likewise.
(struct cp_parser_context): Likewise.
(struct cp_default_arg_entry_d): Likewise.
(struct cp_unparsed_functions_entry_d): Likewise.
(struct cp_parser): Likewise.
(cp_lexer_dump_tokens): New.
(cp_lexer_debug_tokens): New.
(cp_lexer_finished_p): New.
(cp_lexer_alloc): Factor out of cp_lexer_new_main.
(cp_lexer_new_main): Re-write main lexing loop to push
tokens into the new VEC buffer.
(cp_lexer_print_token): Improve printing of CPP_NUMBER tokens.
Do not abort if the token type is not recognized, just print
its code.
* parser.h: New file.
* config-lang.in (gtfiles): Add cp/parser.h.

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

9 years agoPR debug/47510
dodji [Wed, 16 Mar 2011 21:04:58 +0000 (21:04 +0000)]
PR debug/47510

gcc/

PR debug/47510
* dwarf2out.c (strip_naming_typedef): Factorize out of ...
(lookup_type_die_strip_naming_typedef): ... here.
(get_context_die): Use it.
(gen_typedef_die): Add a DW_AT_{,MIPS_}linkage_name attribute to
the anonymous struct named by the naming typedef.

gcc/testsuite/

        PR debug/47510
* g++.dg/debug/dwarf2/typedef6.C: New test.

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

9 years ago Core 1148
jason [Wed, 16 Mar 2011 20:15:37 +0000 (20:15 +0000)]
Core 1148
* typeck.c (check_return_expr): Fix conditions for setting
LOOKUP_PREFER_RVALUE.

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

9 years ago * call.c (build_over_call): Remove require_complete_type_sfinae call.
jason [Wed, 16 Mar 2011 20:15:24 +0000 (20:15 +0000)]
* call.c (build_over_call): Remove require_complete_type_sfinae call.

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

9 years agoCheck TARGET_ROUND for BUILT_IN_{FLOOR,CEIL,TRUNC,RINT}{,F} builtins.
hjl [Wed, 16 Mar 2011 20:04:40 +0000 (20:04 +0000)]
Check TARGET_ROUND for BUILT_IN_{FLOOR,CEIL,TRUNC,RINT}{,F} builtins.

2011-03-16  H.J. Lu  <hongjiu.lu@intel.com>

PR target/48154
* config/i386/i386.c (ix86_builtin_vectorized_function): Check
TARGET_ROUND for BUILT_IN_{FLOOR,CEIL,TRUNC,RINT}{,F} builtins.

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

9 years ago PR c++/48132
jason [Wed, 16 Mar 2011 20:04:06 +0000 (20:04 +0000)]
PR c++/48132
* decl.c (check_array_designated_initializer): Allow integer index.
(reshape_init_array_1): Set index on the elements.

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

9 years ago PR c++/48113
jason [Wed, 16 Mar 2011 20:03:56 +0000 (20:03 +0000)]
PR c++/48113
* typeck.c (convert_for_initialization): Use
perform_implicit_conversion_flags.
* call.c (standard_conversion): If LOOKUP_PREFER_RVALUE, set
rvaluedness_matches_p on ck_rvalue.
(convert_like_real) [ck_rvalue]: And restore it here.

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

9 years ago PR c++/48115
jason [Wed, 16 Mar 2011 20:03:46 +0000 (20:03 +0000)]
PR c++/48115
* call.c (convert_arg_to_ellipsis): Handle incomplete type.

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

9 years ago2011-03-16 Jack Howarth <howarth@bromo.med.uc.edu>
mrs [Wed, 16 Mar 2011 18:19:12 +0000 (18:19 +0000)]
2011-03-16  Jack Howarth  <howarth@bromo.med.uc.edu>

PR lto/48086
* configure.ac: Re-enable LTO on *-apple-darwin9.
* configure: Regenerate.

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

9 years ago PR libfortran/47883
fxcoudert [Wed, 16 Mar 2011 17:43:41 +0000 (17:43 +0000)]
PR libfortran/47883
* acinclude.m4: Don't use AC_TRY_ macros.
* configure.ac: Likewise.
* configure: Regenerate.

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