Andreas Schwab
a4ab962917
linux-unwind.h (frob_update_context): Check for NULL lr.
...
* config/rs6000/linux-unwind.h (frob_update_context): Check for
NULL lr.
From-SVN: r142473
2008-12-05 13:57:45 +00:00
Paolo Carlini
118f7432df
re PR libstdc++/38411 (Revision 142439 caused 22_locale/locale/cons/7.cc execution test)
...
2008-12-05 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/38411
* testsuite/22_locale/numpunct/members/char/2.cc: Use is_IS instead
of fr_FR.
* testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.
* testsuite/22_locale/locale/cons/7.cc: Likewise.
From-SVN: r142472
2008-12-05 13:07:53 +00:00
Richard Guenther
6c6b3b2b70
re PR testsuite/38406 (Revision 142437 caused gcc.dg/Wstrict-aliasing-converted-assigned.c)
...
2008-12-05 Richard Guenther <rguenther@suse.de>
PR testsuite/38406
* gcc.dg/Wstrict-aliasing-converted-assigned.c: Restrict PTA
alias warning to lp64 targets.
From-SVN: r142471
2008-12-05 11:59:21 +00:00
Eric Botcazou
9ff4a9dade
Fix dates.
...
From-SVN: r142470
2008-12-05 11:46:36 +00:00
Jakub Jelinek
ea6dafb028
re PR c/38408 (compilation error during bootstrap in fold-const.c using TOT!)
...
PR c/38408
* fold-const.c (fold_checksum_tree): Change buf type to union
tree_node.
From-SVN: r142468
2008-12-05 09:51:36 +01:00
Jakub Jelinek
250d2fb5b2
re PR bootstrap/38262 (GCC components unnecessarily link with shared gmp/mpfr)
...
PR bootstrap/38262
Fixup ChangeLog entries.
From-SVN: r142466
2008-12-05 09:50:47 +01:00
Eric Botcazou
3108c7b6f0
* gcc.dg/union-5.c: Run only on x86 and x86-64.
...
From-SVN: r142465
2008-12-05 08:50:36 +00:00
Sebastian Pop
f773bb8482
re PR bootstrap/38262 (GCC components unnecessarily link with shared gmp/mpfr)
...
2008-11-07 Sebastian Pop <sebastian.pop@amd.com>
PR bootstrap/38262
* java/Make-lang.in (jc1): Add BACKENDLIBS, remove GMPLIBS.
* objc/Make-lang.in (cc1obj-dummy, cc1obj): Same.
* objcp/Make-lang.in (cc1objplus-dummy, cc1objplus): Same.
* cp/Make-lang.in (cc1plus-dummy, cc1plus): Same.
* ada/gcc-interface/Make-lang.in (gnat1): Same.
* fortran/Make-lang.in (f951): Same.
* Makefile.in (LIBS): Remove GMPLIBS, CLOOGLIBS and PPLLIBS.
(BACKENDLIBS): New.
(cc1-dummy, cc1): Add BACKENDLIBS, remove GMPLIBS.
From-SVN: r142464
2008-12-05 08:01:58 +00:00
Jerry DeLisle
1388cd925a
re PR fortran/38285 (Wrong I/O output: Interaction between F and P for output)
...
2008-12-04 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/38285
gfortran.dg/fmt_f_an_p.f: New test.
From-SVN: r142456
2008-12-05 04:11:28 +00:00
Jerry DeLisle
e318b7602b
re PR fortran/38285 (Wrong I/O output: Interaction between F and P for output)
...
2008-12-04 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/38285
* write_float.def (WRITE_FLOAT): Zero the float value for special case
only if scale_factor = 0.
From-SVN: r142455
2008-12-05 04:07:45 +00:00
GCC Administrator
cd8235c00e
Daily bump.
...
From-SVN: r142453
2008-12-05 00:16:52 +00:00
Ben Elliston
922f290804
c-parser.c (c_parser_enum_specifier): Initialise ident_loc and comma_loc.
...
* c-parser.c (c_parser_enum_specifier): Initialise ident_loc and
comma_loc.
(c_parser_initelt): Initialise des_loc and ellipsis_loc.
From-SVN: r142448
2008-12-05 09:44:02 +11:00
Eric Botcazou
f5f8d79dec
cse.c (lookup_as_function): Delete mode frobbing code.
...
* cse.c (lookup_as_function): Delete mode frobbing code.
(equiv_constant): Re-implement it there for SUBREGs.
Co-Authored-By: Gary Funck <gary@intrepid.com>
From-SVN: r142443
2008-12-04 21:47:13 +00:00
Jason Merrill
f782c65c3d
re PR c++/37906 (has_trivial_default_constructor vs. deleted copy ctor)
...
PR c++/37906
* decl.c (grok_special_member_properties): Set TYPE_HAS_COMPLEX_DFLT
here.
* class.c (check_bases_and_members): Rather than assuming any
user-declared default constructor is complex here.
From-SVN: r142442
2008-12-04 14:00:03 -05:00
Paolo Carlini
1d9aba8105
re PR libstdc++/38368 (locale(const char* std_name) may create locale with broken facets)
...
2008-12-04 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/38368
* config/locale/gnu/numeric_members.cc (numpunct<char>::
_M_initialize_numpunct, numpunct<wchar_t>::_M_initialize_numpunct):
Fix for THOUSANDS_SEP == '\0' consistently with "C" locale.
* config/locale/gnu/monetary_members.cc (moneypunct<char, true>::
_M_initialize_moneypunct, moneypunct<char, false>::
_M_initialize_moneypunct, moneypunct<wchar_t, true>::
_M_initialize_moneypunct, moneypunct<wchar_t, false>::
_M_initialize_moneypunct): Fix for __MON_DECIMAL_POINT == '\0' or
__MON_THOUSANDS_SEP == '\0' consistently with "C" locale.
* testsuite/22_locale/locale/cons/38368.cc: New.
From-SVN: r142439
2008-12-04 17:16:27 +00:00
Richard Guenther
ce1b649802
re PR middle-end/36509 (gcc.dg/Wstrict-aliasing-float-ptr-int-obj.c)
...
2008-12-04 Richard Guenther <rguenther@suse.de>
PR middle-end/36509
PR c++/38334
* Makefile.in (tree-ssa-alias-warnings.o): Remove.
(tree-ssa-structalias.o): Remove errors.h dependency.
(tree-ssa-reassoc.o): Likewise.
* tree-ssa-reassoc.c: Do not include errors.h.
* tree-ssa-alias-warnings.c: Remove.
* tree-ssa-alias.c (compute_may_aliases): Remove call to
strict_aliasing_warning_backend.
* tree-ssa-structalias.c (emit_pointer_definition): New function.
(emit_alias_warning): Likewise.
(set_uids_in_ptset): Warn for clear cases of type-punning.
* tree-inline.c (remap_gimple_op_r): Preserve TREE_NO_WARNING
on INDIRECT_REFs.
cp/
* typeck.c (get_member_function_from_ptrfunc): Mark the vtbl
pointer access with TREE_NO_WARNING.
* gcc.dg/Wstrict-aliasing-float-ptr-int-obj.c: Adjust, remove XFAIL.
* gcc.dg/Wstrict-aliasing-converted-assigned.c: Adjust.
* g++.dg/warn/Wstrict-aliasing-float-ref-int-obj.C: Likewise.
From-SVN: r142437
2008-12-04 15:55:25 +00:00
Eric Botcazou
a4781348e2
* cse.c (equiv_constant): Fix pasto.
...
From-SVN: r142432
2008-12-04 11:44:41 +00:00
Nick Clifton
5ab9749e29
stormy16.md: Remove extraneous spaces and quotes.
...
* config/stormy16/stormy16.md: Remove extraneous spaces and
quotes.
* config/stormy16/stormy16.c: Remove extraneous spaces and fix up
formatting of quotes.
From-SVN: r142431
2008-12-04 10:11:50 +00:00
Jakub Jelinek
5cf9684138
re PR middle-end/38371 (Fold check error during bootstrap)
...
PR middle-end/38371
* fold-const.c (fold_checksum_tree): Allow modification of
TYPE_NEXT_VARIANT.
From-SVN: r142430
2008-12-04 10:33:27 +01:00
H.J. Lu
dc540ffd68
badalloc1.C: Add the missing "}".
...
2008-12-03 H.J. Lu <hongjiu.lu@intel.com>
* g++.old-deja/g++.eh/badalloc1.C: Add the missing "}".
From-SVN: r142428
2008-12-03 22:25:04 -08:00
Jack Howarth
c9874cc013
configure.ac: Add double brackets on darwin[912].
...
2008-12-04 Jack Howarth <howarth@bromo.med.uc.edu>
* configure.ac: Add double brackets on darwin[912].
* configure: Regenerate.
From-SVN: r142427
2008-12-04 07:17:50 +01:00
Jack Howarth
25783c3001
configure.ac: Add double brackets on darwin[912].
...
2008-12-04 Jack Howarth <howarth@bromo.med.uc.edu>
* configure.ac: Add double brackets on darwin[912].
* configure: Regenerate.
From-SVN: r142426
2008-12-04 07:17:13 +01:00
GCC Administrator
eefaa99a00
Daily bump.
...
From-SVN: r142421
2008-12-04 00:17:00 +00:00
Jason Merrill
8f540f0695
re PR c++/38232 ("value-initialization of reference" warning too strict)
...
PR c++/38232
* init.c (build_value_init): Do initial zero-initialization
of a class with an implicitly-defined constructor using
build_zero_init rather than in build_value_init.
(build_value_init_1): Fold into build_value_init.
From-SVN: r142418
2008-12-03 18:57:19 -05:00
Janis Johnson
c39d1b46ff
* g++.old-deja/g++.eh/badalloc1.C: Reinstate XFAIL for Darwin 3-7.
...
From-SVN: r142417
2008-12-03 23:41:46 +00:00
Jack Howarth
ed34ac87e5
badalloc1.C: Omit XFAIL on obsolete Darwin.
...
2008-12-03 Jack Howarth <howarth@bromo.med.uc.edu>
* g++.old-deja/g++.eh/badalloc1.C: Omit XFAIL on obsolete Darwin.
From-SVN: r142415
2008-12-03 23:28:00 +00:00
Jason Merrill
64e12c68ef
re PR c++/38256 (ICE with "operator auto")
...
PR c++/38256
* parser.c (cp_parser_conversion_type_id): Diagnose
'operator auto' here.
* decl.c (grokdeclarator): Not here.
From-SVN: r142410
2008-12-03 16:42:22 -05:00
Daniel Kraft
0e318fccb8
MAINTAINERS: Moved myself and Mikael Morin from Write After Approval to Reviewer section...
...
2008-12-03 Daniel Kraft <d@domob.eu>
* MAINTAINERS: Moved myself and Mikael Morin from Write After
Approval to Reviewer section (for Fortran front-end).
From-SVN: r142408
2008-12-03 22:37:43 +01:00
Jason Merrill
27fb09b78e
re PR c++/38380 (explicitly defaulted constructors vs. empty direct initialization)
...
PR c++/38380
* decl.c (grokdeclarator): Only set DECL_NONCONVERTING_P
on explicit constructors.
* pt.c (tsubst_copy_and_build) [CONSTRUCTOR]: Propagate
CONSTRUCTOR_IS_DIRECT_INIT.
From-SVN: r142404
2008-12-03 14:22:08 -05:00
Jason Merrill
6efe1abf4c
fix markup
...
From-SVN: r142401
2008-12-03 12:49:15 -05:00
Jakub Jelinek
f6ab27bb6d
re PR middle-end/38360 (ICE in gimple_op, at gimple.h:1636)
...
PR middle-end/38360
* tree-ssa-ccp.c (ccp_fold_builtin): Bail out if the builtin doesn't
have the right number of arguments.
* gcc.c-torture/compile/pr38360.c: New test.
From-SVN: r142399
2008-12-03 17:57:44 +01:00
Richard Guenther
050bbfebe2
re PR middle-end/36326 (gimplification of aggregate copies introduces extra aggregate copy)
...
2008-12-03 Richard Guenther <rguenther@suse.de>
PR middle-end/36326
* gimplify.c (is_gimple_mem_or_call_rhs): Remove work-around for
non-BLKmode types.
* gcc.dg/tree-ssa/pr36326.c: New testcase.
From-SVN: r142396
2008-12-03 15:10:03 +00:00
Tomas Bily
cea1b9ebee
pr38250.c: New file.
...
* testsuite/gcc.dg/tree-ssa/pr38250.c: New file.
--This list and those below, will be ignored--
A gcc/testsuite/gcc.dg/tree-ssa/pr38250.c
From-SVN: r142395
2008-12-03 14:43:12 +01:00
Tomas Bily
3661e89978
re PR middle-end/38250 (ICE with -O2 -ftree-loop-distribution)
...
PR middle-end/38250
* tree-loop-distribution.c (build_size_arg): New function.
(generate_memset_zero): Checks if DR_STEP(de) is NULL.
Reorganized generating of stmts.
* testsuite/gcc.dg/tree-ssa/pr38250.c: New file.
* tree-data-ref.c (dr_analyze_innermost): Returns bool.
Indicate if analysis succeed.
* tree-data-ref.h (dr_analyze_innermost): Returns bool.
* tree-predcom.c (valid_initializer_p, find_looparound_phi):
Uses new definition of dr_analyze_innermost.
From-SVN: r142394
2008-12-03 14:35:13 +01:00
Ben Elliston
f11d2f1e7e
* tree-ssa-pre.c (do_regular_insertion): Initialise edoubleprime.
...
From-SVN: r142393
2008-12-03 23:29:23 +11:00
Jakub Jelinek
ff1fe45737
re PR tree-optimization/37716 (ice for legal C++ code with -O2 on 20080926)
...
PR tree-optimization/37716
* tree-sra.c (sra_build_assignment): For scalar bitfield SRC construct
all the needed operations as trees and gimplify_assign it to dst.
* g++.dg/torture/pr37716.C: New test.
From-SVN: r142392
2008-12-03 13:27:48 +01:00
Eric Botcazou
d5fdc62c3f
* gcc.dg/torture/pr37868.c: Skip on the SPARC.
...
From-SVN: r142390
2008-12-03 11:18:32 +00:00
Jakub Jelinek
6e97481b15
re PR target/37610 (FAIL: g++.dg/eh/pr29166.C execution test)
...
PR target/37610
* configure.ac (gcc_cv_readelf): Look for readelf.
(gcc_cv_as_cfi_advance_working): Check for working
cfi advances with code alignment factor > 1.
(HAVE_GAS_CFI_DIRECTIVE): Don't define if cfi advances
don't work properly.
* configure: Regenerated.
From-SVN: r142389
2008-12-03 10:09:43 +01:00
Eric Botcazou
0ce2b2991c
re PR rtl-optimization/38281 (segmentation fault with optimization enabled)
...
PR rtl-optimization/38281
* combine.c (distribute_notes): When invoking SET_INSN_DELETED on i2,
set it to NULL_RTX afterwards.
* emit-rtl.c (set_insn_deleted): Fix formatting.
Co-Authored-By: Andrew Pinski <andrew_pinski@playstation.sony.com>
Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r142388
2008-12-03 08:40:50 +00:00
Janus Weil
396315d951
MAINTAINERS (Reviewers): Add myself as Fortran reviewer.
...
2008-12-03 Janus Weil <janus@gcc.gnu.org>
* MAINTAINERS (Reviewers): Add myself as Fortran reviewer.
(Write After Approval): Remove myself.
From-SVN: r142387
2008-12-03 09:16:24 +01:00
GCC Administrator
46c6376571
Daily bump.
...
From-SVN: r142382
2008-12-03 00:16:43 +00:00
Jason Merrill
3f6079ddc5
PR c++/35782, c++/37860
...
PR c++/35782, c++/37860
* call.c (build_user_type_conversion_1): Remember
list-initialization.
(convert_like_real): Likewise.
(build_over_call): Don't require the copy constructor
for copy-list-initialization.
* cp-tree.h (TARGET_EXPR_LIST_INIT_P): New macro.
PR c++/37234
* decl.c (cp_finish_decl): Handle =default and =delete for
templates, too.
From-SVN: r142379
2008-12-02 18:52:02 -05:00
Richard Sandiford
1ba62f90e1
Sorry, committed the wrong version of the last patch.
...
From-SVN: r142376
2008-12-02 22:33:06 +00:00
Richard Sandiford
0767b03f5e
mips.c (mips_expand_builtin): Fix the mode of the error return value.
...
gcc/
* config/mips/mips.c (mips_expand_builtin): Fix the mode of the
error return value.
* config/mips/mips.md (IMOVE32): New mode iterator.
(movsi): Generalize with IMOVE32.
(*movsi_internal): Likewise.
(*mov<mode>_mips16): Likewise, and its define_splits.
(*lwxs): Likewise.
From-SVN: r142375
2008-12-02 22:30:57 +00:00
Nathan Sidwell
c1af059c2c
lb1sf68.asm (PICCALL, PICJUMP): Use GOT instead of PC-relative addressing when compiling for uclinux PIC.
...
* config/m68k/lb1sf68.asm (PICCALL, PICJUMP): Use GOT instead of
PC-relative addressing when compiling for uclinux PIC.
(__cmpdf_internal, __cmpsf_internal): Hide.
(__cmpdf, __cmpsf): Use PIC call sequence.
Co-Authored-By: Maxim Kuvyrkov <maxim@codesourcery.com>
From-SVN: r142373
2008-12-02 21:50:02 +00:00
Jack Howarth
384392535a
linkage.exp: Correct file type check for Darwin.
...
2008-12-02 Jack Howarth <howarth@bromo.med.uc.edu>
* gcc.misc-tests/linkage.exp: Correct file type check for Darwin.
From-SVN: r142371
2008-12-02 18:48:04 +00:00
Andreas Tobler
664cd4857f
t-darwin64: Add m32 multilib support.
...
2008-12-02 Andreas Tobler <a.tobler@schweiz.org>
Jack Howarth <howarth@bromo.med.uc.edu>
* config/i386/t-darwin64: Add m32 multilib support.
Co-Authored-By: Jack Howarth <howarth@bromo.med.uc.edu>
From-SVN: r142370
2008-12-02 19:05:24 +01:00
Jack Howarth
ce9c105029
configure.ac: Expand to darwin10 and later.
...
2008-12-02 Jack Howarth <howarth@bromo.med.uc.edu>
* configure.ac: Expand to darwin10 and later.
* configure: Regenerate.
* testsuite/lib/libjava.exp: Expand to darwin10 and later.
From-SVN: r142369
2008-12-02 19:04:30 +01:00
Jack Howarth
4cf57fd822
darwin-comm.c: Expand to darwin10 and later.
...
2008-12-02 Jack Howarth <howarth@bromo.med.uc.edu>
* testsuite/gcc.dg/darwin-comm.c: Expand to darwin10 and later.
From-SVN: r142368
2008-12-02 19:03:26 +01:00
Jack Howarth
7f171b9554
configure.ac: Expand to darwin10 and later.
...
2008-12-02 Jack Howarth <howarth@bromo.med.uc.edu>
* configure.ac: Expand to darwin10 and later.
* configure: Regenerate.
From-SVN: r142367
2008-12-02 19:01:57 +01:00