gcc.git
19 years agore PR tree-optimization/19337 (ada does not compile at -O3 (nested functions related))
Jan Hubicka [Tue, 25 Jan 2005 19:32:53 +0000 (20:32 +0100)]
re PR tree-optimization/19337 (ada does not compile at -O3 (nested functions related))

PR tree-optimize/19337
* gcc.c-torture/compile/20050119-1.c: New test.

PR tree-optimize/19337
* tree-inline.c (initialize_inlined_parameters): Copy
saved_static_chain_decl only.

From-SVN: r94226

19 years agoclass.c (abort_fndecl_addr): New variable.
Andrew Pinski [Tue, 25 Jan 2005 19:21:30 +0000 (19:21 +0000)]
class.c (abort_fndecl_addr): New variable.

2005-01-25  Andrew Pinski  <pinskia@physics.uc.edu>

        * class.c (abort_fndecl_addr): New variable.
        (build_vtbl_initializer): If we have a pure virtual function
        share the abort function's address.
        Include gt-cp-class.h at the end.
        * config-lang.in (gtfiles): Add cp/class.c.

From-SVN: r94225

19 years ago* Make-lang.in (java/java-tree-inline.o): Removed.
Tom Tromey [Tue, 25 Jan 2005 18:57:44 +0000 (18:57 +0000)]
* Make-lang.in (java/java-tree-inline.o): Removed.

From-SVN: r94224

19 years agore PR target/19556 (ICE with -march=pentium-m (during bootstrap))
Richard Henderson [Tue, 25 Jan 2005 18:43:59 +0000 (10:43 -0800)]
re PR target/19556 (ICE  with -march=pentium-m (during bootstrap))

        PR target/19556
        PR target/19584
        * config/i386/i386.c (x86_inter_unit_moves): Zero.
        (ix86_preferred_reload_class): Rewrite fp-constant section, with
        80387 enabled, to return a proper subclass.  Return the subset that
        overlaps with GENERAL_REGS for PLUS.
        * config/i386/i386.md (movsi_1, movdi_2): Set type to "mmx" for pxor.

From-SVN: r94223

