gccadmin [Sat, 31 Jul 2004 00:16:14 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85369
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 31 Jul 2004 00:03:38 +0000 (00:03 +0000)]
* config/i386/i386.md: New peephole2's to convert imul by 3, 5 or
9 into the equivalent lea instruction.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85366
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 30 Jul 2004 22:55:30 +0000 (22:55 +0000)]
* gimplify.c (gimplify_expr) <case CONST_DECL>: Don't replace
with DECL_INITIAL if fb_lvalue.
* tree-gimple.c (is_gimple_id): Add CONST_DECL.
* tree-pretty-print.c (dump_decl_name): Dump unnamed CONST_DECL
with <Cxxx>.
* tree-ssa-ccp.c (maybe_fold_stmt_indirect): Fold CONST_DECL.
fortran/
* trans-expr.c (gfc_conv_expr_reference): Create a CONST_DECL
for TREE_CONSTANTs.
testsuite/
* gfortran.fortran-torture/execute/intrinsic_rrspacing.f90: Fix
write to constant argument.
* gfortran.fortran-torture/execute/intrinsic_scale.f90: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85365
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 30 Jul 2004 22:31:20 +0000 (22:31 +0000)]
* gfortran.fortran-torture/execute/intrinsic_nearest.f90: Disable
tests of nearest around zero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85361
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Fri, 30 Jul 2004 22:01:59 +0000 (22:01 +0000)]
2004-07-30 Andrew Pinski <apinski@apple.com>
* gcc.c-torture/compile/
20040730-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85360
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Fri, 30 Jul 2004 19:40:30 +0000 (19:40 +0000)]
* tree-ssa-alias.c (compute_points_to_and_addr_escape): If a
pointer escapes through a function call, assume that the
callee will dereference it.
(add_pointed_to_var): Assume that VALUE is always an
ADDR_EXPR.
(collect_points_to_info_r): Only call add_pointed_to_var if
the value is an ADDR_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85353
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Fri, 30 Jul 2004 18:37:03 +0000 (18:37 +0000)]
* gcc.dg/vmx/vmx.exp: Explain why we skip tests for
powerpc-eabispe.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85346
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Fri, 30 Jul 2004 17:00:34 +0000 (17:00 +0000)]
2004-07-30 Michael Koch <konqueror@gmx.de>
* java/util/zip/GZIPInputStream.java
(GZIPInputStream): Increase buffer size to 4k.
* java/util/zip/GZIPOutputStream.java
(GZIPOutputStream): Likewise.
* java/util/zip/Inflater.java
(setInput): Merged formating with GNU classpath.
* java/util/zip/InflaterInputStream.java
(InflaterInputStream): Increase buffer size to 4k.
(fill): Throw exception if stream ends early.
(read): Merged endless-loop with GNU classpath.
(skip): Increase buffer size to 2k.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85340
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Fri, 30 Jul 2004 14:59:46 +0000 (14:59 +0000)]
* tree-ssa-alias.c (create_alias_map_for): Do not get the
alias set of the inner type of ARRAY_TYPEs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85338
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Fri, 30 Jul 2004 14:50:50 +0000 (14:50 +0000)]
2004-07-30 Michael Koch <konqueror@gmx.de>
* gnu/java/awt/EmbeddedWindow.java
(addNotify): Use AccessController to allow execution of privileged
code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85337
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Fri, 30 Jul 2004 13:51:12 +0000 (13:51 +0000)]
* gcc.dg/vmx/vmx.exp: Disable tests for eabispe.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85331
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Fri, 30 Jul 2004 10:34:12 +0000 (10:34 +0000)]
* lib/g++.exp (g++_link_flags): Check whether LD_LIBRARY_PATH already
contains $ld_library_path.
* lib/gfortran.exp (gfortran_link_flags): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85329
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 30 Jul 2004 00:16:56 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85321
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Fri, 30 Jul 2004 00:16:17 +0000 (00:16 +0000)]
* tree-ssa-ccp.c (visit_assignment): Move code to prevent
setting a non-register to UNDEFINED right before the call to
set_lattice_value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85318
138bc75d-0d04-0410-961f-
82ee72b054a4
kkojima [Thu, 29 Jul 2004 22:27:43 +0000 (22:27 +0000)]
* config/sh/lib1funcs.asm: Make aliases movstr* for movmem*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85316
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 29 Jul 2004 22:11:04 +0000 (22:11 +0000)]
2004-07-29 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/14220
* include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
Don't clip the precision passed down to __convert_from_v:
22.2.2.2.2 nowhere says so.
* testsuite/22_locale/num_put/put/char/14220.cc: New.
* testsuite/22_locale/num_put/put/wchar_t/14220.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85315
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Thu, 29 Jul 2004 20:16:26 +0000 (20:16 +0000)]
* tree-ssa.c (verify_flow_sensitive_alias_info): When
comparing points-to sets of different pointers, make sure the
second pointer is actually referenced in the code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85314
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 29 Jul 2004 18:35:54 +0000 (18:35 +0000)]
* g++.dg/ext/stmtexpr2.C (alt1): Rename from expected.
(alt2, which): New.
(Check): Accept either alternative.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85313
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 29 Jul 2004 18:32:08 +0000 (18:32 +0000)]
* g++.dg/template/sizeof8.C: Don't assume 32bit pointers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85312
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Thu, 29 Jul 2004 18:30:27 +0000 (18:30 +0000)]
* config/ia64/ia64.c (setjmp_operand): Delete, unused.
(got_symbolic_operand): Remove unreachable code.
* config/ia64/ia64.h (PREDICATE_CODES): Remove entry for
setjmp_operand; add entry for tls_symbolic_operand.
* config/ia64/ia64-protos.h: Remove all prototypes of
predicate functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85311
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 29 Jul 2004 18:04:42 +0000 (18:04 +0000)]
2004-07-29 Paolo Carlini <pcarlini@suse.de>
* docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 31.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85310
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 29 Jul 2004 17:59:31 +0000 (17:59 +0000)]
* c-common.h (lang_post_pch_load): New variable.
* c-pch.c (lang_post_pch_load): Define it.
(c_common_read_pch): Use it.
* cgraphunit.c (record_call_1): Give the front end a chance to
record additional needed entities when a variable is marked as
needed.
* tlink.c (recompile_files): Robustify.
(scan_linker_output): If a symbol is assigned to a file,
but after recompilation is not present there, issue an error
message.
* cp-tree.h (IDENTIFIER_REPO_CHOSEN): Define.
(lang_decl_flags): Narrow the width of "languages". Add
repo_available_p.
(DECL_NEEDED_P): Remove.
(FOR_EACH_CLONE): New macro.
(DECL_REPO_AVAILABLE_P): Likewise.
(DECL_TINFO_P): Likewise.
(set_linkage_according_to_type): Declare.
(import_export_vtable): Remove.
(import_export_tinfo): Likewise.
(mark_needed): New function.
(decl_needed_p): Likewise.
(note_vauge_linkage_fn): Likewise.
(init_repo): Change prototype.
(repo_template_used): Remove.
(repo_template_instantiated): Likewise.
(repo_emit_p): New function.
(repo_export_class_p): Likewise.
(no_linkage_check): Change prototype.
* class.c (set_linkage_according_to_type): New function.
(build_vtable): Use it. Do not call import_export_vtable. Set
DECL_IGNORED_P if appropriate.
* decl.c (duplicate_decls): Preserve DECL_REPO_AVAILABLE_P.
(make_rtL_for_nonlocal_decls): Check for template instantiations
explicitly.
(grokfndecl): Adjust call to no_linkage_check.
(set_linkage_for_static_data_member): New function.
(grokvardecl): Use it. Adjust call to no_linkage_check.
(grokdeclarator): Use set_linkage_for_static_data_member.
* decl2.c (note_vague_linkage_fn): New function.
(note_vague_linkage_var): Likewise.
(finish_static_data_member_decl): Use it.
(import_export_vtable): Remove.
(import_export_class): Use repo_export_class_p.
(var_finalized_p): Simplify.
(maybe_emit_vtables): Simplify.
(mark_needed): New function.
(decl_needed_p): Likewise.
(import_export_decl): Add documentation and consistency checks.
Use repo_emit_p. Handle virtual tables and RTTI information
here.
(import_export_tinfo): Remove.
(write_out_vars): Call import_export_decl.
(cxx_callgraph_analyze_expr): Ensure that all vtables are emitted
whenever one is.
(finish_file): Use decl_needed_p. Do not call import_export_decl
for undefined static data members. Do not warn about undefined
inlines when using a repository.
(mark_used): Use note_vague_linkage_fn. Always defer template
instantiations.
* lex.c (cxx_init): Adjust call to init_repo. Always set
flag_unit_at_a-time.
* method.c (synthesize_method): Remove unncessary
import_export_decl call.
(implicitly_declare_fn): Use set_linkage_according_to_type.
* optimize.c (maybe_clone_body): Use FOR_EACH_CLONE.
* pt.c (instantiate_class_template): Don't redundantly add classes
to keyed_classes. Don't call repo_template_used.
(tsubst_decl): Set DECL_INTERFACE_KNOWN for instantiations of
templates with internal linkage.
(check_instantiated_args): Adjust call to no_linkage_check.
(instantiate_template): Use FOR_EACH_CLONE.
(mark_definable): New function.
(mark_decl_instantiated): Use it.
(do_decl_instantiation): Adjust tests for explicit instantiation
after "extern template".
(instantiate_class_member): Do not use repo_template_instantiated.
(do_type_instantiation): Simplify.
(instantiate_decl): Use mark_definable. Check repo_emit_p.
Simplify.
* repo.c (repo_get_id): Remove.
(original_repo): Remove.
(IDENTIFIER_REPO_USED): Remove.
(IDENTIFIER_REPO_CHOSEN): Remove.
Remove all #if 0'd code.
(repo_template_used): Remove.
(repo_template_instantiated): Remove.
(temporary_obstack_initialized_p): New variable.
(init_repo): Register with lang_post_pch_load. Avoid creating
identifiers unnecessarily. Don't use original_repo. Close the
file here.
(reopen_repo_file_for_write): Not here.
(finish_repo): Always write out a new repository file.
(repo_emit_p): New function.
(repo_export_class_p): Likewise.
* rtti.c (get_tinfo_decl): Use set_linkage_according_to_type.
(involves_incomplete_p): New function.
(tinfo_base_init): Use it.
(ptr_initializer): Remove non_public_ptr parameter.
(ptm_initializer): Likewise.
(get_pseudo_ti_init): Likewise.
(unemitted_tinfo_decl_p): Remove.
(emit_tinfo_decl): Use import_export_decl.
* semantics.c (expand_body): Move updates of static_ctors and
static_dtors to ...
(expand_or_defer_fn): ... here.
* tree.c (no_linkage_check): Add relaxed_p parameter.
* g++.dg/abi/inline1.C: New test.
* g++.dg/abi/local1-a.cc: Likewise.
* g++.dg/abi/local1.C: Likewise.
* g++.dg/abi/mangle11.C: Tweak location of warnings.
* g++.dg/abi/mangle12.C: Likewise.
* g++.dg/abi/mangle17.C: Likewise.
* g++.dg/abi/mangle20-2.C: Likewise.
* g++.dg/opt/interface1.C: Likewise.
* g++.dg/opt/interface1.h: Likewise.
* g++.dg/opt/interface1-a.cc: New test.
* g++.dg/parse/repo1.C: New test.
* g++.dg/template/repo1.C: Likewise.
* g++.dg/warn/Winline-1.C: Likewise.
* lib/gcc-dg.exp (gcc-dg-test-1): Fix -frepo handling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85309
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Thu, 29 Jul 2004 17:49:31 +0000 (17:49 +0000)]
* tree-ssa-loop-im.c (force_move_till_expr, force_move_till):
Take orig_loop argument and pass it to set_level.
(schedule_sm): Pass the correct orig_loop to force_move_till.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85308
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Thu, 29 Jul 2004 17:47:31 +0000 (17:47 +0000)]
* cfgloop.c (update_latch_info): Update dominator of the new block.
(canonicalize_loop_headers, flow_loops_find): Do not free dominance
info.
* dominance.c (verify_dominators): Check that the dominance tree is
connected.
(recount_dominator): Ignore unreachable blocks.
(iterate_fix_dominators): Cleanup old dominance information before
recomputing it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85307
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Thu, 29 Jul 2004 17:15:38 +0000 (17:15 +0000)]
* tree-ssa-operands.c (get_expr_operands): Revert changes
to ADDR_EXPR processing introduced by:
2004-06-21 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* tree-ssa-operands.c (get_expr_operands): Minor rearrangements.
testsuite/ChangeLog
* gcc.dg/tree-ssa/
20040729-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85306
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 29 Jul 2004 17:11:25 +0000 (17:11 +0000)]
* doc/implement-c.texi: Add C90 subclause references. Point to
preprocessor documentation instead of duplicating it. Add points
only present in C90. Fill in documentation for all points.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85305
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Thu, 29 Jul 2004 15:59:25 +0000 (15:59 +0000)]
* pa.c (output_movb): Correct typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85302
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 29 Jul 2004 15:54:50 +0000 (15:54 +0000)]
2004-07-29 Paolo Carlini <pcarlini@suse.de>
Petur Runolfsson <peturr02@ru.is>
PR libstdc++/12658 (continued)
* src/locale_init.cc (locale::locale, locale::global): Use
a single locale_mutex instead of two separate mutexes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85301
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 29 Jul 2004 14:49:22 +0000 (14:49 +0000)]
2004-07-29 Pat Haugen <pthaugen@us.ibm.com>
* ra.h (single_reg_in_regclass): Declare.
* ra.c (single_reg_in_regclass): Define.
(first_hard_reg): New.
(init_ra): Initialize single_reg_in_regclass.
* ra-colorize.c (ok_class): New.
(coalesce, aggressive_coalesce, extended_coalesce_2): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85300
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 29 Jul 2004 13:48:17 +0000 (13:48 +0000)]
2004-07-29 Michael Koch <konqueror@gmx.de>
* gnu/java/lang/MainThread.java:
Explicitely import used classes.
(args): Make it type String[].
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85299
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 29 Jul 2004 10:52:49 +0000 (10:52 +0000)]
2004-07-29 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/16813
* include/debug/map.h (insert(_InputIterator, _InputIterator)):
Fix typo.
* testsuite/23_containers/map/insert/16813.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85295
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 29 Jul 2004 09:30:18 +0000 (09:30 +0000)]
2004-07-29 Dalibor Topic <robilad@kaffe.org>
* gnu/java/awt/ComponentDataBlitOp.java,
gnu/java/beans/ExplicitBeanInfo.java,
gnu/java/beans/IntrospectionIncubator.java,
gnu/java/beans/editors/ColorEditor.java,
gnu/java/beans/editors/FontEditor.java,
gnu/java/beans/editors/NativeBooleanEditor.java,
gnu/java/beans/editors/NativeByteEditor.java,
gnu/java/beans/editors/NativeDoubleEditor.java,
gnu/java/beans/editors/NativeFloatEditor.java,
gnu/java/beans/editors/NativeIntEditor.java,
gnu/java/beans/editors/NativeLongEditor.java,
gnu/java/beans/editors/NativeShortEditor.java,
gnu/java/beans/editors/StringEditor.java,
gnu/java/io/ClassLoaderObjectInputStream.java,
gnu/java/io/decode/Decoder.java,
gnu/java/io/encode/Encoder.java,
gnu/java/lang/ClassHelper.java,
gnu/java/locale/Calendar.java,
gnu/java/locale/Calendar_de.java,
gnu/java/locale/Calendar_en.java,
gnu/java/locale/Calendar_nl.java,
gnu/java/locale/LocaleInformation_de.java,
gnu/java/locale/LocaleInformation_en.java,
gnu/java/locale/LocaleInformation_nl.java:
Cleaned up imports.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85293
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 29 Jul 2004 08:59:39 +0000 (08:59 +0000)]
2004-07-29 Dalibor Topic <robilad@kaffe.org>
* gnu/java/awt/ComponentDataBlitOp.java,
gnu/java/beans/ExplicitBeanInfo.java,
gnu/java/beans/IntrospectionIncubator.java,
gnu/java/beans/editors/ColorEditor.java,
gnu/java/beans/editors/FontEditor.java,
gnu/java/beans/editors/NativeBooleanEditor.java,
gnu/java/beans/editors/NativeByteEditor.java,
gnu/java/beans/editors/NativeDoubleEditor.java,
gnu/java/beans/editors/NativeFloatEditor.java,
gnu/java/beans/editors/NativeIntEditor.java,
gnu/java/beans/editors/NativeLongEditor.java,
gnu/java/beans/editors/NativeShortEditor.java,
gnu/java/beans/editors/StringEditor.java,
gnu/java/io/ClassLoaderObjectInputStream.java,
gnu/java/io/decode/Decoder.java,
gnu/java/io/encode/Encoder.java,
gnu/java/lang/ClassHelper.java,
gnu/java/locale/Calendar.java,
gnu/java/locale/Calendar_de.java,
gnu/java/locale/Calendar_en.java,
gnu/java/locale/Calendar_nl.java,
gnu/java/locale/LocaleInformation_de.java,
gnu/java/locale/LocaleInformation_en.java,
gnu/java/locale/LocaleInformation_nl.java:
Cleaned up imports.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85292
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Thu, 29 Jul 2004 08:58:59 +0000 (08:58 +0000)]
* gcov-io.h: Allow zero tag as EOF indicator.
(gcov_is_eof): Remove.
(gcov_truncate): Remove.
* gcov-io.c (gcov_seek): Always SEEK_SET.
* libgcov.c (gcov_exit): Don't use gcov_truncate. Write explicit
EOF tag.
* coverage.c (read_counts_file): Don't use gcov_is_eof.
* gcov-dump.c (dump_file): Likewise.
* gcov.c (read_graph_file, read_count_file): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85291
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Thu, 29 Jul 2004 08:47:34 +0000 (08:47 +0000)]
2004-07-29 Phil Edwards <phil@codesourcery.com>
* docs/html/faq/index.html: Update version references. Make
clear that code from SGI has diverged greatly. Remove references
to library snapshots and what's-new sections.
* docs/html/faq/index.txt: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85289
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Thu, 29 Jul 2004 08:42:55 +0000 (08:42 +0000)]
* c-decl.c (complete_array_type): Don't gratuitously copy
maxindex. Check it always has a type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85288
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Thu, 29 Jul 2004 07:37:16 +0000 (07:37 +0000)]
* rtl.c (currently_expanding_to_rtl): New.
* rtl.h (currently_expanding_to_rtl): Export it.
* cfgexpand.c (tree_cfg_expand): Set/clear it at entry/exit.
* config/alpha/alpha.c (alpha_expand_mov): Remove old RTL
inliner hack.
* config/sh/sh.c: Replace rtx_equal_function_value_matters
with currently_expanding_to_rtl.
* config/sh/sh.md: Likewise.
* config/ia64/ia64.c (got_symbolic_operand): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85287
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 29 Jul 2004 06:10:03 +0000 (06:10 +0000)]
Introduce sh2a support.
2004-07-29 Alexandre Oliva <aoliva@redhat.com>
* config.gcc: Build multilibs for sh2a and sh2a-single by
default.
* config/sh/sh.h (SUPPORT_SH2A, SUPPORT_SH2A_SINGLE): Define by
default. Split their tests out of the corresponding SH4
multilibs.
* config/sh/t-sh (MULTILIB_MATCHES): Don't ever use SH4 or SH4a
multilibs for SH2a.
2004-07-28 Alexandre Oliva <aoliva@redhat.com>
* config.gcc: Handle sh2a multilibs and cpu selection.
* config/sh/sh.h: Likewise. Handle sh2a command line flags.
* config/sh/t-mlib-sh2a: New.
* config/sh/t-mlib-sh2a-nofpu: New.
* config/sh/t-mlib-sh2a-single: New.
* config/sh/t-mlib-sh2a-single-only: New.
2004-07-09 Nick Clifton <nickc@redhat.com>
Issue 43400
* config/sh/sh.h (DRIVER_SELF_SPECS): Issue an error message if
-ml and -m2a are used together.
2004-03-23 DJ Delorie <dj@redhat.com>
* config/sh/sh.c (sh_builtin_saveregs): Use the double code only
when we have a double-sized FPU.
2004-02-24 Corinna Vinschen <vinschen@redhat.com>
* config/sh/lib1funcs.asm (set_fpscr): Don't build if __SH2A_NOFPU__
is set.
* config/sh/elf.h (SUBTARGET_ASM_ISA_SPEC): Add cases for -msh2a-nofpu,
-msh2a-single and -msh2a-single-only
2004-02-24 Corinna Vinschen <vinschen@redhat.com>
* config/sh/crt1.asm: Don't generate FPU instructions if __SH2A_NOFPU__
is set.
2004-02-20 DJ Delorie <dj@delorie.com>
* config/sh/sh.md (movsf_i, movsf_ie, movsf, ble, bge): Disable for sh2a-nofpu.
2004-02-20 Fred Fish <fnf@redhat.com>,
Corinna Vinschen <vinschen@redhat.com>
* config/sh/t-sh (MULTILIB_OPTIONS): Add 2a-nofpu.
(MULTILIB_EXCEPTIONS): Don't build littel-endian on sh2a.
2004-02-18 DJ Delorie <dj@redhat.com>
* config/sh/sh.c (broken_move): Add support for movi20.
* config/sh/sh.h: Likewise.
(SHIFT_COUNT_TRUNCATED): Set for sh2a.
* config/sh/sh.md (udivsi3_sh2a): New.
(udivsi3): Call it.
(divsi3_sh2a): New.
(divsi3): Call it.
(mul_r): New.
(ashlsi3_sh2a): New.
(ashrsi3_sh2a): New.
(lshrsi3_sh2a): New.
(movsi_i): Disable for sh2a.
(movsi_ie): Add movi20.
(movsf_i, movsf_ie, movsf, ble, untyped_call): Explicitly enable
sh2a, for -m2a-nofpu mode.
2004-02-13 DJ Delorie <dj@redhat.com>
* config/sh/lib1funcs.asm: Handle double vs single better.
* config/sh/sh.h: Likewise.
2004-02-09 DJ Delorie <dj@redhat.com>
* config/sh/crt1.asm: Add support for sh2a.
* config/sh/elf.h: Likewise.
* config/sh/lib1funcs.asm: Likewise.
* config/sh/sh.c: Likewise.
* config/sh/sh.md: Likewise.
* config/sh/sh.h: Likewise.
* config/sh/t-sh: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85286
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 29 Jul 2004 02:55:53 +0000 (02:55 +0000)]
* config/frv/frv.md (movqi_internal, movhi_internal,
movsi_internal): Add backup alternatives for memory inputs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85284
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Thu, 29 Jul 2004 02:50:36 +0000 (02:50 +0000)]
* NEWS: Updated with news up to GCC 3.4 release.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85283
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Thu, 29 Jul 2004 02:13:04 +0000 (02:13 +0000)]
2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
* README: Remove obsolete info. Update bug URL.
* THANKS: Updated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85282
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 29 Jul 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85280
138bc75d-0d04-0410-961f-
82ee72b054a4
austern [Wed, 28 Jul 2004 23:57:28 +0000 (23:57 +0000)]
* config/darwin.c (darwin_one_byte_bool): New global variable.
* config/darwin.h (darwin_one_byte_bool): Declare.
(SUBTARGET_OPTIONS): Define macro. (for -mone-byte-bool flag.)
* config/rs6000/darwin.h (BOOL_TYPE_SIZE): Conditionalize on
value of darwin_one_byte_bool.
* doc/invoke.texi: Document -mone-byte-bool flag.
* testsuite/gcc.dg/darwin-bool-1.c: New test.
* testsuite/gcc.dg/darwin-bool-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85277
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Wed, 28 Jul 2004 23:44:56 +0000 (23:44 +0000)]
2004-07-28 Eric Christopher <echristo@redhat.com>
* c-common.c (c_common_unsafe_for_reeval): Delete.
* c-lang.c (LANG_HOOKS_UNSAFE_FOR_REEVAL): Delete use.
* c-pretty-print.c (pp_c_expression): Delete UNSAVE_EXPR case.
* calls.c (fix_unsafe_tree): Delete.
(expand_call): Delete code which used above.
* dojump.c (do_jump): Delete UNSAVE_EXPR case.
* expr.c (expand_expr_real_1): Ditto.
* fold-const.c (non_lvalue): Ditto.
* langhooks-def.h (LANG_HOOKS_UNSAFE_FOR_REEVAL): Delete.
(lhd_unsafe_for_reeval): Ditto.
* langhooks.c (lhd_unsafe_for_reeval): Ditto.
* langhooks.h (unsafe_for_reeval): Ditto.
(unsave_expr_now): Adjust comment.
* tree-inline.c (copy_body_r): Delete UNSAVE_EXPR bits.
(estimate_num_insns_1): Ditto.
* tree-pretty-print.c (dump_generic_node): Ditto.
* tree.c (expr_align): Ditto.
(unsave_expr): Delete.
(unsafe_for_reeval): Ditto.
* tree.h (unsafe_for_reeval, unsave_expr): Ditto.
* tree.def (UNSAVE_EXPR): Delete.
* objc/objc-lang.c (LANG_HOOKS_UNSAFE_FOR_REEVAL): Delete.
2004-07-28 Eric Christopher <echristo@redhat.com>
* cp-lang.c (LANG_HOOKS_UNSAFE_FOR_REEVAL): Delete.
2004-07-28 Eric Christopher <echristo@redhat.com>
* lang.c (LANG_HOOKS_UNSAFE_FOR_REEVAL): Delete.
(java_unsafe_for_reeval): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85276
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Wed, 28 Jul 2004 23:36:41 +0000 (23:36 +0000)]
* tree.h (enum tls_model): Move ...
* coretypes.h: ... here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85275
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Wed, 28 Jul 2004 22:28:09 +0000 (22:28 +0000)]
2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
* gnu/java/security/action/GetPropertyAction.java (setParameters):
Renamed from 'setName'. New 2-argument form with default value.
(run): Pass default 'value' parameter to System.getProperty().
* gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
typos.
* gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
not 'setName'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85274
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 28 Jul 2004 22:04:28 +0000 (22:04 +0000)]
* gfortran.fortran-torture/execute/intrinsic_spacing.f90: Pass
arguments in the correct type. Don't write to constant arguments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85272
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Wed, 28 Jul 2004 21:16:18 +0000 (21:16 +0000)]
* config/frv/frv.h (EPILOGUE_USES): New. Use LR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85271
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 28 Jul 2004 19:33:10 +0000 (19:33 +0000)]
* cse.c (validate_canon_reg): New function, split out from...
(canon_reg): ...here. Use validate_canon_reg for both 'e' and 'E'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85270
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Wed, 28 Jul 2004 19:08:44 +0000 (19:08 +0000)]
2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
* configure.in: Check for minimum GTK version 2.4 requirement.
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85269
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Wed, 28 Jul 2004 17:57:27 +0000 (17:57 +0000)]
* tree-ssa-alias.c (maybe_create_global_var): Don't just
return if .GLOBAL_VAR has been created.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85268
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Wed, 28 Jul 2004 17:49:06 +0000 (17:49 +0000)]
* tree-ssa.c (verify_flow_insensitive_alias_info): Process
every variable that may have aliases, not just tags.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85267
138bc75d-0d04-0410-961f-
82ee72b054a4
austern [Wed, 28 Jul 2004 17:17:50 +0000 (17:17 +0000)]
Fix minor typo in my ChangeLog entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85266
138bc75d-0d04-0410-961f-
82ee72b054a4
austern [Wed, 28 Jul 2004 16:37:20 +0000 (16:37 +0000)]
* include/bits/stl_construct.h (_Destroy): New three-argument
overload that takes an allocator argument. Another inline
three-argument overload that takes std::allocator and dispatches
to the two-argument version.
* include/bits/stl_uninitialized.h (__uninitialized_fill_n_aux):
Change return type to void to match uninitialized_fill_n.
(__uninitialized_copy_a_): New function. Like uninitialized_copy
except that it takes an allocator and uses it for construct and
destroy. If the allocator is std::allocator, dispatches to
uninitialized_copy.
(__uninitialized_fill_a): Likewise.
(__uninitialized_fill_n_a): Likewise.
(__uninitialized_copy_copy): Give it an allocator argument.
(__uninitialized_fill_copy): Likewise.
(__uninitialized_copy_fill): Likewise.
* include/bits/deque.tcc: Use new forms defined in stl_construct.h
and stl_uninitialized.h. Replace use of single-argument _Construct
and _Destroy with use of allocator's construct and destroy methods.
* include/bits/list.tcc: Likewise.
* include/bits/stl_deque.h: Likewise.
* include/bits/stl_list.h: Likewise.
* include/bits/stl_tree.h: Likewise.
* include/bits/stl_vector.h: Likewise.
* include/bits/vector.tcc: Likewise.
* include/ext/hashtable.h: Use rebind so that allocator_type
has correct type for a container's allocator. Replace use of
single-argument _Construct and _Destroy with use of allocator's
construct and destroy methods.
* include/ext/memory (__uninitialized_copy_n_a): New function.
Like uninitialized_copy_n except that it takes an extra parameter,
an allocator, and uses it for construct and destroy operations.
* include/ext/rope: Use new forms defined in stl_construct.h,
stl_uninitialized.h, and ext/memory. Replace use of single-argument
_Construct and _Destroy with allocator construct and destroy methods.
* include/ext/ropeimpl.h: Likewise.
* include/ext/slist.h: Likewise.
* testsuite/testsuite_allocator.h (check_construct_destroy): New.
* testsuite/testsuite_allocator.cc (check_construct_destroy): New.
* testsuite/23_containers/deque/check_construct_destroy.cc: New.
* testsuite/23_containers/list/check_construct_destroy.cc: New.
* testsuite/23_containers/set/check_construct_destroy.cc: New.
* testsuite/23_containers/vector/check_construct_destroy.cc: New.
* testsuite/ext/hash_check_construct_destroy.cc: New.
* testsuite/ext/slist_check_construct_destroy.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85265
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Wed, 28 Jul 2004 12:38:53 +0000 (12:38 +0000)]
PR tree-optimization/16688
PR tree-optimization/16689
* g++.dg/tree-ssa/pr16688.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85262
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Wed, 28 Jul 2004 12:15:20 +0000 (12:15 +0000)]
* gcc.dg/tree-ssa/
20031022-1.c: Adjust number of expected
loads. Not only in the comment, this time.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85261
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Wed, 28 Jul 2004 12:13:13 +0000 (12:13 +0000)]
* config/rs6000/rs6000.md ("move_from_CR_gt_bit"): Rename to
move_from_CR_eq_bit.
Rename UNSPEC_MV_CR_GT to UNSPEC_MV_CR_EQ.
* config/rs6000/spe.md ("e500_flip_gt_bit"): Rename to
e500_flip_eq_bit.
* config/rs6000/rs6000-protos.h: Rename output_e500_flip_gt_bit to
output_e500_flip_eq_bit.
* config/rs6000/rs6000.c (output_e500_flip_gt_bit): Rename to
output_e500_flip_eq_bit.
(rs6000_emit_sCOND): Rename call to output_e500_flip_gt_bit to
output_e500_flip_eq_bit.
Rename gen_move_from_CR_gt_bit to gen_move_from_CR_eq_bit.
(print_operand): case D. Get to EQ bit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85259
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 28 Jul 2004 09:57:38 +0000 (09:57 +0000)]
* gcov.c (function_summary): Add missing \n.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85258
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 28 Jul 2004 09:13:58 +0000 (09:13 +0000)]
gcc/ChangeLog:
Introduce sh4a support.
* config.gcc: Handle sh4a multilibs and cpu selection.
* config/sh/sh.h: Likewise. Handle sh4a command line flags.
* config/sh/t-mlib-sh4a: New.
* config/sh/t-mlib-sh4al: New.
* config/sh/t-mlib-sh4a-nofpu: New.
* config/sh/t-mlib-sh4a-single: New.
* config/sh/t-mlib-sh4a-single-only: New.
2004-02-20 DJ Delorie <dj@redhat.com>
* config/sh/sh.md ("movua"): Change constraint from "m" to "Sua".
* config/sh/sh.h (EXTRA_CONSTRAINT_S): Add "Sua" support.
2003-08-22 Eric Christopher <echristo@redhat.com>
* config/sh/sh4a.md: Update for chip errata.
2003-08-07 Eric Christopher <echristo@redhat.com>
* config/sh/sh4a.md: New file. sh4a processor description.
2003-07-08 Alexandre Oliva <aoliva@redhat.com>
* config/sh/sh.h (TARGET_SWITCHES): Added 4al. Adjust description
of -m4a-nofpu.
(SH_ASM_SPEC): Pass -dsp for -m4al, not -m4a-nofpu.
* config/sh/t-sh (MULTILIB_MATCHES): Map -m4al to -m4a-nofpu.
* doc/invoke.texi (SH Options): Document -m4al.
2003-07-03 Alexandre Oliva <aoliva@redhat.com>
* config/sh/sh.c (expand_block_move): Remove commented-out code
checked in by mistake.
(sh_cannot_change_mode_class): Enable SUBREGs to be used to select
single elements from SFmode vectors.
* config/sh/sh.md (fsca): Use VEC_CONCAT to initialize the output
register.
(sinsf2, cossf2, sindf2, cosdf2): Don't emit CLOBBER.
2003-07-01 Alexandre Oliva <aoliva@redhat.com>
* config/sh/sh.h (sh_fsca_sf2int, sh_fsca_df2int,
sh_fsca_int2sf): Remove variable declarations.
* config/sh/sh.c (sh_fsca_sf2int, sh_fsca_df2int,
sh_fsca_int2sf): New functions.
(sh_fsca_sf2int_rtx, sh_fsca_df2int_rtx,
sh_fsca_int2sf_rtx): New static variables.
* config/sh/sh-protos.h (sh_fsca_sf2int, sh_fsca_df2int,
sh_fsca_int2sf): Declare.
* config/sh/sh.md: Adjust.
* doc/invoke.texi (SH Options): Document new options.
* config/sh/lib1funcs.asm (ic_invalidate): Remove SH4a forward
compatibility from SH4 code.
2003-06-27 Alexandre Oliva <aoliva@redhat.com>
* config/sh/sh.c (expand_block_move): Don't emit POST_INC too
early.
(memory_movsrc_operand): Renamed to...
(unaligned_load_operand): ... this. Simplified.
* config/sh/sh.h (PREDICATE_CODES): Adjust.
* config/sh/sh.md (movua, extv, extzv): Likewise. Change movua's
input operand to SImode, and adjust the others. Introduce
post-increment by peephole.
* config/sh/sh.c (expand_block_move): Give the target address the
same mode as the temp reg.
* config/sh/sh.c (expand_block_move): Use a temp reg for unaligned
copying.
2003-06-26 Alexandre Oliva <aoliva@redhat.com>
Introduce support for SH4a.
* config/sh/lib1funcs.asm (ic_invalidate): Use icbi if
__SH4A__. Emit 4 4kb blocks and touch all of them otherwise.
* config/sh/sh.c (sh_fsca_sf2int, sh_fsca_df2int,
sh_fsca_int2sf): New.
(sh_init_builtins): Initialize them.
(print_operand): Support `d'.
(expand_block_move): Use movua if src is misaligned.
(memory_movsrc_operand): New.
* config/sh/sh.h (TARGET_CPU_CPP_BUILTINS): Define __SH4A__
and one of the SH4 macros.
(SH4A_BIT, TARGET_SH4A_ARCH, TARGET_SH4A_FP,
SELECT_SH4A_NOFPU, SELECT_SH4A_SINGLE_ONLY, SELECT_SH4A,
SELECT_SH4A_SINGLE): New.
(TARGET_NONE): Add SH4A_BIT.
(TARGET_SWITCHES): Add 4a-single-only, 4a-single, 4a-nofpu and 4a.
(SH_ASM_SPEC): Pass -dsp if -m4a-nofpu.
(sh_fsca_sf2int, sh_fsca_df2int, sh_fsca_int2sf): Declare.
(OVERRIDE_OPTIONS): Set cpu to CPU_SH4A when appropriate.
(enum processor_type): Added PROCESSOR_SH4A.
(PREDICATE_CODES): Add memory_movsrc_operand.
* config/sh/sh.md: Removed unused variables.
(attr cpu): Add sh4a.
(attr type): Add movua, fsrra and fsca.
(prefetch): New, for SH4.
(ic_invalidate_line, ic_invalidate_line_sh4a): Use icbi.
(toggle_sz): Set type to fp.
(toggle_pr, rsqrtsf2, fsca, sinsf2, cossf2, sindf2, cosdf2): New.
(movua, extv, extzv): New.
* config/sh/t-sh: Add multilibs for 4a, 4a-nofpu, 4a-single
and 4a-single-only.
gcc/testsuite/ChangeLog:
2003-07-06 Alexandre Oliva <aoliva@redhat.com>
* gcc.dg/sh4a-memmovua.c: Tweak regular expression.
2003-07-01 Alexandre Oliva <aoliva@redhat.com>
* gcc.dg/sh4a-bitmovua.c: New.
* gcc.dg/sh4a-cos.c: New.
* gcc.dg/sh4a-cosf.c: New.
* gcc.dg/sh4a-fprun.c: New.
* gcc.dg/sh4a-fsrra.c: New.
* gcc.dg/sh4a-memmovua.c: New.
* gcc.dg/sh4a-sin.c: New.
* gcc.dg/sh4a-sincos.c: New.
* gcc.dg/sh4a-sincosf.c: New.
* gcc.dg/sh4a-sinf.c: New.
libstdc++-v3/ChangeLog:
2003-10-01 Eric Christopher <echristo@redhat.com>
* config/cpu/sh/atomicity.h (__exchange_and_add): Remove 'm'
constraint.
2003-07-09 Alexandre Oliva <aoliva@redhat.com>
* config/cpu/sh/atomicity.h: New. Use movli and movco on SH4a.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85257
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Wed, 28 Jul 2004 08:50:27 +0000 (08:50 +0000)]
* cp-tree.h (struct tree_pair_s): New.
(typedef tree_pair_p): New.
(DEF_VEC_O(tree_pair_s)): New.
(struct lang_type_class): Make vcall_indices a VEC(tree_pair_s).
(CLASSTYPE_VCALL_INDICES): Update documentation.
* class.c (get_vcall_index): Adjust.
(add_vcall_offset): Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85256
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Wed, 28 Jul 2004 05:13:10 +0000 (05:13 +0000)]
* tree-optimize.c (init_tree_optimization_passes): Schedule
pass_may_alias right after the program is renamed into SSA.
* tree-pass.h (PROP_alias): Define.
* tree-outof-ssa.c (pass_del_ssa): Require PROP_alias.
* tree-sra.c (pass_sra): Likewise.
* tree-ssa-ccp.c (pass_ccp): Likewise.
* tree-ssa-copyrename.c (pass_rename_ssa_ccp): Likewise.
* tree-ssa-dce.c (pass_dce): Likewise.
* tree-ssa-dom.c (pass_dominator): Likewise.
* tree-ssa-dse.c (pass_dse): Likewise.
* tree-ssa-forwprop.c (pass_forwprop): Likewise.
* tree-ssa-loop-ch.c (pass_ch): Likewise.
* tree-ssa-phiopt.c (pass_phiopt): Likewise.
* tree-ssa-pre.c (pass_pre): Likewise.
* tree-tailcall.c (pass_tail_recursion): Likewise.
* tree-ssa.c (pass_redundant_phi): Likewise.
* tree-ssa-alias.c (aliases_computed_p): Remove.
Update all users.
(init_alias_info): Do not mark all type tags for renaming
unconditionally.
Clear may_aliases from every symbol.
(setup_pointers_and_addressables): If a pointer has not been
dereferenced and it had a type tag, clear it and mark the old
tag for renaming.
testsuite/ChangeLog
* gcc.dg/tree-ssa/
20030714-2.c: Adjust number of expected
conditionals.
* gcc.dg/tree-ssa/
20031022-1.c: Adjust number of expected
loads.
* gcc.dg/tree-ssa/ssa-dom-cse-1.c: Expect optimization in
DOM1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85255
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Wed, 28 Jul 2004 04:53:24 +0000 (04:53 +0000)]
PR tree-optimization/16705
* tree-ssa-alias.c (create_global_var): Set DECL_EXTERNAL on
.GLOBAL_VAR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85254
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 28 Jul 2004 03:38:33 +0000 (03:38 +0000)]
* expr.c (expand_expr_real_1, case PARM_DECL): Remove obsolete error
check.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85250
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 28 Jul 2004 02:57:25 +0000 (02:57 +0000)]
* gimplify.c (maybe_with_size_expr): If already have WITH_SIZE_EXPR,
don't make another one.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85249
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Wed, 28 Jul 2004 02:44:06 +0000 (02:44 +0000)]
2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
* testsuite/libjava.lang/TLtest.java: Reduce sleep time.
* testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
Reduce sleep time.
* testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
compiler bug.
* testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
address. Reduce sleep times. Synchronize with target threads before
attempting to interrupt them. Don't try to calibrate yeild count,
instead, always loop for a fixed time.
* testsuite/libjava.lang/Thread_Join.java: Remove old email address.
* testsuite/libjava.lang/Thread_Monitor.java: Likewise.
* testsuite/libjava.lang/Thread_Wait.java: Likewise.
* testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
* testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
* testsuite/libjava.lang/pr179.java: Likewise.
* testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
time. Remove upper bounds check on sleep time.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85248
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 28 Jul 2004 02:27:20 +0000 (02:27 +0000)]
PR optimization/15077
* function.h (struct function): Add field saved_static_chain_decl.
Fix comment for static_chain_decl.
* tree-inline.c (save_body): Add new arg and handle static_chain_decl.
* tree-inline.h (save_body): Add new arg.
* tree-optimize.c (tree_rest_of_compilation): Handle saving
static_chain_decl.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85247
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 28 Jul 2004 01:17:00 +0000 (01:17 +0000)]
* gimplify.c (is_gimple_addr_expr_arg_or_indirect): Remove.
(gimplify_modify_expr, gimplify_addr_expr, gimplify_expr): Use
is_gimple_addressable.
* tree-gimple.c (is_gimple_addressable): Rename from
is_gimple_addr_expr_arg; accept INDIRECT_REF.
(is_gimple_lvalue): Don't test INDIRECT_REF directly.
* tree-gimple.h, tree-sra.c, tree-ssa-loop-im.c: Update for
rename to is_gimple_addressable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85243
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Wed, 28 Jul 2004 00:56:47 +0000 (00:56 +0000)]
* config/rs6000/rs6000.c (function_arg_padding): Pad SFmode upwards.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85242
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 28 Jul 2004 00:16:17 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85240
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Tue, 27 Jul 2004 23:24:07 +0000 (23:24 +0000)]
2004-07-27 Kelley Cook <kcook@gcc.gnu.org>
* pt.c, typeck.c: Remove spurious carriage returns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85237
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Tue, 27 Jul 2004 22:04:37 +0000 (22:04 +0000)]
2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
* testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
* testsuite/libjava.lang/Thread_HoldsLock.out: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85234
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 27 Jul 2004 21:50:56 +0000 (21:50 +0000)]
* function.c (assign_stack_local_1): Widen alignment to HOST_WIDE_INT
before rounding.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85233
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Tue, 27 Jul 2004 21:41:23 +0000 (21:41 +0000)]
* libgcc2.c: Change all conditionals testing
LIBGCC2_LONG_DOUBLE_TYPE_SIZE == 96 to == 80.
* libgcc2.h: Likewise.
* config/i386/i386.c (ix86_init_mmx_sse_builtins): Set
TYPE_PRECISION of float80_type to 80.
* config/ia64/ia64.c (ia64_init_builtins): Set TYPE_PRECISION
of fpreg_type and float80_type to 80.
* config/i386/i386.h, config/ia64/ia64.h, config/m68k/m68k.h
* config/m68k/netbsd-elf.h:
Change LONG_DOUBLE_TYPE_SIZE and possibly LIBGCC2_LONG_DOUBLE_TYPE_SIZE
to evaluate to 80 whenever they would formerly have evaluated to 96.
* config/i386/sco5.h: Remove unnecessary redefinition of
LONG_DOUBLE_TYPE_SIZE.
* doc/rtl.texi: Clarify uses of XFmode and TFmode.
* config/i386/i386-modes.def: Use FRACTIONAL_FLOAT_MODE for
XFmode, with a bitsize of 80. Update commentary.
* config/ia64/ia64-modes.def: Likewise.
* config/m68k/m68k-modes.def: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85232
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Tue, 27 Jul 2004 20:19:37 +0000 (20:19 +0000)]
2004-07-27 Andrew Pinski <apinski@apple.com>
* g++.dg/rtti/tinfo1.C: Correct the xfail.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85231
138bc75d-0d04-0410-961f-
82ee72b054a4
fche [Tue, 27 Jul 2004 19:41:20 +0000 (19:41 +0000)]
2004-07-27 Ulrich Weigand <weigand@informatik.uni-erlangen.de>
* mf-runtime.c (__mf_fini): Set mudflap_mode to mode_nop in
the statically linked case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85229
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Tue, 27 Jul 2004 19:09:32 +0000 (19:09 +0000)]
* cfgexpand.c (tree_expand_cfg): Fix comment.
* calls.c (expand_call): Ignore rtx_equal_function_value_matters.
* function.c (purge_single_hard_subreg_set, purge_hard_subreg_sets):
Remove.
(prepare_function_start): Don't set rtx_equal_function_value_matters.
* integrate.c (copy_rtx_and_substitute): Don't test for it.
* passes.c (rest_of_compilation): Don't call purge_hard_subreg_sets.
Don't set rtx_equal_function_value_matters. Don't register RTL hooks
here again. Update leading comment.
* rtl.c (rtx_equal_function_value_matters): Remove.
(rtx_equal_p): Don't test for it.
* simplify-rtx.c (simplify_binary_operation, simplify_subreg):
Likewise.
* rtl.h (enum insn_note): Remove NOTE_INSN_LOOP_END_TOP_COND.
* rtl.c (note_insn_name): Likewise.
* emit-rtl.c (remove_unnecessary_notes): Don't handle it.
* final.c (final_scan_insn): Likewise.
* except.c (finish_eh_generation): Don't call cfg_cleanup from here.
* passes.c (rest_of_handle_eh): Do it here.
* stmt.c (struct nesting): Remove struct nesting block member.
(struct stmt_status): Remove x_block_start_count field.
(current_block_start_count): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85228
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Tue, 27 Jul 2004 18:42:38 +0000 (18:42 +0000)]
2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
* java/io/File.java (toURI): Throw RuntimeException, not
InternalError.
* java/lang/Runtime.java (exit): Qualify static sleep() call with
class name, not instance.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85227
138bc75d-0d04-0410-961f-
82ee72b054a4
bbooth [Tue, 27 Jul 2004 18:32:50 +0000 (18:32 +0000)]
* tree-optimize.c (register_one_dump_file): Update condition that uses
static_pass_number.
(dup_pass_1): Replace with...
(next_pass_1): This.
(NEXT_PASS): Call next_pass_1.
(DUP_PASS): Remove.
(init_tree_optimization_passes): Remove uses of DUP_PASS.
(execute_one_pass): Update condition that uses
static_pass_number.
* tree-pass.h (tree_opt_pass): Declare static_pass_number as a signed
integer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85226
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 27 Jul 2004 18:04:11 +0000 (18:04 +0000)]
* gcc.dg/pragma-isr.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85225
138bc75d-0d04-0410-961f-
82ee72b054a4
fche [Tue, 27 Jul 2004 18:03:18 +0000 (18:03 +0000)]
2004-07-27 Frank Ch. Eigler <fche@redhat.com>
* splay-tree.[ch]: Remove. Merge contents into ...
* mf-runtime.c: ... here, renaming symbols and making all functions
static. Remove unused min/max functions.
* Makefile.am: Forget about splay-tree.[ch].
* Makefile.in, testsuite/Makefile.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85224
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Tue, 27 Jul 2004 15:47:10 +0000 (15:47 +0000)]
PR c++/14429
* pt.c (coerce_template_template_parms) <PARM_DECL case>: Only check
when the type of ARG is not dependent.
* g++.dg/template/ttp11.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85222
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Tue, 27 Jul 2004 15:43:31 +0000 (15:43 +0000)]
* config/m32r/m32r.c: Include integrate.h in order to get the prototype for
get_hard_reg_initial_val().
* config/m32r/m32r.md (m32rpipeline): Remove unused value "m32r" and tidy up
indentation.
(final_presence_set): Use absence_set instead, so that if there is nothing in
the "o" pipe the "s" pipe can be scheduled.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85221
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Tue, 27 Jul 2004 15:32:47 +0000 (15:32 +0000)]
* tree-ssa-alias.c (create_name_tags): Ignore pointers that
don't have PT_VARS nor PT_MALLOC set.
Clear name tag from pointers that have not been dereferenced.
(set_pt_anything, set_pt_malloc): Forward declare.
* tree-ssa-copy.c (may_propagate_copy): Compare alias sets,
not type compatibility when determining if a pointer can be
copy propagated.
testsuite/ChangeLog
* gcc.c-torture/compile/
20040727-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85220
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Tue, 27 Jul 2004 07:27:12 +0000 (07:27 +0000)]
* expr.h (canonicalize_condition, get_condition): Add an int argument.
* gcse.c (fis_get_condition): Reimplement using get_condition, leaving
it to check whether the condition is still valid at the jump insn.
* ifcvt.c (noce_get_condition): Likewise.
(noce_get_alt_condition): Update call to canonicalize_condition.
* loop-iv.c (simplify_using_initial_values): Update call to
get_condition. Remove FIXME.
(check_simple_exit): Update call to get_condition.
* loop-unswitch.c (may_unswitch_on): Likewise.
* loop.c (check_dbra_loop): Likewise.
(canonicalize_condition, get_condition): Add an argument to say whether
the condition must still be valid at INSN.
(get_condition_for_loop): Update call to get_condition. Require that
the condition be valid at INSN.
* predict.c (estimate_probability): Update call to get_condition.
Remove unused earliest parameter.
(expected_value_to_br_prob): Update call to canonicalize_condition.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85218
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Tue, 27 Jul 2004 01:52:48 +0000 (01:52 +0000)]
- note PR target/16239 in previous rs6000.md ChangeLog entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85216
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Tue, 27 Jul 2004 00:20:03 +0000 (00:20 +0000)]
2004-07-26 Eric Christopher <echristo@redhat.com>
* tree-dfa.c (add_referenced_var): Register initializers of global
variables.
2004-07-26 Eric Christopher <echristo@redhat.com>
* gcc.c-torture/compile/
20040726-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85214
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 27 Jul 2004 00:16:20 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85212
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Mon, 26 Jul 2004 23:06:52 +0000 (23:06 +0000)]
2004-07-26 Andrew Pinski <apinski@apple.com>
* g++.dg/rtti/tinfo1.C: Xfail.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85209
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 26 Jul 2004 21:45:57 +0000 (21:45 +0000)]
* config/i386/i386.c (function_arg): Always treat 8-
and 16-byte wide vectors the same, even if MMX/SSE
are disabled.
(contains_128bit_aligned_vector_p): Add comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85207
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Mon, 26 Jul 2004 20:11:10 +0000 (20:11 +0000)]
* ra.h (enum node_type): Rename to:
(enum ra_node_type).
* ra-colorize.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85202
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Mon, 26 Jul 2004 19:24:55 +0000 (19:24 +0000)]
* g++spec.c (LIBSTDCXX_PROFILE): Default to LIBSTDCXX.
(lang_specific_driver): If the C++ or math library options don't
start with '-l', don't count them as added libraries.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85201
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 26 Jul 2004 18:27:59 +0000 (18:27 +0000)]
* cfgcleanup.c (try_simplify_condjump): Call update_forwarder_flag
after simplifying the jump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85200
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 26 Jul 2004 17:51:21 +0000 (17:51 +0000)]
* calls.c (combine_pending_stack_adjustment_and_call): Make
preferred_unit_stack_boundary argument unsigned. Make
unadjusted_alignment unsigned.
(expand_call): Make preferred_stack_boundary and
preferred_unit_stack_boundary variables unsigned.
* function.c (assign_stack_local_1): Make alignment unsigned.
* function.h (struct function): Make stack_alignment_needed,
preferred_stack_boundary unsigned.
* config/i386/i386.c (ix86_preferred_stack_boundary): Make unsigned.
(ix86_compute_frame_layout): Make stack_alignment_needed,
preferred_alignment variables unsigned.
* config/i386/i386.h (ix86_preferred_stack_boundary): Make unsigned.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85196
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 26 Jul 2004 16:28:51 +0000 (16:28 +0000)]
* tree.h: Fix typo in comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85195
138bc75d-0d04-0410-961f-
82ee72b054a4
drow [Mon, 26 Jul 2004 15:11:53 +0000 (15:11 +0000)]
PR bootstrap/12804
* ggc-zone.c (struct alloc_chunk): Remove attribute packed.
(MAX_FREE_BIN_SIZE): Increase on 64-bit targets.
(ggc_free): Remove incorrect freeing.
(sweep_pages): Advance PP for large pages. Fix indentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85194
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 26 Jul 2004 14:34:19 +0000 (14:34 +0000)]
PR rtl-optimization/16643
* cfglayout.h (cfg_layout_initialize): Add a flags parameter.
* cfglayout.c (cfg_layout_initialize): Pass it to cleanup_cfg.
* basic-block.h (reorder_basic_blocks): Add a flags parameter.
* cfglayout.c (reorder_basic_blocks): Pass it to cfg_layout_initialize.
(partition_hot_cold_basic_blocks): Pass 0 to cfg_layout_initialize.
* function.c (thread_prologue_and_epilogue_insns): Likewise.
* rtl.h (tracer): Add a flags parameter.
* tracer.c (tracer): Pass it to cfg_layout_initialise.
* passes.c (rest_of_handle_stack_regs): Pass 0 to reorder_basic_blocks.
(rest_of_handle_reorder_blocks): Update calls to tracer and
reorder_basic_blocks, passing CLEANUP_UPDATE_LIFE if appropriate.
(rest_of_handle_tracer): Pass 0 to tracer.
(rest_of_handle_loop2): Pass 0 to cfg_layout_initialize.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85191
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Mon, 26 Jul 2004 14:31:13 +0000 (14:31 +0000)]
* config/rs6000/rs6000.md (movdi_internal64): Further disparage
f->f.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85190
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Mon, 26 Jul 2004 11:15:09 +0000 (11:15 +0000)]
* parse.y (build_super_invocation): Adjust declaration order to
avoid declaration after statement.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85189
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 26 Jul 2004 10:42:13 +0000 (10:42 +0000)]
2004-07-26 Arnaud Charlet <charlet@act-europe.fr>
* sem_util.adb (Requires_Transient_Scope): Temporarily disable
optimization, not supported by the tree-ssa back-end.
2004-07-26 Olivier Hainque <hainque@act-europe.fr>
* s-mastop-irix.adb: Update comments.
* a-except.adb (Exception_Information): Raise Constraint_Error if
exception Id is Null_Id.
This is required behavior, which is more reliably and clearly checked
at the top level interface level.
2004-07-26 Javier Miranda <miranda@gnat.com>
* exp_aggr.adb (Build_Array_Aggr_Code): Do not build the initialization
call if a component has no default_expression and the box is used.
* sem_aggr.adb (Resolve_Array_Aggregate): If a component has no
default_expression and you use box, it behaves as if you had declared a
stand-alone object.
(Resolve_Record_Aggregate): If a component has no default_expression and
you use box, it behaves as if you had declared a stand-alone object.
* sem_ch10.adb (Install_Siblings): Do not make visible the private
entities of private-with siblings.
2004-07-26 Ed Schonberg <schonberg@gnat.com>
* sem_ch3.adb (Build_Underlying_Full_View): If this is the full view
for a component of an itype, set the parent pointer for analysis,
there is no list in which to insert it.
* sem_res.adb (Resolve): Call Rewrite_Renamed_Operator only for
bona-fide renamings, not for inherited operations.
* exp_ch4.adb (Expand_Allocator_Expression): If the allocator is an
actual for a formal that is an access parameter, create local
finalization list even if the expression is not an aggregate.
2004-07-26 Ed Schonberg <schonberg@gnat.com>
PR ada/16213
* sem_ch8.adb (Attribute_Renaming, Check_Library_Level_Renaming):
Diagnose properly illegal subprogram renamings that are library units.
2004-07-26 Ed Schonberg <schonberg@gnat.com>
PR ada/15588
* sem_util.adb (Is_OK_Variable_For_Out_Formal): If actual is a type
conversion rewritten as an unchecked conversion, check that original
expression is a variable.
* exp_ch4.adb (Expand_N_Type_Conversion): If rewriting as an
unchecked_conversion, create new node rather than rewriting in place,
to preserve original construct.
2004-07-26 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* gigi.h (gnat_expand_body): Deleted.
* Make-lang.in: (trans.o): Depends on function.h.
* misc.c: (gnat_expand_body): Moved to here.
* trans.c (gnat_expand_body_1): Deleted.
(gnat_expand_body): Moved from here.
(gnat_to_gnu): N_Implicit_Label_Declaration forces being in elab proc.
(add_stmt): Check for marked visited with global_bindings_p.
(gnat_gimplify_expr, case COMPONENT_REF): New case.
(gnat_gimplify_expr, case NULL_EXPR): Set TREE_NO_WARNING for temp.
* utils2.c (build_binary_op, case MODIFY_EXPR): Put LHS in a
VIEW_CONVERT_EXPR if not operation type.
* utils.c (update_pointer_to): Set DECL_ORIGINAL_FIELD for
fat pointer.
* decl.c, cuintp.c, gigi.h, misc.c, trans.c, utils.c, utils2.c: Minor
changes: reformatting of negation operators, removing unneeded
inequality comparison with zero, converting equality comparisons with
zero to negations, changing int/0/1 to bool/false/true, replace calls
to gigi_abort with abort, and various other similar changes.
2004-07-26 Vincent Celier <celier@gnat.com>
* gnatcmd.adb (GNATCmd): Add processing for new built-in command
"setup".
* make.adb (Gnatmake): Fail when a library is not present and there is
no object directory.
* mlib-prj.adb (Check_Library): No need to check if the library needs
to be rebuilt if there is no object directory, hence no object files
to build the library.
* opt.ads (Setup_Projects): New Boolean flag.
* prj-nmsc.adb (Locate_Directory): New parameter Project, Kind and
Location.
Create directory when Kind /= "" and in "gnat setup". Report error if
directory cannot be created.
(Ada_Check): Create library interface copy dir if it does not exist
and we are in "gnat setup".
(Find_Sources): No error if in "gnat setup" and no Ada sources were
found.
(Language_Independent_Check): Create object directory, exec directory
and/or library directory if they do not exist and we are in
"gnat setup".
* vms_conv.ads: (Command_Type): New command Setup.
* vms_conv.adb (Initialize): Add Setup component of Cammand_List.
* vms_data.ads: Add qualifiers/switches for new built-in command
"setup".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85188
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Mon, 26 Jul 2004 08:23:58 +0000 (08:23 +0000)]
.:
* tree.h (BINFO_BASE_ACCESSES): Accesses are a VEC(tree).
(BINFO_BASE_ACCESS): Adjust.
(BINFO_BASE_ACCESS_APPEND): New.
(struct tree_binfo): Make base_accesses a VEC(tree) pointer.
* dbxout.c (dbxout_type): Adjust binfo access accessing.
* dwarf2out.c (gen_member_die): Likewise.
* tree-dump.c (deque_and_dump): Likewise.
cp:
* decl.c (xref_basetypes): Adjust base access vector creation.
* rtti.c (get_pseudo_ti_init, get_pseudo_ti_desc): Adjust base
access accesses.
* search.c (dynamic_cast_base_recurse, dfs_access_in_type): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85187
138bc75d-0d04-0410-961f-
82ee72b054a4