OSDN Git Service
kargl [Mon, 28 Feb 2005 01:28:09 +0000 (01:28 +0000)]
* gfortran.dg/boz_1.f90: New test.
* gfortran.dg/boz_3.f90: New test.
* gfortran.dg/boz_4.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95646
138bc75d-0d04-0410-961f-
82ee72b054a4
kargl [Mon, 28 Feb 2005 00:40:03 +0000 (00:40 +0000)]
* gfortran.dg/ishft.f90: Remove kind suffix from BOZ constant
* gfortran.fortran-torture/execute/intrinsic_mvbits.f90: ditto
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95644
138bc75d-0d04-0410-961f-
82ee72b054a4
kargl [Mon, 28 Feb 2005 00:38:12 +0000 (00:38 +0000)]
PR fortran/20058
* trans-types.c (gfc_max_integer_kind): Declare
(gfc_init_kinds): Initialize it.
* gfortran.h (gfc_max_integer_kind): extern it.
* primary.c (match_boz_constant): Use it; remove gfortran extension
of kind suffixes on BOZ literal constants
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95643
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 28 Feb 2005 00:16:23 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95639
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Sun, 27 Feb 2005 20:59:02 +0000 (20:59 +0000)]
2005-02-27 Toon Moene <toon@moene.indiv.nluug.nl>
* ChangeLog: Fix typo in Peter O'Gorman's name.
* runtime/environ.c: Update copyright years.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95635
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Sun, 27 Feb 2005 20:11:01 +0000 (20:11 +0000)]
* io/write.c: Update copyright years.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95630
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Sun, 27 Feb 2005 19:47:12 +0000 (19:47 +0000)]
libgfortran/
2005-02-27 Fran��ois-Xavier Coudert <coudert@clipper.ens.fr>
PR libfortran/20101
* write.c (output_float): Adding special check for value 0.0 in
PE format.
gcc/testsuite/
2005-02-27 Fran��ois-Xavier Coudert <coudert@clipper.ens.fr>
PR libfortran/20101
* gfortran.dg/write_0_pe_format.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95628
138bc75d-0d04-0410-961f-
82ee72b054a4
sveinse [Sun, 27 Feb 2005 18:50:47 +0000 (18:50 +0000)]
Changed my own email address
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95627
138bc75d-0d04-0410-961f-
82ee72b054a4
kargl [Sun, 27 Feb 2005 17:32:26 +0000 (17:32 +0000)]
* arith.c (gfc_check_real_range): Remove multiple returns
(check_result): New function.
(gfc_arith_uminus,gfc_arith_plus,gfc_arith_times,
gfc_arith_divide,gfc_arith_power,gfc_arith_minus): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95624
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sun, 27 Feb 2005 17:13:28 +0000 (17:13 +0000)]
PR c++/20206
* decl.c (cxx_comdat_group): Put thunks for
TARGET_USE_LOCAL_THUNK_ALIAS_P (function) functions into the same
comdat group as the thunk target.
* g++.dg/opt/thunk2.C: New test.
* g++.dg/opt/covariant1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95619
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sun, 27 Feb 2005 16:32:12 +0000 (16:32 +0000)]
PR rtl-optimization/17728
* pa.md (mulsi3, divsi3, udivsi3, modsi3): Change predicate for
operand 0 from general_operand to move_dest_operand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95616
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Sun, 27 Feb 2005 16:17:56 +0000 (16:17 +0000)]
libgfortran/
* io/write.c (output_float): Fix typo in condition.
gcc/testsuite/
* gfortran.dg/e_d_fmt.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95615
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 27 Feb 2005 13:55:32 +0000 (13:55 +0000)]
* treelang.texi: Fix a typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95611
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 27 Feb 2005 13:49:37 +0000 (13:49 +0000)]
* gcc.dg/asm-b.c: Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95609
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Sun, 27 Feb 2005 04:37:23 +0000 (04:37 +0000)]
2005-02-26 Andrew Pinski <pinskia@physics.uc.edu>
* gcc.dg/tree-ssa/inline_asm-2.c: link_error produces
a V_MAY_DEF also.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95606
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sun, 27 Feb 2005 04:22:06 +0000 (04:22 +0000)]
* pa/elf.h, pa/som.h (ASM_OUTPUT_EXTERNAL): Use assemble_name_raw
instead of trying to save and restore TREE_SYMBOL_REFERENCED.
* pa/pa64-hpux.h (ASM_OUTPUT_TYPE_DIRECTIVE): Define.
(ASM_OUTPUT_EXTERNAL): Don't save and restore TREE_SYMBOL_REFERENCED.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95605
138bc75d-0d04-0410-961f-
82ee72b054a4
dannysmith [Sun, 27 Feb 2005 01:12:13 +0000 (01:12 +0000)]
* seh_init.c (__gnat_SEH_error_handler): Mark third and fourth
parameters as unused.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95604
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 27 Feb 2005 00:16:40 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95601
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sat, 26 Feb 2005 23:34:36 +0000 (23:34 +0000)]
2005-02-26 Earl Chew <earl_chew@agilent.com>
Christopher Jefferson <chris@bubblescope.net>
* include/bits/stl_tree.h (_Rb_tree<>::_M_insert): Don't leak
memory if _M_key_compare throws.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95597
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Sat, 26 Feb 2005 21:43:33 +0000 (21:43 +0000)]
(top level)
Merged from libada-gnattools-branch:
2004-11-28 Nathanael Nerode <neroden@gcc.gnu.org>
* gnattools: New directory.
* Makefile.def: Add gnattools as a module, depending on target-libada.
* Makefile.in: Regenerate.
* configure.in: Include gnattools in host_tools; disable it if ada
is disabled.
* configure: Regenerate.
(gcc)
* configure.ac: Rename cc_for_cross_gnattools to host_cc_for_libada.
* configure: Regenerate.
* libada-mk.in: Remove CC; rename
cc_for_cross_gnattools / cc_set_by_configure to host_cc_for_libada.
(gcc/ada)
Partial merge from libada-gnattools-branch:
2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Move gnattools{1,1re,2,3,4} and corresponding flags
into code in gnattools/Makefile.in. Remove direct dependencies on
stamp-tools by tools clauses.
2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
* config-lang.in: Add gnattools to $lang_dirs.
(libada)
2004-12-03 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Add stamp file for building libada, to avoid
duplicate builds every time all-gnattools is called.
2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Build gcc/ada/Makefile (by running gcc/ada/configure)
here.
2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.ac: Replace AC_CANONICAL_SYSTEM with _BUILD, _HOST,
_TARGET.
* configure: Regenerate.
2004-07-18 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.ac, Makefile.in: Remove gnattools-specific code
(see gnattools directory).
* Makefile.in: Remove dead rts-* targets.
* configure: Regenerate.
(gnattools)
2005-02-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Remove use of cc_set_by_configure; just use
plain old CC from the top level in this case.
2005-01-30 Nathanael Nerode <neroden@gcc.gnu.org>
Merge from mainline at tag libada-gnattools-merge-
20050129:
* configure.ac: Changes propagated from gcc/ada/Makefile.in.
* Makefile.in: Changes relocated from gcc/ada/Makefile.in.
2004-12-13 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Reinstate stamp-gnatlib check.
2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Inline gnattools{1,1-re,2,3,4} targets from
gcc/ada/configure.ac into gnattools-native and gnattools-cross
targets, collecting flags as appropriate from here,
gcc/ada/Makefile.in, gcc/ada/configure.ac, etc. Attempt to retain
identical behavior.
* configure.ac: Add necessary configure bits from
gcc/ada/configure.ac.
* configure: Regenerate.
2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.ac: Replace AC_CANONICAL_SYSTEM with _BUILD, _HOST,
_TARGET. Replace _GCC_TOPLEV_NONCANONICAL_TARGET with
ACX_NONCANONICAL_TARGET, and replace now-redundant AC_SUBST.
* configure: Regenerate.
2004-07-18 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in, configure.ac: Remove libada-specific targets and
variables.
* configure: Regenerate.
* New directory, cloned from libada.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95594
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Sat, 26 Feb 2005 18:33:11 +0000 (18:33 +0000)]
2005-02-26 Peter O'Gorman <peter@pogman.com>
Toon Moene <toon@moene.indiv.nluug.nl>
PR libgfortran/17748
* runtime/environ.c: Remove references to environ.
(show_variables): remove GFORTRAN_UNBUFFERED_* and
GFORTRAN_NAME_* because they require environ.
(pattern_scan): Remove function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95593
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Sat, 26 Feb 2005 16:15:25 +0000 (16:15 +0000)]
2005-02-26 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/20188
* gcc.dg/tree-ssa/inline_asm-1.c: New test.
* gcc.dg/tree-ssa/inline_asm-2.c: New test.
* gcc.dg/asm-b.c: New test.
2005-02-26 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/20188
* tree-ssa-alias.c (count_uses_and_derefs): If we have TREE_LIST
for the lhs, also walk over the tree. Likewise for rhs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95586
138bc75d-0d04-0410-961f-
82ee72b054a4
phython [Sat, 26 Feb 2005 16:09:33 +0000 (16:09 +0000)]
2005-02-26 James A. Morrison <phython@gcc.gnu.org>
* compile/var_defs: Add uninitialized variables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95585
138bc75d-0d04-0410-961f-
82ee72b054a4
phython [Sat, 26 Feb 2005 16:07:49 +0000 (16:07 +0000)]
2005-02-26 James A. Morrison <phython@gcc.gnu.org>
* parse.y (function_invocation, variable-ref, make_plus_expression):
Pass location to tree_code_get_expression.
* treetree.c (tree_code_generate_return): Set EXPR_LOCUS on retval.
(tree_code_get_expression): Wrap variable references in NOP_EXPRs and
set EXPR_LOCATION on ret1.
* treetree.h (tree_code_get_expression): Take the location of the
expression as an argument.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95584
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Sat, 26 Feb 2005 15:40:07 +0000 (15:40 +0000)]
* dyn_load.c: On NetBSD, include machine/elf_machdep.h and define
ELFSIZE in terms of ARCH_ELFSIZE (back-ported from gc7.0alpha1).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95582
138bc75d-0d04-0410-961f-
82ee72b054a4
phython [Sat, 26 Feb 2005 14:12:05 +0000 (14:12 +0000)]
2005-02-26 James A. Morrison <phython@gcc.gnu.org>
* compile/extrafunc.tree, compile/extravar.tree: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95581
138bc75d-0d04-0410-961f-
82ee72b054a4
phython [Sat, 26 Feb 2005 14:10:11 +0000 (14:10 +0000)]
2005-02-26 James A. Morrison <phython@gcc.gnu.org>
* treelang.texi: Treelang does have warnings.
* treetree.c (tree_code_create_function_prototype): Don't set
TREE_USED and set TREE_PUBLIC, DECL_EXTERNAL, and TREE_STATIC
as few times as needed on the function declaration.
(tree_code_create_function_initial): Don't set TREE_USED,
TREE_ADDRESSABLE, but set TREE_STATIC on the function declaration.
(tree_code_create_variable): Don't set TREE_USED on VAR_DECL.
(tree_code_get_expression): Set TREE_USED for variable references
and function calls.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95580
138bc75d-0d04-0410-961f-
82ee72b054a4
phython [Sat, 26 Feb 2005 14:05:15 +0000 (14:05 +0000)]
2005-02-26 James A. Morrison <phython@gcc.gnu.org>
* compile/unsigned.tree: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95579
138bc75d-0d04-0410-961f-
82ee72b054a4
phython [Sat, 26 Feb 2005 14:01:03 +0000 (14:01 +0000)]
2005-02-26 James A. Morrison <phython@gcc.gnu.org>
* parse.y: Do comparisons as the type of the first expression.
* treetree.c (tree_code_get_integer_value): Build integer constants
with the proper type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95578
138bc75d-0d04-0410-961f-
82ee72b054a4
phython [Sat, 26 Feb 2005 13:43:39 +0000 (13:43 +0000)]
2005-02-26 James A. Morrison <phython@gcc.gnu.org>
* Make-lang.in: Remove commented out code.
* lang-specs.h: Always pass -dumpbase to tree1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95577
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Sat, 26 Feb 2005 10:05:49 +0000 (10:05 +0000)]
* gcc.c-torture/execute/ieee/mul-subnormal-single-1.x: New file.
Disable this test on IRIX 6.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95572
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Sat, 26 Feb 2005 07:55:28 +0000 (07:55 +0000)]
* tree-ssa-dom.c (simple_iv_increment_p): New function.
(simplify_rhs_and_lookup_avail_expr, eliminate_redundant_computations):
Do not propagate value of iv before increment over the increment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95571
138bc75d-0d04-0410-961f-
82ee72b054a4
phython [Sat, 26 Feb 2005 00:25:52 +0000 (00:25 +0000)]
2005-02-25 James A. Morrrison <phython@gcc.gnu.org>
* treelang.texi: Remove extra contribution notice.
Split up some run-on sentences. Document function parameters
as optional. Indicate automatic variables can now be at any scope.
Mention literals are only signed if they are preceded by a unary
plus or minus. Clarify interoperability with C.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95569
138bc75d-0d04-0410-961f-
82ee72b054a4
phython [Sat, 26 Feb 2005 00:17:02 +0000 (00:17 +0000)]
2005-02-25 James A. Morrison <phython@gcc.gnu.org>
* treelang.texi: Fix whitespacing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95568
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 26 Feb 2005 00:16:41 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95566
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 25 Feb 2005 23:32:16 +0000 (23:32 +0000)]
* cpplib.pot: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95560
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 25 Feb 2005 23:31:10 +0000 (23:31 +0000)]
* gcc.pot: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95559
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 25 Feb 2005 23:20:48 +0000 (23:20 +0000)]
* c-parser.c: New file.
* c-parse.in: Remove.
* Makefile.in (c-parse.o-warn, c-parse.o, c-parse.c, c-parse.y):
Remove.
(c-parser.o): Add dependencies.
(C_AND_OBJC_OBJC, C_OBJS, gcc.srcextra, GTFILES, distclean,
maintainer-clean, TAGS): Update.
* c-config-lang.in (gtfiles): Update.
* gengtype-lex.l: Don't handle "@@".
* stub-objc.c (objc_get_class_ivars, objc_build_throw_stmt,
objc_build_synchronized, objc_begin_try_stmt,
objc_begin_catch_clause, objc_finish_catch_clause,
objc_build_finally_clause, objc_finish_try_stmt): New.
* c-tree.h (struct c_declspecs): Add declspecs_seen_p and
type_seen_p.
(c_parse_init): Update comment.
* c-decl.c (c_init_decl_processing): Update comment.
(build_null_declspecs, declspecs_add_qual, declspecs_add_type,
declspecs_add_scspec, declspecs_add_attrs): Initialize and update
new c_declspecs members.
objc:
* Make-lang.in (objc/objc-parse.o-warn, objc/objc-parse.o,
objc/objc-parse.c, objc/objc-parse.y): Remove
(OBJC_OBJS, objc.srcextra, objc.tags, objc.mostlyclean,
objc.distclean, objc.maintainer-clean): Update for new parser.
* config-lang.in (gtfiles): Update for new parser.
testsuite:
* gcc.dg/cpp/separate-1.c, gcc.dg/noncompile/971104-1.c,
gcc.dg/noncompile/990416-1.c: Adjust expected messages for new
parser.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95558
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 25 Feb 2005 22:55:06 +0000 (22:55 +0000)]
* crontab: Adjust for 4.0 branch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95554
138bc75d-0d04-0410-961f-
82ee72b054a4
jules [Fri, 25 Feb 2005 22:32:56 +0000 (22:32 +0000)]
* gcc/config/elfos.h (MAKE_DECL_ONE_ONLY): Redefined to stop DECL_WEAK
from being used for symbols with vague linkage when
HAVE_GAS_COMDAT_GROUP is true.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95553
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 25 Feb 2005 22:14:01 +0000 (22:14 +0000)]
* doc/include/gcc-common.texi (version-GCC): Update to 4.1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95551
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Fri, 25 Feb 2005 21:34:49 +0000 (21:34 +0000)]
PR target/19930
* doc/tm.texi (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Document.
(LIBGCC2_HAS_DF_MODE): New.
(LIBGCC2_HAS_XF_MODE): New.
(LIBGCC2_HAS_TF_MODE): New.
* libgcc2.h (LIBGCC2_HAS_XF_MODE): New name for HAVE_XFMODE.
(LIBGCC2_HAS_TF_MODE): New name for HAVE_TFMODE.
* libgcc2.c (LIBGCC2_HAS_XF_MODE): New name for HAVE_XFMODE.
(LIBGCC2_HAS_TF_MODE): New name for HAVE_TFMODE.
(LIBGCC2_HAS_DF_MODE): New name for HAVE_DFMODE.
* config/ia64/t-ia64 (LIB1ASMFUNCS): Remove __compat
and add _fixtfdi, _fixunstfdi, _floatditf
* lib1funcs.asm: Remove L__compat. Add L_fixtfdi,
L_fixunstfdi, L_floatditf.
* config/ia64/hpux.h (LIBGCC2_HAS_XF_MODE): Define.
(LIBGCC2_HAS_TF_MODE): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95548
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Fri, 25 Feb 2005 21:12:34 +0000 (21:12 +0000)]
PR tree-optimization/20204
* tree-into-ssa.c (insert_phi_nodes_for): Do not use
REWRITE_THIS_STMT markers on PHI nodes.
(rewrite_initialize_block): Likewise.
testsuite/ChangeLog
PR tree-optimization/20204
* testsuite/gcc.dg/pr20204.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95547
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 25 Feb 2005 20:42:30 +0000 (20:42 +0000)]
* version.c (version_string): Update to 4.1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95545
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 25 Feb 2005 18:29:28 +0000 (18:29 +0000)]
2005-02-25 Paolo Carlini <pcarlini@suse.de>
* doc/extend.texi (5.24 Declaring Attributes of Functions)<noreturn>:
Clarify that the alternative way doesn't work in GNU C++.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95542
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 25 Feb 2005 18:17:06 +0000 (18:17 +0000)]
2005-02-25 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Add the trivial is_union and is_class;
add the __is_union_or_class extension.
(is_enum, is_empty): Use the latter.
* include/tr1/type_traits_fwd.h: Add __is_union_or_class.
* testsuite/testsuite_tr1.h: Add UnionType; trivial formatting
fixes.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_union_or_class/is_union_or_class.cc: New.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_union_or_class/typedefs.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95541
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Fri, 25 Feb 2005 17:09:12 +0000 (17:09 +0000)]
* tree-ssa-dom.c (simple_iv_increment_p): New function.
(simplify_rhs_and_lookup_avail_expr, eliminate_redundant_computations):
Do not propagate value of iv before increment over the increment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95540
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Fri, 25 Feb 2005 12:07:11 +0000 (12:07 +0000)]
PR tree-optimization/19937
* tree-ssa-loop-ivopts.c (rewrite_use_compare): Cast the final value
to the type of the induction variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95535
138bc75d-0d04-0410-961f-
82ee72b054a4
kkojima [Fri, 25 Feb 2005 07:13:25 +0000 (07:13 +0000)]
PR rtl-optimization/20117
* bb-reorder.c (duplicate_computed_gotos): Don't duplicate
the block including noncopyable insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95533
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 25 Feb 2005 03:45:37 +0000 (03:45 +0000)]
* cse.c (delete_trivially_dead_insns): Speed up by minimizing
calls to find_reg_note.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95532
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 25 Feb 2005 01:56:14 +0000 (01:56 +0000)]
PR tree-opt/20127
* tree-sra.c (instantiate_element): Copy TREE_THIS_VOLATILE from
the type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95530
138bc75d-0d04-0410-961f-
82ee72b054a4
fjahanian [Fri, 25 Feb 2005 01:16:17 +0000 (01:16 +0000)]
config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Check for
vector types if to use base reg for misaligned non-word ld/std.
OKed by David Edelsohn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95529
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 25 Feb 2005 00:16:23 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95524
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 24 Feb 2005 22:17:42 +0000 (22:17 +0000)]
PR target/14619
* config/cris/cris.c (cris_target_asm_function_prologue): Create
dwarf2 label manually and put it after, not before the prologue.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95521
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 24 Feb 2005 22:09:35 +0000 (22:09 +0000)]
* config/rs6000/rs6000.md (trunctfdf2): Remove register constraints.
Fix formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95520
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 24 Feb 2005 22:06:06 +0000 (22:06 +0000)]
* reload.c (operands_match_p): Only increment register number for
SCALAR_INT_MODE_P modes in multiple hard registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95519
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Thu, 24 Feb 2005 21:59:24 +0000 (21:59 +0000)]
* decl.c, resolve.c, trans-array.c, trans.h: Fix comment typo(s).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95518
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Thu, 24 Feb 2005 21:55:15 +0000 (21:55 +0000)]
* call.c, class.c, cp-tree.h, decl2.c, error.c, init.c, mangle.c,
parser.c: Fix comment typo(s).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95517
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Thu, 24 Feb 2005 21:47:26 +0000 (21:47 +0000)]
* ChangeLog.5: Fix log message typo(s).
* ChangeLog.7: Likewise.
* ChangeLog.tree-ssa: Likewise.
* cfgexpand.c: Fix comment typo(s).
* conflict.c: Likewise.
* defaults.h: Likewise.
* dwarf2out.c: Likewise.
* gcse.c: Likewise.
* ggc-page.c: Likewise.
* tree-eh.c: Likewise.
* tree-ssa-dom.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95516
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 24 Feb 2005 21:33:04 +0000 (21:33 +0000)]
PR target/19019
* mklibgcc.in: Pass -DSHARED when compiling all *_s${objext} objects.
* config/rs6000/darwin-ldouble.c: Only use the .symver directives
if SHARED is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95515
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 24 Feb 2005 21:32:53 +0000 (21:32 +0000)]
2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
wchar_t use with _GLIBCXX_USE_WCHAR_T.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95514
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 24 Feb 2005 21:23:14 +0000 (21:23 +0000)]
PR target/20196
* config/rs6000/rs6000.md (LTU, GTU sCC splitters): Add earlyclobber,
allow splitting only if operands 0 and 3 don't overlap.
* gcc.c-torture/execute/
20050224-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95513
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 24 Feb 2005 21:21:28 +0000 (21:21 +0000)]
PR c++/20175
* decl.c (reshape_init): Don't warn about missing braces if STRING_CST
initializes a char/wchar_t array.
* g++.dg/warn/Wbraces2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95512
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 24 Feb 2005 20:00:09 +0000 (20:00 +0000)]
PR middle-end/19953
* builtins.c (fold_builtin_complex_mul, fold_builtin_complex_div): New.
(fold_builtin_1): Call them.
* fold-const.c (fold_complex_mult_parts): Split out from ...
(fold_complex_mult): ... here. Fix typo in both imaginary case.
(fold_complex_div_parts, fold_complex_div): New.
(fold): Use them.
* tree.h (fold_complex_mult_parts, fold_complex_div_parts): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95511
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 24 Feb 2005 18:58:04 +0000 (18:58 +0000)]
* tree-ssa-ccp.c (visit_assignment): Verify that result of
VIEW_CONVERT_EXPR is_gimple_min_invariant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95510
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 24 Feb 2005 18:55:51 +0000 (18:55 +0000)]
2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
* include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to
_GLIBCXX_USE_C99_COMPLEX.
* acinclude.m4: Same.
* acconfig.h: Same.
* configure: Regenerate.
* config.h.in: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95508
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 24 Feb 2005 18:53:40 +0000 (18:53 +0000)]
* print-tree.c (print_node_brief): Print LABEL_DECL_UID.
(print_node): Likewise.
Print TYPE_SIZES_GIMPLIFIED.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95507
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Thu, 24 Feb 2005 18:26:27 +0000 (18:26 +0000)]
Unrevert previously reversed patch, adding this patch:
* module.c (find_true_name): Deal with NULL module.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95506
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 24 Feb 2005 16:59:25 +0000 (16:59 +0000)]
* config/cris/cris.md ("umulhisi3", "umulqihi3", "mulsi3")
("mulqihi3", "mulhisi3", "mulsidi3", "umulsidi3"): Mark input
operands as commutative in constraints.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95505
138bc75d-0d04-0410-961f-
82ee72b054a4
phython [Thu, 24 Feb 2005 16:24:25 +0000 (16:24 +0000)]
2005-02-24 James A. Morrison <phython@gcc.gnu.org>
PR other/19896
* execute/execute.exp: New file.
* execute/funccall.tree, execute/funccall-2.tree, execute/initial.tree,
execute/main.tree, execute/static.tree: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95504
138bc75d-0d04-0410-961f-
82ee72b054a4
phython [Thu, 24 Feb 2005 16:23:14 +0000 (16:23 +0000)]
2005-02-24 James A. Morrison <phython@gcc.gnu.org>
PR other/19896
* treetree.c (tree_code_create_variable): Initialize DECL_EXTERNAL,
TREE_PUBLIC, and TREE_STATIC for var_decl to zero. Don't call
rest_of_decl_compilation on static variables.
(pushdecl): Put DECL_EXPRs into the current BIND_EXPR for automatic
variables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95503
138bc75d-0d04-0410-961f-
82ee72b054a4
phython [Thu, 24 Feb 2005 16:14:19 +0000 (16:14 +0000)]
2005-02-24 James A. Morrison <phython@gcc.gnu.org>
PR other/19897
* compile/exit.tree, compile/extref.tree, compile/function-1.tree,
compile/syntax-1.tree: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95502
138bc75d-0d04-0410-961f-
82ee72b054a4
phython [Thu, 24 Feb 2005 16:12:39 +0000 (16:12 +0000)]
2005-02-24 James A. Morrison <phython@gcc.gnu.org>
* parse.y: (function_prototype): Accept EXTERNAL_REFERENCE_STORAGE.
Move function parameters check from ...
(function): ...Here. Update call to tree_code_create_function_initial.
(function_invocation): Use expressions_with_commas_opt instead of
expressions_with_commas.
(expressions_with_commas_opt): New rule.
* treetree.c (tree_code_create_function_prototype): Create PARM_DECLs
for function parameters.
(tree_code_create_function_initial): Remove PARMS parameter.
Don't create PARM_DECLs for function parameters.
* treetree.h (tree_code_create_function_initial): Remove PARMS
parameter.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95501
138bc75d-0d04-0410-961f-
82ee72b054a4
phython [Thu, 24 Feb 2005 15:59:25 +0000 (15:59 +0000)]
2005-02-24 James A. Morrison <phython@gcc.gnu.org>
* MAINTAINERS (Language Front Ends Maintainers): Add myself as
treelang maintainer.
(Write After Approval): Remove myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95500
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Thu, 24 Feb 2005 14:18:46 +0000 (14:18 +0000)]
* tree-into-ssa.c: Re-organize internal functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95499
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Thu, 24 Feb 2005 13:01:44 +0000 (13:01 +0000)]
Revert yesterday's patch:
2005-02-23 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
* gfortran.h (gfc_component, gfc_actual_arglist, ...
... argument. Copy string instead of pointing to it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95496
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 24 Feb 2005 09:24:17 +0000 (09:24 +0000)]
PR middle-end/18902
* c-opts.c (c_common_post_options): Set flag_complex_method to 2
for c99.
* common.opt (fcx-limited-range): New.
* opts.c (set_fast_math_flags): Set flag_cx_limited_range.
* toplev.c (flag_complex_method): Initialize to 1.
(process_options): Set flag_complex_method to 0 if
flag_cx_limited_range.
* doc/invoke.texi (-fcx-limited-range): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95493
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 24 Feb 2005 09:01:52 +0000 (09:01 +0000)]
2005-02-24 Paolo Carlini <pcarlini@suse.de>
* include/tr1/functional (mem_fn): Avoid _T, badname on
Darwin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95492
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 24 Feb 2005 07:15:55 +0000 (07:15 +0000)]
2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/font/TextAttribute.java: changed names to lower case;
(readResolve): implemented.
Added doc comments all over.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95491
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 24 Feb 2005 02:42:17 +0000 (02:42 +0000)]
PR c++/19878
* decl.c (grokvardecl): Set DECL_INTERFACE_KNOWN for declarations
with internal linkage.
PR c++/19878
* g++.dg/init/const2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95490
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 24 Feb 2005 01:55:11 +0000 (01:55 +0000)]
* cse.c (delete_trivially_dead_insns): Speed up by using
NEXT_INSN and PREV_INSN directly instead of next_real_insn and
prev_real_insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95488
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Thu, 24 Feb 2005 01:51:30 +0000 (01:51 +0000)]
* config/m68k/m68k.c (m68k_save_reg): Also save A5 for non-leaf
functions when -mid-shared-library is being used.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95487
138bc75d-0d04-0410-961f-
82ee72b054a4
dgregor [Thu, 24 Feb 2005 01:16:08 +0000 (01:16 +0000)]
TR1 mem_fn and function support
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95486
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 24 Feb 2005 00:16:34 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95481
138bc75d-0d04-0410-961f-
82ee72b054a4
drow [Wed, 23 Feb 2005 23:11:08 +0000 (23:11 +0000)]
* doc/tm.texi (LINK_LIBGCC_SPECIAL): Remove.
(LINK_LIBGCC_SPECIAL_1): Don't mention it.
* gcc.c: Don't check for LINK_LIBGCC_SPECIAL.
* system.h: Poison LINK_LIBGCC_SPECIAL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95476
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 23 Feb 2005 22:30:01 +0000 (22:30 +0000)]
Fix problem found by CFLAGS=-fmudflap build.
* Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95475
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Wed, 23 Feb 2005 22:20:48 +0000 (22:20 +0000)]
PR tree-optimization/20100
* gcc.c-torture/execute/pr20100-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95474
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 23 Feb 2005 22:16:07 +0000 (22:16 +0000)]
Fix out-of-bounds array access found by mudflap.
* gengtype.c (note_insn_name): Make 1 element larger.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95473
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Wed, 23 Feb 2005 22:14:12 +0000 (22:14 +0000)]
* gfortran.h (gfc_component, gfc_actual_arglist, gfc_user_op): Make
'name' a 'const char *'.
(gfc_symbol): Likewise, also for 'module'.
(gfc_symtree): Make 'name' a 'const char *'.
(gfc_intrinsic_sym): Likewise, also for 'lib_name'.
(gfc_get_gsymbol, gfc_find_gsymbol): Add 'const' qualifier to
'char *' argument.
(gfc_intrinsic_symbol): Use 'gfc_get_string' instead of 'strcpy' to
initialize 'SYM->module'.
* check.c (gfc_check_minloc_maxloc, check_reduction): Check for NULL
pointer instead of empty string.
* dump-parse-tree.c (gfc_show_actual_arglist): Likewise.
* interface.c (gfc_compare_types): Adapt check to account for possible
NULL pointer.
(compare_actual_formal): Check for NULL pointer instead of empty
string.
* intrinsic.c (gfc_current_intrinsic, gfc_current_intrinsic_arg):
Add 'const' qualifier.
(conv_name): Return a heap allocated string.
(find_conv): Add 'const' qualifier to 'target'.
(add_sym): Use 'gfc_get_string' instead of 'strcpy'.
(make_generic): Check for NULL pointer instead of emptystring.
(make_alias): Use 'gfc_get_string' instead of 'strcpy'.
(add_conv): No need to strcpy result from 'conv_name'.
(sort_actual): Check for NULL pointer instead of emptystring.
* intrinsic.h (gfc_current_intrinsic, gfc_current_intrinsic_arg):
Adapt prototype.
* module.c (compare_true_names): Compare pointers instead of strings
for 'module' member.
(find_true_name): Initialize string fields with gfc_get_string.
(mio_pool_string): New function.
(mio_internal_string): Adapt comment.
(mio_component_ref, mio_component, mio_actual_arg): Use
'mio_pool_string' instead of 'mio_internal_string'.
(mio_symbol_interface): Add 'const' qualifier to string arguments.
Add level of indirection. Use 'mio_pool_string' instead of
'mio_internal_string'.
(load_needed, read_module): Use 'gfc_get_string' instead of 'strcpy'.
(write_common, write_symbol): Use 'mio_pool_string' instead of
'mio_internal_string'.
(write_symbol0, write_symbol1): Likewise, also check for NULL pointer
instead of empty string.
(write_operator, write_generic): Pass correct type variable to
'mio_symbol_interface'.
(write_symtree): Use 'mio_pool_string' instead of
'mio_internal_string'.
* primary.c (match_keyword_arg): Adapt check to possible
case of NULL pointer. Use 'gfc_get_string' instead of 'strcpy'.
* symbol.c (gfc_add_component, gfc_new_symtree, delete_symtree,
gfc_get_uop, gfc_new_symbol): Use 'gfc_get_string' instead of
'strcpy'.
(ambiguous_symbol): Check for NULL pointer instead of empty string.
(gfc_find_gsymbol, gfc_get_gsymbol): Add 'const' qualifier on string
arguments.
* trans-array.c (gfc_trans_auto_array_allocation): Check for NULL
pointer instead of empty string.
* trans-decl.c (gfc_sym_mangled_identifier,
gfc_sym_mangled_function_id, gfc_finish_var_decl, gfc_get_symbol_decl,
gfc_get_symbol_decl): Likewise.
* trans-io.c (gfc_new_nml_name_expr): Add 'const' qualifier to
argument. Copy string instead of pointing to it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95472
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Wed, 23 Feb 2005 21:34:11 +0000 (21:34 +0000)]
* gfortran.h (gfc_expr): Move 'operator', 'op1', 'op2', and 'uop'
fields into new struct 'op' inside the 'value' union.
* arith.c (eval_intrinsic): Adapt all users.
* dependency.c (gfc_check_dependency): Likewise.
* dump-parse-tree.c (gfc_show_expr): Likewise.
* expr.c (gfc_get_expr): Don't clear removed fields.
(free_expr0, gfc_copy_expr, gfc_type_convert_binary,
gfc_is_constant_expr, simplify_intrinsic_op, check_init_expr,
check_intrinsic_op): Adapt to new field names.
* interface.c (gfc_extend_expr): Likewise. Also explicitly
nullify 'esym' and 'isym' fields of new function call.
* iresolve.c (gfc_resolve_dot_product, gfc_resolve_matmul):
Adapt to renamed structure fields.
* matchexp.c (build_node, match_level_1, match_expr): Likewise.
* module.c (mio_expr): Likewise.
* resolve.c (resolve_operator): Likewise.
(gfc_find_forall_index): Likewise. Only look through operands
if dealing with EXPR_OP
* trans-array.c (gfc_walk_op_expr): Adapt to renamed fields.
* trans-expr.c (gfc_conv_unary_op, gfc_conv_power_op,
gfc_conv_concat_op, gfc_conv_expr_op): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95471
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Wed, 23 Feb 2005 20:56:58 +0000 (20:56 +0000)]
fortran/
* gfortran.h (symbol_attribute): New 'untyped' field, fix comment
formatting.
* symbol.c (gfc_set_default_type): Issue error only once, by setting
and checking 'untyped' attribute.
testsuite/
* gfortran.dg/deftype_1.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95469
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Wed, 23 Feb 2005 19:02:29 +0000 (19:02 +0000)]
fortran/
* gfortran.h (gfc_get_namespace): Add second argument to prototype.
* intrinsic.c (gfc_intrinsic_init_1): Pass second argument to
gfc_get_namespace.
* module.c (mio_namespace_ref, load_needed): Likewise.
* parse.c (parse_interface, parse_contained): Likewise. Here the
correct second argument matters.
* symbol.c (gfc_get_namespace): Add parent_types argument, only copy
parent's implicit types if this is set.
(gfc_symbol_init_2): Pass second argument to gfc_get_namespace.
* trans-common.c (build_common_decl): Likewise.
testsuite/
* gfortran.dg/implicit_3.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95463
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 23 Feb 2005 18:57:43 +0000 (18:57 +0000)]
gcc/cp/ChangeLog:
* decl.c (grokvardecl): Don't exempt anonymous types from having
linkage for variables that have linkage other than "C".
gcc/testsuite/ChangeLog:
* g++.dg/lookup/anon2.C: Don't let access checks make it look like
the test passes.
* g++.dg/other/anon3.C: Accept a warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95462
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Wed, 23 Feb 2005 18:20:52 +0000 (18:20 +0000)]
PR target/20018
PR rtl-optimization/20097
* simplify-rtx.c (simplify_relational_operation_1): Avoid creating
BImode SUBREGs of SImode registers which confuse the ia64 backend.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95461
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Wed, 23 Feb 2005 18:18:24 +0000 (18:18 +0000)]
* t-aix43 (SHLIB_INSTALL): Create directory for shared library.
* t-aix52 (SHLIB_INSTALL): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95460
138bc75d-0d04-0410-961f-
82ee72b054a4
fitzsim [Wed, 23 Feb 2005 17:36:26 +0000 (17:36 +0000)]
2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
PR libgcj/16923
* gcj.texi (Invocation): Add descriptions of JvVMInitArgs and
JvVMOption.
2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
PR libgcj/16923
* jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
value. Move argument parsing code to prims.cc.
* prims.cc (no_properties): Remove.
(_Jv_Compiler_Properties): Initialize to NULL.
(_Jv_Properties_Count): Initialize to 0.
(parse_verbose_args): New function.
(parse_init_args): New function.
(_Jv_CreateJavaVM): Call parse_init_args.
(_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
* gcj/cni.h (JvVMOption): New struct.
(JvVMInitArgs): Likewise.
(JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
void*.
* libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
(_Jv_VMInitArgs): Likewise.
* include/java-props.h (_Jv_Properties_Count): Declare.
* java/lang/natRuntime.cc (insertSystemProperties): Use
_Jv_Properties_Count in for loop exit condition.
* testsuite/libjava.jni/jni.exp
(gcj_invocation_compile_c_to_binary): New procedure.
(gcj_invocation_test_one): Likewise.
(gcj_jni_run): Run JNI invocation API tests.
* testsuite/libjava.jni/invocation/PR16923.c,
testsuite/libjava.jni/invocation/PR16923.java,
testsuite/libjava.jni/invocation/PR16923.out: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95459
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 23 Feb 2005 17:23:44 +0000 (17:23 +0000)]
2005-02-23 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Implement is_convertible.
* testsuite/tr1/4_metaprogramming/relationships_between_types/
is_convertible/is_convertible.cc: New.
* testsuite/tr1/4_metaprogramming/relationships_between_types/
is_convertible/typedefs.cc: Likewise.
* testsuite/testsuite_tr1.h: Add class DerivedType.
* include/tr1/type_traits (is_function): Don't mistake references
to function types for function types.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_function/is_function.cc: Add testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95458
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 23 Feb 2005 15:14:47 +0000 (15:14 +0000)]
gcc/
* genpreds.c: Update copyright.
cp/
* cp-objcp-common.h, error.c: Update copyright.
fortran/
* intrinsic.h, st.c: Update copyright.
treelang/
* parse.y: Update copyright.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95457
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 23 Feb 2005 14:58:03 +0000 (14:58 +0000)]
* gcc.dg/pr20017.c: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95456
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Wed, 23 Feb 2005 14:05:13 +0000 (14:05 +0000)]
2005-02-22 Andrew Haley <aph@redhat.com>
PR libffi/20104
* src/powerpc/ffi.c (ffi_prep_cif_machdep): Bump alignment to
odd-numbered register pairs for 64-bit integer types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95455
138bc75d-0d04-0410-961f-
82ee72b054a4