19 years agore PR middle-end/19609 (real and imaginary part interchanged when flags_complex_divid...
Richard Henderson [Tue, 25 Jan 2005 18:19:09 +0000 (10:19 -0800)]
re PR middle-end/19609 (real and imaginary part interchanged when flags_complex_divide_method=1)

        PR middle-end/19609
        * tree-complex.c (expand_complex_div_wide): Use the correct formulae.

From-SVN: r94222

19 years agoacinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math functions...
Benjamin Kosnik [Tue, 25 Jan 2005 15:47:35 +0000 (15:47 +0000)]
acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math functions...

2005-01-25  Benjamin Kosnik  <bkoz@redhat.com>

* acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math
functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist.
* acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH.
* config.h.in: Regenerate.
* configure: Regenerate.
* include/std/std_complex.h: Protect complex builtins with
_GLIBCXX_USE_C99_COMPLEX_MATH.

From-SVN: r94221

19 years agoexpmed.c (choose_multiplier): Change interface to return the multiplier lowpart as...
Roger Sayle [Tue, 25 Jan 2005 14:28:55 +0000 (14:28 +0000)]
expmed.c (choose_multiplier): Change interface to return the multiplier lowpart as an rtx instead of an...

* expmed.c (choose_multiplier): Change interface to return the
multiplier lowpart as an rtx instead of an unsigned HOST_WIDE_INT.
(expand_divmod): Update calls to choose_multiplier.

From-SVN: r94220

19 years agocxx-pretty-print.c (pp_cxx_statement): Add prototype.
Volker Reichelt [Tue, 25 Jan 2005 08:58:46 +0000 (08:58 +0000)]
cxx-pretty-print.c (pp_cxx_statement): Add prototype.

* cxx-pretty-print.c (pp_cxx_statement): Add prototype. Make static.
(pp_cxx_function_definition): Make static.
* cxx-pretty-print.h (pp_cxx_statement): Remove prototype.
(pp_cxx_function_definition): Likewise.

From-SVN: r94210

19 years agoname-lookup.c (print_binding_level): Make static.
Volker Reichelt [Tue, 25 Jan 2005 08:55:00 +0000 (08:55 +0000)]
name-lookup.c (print_binding_level): Make static.

* name-lookup.c (print_binding_level): Make static.
(constructor_name_full): Make static inline.
(current_decl_namespace): Make static.
* name-lookup.h (constructor_name_full): Remove prototype.
(print_binding_level): Likewise.
(storetags): Likewise.
(current_decl_namespace): Likewise.

From-SVN: r94209

19 years ago* decl.h (debug_bindings_indentation): Remove.
Volker Reichelt [Tue, 25 Jan 2005 08:50:16 +0000 (08:50 +0000)]
* decl.h (debug_bindings_indentation): Remove.

From-SVN: r94208

19 years agoCorrect the date for my last ChangeLog entry.
Ranjit Mathew [Tue, 25 Jan 2005 06:28:42 +0000 (06:28 +0000)]
Correct the date for my last ChangeLog entry.

From-SVN: r94206

19 years agore PR java/19070 (internal compiler error: in generate_bytecode_conditional, at java...
Ranjit Mathew [Tue, 25 Jan 2005 06:12:32 +0000 (06:12 +0000)]
re PR java/19070 (internal compiler error: in generate_bytecode_conditional, at java/jcf-write.c:1271)

        PR java/19070
        * parse.y (patch_binop): Allow comparisons against NULL only
        if the other operand is of a reference type.

From-SVN: r94205

19 years agoFix latent bug in strstr.c testcase.
James E Wilson [Tue, 25 Jan 2005 04:54:55 +0000 (04:54 +0000)]
Fix latent bug in strstr.c testcase.

* gcc.c-torture/execute/builtins/lib/strstr.c (strstr): Correct exit
test for successful match.

From-SVN: r94204

19 years agos/just/used/, stupid me keep on using "just" instead of "used".
Andrew Pinski [Tue, 25 Jan 2005 03:33:08 +0000 (19:33 -0800)]
s/just/used/, stupid me keep on using "just" instead of "used".

From-SVN: r94202

19 years agore PR objc/18408 (ICE compiling code that involves casting classes)
Alexander Malmberg [Tue, 25 Jan 2005 03:16:48 +0000 (03:16 +0000)]
re PR objc/18408 (ICE compiling code that involves casting classes)

2005-01-25  Alexander Malmberg  <alexander@malmberg.org>

        PR objc/18408
        * objc.dg/comp-types-7.m: New test.

From-SVN: r94200

19 years agore PR objc/18408 (ICE compiling code that involves casting classes)
Alexander Malmberg [Tue, 25 Jan 2005 03:13:10 +0000 (03:13 +0000)]
re PR objc/18408 (ICE compiling code that involves casting classes)

2005-01-25  Alexander Malmberg  <alexander@malmberg.org>

        PR objc/18408
        * objc-act.c (objc_types_compatible_p): New function.
        * objc-act.h (objc_types_compatible_p): Declare.
        * objc-lang.c (LANG_HOOKS_TYPES_COMPATIBLE_P): Define.

From-SVN: r94199

19 years agore PR middle-end/19330 (FAIL: gcc.c-torture/execute/20010605-2.c execution, -O1)
John David Anglin [Tue, 25 Jan 2005 02:05:39 +0000 (02:05 +0000)]
re PR middle-end/19330 (FAIL: gcc.c-torture/execute/20010605-2.c execution,  -O1)

PR middle-end/19330
* expmed.c (extract_bit_field): Use adjust_address instead of
gen_lowpart when op0 is a MEM.

From-SVN: r94198

19 years agoDaily bump.
GCC Administrator [Tue, 25 Jan 2005 00:20:16 +0000 (00:20 +0000)]
Daily bump.

From-SVN: r94192

19 years ago* cfgexpand.c (expand_gimple_tailcall): Fix typo.
Steven Bosscher [Mon, 24 Jan 2005 23:16:30 +0000 (23:16 +0000)]
* cfgexpand.c (expand_gimple_tailcall): Fix typo.

From-SVN: r94189

19 years agoirix-csr.c: New file.
Richard Sandiford [Mon, 24 Jan 2005 21:42:50 +0000 (21:42 +0000)]
irix-csr.c: New file.

* config/mips/irix-csr.c: New file.
* config/mips/t-iris6 (irix-csr.o): New rule to build it.
(EXTRA_MULTILIB_PARTS): Add irix-csr.o.
* config/mips/iris6.h (ENDFILE_SPEC): Include it in n32 and n64
executables.

From-SVN: r94186

19 years agore PR bootstrap/19364 (embedded sparc does not bootstrap)
Eric Botcazou [Mon, 24 Jan 2005 21:31:52 +0000 (22:31 +0100)]
re PR bootstrap/19364 (embedded sparc does not bootstrap)

PR bootstrap/19364
* config.gcc (sparc-*-elf*): Remove sol2.h, sparc/sol2.h and
sparc/elf.h, add sparc/sp-elf.h.
(sparc-*-rtems*): Likewise.
(sparclite-*-elf*): Remove sol2.h, sparc/sol2.h, sparc/elf.h and
tm-dwarf2.h, add sparc/sp-elf.h.
(sparc86x-*-elf): Likewise.
(sparc64-*-elf*): Remove sol2.h, sparc/sol2.h and tm-dwarf2.h.
* config/sparc/liteelf.h (TARGET_SUB_OS_CPP_BUILTINS): Rename into
TARGET_OS_CPP_BUILTINS.
* config/sparc/sp86x-elf (TARGET_SUB_OS_CPP_BUILTINS): Likewise.
* config/sparc/rtemself.h (TARGET_SUB_OS_CPP_BUILTINS): Likewise.
Undefine it.
* config/sparc/openbsd64.h (NO_IMPLICIT_EXTERN_C): Undefine.
* config/sparc/sp64-elf.h (NO_IMPLICIT_EXTERN_C): New macro.
(SWITCH_TAKES_ARG): Likewise.
(LOCAL_LABEL_PREFIX): Likewise.
(ASM_GENERATE_INTERNAL_LABEL): Likewise.
(TARGET_N_FORMAT_TYPES): Delete.
(TARGET_FORMAT_TYPES): Likewise.
(ASM_DECLARE_FUNCTION_SIZE): Likewise.
* config/sparc/elf.h: Delete.
* config/sparc/sp-elf.h: New file.

From-SVN: r94185

19 years agotree-flow-inline.h (phi_arg_from_edge): Remove.
Kazu Hirata [Mon, 24 Jan 2005 20:47:43 +0000 (20:47 +0000)]
tree-flow-inline.h (phi_arg_from_edge): Remove.

* tree-flow-inline.h (phi_arg_from_edge): Remove.
* tree-flow.h: Remove the corresponding prototype.
* tree-ssa-operands.h, tree-ssa-threadupdate.c, tree-ssa.c,
tree-vectorizer.c: Use dest_idx instead of phi_arg_from_edge.

From-SVN: r94183

19 years agojava-tree.h (gcj_abi_version): Declare.
Tom Tromey [Mon, 24 Jan 2005 19:07:06 +0000 (19:07 +0000)]
java-tree.h (gcj_abi_version): Declare.

* java-tree.h (gcj_abi_version): Declare.
* class.c (make_class_data): Push gcj_abi_version into "next"
field.  Renamed field.
* decl.c (gcj_abi_version): New global.
(parse_version): New function.
(java_init_decl_processing): Call it.  Renamed 'next' field.
Include version.h.
(GCJ_BINARYCOMPAT_ADDITION): New define.

From-SVN: r94174

19 years agoClass.h (next): Updated documentation.
Tom Tromey [Mon, 24 Jan 2005 19:05:34 +0000 (19:05 +0000)]
Class.h (next): Updated documentation.

* java/lang/Class.h (next): Updated documentation.  Renamed to
'next_or_version'.
* java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
_Jv_CheckABIVersion.
(_Jv_RegisterClasses_Counted): Likewise.
(_Jv_RegisterClassHookDefault): Fix starting condition of
duplicate-checking loop.
* include/jvm.h (GCJ_VERSION): New define.
(GCJ_BINARYCOMPAT_ADDITION): Likewise.
(_Jv_CheckABIVersion): New function.

From-SVN: r94173

19 years agotarget-supports.exp (current_target_name): New.
Janis Johnson [Mon, 24 Jan 2005 18:24:02 +0000 (18:24 +0000)]
target-supports.exp (current_target_name): New.

* lib/target-supports.exp (current_target_name): New.
(check_effective_target_ilp32, check_effective_target_lp64):
Cache the result to use as long as the current target, with
multilib flags, remains the same.

From-SVN: r94168

19 years agogcc-dg.exp (skip_test_and_clear_xfail): Remove.
Janis Johnson [Mon, 24 Jan 2005 18:23:08 +0000 (18:23 +0000)]
gcc-dg.exp (skip_test_and_clear_xfail): Remove.

* lib/gcc-dg.exp (skip_test_and_clear_xfail): Remove.
(dg-require-weak, dg-require-visibility, dg-require-alias,
dg-require-dg-sections, dg-require-profiling, dg-require-iconv,
dg-require-effective-target, dg-skip-if): Remove call to
skip_test_and_clear_xfail.
(dg-test): Clear xfail data.

From-SVN: r94167

19 years agore PR target/17751 (Undefined .LCTOC0 symbol)
Jakub Jelinek [Mon, 24 Jan 2005 17:39:37 +0000 (18:39 +0100)]
re PR target/17751 (Undefined .LCTOC0 symbol)

PR target/17751
* config/rs6000/rs6000.c (rs6000_file_start): Create toc section
for AIX ABI or ELF -fPIC.
(rs6000_emit_load_toc_table): Don't create toc_section here.
(rs6000_xcoff_file_start): Nor here.

* gcc.dg/ppc64-toc.c: New test.

From-SVN: r94166

19 years agoMakefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
Jakub Jelinek [Mon, 24 Jan 2005 17:33:14 +0000 (18:33 +0100)]
Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.

* Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
(libgij_la_LDFLAGS): Add.
* Makefile.in: Rebuilt.

From-SVN: r94165

19 years ago??? The first checkin was ignored?
Joern Rennecke [Mon, 24 Jan 2005 16:17:43 +0000 (16:17 +0000)]
??? The first checkin was ignored?

* sh.c (ra.h): Don't #include.
(hard_regs_intersect_p): New function, resurrected from ra.c.
N.B this is Copyright 2002/2003

* sh.c: Fix 1996 Copyright.

From-SVN: r94164

19 years agosh.c (ra.h): Don't #include.
Joern Rennecke [Mon, 24 Jan 2005 16:07:21 +0000 (16:07 +0000)]
sh.c (ra.h): Don't #include.

* sh.c (ra.h): Don't #include.
(hard_regs_intersect_p): New function, resurrected from ra.c.
N.B this is Copyright 2002/2003

* sh.c: Fix 1996 Copyright.

From-SVN: r94163

19 years agore PR java/19295 (Incorrect bytecode produced for bitwise AND)
Roger Sayle [Mon, 24 Jan 2005 14:34:19 +0000 (14:34 +0000)]
re PR java/19295 (Incorrect bytecode produced for bitwise AND)

PR java/19295
* jcf-write.c (generate_bytecode_insns): Conversions between
integer types of the same precision shouldn't generate widening
or narrowing conversion bytecodes.

* testsuite/libjava.compile/PR19295.java: New test case.

From-SVN: r94162

19 years agotype_traits: Implement is_signed and is_unsigned.
Paolo Carlini [Mon, 24 Jan 2005 14:06:13 +0000 (14:06 +0000)]
type_traits: Implement is_signed and is_unsigned.

2005-01-24  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/type_traits: Implement is_signed and is_unsigned.
* testsuite/tr1/4_metaprogramming/type_properties/
is_signed/is_signed.cc: New.
* testsuite/tr1/4_metaprogramming/type_properties/
is_signed/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
is_unsigned/is_unsigned.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
is_unsigned/typedefs.cc: Likewise.

From-SVN: r94160

19 years agoregrename.c (note_sets): Handle subregs.
Richard Henderson [Mon, 24 Jan 2005 12:31:22 +0000 (04:31 -0800)]
regrename.c (note_sets): Handle subregs.

        * regrename.c (note_sets): Handle subregs.

Co-Authored-By: Aldy Hernandez <aldyh@redhat.com>
From-SVN: r94157

19 years agore PR bootstrap/18058 (Bootstrap fails with non-GCC compilers)
Joseph Myers [Mon, 24 Jan 2005 12:08:06 +0000 (12:08 +0000)]
re PR bootstrap/18058 (Bootstrap fails with non-GCC compilers)

PR bootstrap/18058
* genconditions.c (write_header, write_conditions): Elide file if
not GCC >= 3.0.1.

From-SVN: r94155

19 years agoc-opts.c, [...]: Update copyright.
Kazu Hirata [Mon, 24 Jan 2005 11:59:45 +0000 (11:59 +0000)]
c-opts.c, [...]: Update copyright.

* c-opts.c, expmed.c, gengtype.c, tree-complex.c,
config/arm/iwmmxt.md, config/avr/avr.c, config/s390/s390.h:
Update copyright.

From-SVN: r94154

19 years agobuiltins.c (get_pointer_alignment, [...]): Use POINTER_TYPE_P instead TREE_CODE check...
Jakub Jelinek [Mon, 24 Jan 2005 08:59:28 +0000 (09:59 +0100)]
builtins.c (get_pointer_alignment, [...]): Use POINTER_TYPE_P instead TREE_CODE checking against POINTER_TYPE.

* builtins.c (get_pointer_alignment, gimplify_va_arg_expr,
expand_builtin_printf, expand_builtin_fprintf,
expand_builtin_sprintf): Use POINTER_TYPE_P instead TREE_CODE
checking against POINTER_TYPE.
(validate_arglist): Handle POINTER_TYPE code by checking
POINTER_TYPE_P.
* g++.dg/tree-ssa/empty-1.C: New test.

From-SVN: r94147

19 years agortlanal.c (non_rtx_starting_operands, [...]): New.
Paolo Bonzini [Mon, 24 Jan 2005 08:55:47 +0000 (08:55 +0000)]
rtlanal.c (non_rtx_starting_operands, [...]): New.

2005-01-24  Paolo Bonzini  <bonzini@gnu.org>

* rtlanal.c (non_rtx_starting_operands, for_each_rtx_1,
init_rtlanal): New.
(for_each_rtx): Call for_each_rtx_1.
* rtl.h (init_rtlanal): Declare.
* toplev.c (backend_init): Call init_rtlanal.

From-SVN: r94146

19 years agore PR middle-end/19551 (pure (complex types) function call removed as dead (LAPACK...
Jakub Jelinek [Mon, 24 Jan 2005 08:54:25 +0000 (09:54 +0100)]
re PR middle-end/19551 (pure (complex types) function call removed as dead (LAPACK routine claic1.f bug))

* flow.c (propagate_one_insn): Formatting.

PR middle-end/19551
* flow.c (libcall_dead_p): Be more conservative if unsure.
If there are any instructions between insn and call, see if they are
all dead before saying the libcall is dead.

* gcc.c-torture/execute/20050121-1.c: New test.
* gcc.dg/20050121-2.c: New test.

From-SVN: r94145

19 years agoi386.md (*extendsfdf2_sse): Use "nonimmediate_operand" operand constraint for operand 0.
Uros Bizjak [Mon, 24 Jan 2005 06:18:28 +0000 (07:18 +0100)]
i386.md (*extendsfdf2_sse): Use "nonimmediate_operand" operand constraint for operand 0.

* config/i386/i386.md (*extendsfdf2_sse): Use "nonimmediate_operand"
operand constraint for operand 0.

From-SVN: r94144

19 years agore PR middle-end/19486 (flags_complex_divide_method=1 doesn't work)
Richard Henderson [Mon, 24 Jan 2005 02:30:42 +0000 (18:30 -0800)]
re PR middle-end/19486 (flags_complex_divide_method=1 doesn't work)

        PR 19486
        * tree-complex.c (expand_complex_div_wide): Set EDGE_FALLTHRU on
        edges leading to join block.

From-SVN: r94140

19 years agoexpmed.c (expand_mult_highpart): Make static.
Roger Sayle [Mon, 24 Jan 2005 02:28:15 +0000 (02:28 +0000)]
expmed.c (expand_mult_highpart): Make static.

* expmed.c (expand_mult_highpart): Make static.  Change type of
constant multiplier argument from unsigned HOST_WIDE_INT to rtx.
(expand_divmod): Updates calls to expand_mult_highpart by using
gen_int_mode to pass a CONST_INT rtx.
* rtl.h (expand_mult_highpart): Remove prototype.

From-SVN: r94139

19 years agoDaily bump.
GCC Administrator [Mon, 24 Jan 2005 00:16:52 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r94137

19 years agolwg-active.html, [...]: Import Revision 34.
Paolo Carlini [Mon, 24 Jan 2005 00:03:02 +0000 (00:03 +0000)]
lwg-active.html, [...]: Import Revision 34.

2005-01-23  Paolo Carlini  <pcarlini@suse.de>

* docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34.

From-SVN: r94131

19 years ago9827.cc: New.
Paolo Carlini [Sun, 23 Jan 2005 23:35:20 +0000 (23:35 +0000)]
9827.cc: New.

2005-01-23  Paolo Carlini  <pcarlini@suse.de>

* testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New.
* testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
* testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_ostream/flush/wchar_t/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/
wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/
wchar_t/3.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/
wchar_t/4.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/
wchar_t/4402.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/
wchar_t/5.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/
wchar_t/6.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/
wchar_t/9555-oa.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/
wchar_t/exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/
wchar_t/exceptions_failbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/
wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/
wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/
wchar_t/3.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/
wchar_t/4.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/
wchar_t/5.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/
wchar_t/6.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/
wchar_t/9555-oc.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/
wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/
wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/
wchar_t/3.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/
wchar_t/4.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/
wchar_t/5.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/
wchar_t/9318-out.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/
wchar_t/9424-out.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/
wchar_t/9555-oo.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/wchar_t/
error_failbit.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/wchar_t/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/wchar_t/
exceptions_failbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/wchar_t/
exceptions_null.cc: Likewise.
* testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
* testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_ostream/seekp/char/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/seekp/wchar_t/
2346-fstream.cc: Likewise.
* testsuite/27_io/basic_ostream/seekp/wchar_t/
2346-sstream.cc: Likewise.
* testsuite/27_io/basic_ostream/seekp/wchar_t/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_ostream/tellp/wchar_t/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.

* testsuite/data/wostream_inserter_char-1.tst: Likewise.
* testsuite/data/wostream_inserter_char-1.txt: Likewise.
* testsuite/data/wostream_inserter_other-1.tst: Likewise.
* testsuite/data/wostream_inserter_other-2.tst: Likewise.
* testsuite/data/wostream_seeks-1.tst: Likewise.

* testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks.
* testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
* testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise.
* testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
* testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
* testsuite/27_io/basic_ostream/flush/char/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/
char/2.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/
char/3.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/
char/4.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/
char/4402.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/
char/5.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/
char/6.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/
char/4.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/char/
2.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/char/
5.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/char/
error_failbit.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/char/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/char/
exceptions_failbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/char/
exceptions_null.cc: Likewise.
* testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
* testsuite/27_io/basic_ostream/seekp/char/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
* testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.

From-SVN: r94129

19 years agore PR fortran/17941 (gfortran: parser chokes on complex literal constant)
Paul Brook [Sun, 23 Jan 2005 22:29:41 +0000 (22:29 +0000)]
re PR fortran/17941 (gfortran: parser chokes on complex literal constant)

2004-01-23  Paul Brook  <paul@codesourcery.com>
Steven G. Kargl  <kargls@comcast.net>

PR fortran/17941
* arith.c (gfc_convert_real): Remove sign handling.
* primary.c (match_digits): Allow whitespace after initial sign.
(match_real_const): Handle signs here.  Allow whitespace after
initial sign.  Remove dead code.
(match_const_complex_part): Remove.
(match_complex_part): Use match_{real,integer}_const.
(match_complex_constant): Cross-promote integer types.
testsuite/
* gfortran.dg/real_const_1.f: New test.
* gfortran.dg/real_const_2.f90: New test.
* gfortran.dg/complex_int_1.f90: New test.

From-SVN: r94127

19 years ago* cfganal.c: Fix a reference to Harvey's paper.
Kazu Hirata [Sun, 23 Jan 2005 20:13:00 +0000 (20:13 +0000)]
* cfganal.c: Fix a reference to Harvey's paper.

From-SVN: r94126

19 years ago* flow.c (regset_bytes, regset_size): Remove.
Kazu Hirata [Sun, 23 Jan 2005 19:48:47 +0000 (19:48 +0000)]
* flow.c (regset_bytes, regset_size): Remove.

From-SVN: r94125

19 years agore PR rtl-optimization/19464 (gcse causes poor register allocation)
Steven Bosscher [Sun, 23 Jan 2005 19:35:58 +0000 (19:35 +0000)]
re PR rtl-optimization/19464 (gcse causes poor register allocation)

PR rtl-optimization/19464
* tree-optimize.c (init_tree_optimization_passes): Add one more
copyrename pass just before out-of-ssa.

From-SVN: r94124

19 years agore PR bootstrap/18058 (Bootstrap fails with non-GCC compilers)
Joseph Myers [Sun, 23 Jan 2005 19:22:01 +0000 (19:22 +0000)]
re PR bootstrap/18058 (Bootstrap fails with non-GCC compilers)

config:
* warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Don't do
anything for non-GCC compilers.

libcpp:
* configure: Regenerate.

gcc:
PR bootstrap/18058
* recog.c (recog_memoized): Don't define if GENERATOR_FILE.
* ggc-none.c (ggc_free): Define.

From-SVN: r94123

19 years ago* gcse.c (null_pointer_info): Remove.
Kazu Hirata [Sun, 23 Jan 2005 19:18:39 +0000 (19:18 +0000)]
* gcse.c (null_pointer_info): Remove.

From-SVN: r94122

19 years agocgraph.c (cgraph_varpool_n_nodes): Remove.
Kazu Hirata [Sun, 23 Jan 2005 19:17:09 +0000 (19:17 +0000)]
cgraph.c (cgraph_varpool_n_nodes): Remove.

* cgraph.c (cgraph_varpool_n_nodes): Remove.
(cgraph_varpool_node): Don't access cgraph_varpool_n_nodes.
* cgraph.h: Remove the corresponding declaration.

From-SVN: r94121

19 years agoc-common.c (explicit_flag_signed_bitfields, [...]): Remove.
Kazu Hirata [Sun, 23 Jan 2005 19:15:36 +0000 (19:15 +0000)]
c-common.c (explicit_flag_signed_bitfields, [...]): Remove.

* c-common.c (explicit_flag_signed_bitfields,
lang_statement_code_p, lang_expand_function_end): Remove.
* c-common.h: Remove the corresponding declarations.
* c-opts.c (c_common_handle_option): Remove all write access
to explicit_flag_signed_bitfields.

From-SVN: r94120

19 years agocse.c (max_reg, [...]): Remove.
Kazu Hirata [Sun, 23 Jan 2005 19:13:50 +0000 (19:13 +0000)]
cse.c (max_reg, [...]): Remove.

* cse.c (max_reg, max_insn_uid): Remove.
(cse_main): Don't access max_reg or max_insn_uid.

From-SVN: r94119

19 years agoUpdate Copyright.
Paul Brook [Sun, 23 Jan 2005 17:16:43 +0000 (17:16 +0000)]
Update Copyright.

From-SVN: r94118

19 years agore PR fortran/19294 (intrinsic_transpose.f90 runtime crash)
James A. Morrison [Sun, 23 Jan 2005 17:01:00 +0000 (17:01 +0000)]
re PR fortran/19294 (intrinsic_transpose.f90 runtime crash)

2005-01-23  James A. Morrison  <phython@gcc.gnu.org>
Paul Brook  <paul@codesourcery.com>

PR fortran/19294
* iresolve.c (gfc_resolve_transpose): Resolve to transpose_c4 or
transpose_c8 for complex types.
libgfortran/
* Makefile.am: Add transpose_c4.c and transpose_c8.c.
* intrinsics/cshift0.c: Use separate optimized loops for complex types.
* m4/transpose.m4: Include type letter in function name.
* Makefile.in: Regenerate.
* generated/transpose_*.c: Regenerate.

Co-Authored-By: Paul Brook <paul@codesourcery.com>
From-SVN: r94116

19 years agocombine.c (simplify_logical): Only simplify logical expressions of the form ior(and...
Roger Sayle [Sun, 23 Jan 2005 15:43:56 +0000 (15:43 +0000)]
combine.c (simplify_logical): Only simplify logical expressions of the form ior(and(x,y),z) by the inverse...

* combine.c (simplify_logical): Only simplify logical expressions
of the form ior(and(x,y),z) by the inverse distributive law if the
result is cheaper than the original.

Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr>
From-SVN: r94114

19 years ago* typeck.c: Fix a comment typo.
Kazu Hirata [Sun, 23 Jan 2005 15:22:18 +0000 (15:22 +0000)]
* typeck.c: Fix a comment typo.

From-SVN: r94113

19 years agoalias.c, [...]: Fix comment typos.
Kazu Hirata [Sun, 23 Jan 2005 15:05:49 +0000 (15:05 +0000)]
alias.c, [...]: Fix comment typos.

* alias.c, c-common.h, c-incpath.c, c-incpath.h, expr.c,
fold-const.c, gimplify.c, params.h, tree-data-ref.c,
tree-if-conv.c, tree-nested.c, tree-outof-ssa.c,
tree-ssa-dom.c, tree-vectorizer.c, tree.def, config/darwin.c,
config/freebsd-spec.h, config/arm/arm.h,
config/h8300/h8300.md, config/i386/i386.md,
config/i386/predicates.md, config/i386/sse.md,
config/ia64/ia64.c, config/ip2k/ip2k.c, config/s390/s390.c,
config/vax/vax.md: Fix comment typos.  Follow spelling
conventions.

From-SVN: r94112

19 years agodata.c, [...]: Fix comment typos.
Kazu Hirata [Sun, 23 Jan 2005 14:36:26 +0000 (14:36 +0000)]
data.c, [...]: Fix comment typos.

* data.c, dependency.c, f95-lang.c, io.c, trans-array.c,
trans-decl.c, trans-expr.c, trans-intrinsic.c, trans-io.c,
trans-stmt.c, trans-types.c, trans.h: Fix comment typos.
Follow spelling conventions.

From-SVN: r94111

19 years agore PR libfortran/19313 (inquire(pad=) not implemented)
Bud Davis [Sun, 23 Jan 2005 14:19:54 +0000 (14:19 +0000)]
re PR libfortran/19313 (inquire(pad=) not implemented)

2005-01-22  Bud Davis  <bdavis9659@comcast.net>

        PR fortran/19313
        * trans-io.c (gfc_trans_inquire): Added code to support
        pad.

        PR fortran/19313
        * gfortan.dg/inquire_6.f90: New test.

From-SVN: r94110

19 years agogengtype.c (walk_type): Produce `not equal to' compares for loop tests, instead of...
Steven Bosscher [Sun, 23 Jan 2005 11:49:24 +0000 (11:49 +0000)]
gengtype.c (walk_type): Produce `not equal to' compares for loop tests, instead of `less than'.

* gengtype.c (walk_type): Produce `not equal to' compares for loop
tests, instead of `less than'.

From-SVN: r94109

19 years ago* MAINTAINERS (Write After Approval): Add Michael Matz.
Kazu Hirata [Sun, 23 Jan 2005 11:22:25 +0000 (11:22 +0000)]
* MAINTAINERS (Write After Approval): Add Michael Matz.

From-SVN: r94108

19 years agotype_traits (aligned_storage): Use __aligned__ instead of aligned.
Paolo Carlini [Sun, 23 Jan 2005 11:10:37 +0000 (11:10 +0000)]
type_traits (aligned_storage): Use __aligned__ instead of aligned.

2005-01-23  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/type_traits (aligned_storage): Use __aligned__ instead
of aligned.

From-SVN: r94107

19 years agore PR libstdc++/19343 (New warnings in libstdc++-v3 since 2004-01-05)
Paolo Carlini [Sun, 23 Jan 2005 10:45:01 +0000 (10:45 +0000)]
re PR libstdc++/19343 (New warnings in libstdc++-v3 since 2004-01-05)

2005-01-23  Paolo Carlini  <pcarlini@suse.de>
    Andreas Jaeger  <aj@suse.de>

PR libstdc++/19343
* include/bits/functexcept.h: Mark the helpers as 'noreturn'.

Co-Authored-By: Andreas Jaeger <aj@suse.de>
From-SVN: r94106

19 years ago* MAINTAINERS: Remove obsolete entries.
Kazu Hirata [Sun, 23 Jan 2005 10:42:38 +0000 (10:42 +0000)]
* MAINTAINERS: Remove obsolete entries.

From-SVN: r94105

19 years agofunction.c (assign_parm_setup_block): When creating a new stack slot for a parameter...
Richard Sandiford [Sun, 23 Jan 2005 08:27:47 +0000 (08:27 +0000)]
function.c (assign_parm_setup_block): When creating a new stack slot for a parameter...

* function.c (assign_parm_setup_block): When creating a new stack slot
for a parameter, get its alignment from the parameter's DECL_ALIGN
rather than the type's TYPE_ALIGN.  Make sure that the parameter
is at least word aligned.

From-SVN: r94104

19 years agore PR target/19378 (ICE during bootstrap compiling __fixdfdi)
Roger Sayle [Sun, 23 Jan 2005 04:51:28 +0000 (04:51 +0000)]
re PR target/19378 (ICE during bootstrap compiling __fixdfdi)

PR middle-end/19378
* config/avr/avr.c (avr_hard_regno_mode_ok): Rewrite.

From-SVN: r94102

19 years agore PR libfortran/19451 (Read after a write with a read only file)
Thomas Koenig [Sun, 23 Jan 2005 02:18:33 +0000 (02:18 +0000)]
re PR libfortran/19451 (Read after a write with a read only file)

2005-01-22  Thomas Koenig  <Thomas.Koenig@online.de>

PR libfortran/19451
* io/transfer.c (finalize_transfer):  Don't do anything if
there is an error condition.
* open_readonly_1.f90:  New test.

From-SVN: r94101

19 years agoDaily bump.
GCC Administrator [Sun, 23 Jan 2005 00:16:24 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r94093

19 years agore PR libfortran/19052 (unit 0 not preconnected to standard error)
David Edelsohn [Sun, 23 Jan 2005 00:14:31 +0000 (00:14 +0000)]
re PR libfortran/19052 (unit 0 not preconnected to standard error)

        PR libgfortran/19052
        * libgfortran.h (options_t): Add stderr_unit.
        * io/io.h (error_stream): Declare.
        * io/open.c (new_unit): Do not terminate abnormally if opening
        file preconnected to stdin, stdout, or stderr.
        * io/unit.c (init_units): Initialize stderr_unit.
        * io/unix.c (error_stream): New function.
        * runtime/environ.c (GFORTRAN_STDERR_UNIT): New environment variable.

From-SVN: r94090

19 years agore PR target/19506 (PovRay produces wrong pictures with -mfpmath=sse -ffast-math.)
Richard Henderson [Sat, 22 Jan 2005 23:07:53 +0000 (15:07 -0800)]
re PR target/19506 (PovRay produces wrong pictures with -mfpmath=sse -ffast-math.)

        PR target/19506
        * config/i386/i386.md (movsfcc_1_sse_max): Use nonimmediate_operand
        in both compare operands.
        (movdfcc_1_sse_max): Likewise.
        (movsfcc_1_sse): Likewise.  Add earlyclobber for scratch.
        (movdfcc_1_sse): Likewise.
        * config/i386/i386.c (ix86_split_sse_movcc): Emit copies into the
        scratch register as needed.

From-SVN: r94087

19 years ago* config/i386/i386.md (smaxsf3): Fix mnemonic typo.
Richard Henderson [Sat, 22 Jan 2005 22:59:33 +0000 (14:59 -0800)]
* config/i386/i386.md (smaxsf3): Fix mnemonic typo.

From-SVN: r94086

19 years ago* config/i386/i386.c (ix86_prepare_fp_compare_args): Fix is_sse test.
Richard Henderson [Sat, 22 Jan 2005 22:56:11 +0000 (14:56 -0800)]
* config/i386/i386.c (ix86_prepare_fp_compare_args): Fix is_sse test.

From-SVN: r94085

19 years agogenopinit.c (optabs): Use smin/smax for floating point too.
Richard Henderson [Sat, 22 Jan 2005 22:54:07 +0000 (14:54 -0800)]
genopinit.c (optabs): Use smin/smax for floating point too.

        * genopinit.c (optabs): Use smin/smax for floating point too.
        * doc/md.texi: Update to match.  Clarify that floating point
        results are undefined for +0/-0 and NaN.
        * doc/rtl.texi: Likewise.
        * rtl.def (SMIN, SMAX): Likewise
        * tree.def (MIN_EXPR, MAX_EXPR): Likewise.

        * config/alpha/alpha.md (smaxdf3, smindf3, smaxsf3, sminsf3): Add
        leading 's' to the name.
        * config/ia64/ia64.md (smaxsf3, sminsf3, smaxdf3, smindf3,
        smaxxf3, sminxf3): Likewise.
        * config/rs6000/rs6000.md (smaxdf3, smindf3, smaxsf3, sminsf3):
        Likewise.

From-SVN: r94084

19 years agogenopinit.c (optabs): Use smin/smax for floating point too.
Richard Henderson [Sat, 22 Jan 2005 22:49:06 +0000 (14:49 -0800)]
genopinit.c (optabs): Use smin/smax for floating point too.

        * genopinit.c (optabs): Use smin/smax for floating point too.
        * doc/md.texi: Update to match.  Clarify that floating point
        results are undefined for +0/-0 and NaN.
        * doc/rtl.texi: Likewise.
        * rtl.def (SMIN, SMAX): Likewise
        * tree.def (MIN_EXPR, MAX_EXPR): Likewise.

        * config/alpha/alpha.md (smaxdf3, smindf3, smaxsf3, sminsf3): Add
        leading 's' to the name.
        * config/ia64/ia64.md (smaxsf3, sminsf3, smaxdf3, smindf3,
        smaxxf3, sminxf3): Likewise.
        * config/rs6000/rs6000.md (smaxdf3, smindf3, smaxsf3, sminsf3):
        Likewise.

From-SVN: r94083

19 years agointrinsic.c (make_alias): Add standard argument.
Steven G. Kargl [Sat, 22 Jan 2005 22:32:06 +0000 (22:32 +0000)]
intrinsic.c (make_alias): Add standard argument.

2005-01-22  Steven G. Kargl  <kargls@comcast.net>

* intrinsic.c (make_alias):  Add standard argument.
(add_functions): Update make_alias calls.

From-SVN: r94082

19 years agoarm.md: Use "Uy" constraint for wcgr load/stores.
Paul Brook [Sat, 22 Jan 2005 22:23:39 +0000 (22:23 +0000)]
arm.md: Use "Uy" constraint for wcgr load/stores.

2005-01-22  Paul Brook  <paul@codesourcery.com>

* config/arm/arm.md: Use "Uy" constraint for wcgr load/stores.

[[Split portion of a mixed commit.]]

From-SVN: r94080.2

19 years agos390.c (struct processor_costs): New fields dlgr, dlr, dr, dsgfr, dsgr.
Mark Dettinger [Sat, 22 Jan 2005 21:57:56 +0000 (21:57 +0000)]
s390.c (struct processor_costs): New fields dlgr, dlr, dr, dsgfr, dsgr.

2005-01-21  Mark Dettinger  <dettinge@de.ibm.com>

* config/s390/s390.c (struct processor_costs): New fields
dlgr, dlr, dr, dsgfr, dsgr.
(z900_cost, z990_cost): Values for new fields.
(s390_rtx_costs): New cases MEM und COMPARE in switch
statement. Modified handling of SIGN_EXTEND, ZERO_EXTEND,
DIV, MOD, UDIV, UMOD.

From-SVN: r94079

19 years agos390.md ("doloop_si64"): Reload input value directly into the register being decremented.
Ulrich Weigand [Sat, 22 Jan 2005 21:50:56 +0000 (21:50 +0000)]
s390.md ("doloop_si64"): Reload input value directly into the register being decremented.

* config/s390/s390.md ("doloop_si64"): Reload input value directly
into the register being decremented.
("doloop_si31", "doloop_di"): Likewise.
("*doloop_si_long"): Adapt pattern.

From-SVN: r94078

19 years agos390.h (HARD_REGNO_NREGS): Fix computation for access registers.
Ulrich Weigand [Sat, 22 Jan 2005 21:48:01 +0000 (21:48 +0000)]
s390.h (HARD_REGNO_NREGS): Fix computation for access registers.

* config/s390/s390.h (HARD_REGNO_NREGS): Fix computation for
access registers.
(CLASS_MAX_NREGS): Likewise.

From-SVN: r94077

19 years agore PR libfortran/18982 (open(status="new") does not generate an error if the file...
Thomas Koenig [Sat, 22 Jan 2005 19:49:18 +0000 (19:49 +0000)]
re PR libfortran/18982 (open(status="new") does not generate an error if the file exists)

2005-01-22  Thomas Koenig  <Thomas.Koenig@online.de>

PR libfortran/18982
* io/unix.c (regular_file):  No need to change flags->action
if an error occurs.  Document this.
No need to call stat() for STATUS_OLD, open() will
fail anyway.
For ACTION_UNSPECIFIED, try open for read-write, then for
read-only if open fails with EACCES, then for write-only
if that fails with EACCES again.
* io/unix.c (open_external): Document changed behavior of
regular_file.
testsuite/
* gfortran.dg/open_new.f90: New file.

From-SVN: r94076

19 years agotree-ssa.texi (Statement Operands): Add example for new must-def macro.
Daniel Berlin [Sat, 22 Jan 2005 19:23:57 +0000 (19:23 +0000)]
tree-ssa.texi (Statement Operands): Add example for new must-def macro.

2005-01-21  Daniel Berlin  <dberlin@dberlin.org>

* doc/tree-ssa.texi (Statement Operands): Add example for new
must-def macro. Note deprecation of old operands interface.

From-SVN: r94075

19 years ago* trans-expr.c (gfc_conv_function_call): Remove bogus TODO.
Paul Brook [Sat, 22 Jan 2005 19:20:01 +0000 (19:20 +0000)]
* trans-expr.c (gfc_conv_function_call): Remove bogus TODO.

From-SVN: r94074

19 years agogfortran.h (gfc_check_access): Add prototype.
Paul Brook [Sat, 22 Jan 2005 18:23:43 +0000 (18:23 +0000)]
gfortran.h (gfc_check_access): Add prototype.

2005-01-22  Paul Brook  <paul@codesourcery.com>

* gfortran.h (gfc_check_access): Add prototype.
* match.c (gfc_match_namelist): Remove TODO.
* module.c (check_access): Rename ...
(gfc_check_access): ... to this.  Boolify.  Update callers.
* resolve.c (resolve_symbol): Check for private objects in public
namelists.
testsuite/
* namelist_1.f90: New test.

From-SVN: r94073

19 years agore PR tree-optimization/19484 (function pointer propagation fails for noreturn functions)
Richard Sandiford [Sat, 22 Jan 2005 17:52:44 +0000 (17:52 +0000)]
re PR tree-optimization/19484 (function pointer propagation fails for noreturn functions)

PR tree-optimization/19484
* tree-cfg.c (remove_fallthru_edge): New function.
(cleanup_control_flow): Remove fallthru edges from calls that are
now known not to return.

From-SVN: r94070

19 years agore PR tree-optimization/19038 (tree-ssa causing loops to have more than one BB)
Daniel Berlin [Sat, 22 Jan 2005 16:48:23 +0000 (16:48 +0000)]
re PR tree-optimization/19038 (tree-ssa causing loops to have more than one BB)

2005-01-20  Daniel Berlin  <dberlin@dberlin.org>

Fix PR tree-optimization/19038
* tree-ssa-dom.c (cprop_operand): Don't replace loop invaeriant
copies with loop variant ones.

From-SVN: r94069

19 years ago* java-except.h, java-tree.h: Remove unused prototypes.
Kazu Hirata [Sat, 22 Jan 2005 16:45:08 +0000 (16:45 +0000)]
* java-except.h, java-tree.h: Remove unused prototypes.

From-SVN: r94068

19 years agotree-cfg.c (remove_forwarder_block_with_phi): Look at the first label to see if it...
Kazu Hirata [Sat, 22 Jan 2005 16:13:40 +0000 (16:13 +0000)]
tree-cfg.c (remove_forwarder_block_with_phi): Look at the first label to see if it is a nonlocal label.

* tree-cfg.c (remove_forwarder_block_with_phi): Look at the
first label to see if it is a nonlocal label.

From-SVN: r94067

19 years agoprimary.c (gfc_match_rvalue): Only apply implicit type if variable does not have...
Paul Brook [Sat, 22 Jan 2005 15:24:09 +0000 (15:24 +0000)]
primary.c (gfc_match_rvalue): Only apply implicit type if variable does not have an explicit type.

2005-01-22  Paul Brook  <paul@codesourcery.com>

* primary.c (gfc_match_rvalue): Only apply implicit type if variable
does not have an explicit type.
(gfc_match_variable): Resolve implicit derived types in all cases.
Resolve contained function types from their own namespace, not the
parent.
* resolve.c (resolve_contained_fntype): Remove duplicate sym->result
checking.  Resolve from the contained namespace, not the parent.
testsuite/
* gfortran.dg/implicit_2.f90: New test.

From-SVN: r94066

19 years agore PR fortran/19194 (Missing RECL parameter in OPEN statement)
Tobias Schlüter [Sat, 22 Jan 2005 14:37:39 +0000 (15:37 +0100)]
re PR fortran/19194 (Missing RECL parameter in OPEN statement)

gcc/fortran/
PR fortran/19194
* trans-io.c (ADD_STRING): Use gfc_charlen_type_node for string
length parameters.
(gfc_build_io_library_fndecls): 'rec' and 'recl_in' are not
pointer fields.

libgfortran/
PR fortran/19194
* io/io.h (st_parameter): Use 'GFC_INTEGER_4' instead of 'int',
use CHARACTER macro for definition of string valued paramters.

Also fix years in recent ChangeLog entries.

From-SVN: r94065

19 years agocfganal.c, [...]: Update copyright.
Kazu Hirata [Sat, 22 Jan 2005 12:53:25 +0000 (12:53 +0000)]
cfganal.c, [...]: Update copyright.

* cfganal.c, real.h, reorg.c, timevar.def, tree-ssa-ccp.c,
config/alpha/alpha-protos.h, config/alpha/alpha.h,
config/alpha/alpha.md, config/alpha/predicates.md,
config/sparc/freebsd.h, config/sparc/netbsd-elf.h,
config/sparc/sol2.h: Update copyright.

From-SVN: r94064

19 years agore PR libfortran/19314 (inquire(position=) segfaults at runtime)
Bud Davis [Sat, 22 Jan 2005 03:51:12 +0000 (03:51 +0000)]
re PR libfortran/19314 (inquire(position=) segfaults at runtime)

2004-01-22  Bud Davis  <bdavis9659@comcast.net>

        PR fortran/19314
        * io/inquire.c(inquire_via_unit): implement POSITION=.
        * io/transfer.c(next_record): update position for
        INQUIRE.
        * io/rewind.c(st_rewind): update position for
        INQUIRE.

        * gfortran.dg/inquire_5.f90: New test.

From-SVN: r94060

19 years agore PR target/19491 (va_start incorrect, Number of floating point and integer register...
David Edelsohn [Sat, 22 Jan 2005 03:09:23 +0000 (03:09 +0000)]
re PR target/19491 (va_start incorrect, Number of floating point and integer registers counted incorrectly)

2005-01-20  David Edelsohn  <edelsohn@gnu.org>
            Andrew Pinski  <pinskia@physics.uc.edu>

        PR target/19491
        * config/rs6000/rs6000.c (rs6000_va_start): Saturate n_gpr at
        maximum number of GPRs.  Saturate n_fpr at maximum number of FPRs.

Co-Authored-By: Andrew Pinski <pinskia@physics.uc.edu>
From-SVN: r94059

19 years agortems.h: Update copyright.
Ralf Corsepius [Sat, 22 Jan 2005 02:57:47 +0000 (03:57 +0100)]
rtems.h: Update copyright.

2005-01-22  Ralf Corsepius  <ralf.corsepius@rtems.org>

* config/rs6000/rtems.h: Update copyright.

From-SVN: r94057

19 years agore PR target/19548 (RTEMS CPP specs not merged from 3.2/3.2 branches)
Ralf Corsepius [Sat, 22 Jan 2005 02:26:12 +0000 (03:26 +0100)]
re PR target/19548 (RTEMS CPP specs not merged from 3.2/3.2 branches)

2005-01-22  Ralf Corsepius  <ralf.corsepius@rtems.org>

PR target/19548
* config/rs6000/rtems.h: Resurrect cpp_os_rtems_spec from gcc < 3.4.
(CPP_OS_RTEMS_SPEC): New (From gcc-3.3's config/rs6000/sys4.h).
(SUBSUBTARGET_EXTRA_SPECS): Use CPP_OS_RTEMS_SPEC.

From-SVN: r94056

19 years agore PR middle-end/19543 ([4.1 only] fortran LOGICAL*8 not consistently distinguished...
Tobias Schlüter [Sat, 22 Jan 2005 00:29:33 +0000 (01:29 +0100)]
re PR middle-end/19543 ([4.1 only] fortran LOGICAL*8 not consistently distinguished from 32 bit integers)

PR fortran/19543
* trans-const.c (gfc_conv_constant_to_tree): Give logical
constants the correct type.

From-SVN: r94054

19 years agoDaily bump.
GCC Administrator [Sat, 22 Jan 2005 00:17:34 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r94052

19 years agore PR c/18809 (ICE after a couple of errors with a simple invalid C code)
Volker Reichelt [Sat, 22 Jan 2005 00:12:27 +0000 (00:12 +0000)]
re PR c/18809 (ICE after a couple of errors with a simple invalid C code)

PR c/18809
* c-typeck.c (convert_arguments): Check for error_mark_node.

* gcc.dg/pr18809-1.c: New test.

From-SVN: r94049

19 years ago* gcc.dg/20050121-1.c: New test.
Ian Lance Taylor [Fri, 21 Jan 2005 19:23:06 +0000 (19:23 +0000)]
* gcc.dg/20050121-1.c: New test.

From-SVN: r94029

19 years agore PR tree-optimization/13000 ([unit-at-a-time] Using -O2 cannot detect missing retur...
Ian Lance Taylor [Fri, 21 Jan 2005 19:05:52 +0000 (19:05 +0000)]
re PR tree-optimization/13000 ([unit-at-a-time] Using -O2 cannot detect missing return statement in a function)

PR tree-optimization/13000
* gcc.dg/20040206-1.c: Change warning to point where function is
being inlined.

From-SVN: r94025