rakdver [Sat, 9 Oct 2004 20:19:37 +0000 (20:19 +0000)]
PR tree-optimization/17906
* tree-tailcall.c (tree_optimize_tail_calls_1): Do not attempt to
copy non-gimple reg arguments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88828
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 9 Oct 2004 19:27:55 +0000 (19:27 +0000)]
2004-10-09 Roger Sayle <roger@eyesopen.com>
PR rtl-optimization/17853
* simplify-rtx.c (simplify_relational_operation): Correct comment.
Reorganize handling of comparison operations with floating point
results (always return 0.0 even without FLOAT_STORE_FLAG_VALUE).
Likewise, introduce support for comparison operations with vector
result types, introducing a new VECTOR_STORE_FLAG_VALUE target macro.
* doc/rtl.texi: Document new VECTOR_STORE_FLAG_VALUE target macro.
* doc/tm.texi: Likewise.
2004-10-09 Stuart Hastings <stuart@apple.com>
Roger Sayle <roger@eyesopen.com>
PR rtl-optimization/17853
* gcc.dg/i386-mmx-5.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88826
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Sat, 9 Oct 2004 19:19:24 +0000 (19:19 +0000)]
* regs.h (struct reg_info_def): Remove the last_node_uid and
changes_mode fields.
(REGNO_LAST_NOTE_UID): Don't define.
* regclass.c (reg_scan_mark_refs): Don't set REGNO_LAST_NOTE_UID.
* regmove.c (copy_src_to_dest): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88825
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Sat, 9 Oct 2004 18:00:53 +0000 (18:00 +0000)]
2004-10-09 Andrew Pinski <pinskia@physics.uc.edu>
* g++.dg/opt/pr17902.C: Fix typo in dg-do.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88823
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sat, 9 Oct 2004 17:33:02 +0000 (17:33 +0000)]
PR c++/17524
* cp-tree.h (check_var_type): New function.
* decl.c (check_var_type): New function, split out from ...
(grokdeclarator): ... here.
* pt.c (tsubst_decl): Use check_var_type.
PR c++/17685
* decl.c (grokdeclarator): Disallow declarations of operators as
PR c++/17524
* g++.dg/template/static9.C: New test.
PR c++/17685
* g++.dg/parse/operator5.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88820
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Sat, 9 Oct 2004 16:17:45 +0000 (16:17 +0000)]
* module.c (mio_interface_rest): Set where member of interface
while loading.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88819
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 9 Oct 2004 15:48:24 +0000 (15:48 +0000)]
PR middle-end/17894
* fold-const.c (fold_div_compare): When optimizing X/C1 op C2, the
relational comparison operator op needs to be swapped/reversed when
C1 is negative. i.e. X/-10 < 1 becomes X >= -9, not X < -9.
* gcc.c-torture/execute/divcmp-4.c: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88818
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 9 Oct 2004 10:22:25 +0000 (10:22 +0000)]
2004-10-09 Michael Koch <konqueror@gmx.de>
* java/io/CharArrayWriter.java
(resize): Removed redundant 'final' modifier.
* java/io/DataInputStream.java
(readFully): Throw IndexOutOfBoundsException of len < 0.
* java/io/FileDescriptor.java,
java/io/FileInputStream.java,
java/io/FileOutputStream.java,
java/io/ObjectOutputStream.java,
java/io/ObjectStreamClass.java,
java/io/PipedInputStream.java,
java/io/RandomAccessFile.java:
Reorganized import statements.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88817
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 9 Oct 2004 09:57:02 +0000 (09:57 +0000)]
2004-10-09 Michael Koch <konqueror@gmx.de>
* gnu/java/rmi/rmic/RMIC.java,
gnu/java/rmi/server/RMIHashes.java,
gnu/java/rmi/server/RMIObjectInputStream.java,
gnu/java/rmi/server/UnicastConnection.java,
gnu/java/rmi/server/UnicastConnectionManager.java,
gnu/java/rmi/server/UnicastRemoteCall.java,
gnu/java/rmi/server/UnicastServerRef.java:
Reworked import statements and fixed file headers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88816
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sat, 9 Oct 2004 08:23:02 +0000 (08:23 +0000)]
2004-10-09 Paolo Carlini <pcarlini@suse.de>
* include/std/std_memory.h (__get_temporary_buffer): Don't use
INT_MAX, prefer numeric_limits<ptrdiff_t>::max(), ok on 64-bit
platforms too.
* testsuite/20_util/memory/auto_ptr/assign_neg.cc: Adjust dg-error
line numbers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88814
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Sat, 9 Oct 2004 02:30:10 +0000 (02:30 +0000)]
2004-10-08 Benjamin Kosnik <bkoz@redhat.com>
* acconfig.h: Add _GLIBCXX_USE___CXA_ATEXIT.
* acinclude.m4 (GLIBCXX_ENABLE_CXA_ATEXIT): New.
* configure.ac: Call GLIBCXX_ENABLE_CXA_EXIT.
* configure: Regenerate.
* src/mt_allocator.cc (__pool::~__pool): Make conditional on
_GLIBCXX_USE___CXA_ATEXIT macro.
* docs/html/ext/mt_allocator.html: Add note about deallocation.
* testsuite/ext/mt_allocator/deallocate_local-2.cc: Guard checks
with _GLIBCXX_USE___CXA_ATEXIT.
* testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
* testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
* testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
* testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
* testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
* testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
* testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88809
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 9 Oct 2004 00:16:17 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88805
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 9 Oct 2004 00:16:12 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88804
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Fri, 8 Oct 2004 23:29:35 +0000 (23:29 +0000)]
2004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/17902
* g++.dg/opt/pr17902.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88802
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Fri, 8 Oct 2004 23:25:49 +0000 (23:25 +0000)]
2004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/17902
* tree-ssa-phiopt.c (conditional_replacement): Use bsi_after_labels
instead of bsi_start.
(value_replacement): Likewise.
(abs_replacement): Likewise
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88801
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Fri, 8 Oct 2004 22:56:55 +0000 (22:56 +0000)]
* cfgexpand.c (maybe_dump_rtl_for_tree_stmt): New function.
(expand_gimple_cond_expr, expand_gimple_tailcall,
expand_gimple_basic_block): Use it to dump RTL for each stmt.
(tree_expand_cfg): Announce full RTL function dump.
* tree-optimize.c (execute_one_pass): Use normal RTL printing,
not the graph version.
* tree-pretty-print.c (dump_generic_node): Allow empty statements
in the arms of a COND_EXPR for lowered nodes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88800
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 8 Oct 2004 22:49:39 +0000 (22:49 +0000)]
* gcc.dg/cpp/ident-1.c: Add dg-options "".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88799
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 8 Oct 2004 22:45:48 +0000 (22:45 +0000)]
* config/rs6000/spe.h (atosfix16, atosfix32, atosfix64, atoufix16,
atoufix32, atoufix64, strtosfix16, strtosfix32, strtosfix64,
strtoufix16, strtoufix32, strtoufix64): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88798
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Fri, 8 Oct 2004 22:03:36 +0000 (22:03 +0000)]
2004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
PR fortran/17901
* options.c (gfc_handle_option): Add break after handing the
J/M option.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88797
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 8 Oct 2004 20:25:42 +0000 (20:25 +0000)]
* c-lex.c (interpret_float): Give a pedwarn rather than a warning
for an out-of-range floating point constant.
* builtins.c (fold_builtin_inf): Give a pedwarn rather than a
warning if the target format does not support infinities.
testsuite:
* gcc.dg/float-range-1.c, gcc.dg/float-range-2.c: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88793
138bc75d-0d04-0410-961f-
82ee72b054a4
doko [Fri, 8 Oct 2004 20:01:14 +0000 (20:01 +0000)]
- Fix reference to PR (17285 -> 17835)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88790
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 8 Oct 2004 19:59:26 +0000 (19:59 +0000)]
* emit-rtl.c (last_label_num, base_label_num): Remove.
(max_label_num): Always return label_num.
(set_new_last_label_num, restore_emit_status): Remove.
(init_emit): Don't initialize last_label_num.
* function.c (pop_function_context_from): Don't call
restore_emit_status.
* function.h: Remove the prototype for restore_emit_status.
* rtl.h: Remove the prototype for set_new_last_label_num.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88789
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 8 Oct 2004 19:57:18 +0000 (19:57 +0000)]
* stmt.c (expand_decl_init): Remove.
* tree.h: Remove the corresponding prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88788
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 8 Oct 2004 19:55:31 +0000 (19:55 +0000)]
* integrate.c (try_constants, subst_constants, mark_stores):
Remove.
* integrate.h: Remove the prototype for try_constants.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88787
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 8 Oct 2004 19:52:04 +0000 (19:52 +0000)]
* c-typeck.c (enum impl_conv): Add ic_argpass_nonproto.
(convert_for_assignment): Handle ic_argpass_nonproto. Add
comments about its relevance to errors.
(c_convert_parm_for_inlining): Use ic_argpass_nonproto.
testsuite:
* gcc.dg/assign-warn-3.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88784
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Fri, 8 Oct 2004 19:40:57 +0000 (19:40 +0000)]
PR c++/17868
* error.c (dump_expr): Add missing case for RDIV_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88781
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Fri, 8 Oct 2004 18:53:13 +0000 (18:53 +0000)]
* arith.c: Fix formatting issues.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88779
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Fri, 8 Oct 2004 18:37:07 +0000 (18:37 +0000)]
2004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
PR c/16999
* c-ppoutput.c (cb_ident): Don't quote string as it is already
quoted.
* gcc.dg/cpp/ident-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88773
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Fri, 8 Oct 2004 18:02:26 +0000 (18:02 +0000)]
* tree-ssa-pre.c (init_pre): Use size of ARRAY_REF to allocate
reference_node_pool.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88769
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 8 Oct 2004 17:11:16 +0000 (17:11 +0000)]
* tree-cfg.c: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88767
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Fri, 8 Oct 2004 16:36:09 +0000 (16:36 +0000)]
2004-10-08 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.c (s390_register_info): Don't save fprs for
-msoft-float.
(s390_conditional_register_usage): Make fprs 'fixed' for -msoft-float.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88764
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Fri, 8 Oct 2004 16:28:49 +0000 (16:28 +0000)]
* config/s390/s390.h (TARGET_DEFAULT_BACKCHAIN): New define.
(TARGET_DEFAULT): Use symbolic values.
* config/s390/tpf.h (TARGET_DEFAULT_BACKCHAIN): Redefine.
(TARGET_DEFAULT): Use symbolic values.
* config/s390/s390.c (s390_backchain_string): Initialize to
TARGET_DEFAULT_BACKCHAIN.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88763
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 8 Oct 2004 16:07:56 +0000 (16:07 +0000)]
* builtins.c (expand_builtin_mempcpy): Move tree handling code to
fold_builtin_mempcpy. Accept a type parameter. Delete duplicate
code.
(expand_builtin_strcat): Accept a type parameter.
(fold_builtin_mempcpy): Accept a type and endp parameter.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88762
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 8 Oct 2004 16:06:02 +0000 (16:06 +0000)]
* builtins.c (expand_builtin_strncpy): Delete duplicate code.
Accept an `exp' instead of an `arglist'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88761
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Fri, 8 Oct 2004 15:09:16 +0000 (15:09 +0000)]
.:
* tree-tailcall.c (tree_optimize_tail_calls_1): Use fold_convert,
reverting my 2004-09-07 patch to use build_int_cst.
testsuite:
* gcc.c-torture/compile/acc1.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88759
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Fri, 8 Oct 2004 14:40:38 +0000 (14:40 +0000)]
2004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
* archive.c: Fix all the warnings about passing unsigned char*
to char* and the other way too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88758
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Fri, 8 Oct 2004 14:37:40 +0000 (14:37 +0000)]
2004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
* gcc.dg/darwin-longdouble.c: Include stdlib.h and string.h.
* gcc.dg/darwin-abi-2.c: Include stdlib.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88757
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Fri, 8 Oct 2004 13:34:56 +0000 (13:34 +0000)]
PR target/17245
* config/sparc/sparc.c (input_operand): Remove redundant code
for handling LO_SUM.
(legitimate_address_p) <REG+REG>: Do not recheck TARGET_V9.
<LO_SUM>: If LO_SUM is offsettable, accept it for TFmode on V9.
Otherwise only accept it for TFmode if quad move insns are available.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88753
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 8 Oct 2004 13:20:39 +0000 (13:20 +0000)]
* tree-cfg.c (tree_forwarder_block_p): Reorder checks so that
common cases will be caught earlier than others.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88752
138bc75d-0d04-0410-961f-
82ee72b054a4
matz [Fri, 8 Oct 2004 13:11:31 +0000 (13:11 +0000)]
* gcc.dg/doloop-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88751
138bc75d-0d04-0410-961f-
82ee72b054a4
matz [Fri, 8 Oct 2004 13:10:00 +0000 (13:10 +0000)]
* loop-doloop.c (doloop_optimize): Extend count.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88750
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 8 Oct 2004 13:04:09 +0000 (13:04 +0000)]
* pt.c, search.c: Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88749
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Fri, 8 Oct 2004 12:50:12 +0000 (12:50 +0000)]
2004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
* pch.c (cpp_write_pch_state): Remove variable z as it is not
used.
(cpp_read_state): Remove unused variables, m, d and mac_count.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88748
138bc75d-0d04-0410-961f-
82ee72b054a4
kkojima [Fri, 8 Oct 2004 11:44:20 +0000 (11:44 +0000)]
* config/sh/sh.md (tls_global_dynamic): Use MEM pattern for the
first argument of CALL.
(tls_local_dynamic): Likewise.
* config/sh/sh.md (prefetch_media, prefetch_i4): New insns.
(prefetch): Convert to expander.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88747
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 8 Oct 2004 10:34:22 +0000 (10:34 +0000)]
* gcc.pot: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88743
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 8 Oct 2004 10:21:42 +0000 (10:21 +0000)]
* c-typeck.c (enum impl_conv): New.
(convert_for_assignment): Use it. Take tree for function called
instead of its name. Handle ObjC selectors for diagnostics at
start of function. Select diagnostic text within the function
using full sentences for diagnsotics. Use %qE to name functions
in diagnostics.
(convert_arguments, build_modify_expr,
c_convert_parm_for_inlining, digest_init, c_finish_return): Update
callers to convert_for_assignment.
(warn_for_assignment): Remove.
testsuite:
* gcc.dg/assign-warn-1.c, gcc.dg/assign-warn-2.c: New tests.
* gcc.dg/warn-1.c, gcc.dg/noncompile/
20020213-1.c,
objc.dg/method-9.m: Update expected diagnostics.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88741
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Fri, 8 Oct 2004 09:55:47 +0000 (09:55 +0000)]
Remove the entry corresponding to a not yet committed patch:
2004-10-04 Sebastian Pop <pop@cri.ensmp.fr>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88740
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Fri, 8 Oct 2004 09:46:23 +0000 (09:46 +0000)]
(symbian_possibly_export_base_class): Replace use of deleted
TYPE_USES_VIRTUAL_BASECLASSES macro with TYPE_CONTAINS_VPTR_P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88739
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Fri, 8 Oct 2004 09:33:55 +0000 (09:33 +0000)]
* cp-tree.h (dfs_walk, dfs_walk_real, dfs_unmark, markedp,
unmarkedp): Remove.
(dfs_skip_bases, dfs_walk_all, dfs_walk_once): New.
* class.c (struct find_final_overrider_data): Remove most_derived,
vpath_list and vpath fields. Add path field.
(dfs_find_final_ocerrider_1): Add DEPTH parameter. Adjust.
(dfs_find_final_overrider): Rename to ...
(dfs_find_final_overrider_pre): ... here. Adjust.
(dfs_find_final_overrider_post): Adjust.
(dfs_find_final_overrider_q): Fold into
dfs_find_final_overrider_pre.
(find_final_overrider): Adjust dfs searching.
(dfs_modify_vtables): Don't mark binfo here.
(modify_all_vtables): Use dfs_walk_once.
(build_vtt_inits): Likwise. Use dfs_walk_all.
(dfs_build_secondary_vptr_vtt_inits): Don't mark binfo here.
Return dfs_skip_bases as appropriate.
(dfs_fixup_binfo_vtbls): Return dfs_skip_bases as appropriate.
* init.c (dfs_initialized_vtbl_ptrs): Return dfs_skip_bases as
appropriate. Don't mark binfo here.
(initialize_vtbl_ptrs): Use dfs_walk_once.
* search.c (struct vbase_info): Remove unused struct.
(access_in_type): Use dfs_walk_once.
(dfs_access_in_type): Don't mark binfo here.
(dfs_accessible_queue_p, dfs_accessible_p) Remove.
Fold into ...
(accessible_r): ... here. New. Specialize dfs_walk_once.
(accessible_p): Use accessible_r.
(lookup_field_queue_p): Remove. Fold into ...
(lookup_field_r): ... here. Adjust.
(lookup_member): Use dfs_walk_all.
(dfs_walk_real, dfs_walk): Replace with ...
(dfs_walk_all, dfs_walk_once): ... these.
(dfs_walk_once_r, dfs_unmark_r): Workers for dfs_walk_once.
(dfs_unmark, unmarkedp, markedp): Remove.
(dfs_get_pure_virtuals): Don't mark binfo here.
(get_pure_virtuals): Use dfs_walk_once.
(dfs_debug_unmarked_p): Remove. Fold into ...
(dfs_debug_mark): ... here.
(note_debug_info_needed): Use dfs_walk_all.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88738
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Fri, 8 Oct 2004 08:21:38 +0000 (08:21 +0000)]
m32r.h (CONDITIONAL_REGISTER_USAGE): Don't exclude fixed registers form
all_used_regs. Update call_really_used_regs.
(CALL_REALLY_USED_REGISTERS): Define.
m32r.c (MUST_SAVE_REGISTER): Replace call_used_regs with call_really_used_regs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88737
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Fri, 8 Oct 2004 07:04:27 +0000 (07:04 +0000)]
* config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Choose gcrt1.o
for -profile as well as -p and -pg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88736
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Fri, 8 Oct 2004 03:07:38 +0000 (03:07 +0000)]
2004-10-07 Andrew Pinski <pinskia@physics.uc.edu>
* libgcc2.c (__moddi3): Cast &w to UDWtype*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88735
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Fri, 8 Oct 2004 02:55:15 +0000 (02:55 +0000)]
2004-10-07 Andrew Pinski <pinskia@physics.uc.edu>
* libgcc2.c (__moddi3): Cast &w to UDWtype*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88734
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Fri, 8 Oct 2004 02:46:00 +0000 (02:46 +0000)]
2004-10-07 Andrew Pinski <pinskia@physics.uc.edu>
* pt.c (tsubst_expr) <case ASM_EXPR>: Look passed the
CLEANUP_POINT_EXPR to get the asm expression.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88733
138bc75d-0d04-0410-961f-
82ee72b054a4
bwilson [Fri, 8 Oct 2004 00:28:50 +0000 (00:28 +0000)]
2004-10-07 Bob Wilson <bob.wilson@acm.org>
* xtensa-config.h (XSHAL_USE_ABSOLUTE_LITERALS,
XCHAL_HAVE_PREDICTED_BRANCHES, XCHAL_INST_FETCH_WIDTH): New.
(XCHAL_EXTRA_SA_SIZE, XCHAL_EXTRA_SA_ALIGN): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88727
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Fri, 8 Oct 2004 00:16:28 +0000 (00:16 +0000)]
PR fortran/17676
* resolve.c (resolve_operator): Use correct operator name in message.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88726
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 8 Oct 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88724
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 8 Oct 2004 00:16:10 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88723
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Fri, 8 Oct 2004 00:11:38 +0000 (00:11 +0000)]
2004-10-07 J"orn Rennecke <joern.rennecke@st.com>
* MAINTAINERS: Update my email address.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88721
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 7 Oct 2004 23:31:04 +0000 (23:31 +0000)]
* tree-cfg.c (tree_block_forwards_to): Remove.
* tree-flow.h: Remove the corresponding prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88719
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Thu, 7 Oct 2004 23:20:42 +0000 (23:20 +0000)]
2004-10-07 Phil Edwards <phil@codesourcery.com>
* testsuite/lib/libstdc++.exp: Update list of undefined functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88716
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 7 Oct 2004 22:44:30 +0000 (22:44 +0000)]
2004-10-07 Paolo Carlini <pcarlini@suse.de>
* include/bits/list.tcc (operator=): Avoid iterator postincrement.
* include/bits/stl_tree.h (erase(iterator, iterator)): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88715
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 7 Oct 2004 22:24:43 +0000 (22:24 +0000)]
* tree-flow-inline.h (phi_nodes): Remove an unnecessary check
for ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88714
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 7 Oct 2004 22:06:23 +0000 (22:06 +0000)]
2004-10-07 Benjamin Kosnik <bkoz@redhat.com>
* include/tr1: New.
* include/tr1/array: New.
* include/Makefile.am (tr1_headers): New.
(stamp-tr1): New.
(install-headers): New.
(allstamped): Add stamp-tr1.
* include/ext/array_allocator.h: New.
* include/Makefile.am: Add.
* include/Makefile.in: Regenerate.
* testsuite/ext/array_allocator/1.cc: New.
* testsuite/ext/array_allocator/2.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88711
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Thu, 7 Oct 2004 22:00:29 +0000 (22:00 +0000)]
* testsuite/lib/libstdc++.exp (libstdc++_exit): New proc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88710
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Thu, 7 Oct 2004 21:30:50 +0000 (21:30 +0000)]
* io/transfer.c (finalize_transfer): Free internal streams.
* io/unix.c (mem_close): Free stream object.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88709
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Thu, 7 Oct 2004 21:16:28 +0000 (21:16 +0000)]
2004-10-07 Geoffrey Keating <geoffk@apple.com>
Radar 3813796
* config/rs6000/rs6000.c (rs6000_generate_compare): When
flag_trapping_math is in effect, don't generate subtract
instructions.
Index: testsuite/ChangeLog
2004-10-07 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/ppc-fsel-3.c: New file.
* gcc.dg/ppc-fsel-1.c: Add -fno-trapping-math, update comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88707
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Thu, 7 Oct 2004 20:44:28 +0000 (20:44 +0000)]
* config/s390/s390-protos.h (s390_narrow_logical_operator): Add.
* config/s390/s390.c (s390_narrow_logical_operator): New function.
(s390_extra_constraint_str): Add 'A' constraints.
(s390_const_ok_for_constraint_p): Add 'Nx' constraints.
* config/s390/s390.h (EXTRA_MEMORY_CONSTRAINT): Add 'A' constraint.
(CONSTRAINT_LEN): Likewise.
* config/s390/s390.md ("*anddi3"): Add NI alternative and splitter.
("*andsi3_zarch", "*andsi3_esa"): Likewise.
("*andhi3_zarch", "*andhi3_esa"): Likewise.
("*iordi3"): Add OI alternative and splitter.
("*iorsi3_zarch", "*iorsi3_esa"): Likewise.
("*iorhi3_zarch", "*iorhi3_esa"): Likewise.
("*xordi3"): Add XI alternative and splitter.
("*xorsi3", "*xorhi3"): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88705
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Thu, 7 Oct 2004 20:19:32 +0000 (20:19 +0000)]
* intrinsics/string_intrinsics.c (string_verify): Fix off by one
error.
testsuite/
* gfortran.dg/intrinsic_verify_1.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88704
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Thu, 7 Oct 2004 20:08:41 +0000 (20:08 +0000)]
* config/mips/mips.c (mips_function_rodata_section): New function.
(TARGET_ASM_FUNCTION_RODATA_SECTION): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88703
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 7 Oct 2004 18:32:14 +0000 (18:32 +0000)]
* de.po: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88699
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 7 Oct 2004 17:48:36 +0000 (17:48 +0000)]
* cp-tree.h (ICS_USER_FLAG): Remove comment about obsolete flag.
(DECL_MEMBER_TEMPLATE_P): New macro.
(is_member_template): Remove.
(class_method_index_for_fn): New function.
* pt.c (build_over_call): Use DECL_MEMBER_TEMPLATE_P.
* class.c (finish_struct_methods): Remove out-of-date comment.
* decl.c (copy_fn_p): Use DECL_MBMER_TEMPLATE_P.
* decl2.c (check_classfn): Use DECL_MEMBER_TEMPLATE_P and
class_method_index_for_fn.
* pt.c (is_member_template): Remove.
(is_member_template_class): Likewise.
(optimize_specialization_lookup_p): New function.
(retrieve_specialization): Optimize lookups for members that are
not member templates.
(register_specialization): Adjust accordingly.
(build_template_decl): Add member_template_p parameter. Set
DECL_MEMBER_TEMPLATE_P.
(process_partial_specialization): Adjust call to
retrieve_specialization.
(push_template_decl_real): Determine whether the template is a
member template.
(lookup_template_class): Use retrieve_specialization.
(tsubst_decl): Adjust call to retrieve_specialization.
(tsubst_exception_specification): New function.
(tsubst): Use it.
(tsubst_copy): Use DECL_MEMBER_TEMPLATE_P.
(instantiate_template): Adjust call to retrieve_specialization.
(regenerate_decl_from_template): Do not actually generate a new
DECL.
(instantiate_decl): Adjust call to retrieve_specialization.
(class_method_index_for_fn): New method.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88697
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Thu, 7 Oct 2004 17:45:40 +0000 (17:45 +0000)]
* gfortran.dg/empty_format_1.f90: Remove stray commas.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88696
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Thu, 7 Oct 2004 17:07:18 +0000 (17:07 +0000)]
* gfortran.fortran-torture/execute/intrinsic_mvbits.f90,
gfortran.dg/ishft.f90: Add more tests. Add dg-warning in followup
commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88695
138bc75d-0d04-0410-961f-
82ee72b054a4
dpatel [Thu, 7 Oct 2004 16:05:35 +0000 (16:05 +0000)]
* rs6000/altivec.md (UNSPEC_VCMPBFP, UNSPEC_VCMPEQUB, UNSPEC_VCMPEQUH,
UNSPEC_VCMPEQUW, UNSPEC_VCMPGEFP, UNSPEC_VCMPGTUB, UNSPEC_VCMPGTSB,
UNSPEC_VCMPGTUH, UNSPEC_VCMPGTSH, UNSPEC_VCMPGTUW, UNSPEC_VCMPGTSW,
UNSPEC_VCMPGTFP, UNSPEC_VSEL4SI, UNSPEC_VSEL4SF, UNSPEC_VSEL8HI,
UNSPEC_VSEL16QI, UNSPEC_VCOND_V4SI, UNSPEC_VCOND_V4SF, UNSPEC_VCOND_V8HI,
UNSPEC_VCOND_V16QI, UNSPEC_VCONDU_V4SI, UNSPEC_VCONDU_V8HI,
UNSPEC_VCONDU_V16QI): New constant defines.
(vcondv4si, vcondv4sf, vcondv8hi, vcondv16qi, vconduv4si, vconduv8hi,
vconduv16qi): New patterns.
* rs6000/rs6000-protos.h (rs6000_emit_vector_cond_expr): New function.
* rs6000/rs6000.c (rs6000_emit_vector_cond_expr): New function.
(get_vec_cmp_insn): Same.
(get_vsel_insn): Same.
(rs6000_emit_vector_compare): Same.
(rs6000_emit_vector_select): Same.
(INSN_NOT_AVAILABLE): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88692
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Thu, 7 Oct 2004 15:52:26 +0000 (15:52 +0000)]
PR libstdc++/17850
* configure.ac: Newlib does not provide strtold.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88691
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Thu, 7 Oct 2004 15:12:06 +0000 (15:12 +0000)]
fortran/
* primary.c (match_boz_constant): Allow kind parameter suffixes.
Move standard warning further to the front.
testsuite/
* gfortran.fortran-torture/execute/intrinsic_mvbits.f90,
gfortran.dg/ishft.f90: Add more tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88690
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Thu, 7 Oct 2004 14:21:15 +0000 (14:21 +0000)]
PR tree-optimization/17749
* tree-tailcall.c (find_tail_calls): Check that parameter is
a gimple_reg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88689
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Thu, 7 Oct 2004 13:48:27 +0000 (13:48 +0000)]
cp/ChangeLog:
* parser.c (cp_parser_asm_definition): Look passed the
CLEANUP_POINT_EXPR to get the asm expression.
testsuite/ChangeLog:
* g++.dg/ext/asm6.C: Remove extraneous semicolon.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88688
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 7 Oct 2004 13:18:34 +0000 (13:18 +0000)]
* config/ia64/ia64.c: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88686
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 7 Oct 2004 13:16:16 +0000 (13:16 +0000)]
* trans-stmt.c: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88685
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 7 Oct 2004 12:14:45 +0000 (12:14 +0000)]
* doc/install.texi (*-*-solaris2*): Fix marker for URL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88682
138bc75d-0d04-0410-961f-
82ee72b054a4
giovannibajo [Thu, 7 Oct 2004 08:36:28 +0000 (08:36 +0000)]
PR c++/17115
* tree-inline.c (expand_call_inline): Do not warn for functions
marked with attribute noinline.
PR c++/17115
* g++.dg/warn/Winline-4.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88678
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 7 Oct 2004 07:55:39 +0000 (07:55 +0000)]
PR target/17862
* config/sparc/sparc.c (sparc_output_mi_thunk): Set
current_function_uses_only_leaf_regs as well as sparc_leaf_function_p.
* config/sparc/sparc.c (sparc_gimplify_va_arg): Pass 'false' instead
of 0 as 4th argument to pass_by_reference.
Call build_va_arg_indirect_ref instead of build_fold_indirect_ref.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88674
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Thu, 7 Oct 2004 06:48:22 +0000 (06:48 +0000)]
2004-10-06 Eric Christopher <echristo@redhat.com>
* config/sh/sh.c (sh_dwarf_calling_convention): Fix renesas dwarf
attribute.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88671
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Thu, 7 Oct 2004 06:41:25 +0000 (06:41 +0000)]
PR target/17770
* config/mips/mips.md (mov_<load>l): Remove hazard=none attribute.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88670
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Thu, 7 Oct 2004 06:20:34 +0000 (06:20 +0000)]
PR rtl-optimization/17791
* loop-doloop.c (doloop_modify): Take number of iterations as
argument.
(doloop_optimize): Extend or shorten the number of iterations
when changing mode of counter register.
* loop-iv.c (lowpart_subreg): Export.
* rtl.h (lowpart_subreg): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88668
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 7 Oct 2004 06:15:40 +0000 (06:15 +0000)]
Fix wrong attribution.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88666
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Thu, 7 Oct 2004 06:14:15 +0000 (06:14 +0000)]
PR tree-optimization/17806
* cfghooks.c (split_edge): Update IRREDUCIBLE_LOOP flags.
* cfgloopmanip.c (loop_split_edge_with): Updating of IRREDUCIBLE_LOOP
flags moved to split_edge.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88665
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 7 Oct 2004 06:08:15 +0000 (06:08 +0000)]
* gcc.c-torture/compile/
20041007-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88662
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 7 Oct 2004 05:56:51 +0000 (05:56 +0000)]
PR middle-end/17835
* expmed.c (expand_sdiv_pow2): Force a stack adjustment
before tentatively building the conditional move sequence.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88661
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Thu, 7 Oct 2004 05:34:30 +0000 (05:34 +0000)]
PR target/16815
* function.c (assign_parm_setup_block_p): Tighten BLOCK_REG_PADDING
check.
* config/pa/pa.h (BLOCK_REG_PADDING): Define in terms of
function_arg_padding.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88660
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Thu, 7 Oct 2004 05:28:46 +0000 (05:28 +0000)]
PR bootstrap/17857
* Makefile.in (stmp-fixproto): Pass FIX_HEADER=build/... to fixproto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88659
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 7 Oct 2004 04:03:44 +0000 (04:03 +0000)]
* MAINTAINERS (Language Front Ends Maintainers): New. Move
entries belonging to this category.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88658
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 7 Oct 2004 04:00:55 +0000 (04:00 +0000)]
* hooks.c (hook_int_void_1, hook_void_int): Remove.
* hooks.h: Remove the corresponding prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88657
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Thu, 7 Oct 2004 00:43:21 +0000 (00:43 +0000)]
PR fortran/17678
* trans-array.c (gfc_trans_deferred_array): Leave use associated
variables alone.
testsuite/
* gfortran.dg/use_allocated_1.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88655
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 7 Oct 2004 00:17:18 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88653
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 7 Oct 2004 00:17:13 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88652
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Wed, 6 Oct 2004 23:45:48 +0000 (23:45 +0000)]
2004-10-06 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/17849
* gfortran.fortran-torture/compile/nested.f90: New test
2004-10-06 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/17849
* tree-nested.c (walk_stmt_info): Add changed field.
(convert_nonlocal_reference): Set changed to when we
change a decl to unnested decl.
<case ADDR_EXPR>: Instead of checking if the immediate part
of the ADDR_EXPR changed, check the field changed.
Use recompute_tree_invarant_for_addr_expr instead of unsetting
TREE_INVARIANT.
(convert_local_reference): Set changed to when we
change a decl to unnested decl.
<case ADDR_EXPR>: Instead of checking if the immediate part
of the ADDR_EXPR changed, check the field changed.
Also call recompute_tree_invarant_for_addr_expr on the ADDR_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88650
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Wed, 6 Oct 2004 23:16:43 +0000 (23:16 +0000)]
* simplify.c (gfc_simplify_abs): Use mpfr_hypot for CABS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88647
138bc75d-0d04-0410-961f-
82ee72b054a4