Andrew Haley
3381c28f38
re PR java/18697 (Miscompilation of GtkMenuItemPeer.setParent(MenuItem))
...
2004-12-03 Andrew Haley <aph@redhat.com>
PR java/18697
* class.c (layout_class_method): Don't fail to override a method
simply because it has DECL_ARTIFICIAL set.
From-SVN: r91689
2004-12-03 18:01:59 +00:00
Janis Johnson
5edea4c664
extend.texi (AltiVec Builtins): Fix info about signedness.
...
* doc/extend.texi (AltiVec Builtins): Fix info about signedness.
* testsuite/gcc.dg/altivec-18.c: Fix for darwin
From-SVN: r91688
2004-12-03 17:37:12 +00:00
Andreas Tobler
9c7956fd00
rs6000.c (rs6000_override_options): Protect darwin_one_byte_bool with #if.
...
2004-12-03 Andreas Tobler <a.tobler@schweiz.ch>
* config/rs6000/rs6000.c (rs6000_override_options): Protect
darwin_one_byte_bool with #if.
From-SVN: r91686
2004-12-03 16:47:44 +01:00
Paolo Bonzini
d6c2b67dea
tm.texi (Misc): Document TARGET_FOLD_BUILTIN.
...
2004-12-03 Paolo Bonzini <bonzini@gnu.org>
* doc/tm.texi (Misc): Document TARGET_FOLD_BUILTIN.
From-SVN: r91685
2004-12-03 15:37:16 +00:00
H.J. Lu
aaf67a1450
mklibgcc.in: Put back the default set of EXTRA_MULTILIB_PART.
...
2004-12-03 H.J. Lu <hongjiu.lu@intel.com>
* mklibgcc.in: Put back the default set of EXTRA_MULTILIB_PART.
From-SVN: r91684
2004-12-03 07:11:56 -08:00
Richard Sandiford
dafb7f3f52
re PR libgcj/7305 (Install path for libgcj header files)
...
PR libgcj/7305
* configure.ac: Use TL_AC_GXX_INCLUDE_DIR.
* Makefile.am (install-data-local): Install headers into
$(gxx_include_dir) rather than $(includedir).
(AM_MAKEFLAGS): Pass down gxx_include_dir.
* gcj/Makefile.am (gcjdir): Set to $(gxx_include_dir)/gcj.
* include/Makefile.am (tool_include__HEADERS): Define this...
(include_HEADERS): ...instead of this.
* configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
* include/Makefile.in, testsuite/Makefile.in: Regenerate.
From-SVN: r91682
2004-12-03 11:15:25 +00:00
Nathan Sidwell
f4ed7d2144
re PR c++/18782 (ICE on invalid pointer-to-member declaration)
...
cp:
PR c++/18782
* decl.c (grokdeclarator): Make sure class in pointer to member is
not a namespace.
testsuite:
PR c++/18782
* g++.dg/parse/ptrmem2.C: New.
From-SVN: r91681
2004-12-03 10:51:13 +00:00
Richard Sandiford
bb59c33970
Introduce config/gxx-include-dir.m4.
...
From-SVN: r91680
2004-12-03 10:44:37 +00:00
Richard Sandiford
4982adbebc
config.if: Delete.
...
* config.if: Delete.
* configure.in: Set libstdcxx_incdir directly.
* configure: Regenerate.
From-SVN: r91679
2004-12-03 10:40:18 +00:00
Nathan Sidwell
ad1063d545
re PR c++/18318 (ICE: error: Multiple inline callers)
...
cp:
PR c++/18318
* parser.c (cp_parser_new_type_id): Move array size expression
checks from here ...
* init.c (build_new): ... to here.
testsuite:
PR c++/18318
* g++.dg/template/new1.C: New.
From-SVN: r91678
2004-12-03 09:51:39 +00:00
Kazu Hirata
2085a21fd6
cfgrtl.c (rtl_verify_flow_info_1): Use JUMP_P instead of INSN_P.
...
* cfgrtl.c (rtl_verify_flow_info_1): Use JUMP_P instead of
INSN_P.
From-SVN: r91677
2004-12-03 07:43:39 +00:00
Kazu Hirata
a18428f344
tree-ssa-dom.c (record_equivalences_from_phis): Remove an "if" whose condition is always true.
...
* tree-ssa-dom.c (record_equivalences_from_phis): Remove an
"if" whose condition is always true.
From-SVN: r91676
2004-12-03 07:38:39 +00:00
Stan Shebs
7bd3a49330
rs6000.c (rs6000_override_options): Make 64-bit Darwin default to one-byte bools.
...
* config/rs6000/rs6000.c (rs6000_override_options): Make 64-bit
Darwin default to one-byte bools.
From-SVN: r91675
2004-12-03 06:35:49 +00:00
Richard Henderson
1170a5e1c4
Mark PR for changelog entry.
...
From-SVN: r91673
2004-12-02 19:28:05 -08:00
Richard Henderson
6e4b5aaf4d
re PR target/18774 (mmix-knuth-mmixware testsuite failure: gcc.c-torture/execute/20020227-1.c -Os -O2 compile)
...
PR 18774
* simplify-rtx.c (simplify_immed_subreg): Fail complex modes.
From-SVN: r91672
2004-12-02 19:27:34 -08:00
Ben Elliston
9208393247
cfg.texi (Edges): Update.
...
* doc/cfg.texi (Edges): Update. Document the edge_iterator data
type and its methods.
From-SVN: r91671
2004-12-03 13:01:35 +11:00
GCC Administrator
dda7d95b7d
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91669.2
2004-12-03 00:16:39 +00:00
GCC Administrator
3b24cac5a8
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91668.2
2004-12-03 00:16:31 +00:00
Eric Christopher
057506533b
Makefile.tpl (clean-target-libgcc): Make change in correct place.
...
2004-12-02 Eric Christopher <echristo@redhat.com>
* Makefile.tpl (clean-target-libgcc): Make change in correct place.
* Makefile.in: Regenerate.
From-SVN: r91666
2004-12-02 23:45:19 +00:00
Richard Henderson
ddf4e03f48
expr.c (write_complex_part): Use simplify_gen_subreg when the submode is at least as large as a word.
...
* expr.c (write_complex_part): Use simplify_gen_subreg when the
submode is at least as large as a word.
(read_complex_part): Likewise.
From-SVN: r91664
2004-12-02 14:23:08 -08:00
H.J. Lu
0cb4334ee9
re PR bootstrap/18532 (libgcc.mk isn't parallel build safe for multilib)
...
2004-12-02 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/18532
* mklibgcc.in: Build one set of EXTRA_MULTILIB_PARTS for
multilib at a time. Don't build the default set. Don't add
EXTRA_MULTILIB_PARTS to shared libunwind nor libgcc. Remove
filter for shared libunwind and libgcc.
From-SVN: r91663
2004-12-02 13:49:00 -08:00
Roger Sayle
14c473b90e
re PR target/18759 ([x86] using both -fomit-frame-pointer and -momit-leaf-frame-pointer enables frame pointers for non-leaf functions)
...
PR target/18759
* config/i386/i386.c (override_options): If -fomit-frame-pointer has
already been specified, ignore the -momit-leaf-frame-pointer option.
From-SVN: r91662
2004-12-02 21:19:32 +00:00
Tobias Schlüter
79d60e57e9
re PR libfortran/18710 (img part of complex number not written to direct access file)
...
PR fortran/18710
fix previously mistyped ChangeLog entry
From-SVN: r91659
2004-12-02 21:13:53 +01:00
H.J. Lu
0267621529
varasm.c (make_decl_rtl): Add the missing `;'.
...
2004-12-02 H.J. Lu <hongjiu.lu@intel.com>
* varasm.c (make_decl_rtl): Add the missing `;'.
From-SVN: r91658
2004-12-02 11:56:26 -08:00
Tom Tromey
5c5d79d28c
re PR java/16675 (Null parameter values for anonymous constructor invocation require explicit cast)
...
PR java/16675:
* parse.y (craft_constructor): Special case null_pointer_node.
From-SVN: r91657
2004-12-02 19:41:03 +00:00
Tobias Schlüter
abd7fea9f9
re PR libfortran/18710 (img part of complex number not written to direct access file)
...
libgfortran/
PR fortran/18710
* io/transfer.c (unformatted_read, unformatted_write): width of
a COMPLEX is twice its kind.
gcc/testsuite/
PR fortran/18170
* gfortran.dg/direct_io_3.f90: New test.
From-SVN: r91656
2004-12-02 20:39:15 +01:00
Tom Tromey
0396df8ac4
For PR java/16675:
...
* testsuite/libjava.compile/PR16675.java: New file.
From-SVN: r91655
2004-12-02 19:38:49 +00:00
Andrew Pinski
e5410ba71b
tree.c (is_attribute_p): Split out to ..
...
2004-12-02 Andrew Pinski <pinskia@physics.uc.edu>
* tree.c (is_attribute_p): Split out to ..
(is_attribute_with_length_p): Here. Use IDENTIFIER_LENGTH instead
of strlen and compare the string lengths before calling strcmp.
(lookup_attribute): Call is_attribute_with_length_p instead of
is_attribute_p.
From-SVN: r91654
2004-12-02 11:25:55 -08:00
Devang Patel
910fbc166c
darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Add -gfull and -gused.
...
* config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Add -gfull and -gused.
* config/rs6000/darwin.h (CC1_SPEC): Do not handle -gfull and -gused.
* config/i386/darwin.h (CC1_SPEC): Same.
From-SVN: r91651
2004-12-02 10:42:26 -08:00
Richard Henderson
6b1326732b
optabs.c (lowpart_subreg_maybe_copy): New.
...
* optabs.c (lowpart_subreg_maybe_copy): New.
(expand_unop, expand_abs_nojump): Use it.
From-SVN: r91650
2004-12-02 10:31:26 -08:00
J"orn Rennecke
dea1c1c536
* sh.md (extv, extzv): Add pattern predicate.
...
From-SVN: r91649
2004-12-02 17:03:08 +00:00
Kazu Hirata
29cc871944
* tree-cfg.c (thread_jumps): Reduce the size of WORKLIST.
...
From-SVN: r91648
2004-12-02 16:47:16 +00:00
Kazu Hirata
d134295fc5
tree-cfg.c (phi_alternatives_equal): Check that PHI_ARG_DEF is not null.
...
* tree-cfg.c (phi_alternatives_equal): Check that PHI_ARG_DEF
is not null.
From-SVN: r91647
2004-12-02 16:45:26 +00:00
Kazu Hirata
5dd8841aa1
tree-cfg.c (phi_alternatives_equal): Check that PHI_ARG_DEF is not null.
...
* tree-cfg.c (phi_alternatives_equal): Check that PHI_ARG_DEF
is not null.
From-SVN: r91646
2004-12-02 16:43:33 +00:00
Tom Tromey
ea7b59ba69
re PR java/18741 (ICE tree check: expected class 'expression', have 'declaration' (var_decl))
...
PR java/18741:
* java-gimplify.c (java_gimplify_expr): Don't call
SET_EXPR_LOCATION unless wrapped tree is an expression.
From-SVN: r91645
2004-12-02 16:37:41 +00:00
Jeff Law
b28fb6a10c
* tree-eh.c: Revert yesterday's change.
...
From-SVN: r91643
2004-12-02 08:56:29 -07:00
Joseph Myers
45fd5209ae
* es.po: Update.
...
From-SVN: r91640
2004-12-02 14:20:53 +00:00
Richard Sandiford
5fef1dbd6e
configure.in: Clear gcc_version_trigger if the file doesn't exist.
...
* configure.in: Clear gcc_version_trigger if the file doesn't exist.
* configure: Regenerate.
From-SVN: r91639
2004-12-02 14:11:51 +00:00
Andrew Pinski
30513cf6f9
varasm.c (decode_reg_name): Revert change to check for zero length strings.
...
2004-12-02 Andrew Pinski <pinskia@physics.uc.edu>
* varasm.c (decode_reg_name): Revert change to check for zero
length strings.
(make_decl_rtl): Make sure that we call decode_reg_name only
when needed.
From-SVN: r91638
2004-12-02 06:05:50 -08:00
Dorit Naishlos
bfe5acd6af
re PR tree-optimization/18716 ([ICE] verify_flow_info failed (loop))
...
PR tree-opt/18716
* tree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Properly set
then and else labels.
From-SVN: r91637
2004-12-02 14:00:30 +00:00
Nathan Sidwell
55dcbc1297
re PR c++/18758 (ICE redeclaring struct as template)
...
cp:
PR c++/18758
* parser.c (cp_parser_class_head): Return NULL_TREE when
push_template_decl fails. Update comment.
testsuite:
PR 18758
* g++.dg/parse/crash21.C: New.
From-SVN: r91636
2004-12-02 13:35:15 +00:00
Paolo Carlini
9b8d9ac39f
testsuite_io.h (class sync_buf): New, templatized version of sync_streambuf; add typedefs for streambuf/wstreambuf.
...
2004-12-02 Paolo Carlini <pcarlini@suse.de>
* testsuite/testsuite_io.h (class sync_buf): New, templatized
version of sync_streambuf; add typedefs for streambuf/wstreambuf.
(class fail_buf): Likewise, for fail_streambuf.
(class fail_num_get): Templatize and add char/wchar_t typedefs.
(class fail_num_put): Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/
exceptions_badbit_throw.cc: Use the latter.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/
exceptions_failbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/
exceptions_failbit_throw.cc: Likewise.
From-SVN: r91635
2004-12-02 13:24:46 +00:00
Andreas Schwab
1afffb0073
Makefile.in (WERROR_FLAGS): Renamed from WERROR.
...
* Makefile.in (WERROR_FLAGS): Renamed from WERROR.
(STRICT2_WARN): Use $(WERROR_FLAGS) instead of $(WERROR).
(STAGE2_FLAGS_TO_PASS): Likewise.
* config/i386/x-mingw32: Set WERROR_FLAGS instead of WERROR.
From-SVN: r91634
2004-12-02 12:12:09 +00:00
Kriang Lerdsuwanakij
28e42b7eac
PR c++/15664, c++/18276
...
PR c++/15664, c++/18276
* pt.c (tsubst_decl) <TEMPLATE_DECL case>: Reorganize. Correctly
tsubst TEMPLATE_DECL that is a TEMPLATE_TEMPLATE_PARM.
* g++.dg/template/ttp13.C: New test.
* g++.dg/template/ttp14.C: Likewise.
From-SVN: r91633
2004-12-02 12:00:43 +00:00
Kriang Lerdsuwanakij
a5e515185a
re PR c++/18123 (ICE on templated enum)
...
PR c++/18123
* parser.c (cp_parser_type_specifier): Catch template declaration
of enum.
* g++.dg/parse/enum2.C: New test.
* g++.old-deja/g++.pt/enum5.C: Adjust error location.
From-SVN: r91630
2004-12-02 11:34:56 +00:00
Nick Clifton
1a06672a3b
xstormy16: New test directory.
...
* gcc.target/xstormy16: New test directory.
* gcc.target/xstormy16/xstormy16.exp: Run the new tests.
* gcc.target/xstormy16/bp.c: Check the generation of bp instructions.
* gcc.target/xstormy16/below_100.c: Check the generation of bp and bn
instructions and the BELOW100 attribute.
From-SVN: r91627
2004-12-02 11:10:38 +00:00
Richard Sandiford
4cf93d7c05
Fix last entry (remove config/ from pathname).
...
From-SVN: r91626
2004-12-02 11:10:30 +00:00
Richard Sandiford
afabd8e62c
Introduce and use config/gcc-version.m4.
...
From-SVN: r91625
2004-12-02 11:05:13 +00:00
Alan Modra
5191f2ba91
re PR target/16952 (GCC for powerpc cross target with -mrelocatable reports error)
...
PR target/16952
* gcc.dg/ppc-eabi.c: New.
From-SVN: r91619
2004-12-02 17:00:42 +10:30
Alan Modra
f4f4921e08
rs6000.c (rs6000_assemble_integer): Put back the #ifdef RELOCATABLE_NEEDS_FIXUP.
...
* config/rs6000/rs6000.c (rs6000_assemble_integer): Put back the
#ifdef RELOCATABLE_NEEDS_FIXUP.
From-SVN: r91617
2004-12-02 16:44:16 +10:30