OSDN Git Service

pf3gnuchains/gcc-fork.git
13 years ago * gimplify.c (gimplify_vla_decl): Set TREE_THIS_NOTRAP flag.
ebotcazou [Mon, 21 Mar 2011 18:04:50 +0000 (18:04 +0000)]
* gimplify.c (gimplify_vla_decl): Set TREE_THIS_NOTRAP flag.

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

13 years ago PR c/42544
jakub [Mon, 21 Mar 2011 17:57:34 +0000 (17:57 +0000)]
PR c/42544
PR c/48197
* c-common.c (shorten_compare): If primopN is first sign-extended
to opN and then zero-extended to result type, set primopN to opN.

* gcc.c-torture/execute/pr42544.c: New test.
* gcc.c-torture/execute/pr48197.c: New test.

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

13 years ago2011-03-21 Daniel Jacobowitz <dan@codesourcery.com>
ams [Mon, 21 Mar 2011 17:19:19 +0000 (17:19 +0000)]
2011-03-21  Daniel Jacobowitz  <dan@codesourcery.com>

gcc/
* config/arm/unwind-arm.c (__gnu_unwind_pr_common): Correct test
for barrier handlers.

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

13 years agoFix PR number in changelog entry.
ramana [Mon, 21 Mar 2011 17:11:12 +0000 (17:11 +0000)]
Fix PR number in changelog entry.

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

13 years agoMake UNSPEC/UNSPECV constants use the enum; Fix 48192; Add test case for 48053
meissner [Mon, 21 Mar 2011 16:21:30 +0000 (16:21 +0000)]
Make UNSPEC/UNSPECV constants use the enum; Fix 48192; Add test case for 48053

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

13 years ago2011-03-21 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 21 Mar 2011 15:33:46 +0000 (15:33 +0000)]
2011-03-21  Richard Guenther  <rguenther@suse.de>

* params.def (lto-min-partition): Fix typo.

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

13 years ago2011-03-21 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 21 Mar 2011 15:32:21 +0000 (15:32 +0000)]
2011-03-21  Richard Guenther  <rguenther@suse.de>

PR c/47939
* c-decl.c (grokdeclarator): Drop to the main variant only
for array types.  Drop flag_gen_aux_info check.

* gcc.dg/debug/dwarf2/pr47939-1.c: New testcase.
* gcc.dg/debug/dwarf2/pr47939-2.c: Likewise.
* gcc.dg/debug/dwarf2/pr47939-3.c: Likewise.
* gcc.dg/debug/dwarf2/pr47939-4.c: Likewise.

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

13 years ago2011-03-21 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 21 Mar 2011 15:30:03 +0000 (15:30 +0000)]
2011-03-21  Richard Guenther  <rguenther@suse.de>

PR translation/47911
* params.def (lto-partitions): Fix typo.
(lto-min-partition): Fix wording.

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

13 years ago2011-03-21 Andreas Tobler <andreast@fgznet.ch>
andreast [Mon, 21 Mar 2011 15:28:22 +0000 (15:28 +0000)]
2011-03-21  Andreas Tobler  <andreast@fgznet.ch>

* config/rs6000/t-freebsd: Remove duplication from file.

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

13 years ago2011-03-21 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 21 Mar 2011 13:50:26 +0000 (13:50 +0000)]
2011-03-21  Richard Guenther  <rguenther@suse.de>

PR middle-end/47661
* gimple.c (is_gimple_condexpr): Use tree_could_throw_p.

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

13 years ago2011-03-21 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 21 Mar 2011 13:42:27 +0000 (13:42 +0000)]
2011-03-21  Richard Guenther  <rguenther@suse.de>

PR lto/48210
* params.def (lto-partitions): Require at least 1 partition.

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

13 years ago * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
ro [Mon, 21 Mar 2011 13:38:19 +0000 (13:38 +0000)]
* testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
sparc*-sun-solaris2.10 && lp64.

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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