]>
git.ipfire.org Git - thirdparty/gcc.git/log
Eric Botcazou [Tue, 22 Jan 2008 22:29:04 +0000 (22:29 +0000)]
re PR rtl-optimization/34628 (problems with inlining on ARM)
PR rtl-optimization/34628
* combine.c (try_combine): Stop and undo after the first combination
if an autoincrement side-effect on the first insn has effectively
been lost.
From-SVN: r131745
John David Anglin [Tue, 22 Jan 2008 19:39:39 +0000 (19:39 +0000)]
re PR middle-end/33436 (Bad constant output with TARGET_ASM_ALIGNED_DI_OP)
PR middle-end/33436
* expr.c (emit_group_load_1): Split constant double when destination
length is half source length.
From-SVN: r131739
Kaveh R. Ghazi [Tue, 22 Jan 2008 19:13:37 +0000 (19:13 +0000)]
vect-ifcvt-9.c: Use inline.
* gcc.dg/vect/vect-ifcvt-9.c: Use inline.
From-SVN: r131736
Jason Merrill [Tue, 22 Jan 2008 15:59:57 +0000 (10:59 -0500)]
re PR c++/33959 (ICE in instantiate_class_template, at cp/pt.c:6649)
PR c++/33959
* pt.c (tsubst_aggr_type): Make sure our context is complete.
From-SVN: r131725
Richard Guenther [Tue, 22 Jan 2008 14:45:56 +0000 (14:45 +0000)]
Backport PRs 28796, 34070, 34739, 34768
2008-01-22 Richard Guenther <rguenther@suse.de>
PR middle-end/34739
Backport from mainline
2008-01-16 Richard Guenther <rguenther@suse.de>
PR c/34768
* c-typeck.c (common_pointer_type): Do not merge inconsistent
type qualifiers for function types.
2007-11-12 Richard Guenther <rguenther@suse.de>
PR middle-end/34070
* fold-const.c (fold_binary): If testing for non-negative
operands with tree_expr_nonnegative_warnv_p make sure to
use op0 which has all (sign) conversions retained.
2006-10-24 Richard Guenther <rguenther@suse.de>
PR middle-end/28796
* builtins.c (fold_builtin_classify): Use HONOR_INFINITIES
and HONOR_NANS instead of MODE_HAS_INFINITIES and MODE_HAS_NANS
for deciding optimizations in consistency with fold-const.c
(fold_builtin_unordered_cmp): Likewise.
From-SVN: r131723
GCC Administrator [Tue, 22 Jan 2008 00:16:56 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r131707
John David Anglin [Mon, 21 Jan 2008 17:24:30 +0000 (17:24 +0000)]
re PR libfortran/34699 (FAIL: gfortran.fortran-torture/execute/intrinsic_set_exponent.f90 execution)
PR libfortran/34699
Backport:
2007-09-21 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
PR libfortran/26253
* intrinsics/c99_functions.c (scalbn): Use ldexp if appopriate.
From-SVN: r131698
GCC Administrator [Mon, 21 Jan 2008 00:16:53 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r131682
GCC Administrator [Sun, 20 Jan 2008 00:17:08 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r131666
John David Anglin [Sat, 19 Jan 2008 21:55:47 +0000 (21:55 +0000)]
ia64-2.C: Place "dg-do run" statement before "dg-require-weak" statement.
* g++.dg/eh/ia64-2.C: Place "dg-do run" statement before
"dg-require-weak" statement.
* g++.dg/eh/weak1.C: Likewise.
From-SVN: r131658
Kaveh R. Ghazi [Sat, 19 Jan 2008 18:49:34 +0000 (18:49 +0000)]
Backport:
2007-03-21 Richard Sandiford <richard@codesourcery.com>
* gcc.target/i386/pr21291.c: Require nonpic or ! ilp32.
From-SVN: r131655
GCC Administrator [Sat, 19 Jan 2008 00:16:46 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r131646
GCC Administrator [Fri, 18 Jan 2008 00:17:05 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r131617
Eric Botcazou [Thu, 17 Jan 2008 13:22:21 +0000 (13:22 +0000)]
backport: re PR middle-end/31309 (reads/writes past end of structure)
Backport from mainline:
2008-01-11 Eric Botcazou <ebotcazou@adacore.com>
PR middle-end/31309
* expr.c (copy_blkmode_from_reg): Use a mode suited to the size
when copying to memory.
From-SVN: r131599
Eric Botcazou [Thu, 17 Jan 2008 12:47:31 +0000 (12:47 +0000)]
20080114 -1.c: Use empty asm statements.
* gcc.c-torture/compile/
20080114 -1.c: Use empty asm statements.
From-SVN: r131597
John David Anglin [Thu, 17 Jan 2008 02:55:48 +0000 (02:55 +0000)]
re PR libfortran/34699 (FAIL: gfortran.fortran-torture/execute/intrinsic_set_exponent.f90 execution)
PR libgfortran/34699
* pa-hpux.h (LINK_SPEC): Only search /lib/pa1.1 and /usr/lib/pa1.1 on
static links.
* pa-hpux10.h (LINK_SPEC): Likewise.
* pa-hpux11.h (LINK_SPEC): Don't search /lib/pa1.1 and /usr/lib/pa1.1.
From-SVN: r131587
GCC Administrator [Thu, 17 Jan 2008 00:16:55 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r131583
Kaveh R. Ghazi [Wed, 16 Jan 2008 23:40:23 +0000 (23:40 +0000)]
loop-19.c: Require nonpic.
* gcc.dg/tree-ssa/loop-19.c: Require nonpic.
From-SVN: r131581
GCC Administrator [Wed, 16 Jan 2008 00:16:58 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r131558
GCC Administrator [Tue, 15 Jan 2008 00:17:00 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r131539
Eric Botcazou [Mon, 14 Jan 2008 12:18:30 +0000 (12:18 +0000)]
re PR rtl-optimization/31944 (Endless loop while building a 64-bit 2.6.20 kernel)
2008-01-14 Eric Botcazou <ebotcazou@adacore.com>
PR rtl-optimization/31944
* cse.c (remove_pseudo_from_table): New function.
(merge_equiv_classes): Use above function to remove pseudo-registers.
(invalidate): Likewise.
From-SVN: r131523
GCC Administrator [Mon, 14 Jan 2008 00:16:59 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r131516
John David Anglin [Sun, 13 Jan 2008 16:53:02 +0000 (16:53 +0000)]
re PR middle-end/34762 (internal compiler error: in delete_output_reload, at reload1.c:7958)
PR middle-end/34762
* reload.c (find_reloads_toplev): Use rtx_equal_p to compare x and mem.
From-SVN: r131508
GCC Administrator [Sun, 13 Jan 2008 00:16:53 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r131495
Kaveh R. Ghazi [Sat, 12 Jan 2008 04:00:37 +0000 (04:00 +0000)]
loadpre5.c: Use static.
* gcc.dg/tree-ssa/loadpre5.c: Use static.
* gcc.dg/tree-ssa/loadpre8.c: Likewise.
Backport:
2007-09-04 Jan Hubicka <jh@suse.cz>
* gcc.dg/tree-ssa/loadpre8.c: Disable inlining.
* gcc.dg/tree-ssa/loadpre5.c: Likewise.
From-SVN: r131486
GCC Administrator [Sat, 12 Jan 2008 00:16:48 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r131482
Bob Wilson [Fri, 11 Jan 2008 23:22:54 +0000 (23:22 +0000)]
* config/xtensa/xtensa.c (override_options): Set flag_shlib.
From-SVN: r131479
GCC Administrator [Fri, 11 Jan 2008 00:16:54 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r131454
GCC Administrator [Thu, 10 Jan 2008 00:16:55 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r131437
Richard Guenther [Wed, 9 Jan 2008 13:43:03 +0000 (13:43 +0000)]
re PR tree-optimization/34679 (ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949 (predictive commoning))
2008-01-09 Richard Guenther <rguenther@suse.de>
PR middle-end/34679
* tree.c (host_integerp): Check for sizetype only if the
type is an integer type.
From-SVN: r131427
Kaveh R. Ghazi [Wed, 9 Jan 2008 04:47:27 +0000 (04:47 +0000)]
chk.h: Don't check !__PIE__.
* gcc.c-torture/execute/builtins/chk.h: Don't check !__PIE__.
* gcc.dg/assign-warn-3.c: Use "static inline" instead of "inline".
Backport:
2007-04-14 Kazu Hirata <kazu@codesourcery.com>
* gcc.c-torture/compile/pr27528.c: Require nonpic.
2007-03-21 Richard Sandiford <richard@codesourcery.com>
* gcc.c-torture/execute/builtins/chk.h (LOCAL): Define.
* gcc.c-torture/execute/builtins/sprintf-chk.c (s1): Make LOCAL.
* gcc.c-torture/execute/builtins/stpcpy-chk.c (s1): Likewise.
* gcc.c-torture/execute/builtins/strcpy-chk.c (s1): Likewise.
2007-07-26 Nathan Froyd <froydnj@codesourcery.com>
PR/19232
* gcc.dg/assign-warn-3.c (f0): Declare as inline.
(f1): Likewise.
2007-01-15 Dale Johannesen <dalej@apple.com>
* gcc.dg/tree-ssa/loop-3.c: Disable with -fpic or -fPIC.
2007-08-27 Uros Bizjak <ubizjak@gmail.com>
* gcc.target/i386/stack-prot-kernel.c: Require nonpic effective
target.
2007-03-21 Richard Sandiford <richard@codesourcery.com>
* lib/target-supports.exp (check_effective_target_nonpic): New
procedure.
From-SVN: r131412
John David Anglin [Wed, 9 Jan 2008 03:26:10 +0000 (03:26 +0000)]
re PR testsuite/30459 (FAIL: g++.dg/eh/ia64-2.C (test for excess errors))
PR testsuite/30459
g++.dg/eh/ia64-2.C: Require weak support.
From-SVN: r131411
GCC Administrator [Wed, 9 Jan 2008 00:16:58 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r131407
GCC Administrator [Tue, 8 Jan 2008 00:17:39 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r131390
Ted Phelps [Mon, 7 Jan 2008 16:05:27 +0000 (16:05 +0000)]
re PR c++/34152 (Erratic behaviour: Exception translation (throw from signal handlers))
PR c++/34152
* libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Check
_GLIBCXX_HAVE_GETIPINFO instead of HAVE_GETIPINFO.
From-SVN: r131376
GCC Administrator [Mon, 7 Jan 2008 00:16:48 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r131368
Anatoly Sokolov [Sun, 6 Jan 2008 22:28:41 +0000 (01:28 +0300)]
avr.h (LINK_SPEC, [...]): Move AT90USB82 and AT90USB162 devices from 'avr5' to 'avr35' architecture.
* config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): Move AT90USB82
and AT90USB162 devices from 'avr5' to 'avr35' architecture.
(ASM_SPEC): Add 'avr35' architecture.
* config/avr/avr.c (avr_mcu_types): Move AT90USB82 and AT90USB162
devices from 'avr5' to 'avr35' architecture.
(avr_arch_types): Add "avr23" entries.
(avr_arch): Add 'ARCH_AVR35'.
* config/avr/t-avr (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Add 'avr35'.
(MULTILIB_MATCHES): Move AT90USB82 and AT90USB162 devices from 'avr5'
to 'avr35' architecture.
From-SVN: r131365
GCC Administrator [Sun, 6 Jan 2008 00:17:01 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r131345
Paolo Carlini [Sat, 5 Jan 2008 11:04:43 +0000 (11:04 +0000)]
revert: [multiple changes]
2008-01-05 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/34680
Revert:
2007-12-17 Jonathan Wakely <jwakely.gcc@gmail.com>
* include/bits/locale_facets.tcc (has_facet, use_facet): Simplify
RTTI checks.
2007-12-14 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/30127
PR libstdc++/34449
* include/bits/locale_facets.tcc (use_facet): Check facet hierarchy.
(has_facet): Same.
* testsuite/22_locale/global_templates/user_facet_hierarchies.cc: New.
* testsuite/22_locale/global_templates/
standard_facet_hierarchies.cc: New.
From-SVN: r131334
GCC Administrator [Sat, 5 Jan 2008 00:17:04 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r131330
GCC Administrator [Fri, 4 Jan 2008 00:17:40 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r131313
GCC Administrator [Thu, 3 Jan 2008 00:17:08 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r131271
Volker Reichelt [Wed, 2 Jan 2008 23:52:17 +0000 (23:52 +0000)]
Backport:
2007-10-31 Paolo Carlini <pcarlini@suse.de>
PR c++/33494
* cxx-pretty-print.c (pp_cxx_typeid_expression,
pp_cxx_delete_expression): Change to static linkage.
* cxx-pretty-print.h: Adjust declarations.
* error.c (dump_expr, case SCOPE_REF, TYPEID_EXPR, DELETE_EXPR,
VEC_DELETE_EXPR, MODOP_EXPR): Forward to pp_expression.
* cxx-pretty-print.c (pp_cxx_expression, case NON_DEPENDENT_EXPR):
Fix typo.
* g++.dg/template/error35.C: New.
From-SVN: r131269
Volker Reichelt [Wed, 2 Jan 2008 23:49:23 +0000 (23:49 +0000)]
Backport:
2007-11-02 Paolo Carlini <pcarlini@suse.de>
PR c++/33495
* error.c (dump_expr): Deal specially with statements.
* g++.dg/other/error19.C: New.
From-SVN: r131268
Volker Reichelt [Wed, 2 Jan 2008 23:47:08 +0000 (23:47 +0000)]
Backport:
2007-09-27 Paolo Carlini <pcarlini@suse.de>
PR c++/33493
* error.c (dump_expr): Deal with DELETE_EXPR and VEC_DELETE_EXPR.
* cxx-pretty-print.c (pp_cxx_delete_expression): Add missing
spaces in the formatting.
* cxx-pretty-print.h (pp_cxx_delete_expression): Declare.
* g++.dg/template/error31.C: New.
From-SVN: r131267
Volker Reichelt [Wed, 2 Jan 2008 23:44:10 +0000 (23:44 +0000)]
Backport:
2007-09-18 Paolo Carlini <pcarlini@suse.de>
PR c++/33462
* cxx-pretty-print.c (pp_cxx_va_arg_expression): Add.
(pp_cxx_primary_expression): Use it.
* cxx-pretty-print.h (pp_cxx_va_arg_expression): Declare.
* error.c (dump_expr): Use it.
* g++.dg/ext/va-arg1.C: New.
From-SVN: r131266
Volker Reichelt [Wed, 2 Jan 2008 23:40:41 +0000 (23:40 +0000)]
Backport:
2007-09-18 Paolo Carlini <pcarlini@suse.de>
PR c++/33463
* cxx-pretty-print.c (pp_cxx_postfix_expression): Split
out case TYPEID_EXPR to...
(pp_cxx_typeid_expression): ... here; use pp_cxx_left_paren
and pp_cxx_right_paren.
* cxx-pretty-print.h (pp_cxx_typeid_expression): Declare.
* error.c (dump_expr): Use it.
* g++.dg/rtti/typeid6.C: New.
From-SVN: r131265
GCC Administrator [Wed, 2 Jan 2008 00:16:49 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r131251
GCC Administrator [Tue, 1 Jan 2008 00:16:59 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r131241
John David Anglin [Mon, 31 Dec 2007 16:04:26 +0000 (16:04 +0000)]
re PR driver/33772 (collect2 doesn't strip .sl version)
PR driver/33772
* collect2.c (SHLIB_SUFFIX): Define if not defined.
(write_c_file_stat): Use SHLIB_SUFFIX.
* som.h (SHLIB_SUFFIX): Define.
* doc/tm.texi (SHLIB_SUFFIX): Document.
From-SVN: r131236
GCC Administrator [Mon, 31 Dec 2007 00:17:00 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r131232
GCC Administrator [Sun, 30 Dec 2007 00:17:04 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r131226
GCC Administrator [Sat, 29 Dec 2007 00:16:55 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r131215
GCC Administrator [Fri, 28 Dec 2007 00:16:59 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r131209
Gerald Pfeifer [Thu, 27 Dec 2007 09:45:20 +0000 (09:45 +0000)]
* config.gcc: Proactively add FreeBSD 10 and FreeBSD 11.
From-SVN: r131197
GCC Administrator [Thu, 27 Dec 2007 00:16:59 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r131191
John David Anglin [Wed, 26 Dec 2007 21:51:30 +0000 (21:51 +0000)]
re PR c++/33640 (testsuite failure in g++.dg/other/unused1.C)
PR c++/33640
* g++.dg/other/unused1.C: xfail scan for "class2" in assembler output.
From-SVN: r131187
GCC Administrator [Wed, 26 Dec 2007 00:17:00 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r131174
John David Anglin [Tue, 25 Dec 2007 18:35:03 +0000 (18:35 +0000)]
Add "PR testsuite/34499" to log.
From-SVN: r131172
John David Anglin [Tue, 25 Dec 2007 18:24:55 +0000 (18:24 +0000)]
namespace2.C: Add missing argument to dg-require-visibility statement.
* g++.dg/ext/visibility/namespace2.C: Add missing argument to
dg-require-visibility statement.
From-SVN: r131171
GCC Administrator [Tue, 25 Dec 2007 00:17:00 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r131164
GCC Administrator [Mon, 24 Dec 2007 00:16:55 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r131153
GCC Administrator [Sun, 23 Dec 2007 00:17:19 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r131142
John David Anglin [Sat, 22 Dec 2007 00:20:26 +0000 (00:20 +0000)]
pa.c (hppa_legitimize_address): Use INT14_OK_STRICT in mask selection.
* pa.c (hppa_legitimize_address): Use INT14_OK_STRICT in mask selection.
From-SVN: r131132
GCC Administrator [Sat, 22 Dec 2007 00:17:06 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r131128
GCC Administrator [Fri, 21 Dec 2007 00:17:17 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r131111
GCC Administrator [Thu, 20 Dec 2007 00:17:16 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r131093
Richard Sandiford [Wed, 19 Dec 2007 10:04:28 +0000 (10:04 +0000)]
200x-xx-xx Kaz Kylheku <kaz@zeugmasystems.com>
gcc/
200x-xx-xx Kaz Kylheku <kaz@zeugmasystems.com>
PR rtl-optimization/34456
* resource.c (mark_set_resources): Use regs_invalidated_by_call
rather than call_used_regs and global_regs.
gcc/testsuite/
PR rtl-optimization/34456
* gcc.c-torture/execute/pr34456.c: New test.
From-SVN: r131057
GCC Administrator [Wed, 19 Dec 2007 00:16:55 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r131049
Jakub Jelinek [Tue, 18 Dec 2007 05:05:43 +0000 (06:05 +0100)]
re PR bootstrap/34003 (gcc trunk unable to bootstrap itself; Unsatisfied symbols: ggc_free)
PR bootstrap/34003
* c-decl.c (merge_decls): Copy RTL from olddecl to newdecl.
* config/pa/pa.c (pa_encode_section_info): If !first, preserve
SYMBOL_FLAG_REFERENCED flag.
* gcc.dg/pr34003-1.c: New test.
* gcc.dg/pr34003-2.c: New.
From-SVN: r131032
GCC Administrator [Tue, 18 Dec 2007 00:17:02 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r131027
Jonathan Wakely [Mon, 17 Dec 2007 23:56:23 +0000 (23:56 +0000)]
locale_facets.tcc (has_facet, use_facet): Simplify RTTI checks.
2007-12-17 Jonathan Wakely <jwakely.gcc@gmail.com>
* include/bits/locale_facets.tcc (has_facet, use_facet): Simplify
RTTI checks.
From-SVN: r131022
Benjamin Kosnik [Mon, 17 Dec 2007 20:30:47 +0000 (20:30 +0000)]
standard_facet_hierarchies.cc: Fix for generic locale model.
2007-12-17 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/global_templates/
standard_facet_hierarchies.cc: Fix for generic locale model.
From-SVN: r131015
GCC Administrator [Mon, 17 Dec 2007 00:17:06 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r131000
GCC Administrator [Sun, 16 Dec 2007 00:16:48 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r130983
GCC Administrator [Sat, 15 Dec 2007 00:16:57 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r130949
Benjamin Kosnik [Fri, 14 Dec 2007 21:27:09 +0000 (21:27 +0000)]
re PR libstdc++/30127 (std::has_facet returns true for not installed derived facets)
2007-12-14 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/30127
PR libstdc++/34449
* include/bits/locale_classes.h (use_facet): Check facet hierarchy.
(has_facet): Same.
* testsuite/22_locale/global_templates/user_facet_hierarchies.cc: New.
* testsuite/22_locale/global_templates/
standard_facet_hierarchies.cc: New.
From-SVN: r130944
GCC Administrator [Fri, 14 Dec 2007 00:16:56 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r130924
Torbjorn Granlund [Thu, 13 Dec 2007 09:25:46 +0000 (09:25 +0000)]
i386.c (ix86_rtx_costs): Check op0 for ZERO_EXTEND when computing costs for widening multiplication.
* config/i386/i386.c (ix86_rtx_costs) [MULT]: Check op0 for
ZERO_EXTEND when computing costs for widening multiplication.
From-SVN: r130810
GCC Administrator [Thu, 13 Dec 2007 00:17:01 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r130797
GCC Administrator [Wed, 12 Dec 2007 00:17:06 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r130782
GCC Administrator [Tue, 11 Dec 2007 00:17:11 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r130763
Simon Martin [Mon, 10 Dec 2007 22:54:26 +0000 (22:54 +0000)]
re PR c++/34059 (ICE with invalid base type for class member)
gcc/cp/
2007-12-10 Simon Martin <simartin@users.sourceforge.net>
PR c++/34059
* typeck.c (build_class_member_access_expr): Compute MEMBER_SCOPE from
MEMBER's BASELINK_ACCESS_BINFO instead of its BASELINK_BINFO.
gcc/testsuite/
2007-12-10 Simon Martin <simartin@users.sourceforge.net>
PR c++/34059
* g++.dg/parse/crash40.C: New test.
From-SVN: r130756
John David Anglin [Mon, 10 Dec 2007 03:17:24 +0000 (03:17 +0000)]
re PR target/32889 (ICE in delete_output_reload, at reload1.c:7926)
PR middle-end/32889
PR target/34091
* pa.md: Consolidate HImode and QImode move patterns into one pattern
each, eliminating floating-point alternatives.
* pa-protos.h (pa_cannot_change_mode_class, pa_modes_tieable_p):
Declare functions.
* pa-64.h (SECONDARY_MEMORY_NEEDED): Define here.
* pa.c (pa_secondary_reload): Use an intermediate general register
for copies to/from floating-point register classes. Simplify code
SHIFT_REGS class. Provide additional comments.
(pa_cannot_change_mode_class, pa_modes_tieable_p): New functions.
* pa.h (MODES_TIEABLE_P): Use pa_modes_tieable_p.
(SECONDARY_MEMORY_NEEDED): Delete define.
(INT14_OK_STRICT): Define.
(MODE_OK_FOR_SCALED_INDEXING_P): Allow SFmode and DFmode when using
soft float.
(MODE_OK_FOR_UNSCALED_INDEXING_P): Likewise.
(GO_IF_LEGITIMATE_ADDRESS): Use INT14_OK_STRICT in REG+D case for
SFmode and DFmode.
(LEGITIMIZE_RELOAD_ADDRESS): Use INT14_OK_STRICT in mask selection.
Align DImode offsets when generating 64-bit code.
* pa32-regs.h (VALID_FP_MODE_P): Remove QImode and HImode.
(CANNOT_CHANGE_MODE_CLASS): Define.
* pa64-regs.h (VALID_FP_MODE_P): Remove QImode and HImode.
(CANNOT_CHANGE_MODE_CLASS): Define using pa_cannot_change_mode_class.
From-SVN: r130735
GCC Administrator [Mon, 10 Dec 2007 00:17:00 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r130729
GCC Administrator [Sun, 9 Dec 2007 00:16:58 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r130715
GCC Administrator [Sat, 8 Dec 2007 00:16:49 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r130701
GCC Administrator [Fri, 7 Dec 2007 00:16:56 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r130667
GCC Administrator [Thu, 6 Dec 2007 00:16:56 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r130637
GCC Administrator [Wed, 5 Dec 2007 00:16:42 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r130612
GCC Administrator [Tue, 4 Dec 2007 00:16:57 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r130594
GCC Administrator [Mon, 3 Dec 2007 00:17:14 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r130576
GCC Administrator [Sun, 2 Dec 2007 00:16:52 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r130563
Kostik Belousov [Sat, 1 Dec 2007 12:03:42 +0000 (12:03 +0000)]
re PR ada/33722 (putenv() is made posix-conformant on FreeBSD 7.x)
2007-12-01 Kostik Belousov <kostikbel@ukr.net>
gcc/ada/
PR ada/33722
* env.c (__gnat_setenv): FreeBSD 7 has a POSIX conformant putenv()
and its argument must not be free()ed.
From-SVN: r130556
GCC Administrator [Sat, 1 Dec 2007 00:16:58 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r130551
GCC Administrator [Fri, 30 Nov 2007 00:17:07 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r130524
GCC Administrator [Thu, 29 Nov 2007 00:16:51 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r130503
Rask Ingemann Lambertsen [Wed, 28 Nov 2007 01:44:10 +0000 (02:44 +0100)]
backport: re PR target/34174 (gcc produces erroneous asm for movdi)
Backport from mainline:
2007-11-26 Rask Ingemann Lambertsen <rask@sygehus.dk>
PR target/34174
* config/fr30/fr30.c (fr30_move_double): Sanitize mem->reg case. Copy
the address before it is clobbered.
testsuite/
* gcc.dg/pr34174-1.c: New.
From-SVN: r130489
GCC Administrator [Wed, 28 Nov 2007 00:16:53 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r130480
Paolo Carlini [Tue, 27 Nov 2007 01:59:59 +0000 (01:59 +0000)]
locale_facets.tcc (num_put<>::_M_insert_int): When ios_base::showpos and the type is signed and the value is zero, prepend +.
2007-11-26 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (num_put<>::_M_insert_int): When
ios_base::showpos and the type is signed and the value is zero,
prepend +.
* testsuite/22_locale/num_put/put/char/12.cc: New.
* testsuite/22_locale/num_put/put/wchar_t/12.cc: Likewise.
From-SVN: r130461