- 28 Mar, 2002 14 commits
-
-
(Remove_Checks): New procedure * checks.adb: (Remove_Checks): New procedure * exp_util.adb: Use new Duplicate_Subexpr functions (Duplicate_Subexpr_No_Checks): New procedure (Duplicate_Subexpr_No_Checks_Orig): New procedure (Duplicate_Subexpr): Restore original form (checks duplicated) (Duplicate_Subexpr): Call Remove_Checks * exp_util.ads: (Duplicate_Subexpr_No_Checks): New procedure (Duplicate_Subexpr_No_Checks_Orig): New procedure Add 2002 to copyright notice * sem_util.adb: Use new Duplicate_Subexpr functions * sem_eval.adb: (Eval_Indexed_Component): This is the place to call Constant_Array_Ref and to replace the value. We simply merge the code of this function in here, since it is now no longer used elsewhere. This fixes the problem of the back end not realizing we were clever enough to see that this was constant. (Expr_Val): Remove call to Constant_Array_Ref (Expr_Rep_Val): Remove call to Constant_Array_Ref Minor reformatting (Constant_Array_Ref): Deal with string literals (patch suggested by Zack Weinberg on the gcc list) * exp_util.adb: Duplicate_Subexpr_No_Checks_Orig => Duplicate_Subexpr_Move_Checks. * exp_util.ads: Duplicate_Subexpr_No_Checks_Orig => Duplicate_Subexpr_Move_Checks. * sem_eval.adb: (Constant_Array_Ref): Verify that constant value of array exists before retrieving it (it may a private protected component in a function). From-SVN: r51513
Matthew Gingell committed -
* prj-pp.adb : New file. * prj-pp.ads : New file. From-SVN: r51512
Geert Bosch committed -
From-SVN: r51510
Andreas Jaeger committed -
* rtlanal.c: Include flags.h (may_trap_p): Do not mark FP operations if trapping if !flag_trapping_math * Makefile.in (rtlanal.o): Add dependency on flag.h * ifcvt.c (noce_operand_ok): Avoid the lameness. From-SVN: r51508
Jan Hubicka committed -
From-SVN: r51507
GCC Administrator committed -
From-SVN: r51503
Neil Booth committed -
* mips.md: Use dconst1, not 1.0, as first argument of REAL_VALUE_LDEXP. Don't use union real_extract. From-SVN: r51502
Zack Weinberg committed -
2002-03-28 Bryce McKinlay <bryce@waitaki.otago.ac.nz> * parse.y (resolve_package): Initialize "decl". (lookup_package_type): Remove unused function. From-SVN: r51500
Bryce McKinlay committed -
Fix for PR java/5993: * parse.y (resolve_package): Return the decl if resolution was successful. Don't special case "java.lang" and "java.lang.reflect" packages. Set type_name to the merged identifier. (resolved_qualified_expression_name): Print error using "name" if resolve_package returns NULL_TREE. From-SVN: r51497
Bryce McKinlay committed -
* hex.c: Add documentation. (_hex_value): Provide non-ASCII empty table. (hex_init): Initialize the non-ASCII table. * functions.texi: Regenerate. From-SVN: r51496
DJ Delorie committed -
2002-03-27 Benjamin Kosnik <bkoz@redhat.com> * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always allocate at least a byte. * testsuite/18_support/numeric_limits.cc (test_extrema): Make debugger-friendly. * testsuite/27_io/streambuf.cc (test07): Fix. (test06): Enable. From-SVN: r51494
Benjamin Kosnik committed -
(close): Use native implementation. (finalize): New method. * java/net/PlainSocketImpl.java (finalize): New method. * java/net/natPlainDatagramSocketImpl.cc (java/io/FileDescriptor.h): Don't include. (close): Implement method here. (create): Don't assign fd. * java/net/natPlainSocketImpl.cc (java/io/FileDescriptor.h): Don't include. (create): Don't assign fd. (accept): Likewise. (close): Synchronize. From-SVN: r51492
Jeff Sturm committed -
* g++.dg/ext/instantiate1.C: Use scan-assembler, not link errors. * g++.dg/ext/instantiate2.C, g++.dg/ext/instantiate3.C: Likewise; move from g++.old-deja/g++.ext/. From-SVN: r51491
Richard Henderson committed -
* configure.in (gcc_cv_as): Use $target_alias in directory searchs rather than $target. Heed program_prefix and program_transform_name. Search for gas in cross-compiler case too. "test -x" rather than "test -f". (gcc_cv_ld): Likewise. (gcc_cv_nm): Heed program_prefix and program_transform_name. (gcc_cv_objdump): Likewise. * configure: Regenerate. From-SVN: r51489
Alan Modra committed
-
- 27 Mar, 2002 26 commits
-
-
* Makefile.in (attribs.o): Update. * attribs.c: Include langhooks.h. (decl_attributes): Use langhook. * c-decl.c (insert_default_attributes): Rename. * c-tree.h (c_insert_default_attributes): New. * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES):New. (LANG_HOOKS_INITIALIZER): Update. * langhooks.h (struct lang_hooks): New hook. * tree.h (insert_default_attributes): Remove. ada: * misc.c (insert_default_attributes): Remove. cp: * cp-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine. * cp-tree.h (cxx_insert_default_attributes): New. * decl.c (insert_default_attributes): Rename. objc: * objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine. From-SVN: r51488
Neil Booth committed -
* expr.c (expand_invoke): Don't generate null pointer check if we're calling <init>. From-SVN: r51487
Tom Tromey committed -
* config/i386/i386.c (classify_argument): Also check for QUAL_UNION_TYPE. From-SVN: r51484
Andreas Schwab committed -
* configure.in (alpha*-dec-osf*): Enable libgcj. gcc: * doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj any more. From-SVN: r51483
Rainer Orth committed -
* i960.md (ret): Set PC. (nonlocal_goto): Fix expander. * builtins.c (epxand_builin_longjmp): Check that we've emitted some jump or call. From-SVN: r51478
Jan Hubicka committed -
* optabs.c (emit_no_conflict_block, emit_libcall_block): Avoid nesting of libcall regions. From-SVN: r51477
Jan Hubicka committed -
cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of assigning to BLOCK_FOR_INSN directly. * cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of assigning to BLOCK_FOR_INSN directly. From-SVN: r51475
Zdenek Dvorak committed -
2002-03-27 Phil Edwards <pme@gcc.gnu.org> * docs/doxygen/Intro.3: Date tweak. * docs/doxygen/TODO: Update. * docs/doxygen/doxygroups.cc: Point to tables.html. * docs/doxygen/mainpage.html: Date tweak. * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over. * docs/doxygen/tables.html: Fill in the blanks. * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint. * include/bits/stl_algo.h: Likewise; use expanded form. * include/bits/stl_alloc.h: Likewise. * include/bits/stl_construct.h: Likewise. * include/bits/stl_deque.h: Likewise. * include/bits/stl_iterator_base_types.h: Likewise. * include/bits/stl_list.h: Likewise. * include/bits/stl_relops.h: Likewise. * include/bits/stl_tempbuf.h: Likewise. * include/bits/stl_vector.h: Likewise. * include/std/std_memory.h: Likewise. * include/bits/stl_deque.h: Point into tables.html and add @ingroup. * include/bits/stl_list.h: Likewise. * include/bits/stl_vector.h: Likewise. From-SVN: r51471
Phil Edwards committed -
From-SVN: r51470
Jan Hubicka committed -
From-SVN: r51469
Matthew Gingell committed -
From-SVN: r51468
Richard Henderson committed -
* os_dep.c (GC_init_linux_data_start): Fix references to __data_start and _end. From-SVN: r51467
Richard Henderson committed -
* g++.dg/init/new2.C: New test. PR c++/4884 * call.c (build_op_delete_call): Allow for the fact the placement may be a COMPOUND_EXPR. From-SVN: r51466
Mark Mitchell committed -
* c-common.c (c_expand_expr): Fix prototype. * c-common.h (c_expand_expr): Always declare, update. * c-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine. * c-objc-common.c (c_objc_common_init): No global hook. * expr.c (expand_expr): Use langhook. * expr.h (enum expand_modifier): Conditionally declare. * langhooks-def.h (lhd_expand_expr, LANG_HOOKS_EXPAND_EXPR): New. (LANG_HOOKS_INITIALIZER): Update. * langhooks.c (lhd_expand_expr): New. * langhooks.h (struct lang_hooks): New hook. * toplev.c (lang_expand_expr_t, lang_expand_expr): Delete. (lang_independent_init): Don't default hook. ada: * misc.c (LANG_HOOKS_EXPAND_EXPR): Redefine. (gnat_init): Don't set hook. (gnat_expand_expr): Fix prototype. cp: * cp-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine. * cp-tree.h (init_cplus_expand): Remove. (cxx_expand_expr): New. * expr.c (cplus_expand_expr): Rename cxx_expand_expr, fix prototype. (init_cplus_expand): Remove. * lex.c (cxx_init): Don't call init_cplus_expand. java: * expr.c (java_lang_expand_expr): Rename java_expand_expr, fix prototype. * java-tree.h (java_lang_expand_expr): Similarly. * lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine. (java_init): Don't set hook. objc: * objc-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine. From-SVN: r51462
Neil Booth committed -
From-SVN: r51461
Mark Mitchell committed -
2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com> * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64. (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction instead of syscall on IA-64. Add FIXME comment. From-SVN: r51459
Andrew Haley committed -
2002-03-27 Anthony Green <green@redhat.com> * libgcj.spec.in: Add CHECKREFSPEC. * configure.in: Ditto. * configure.host: Ditto. Check references for xscale-elf. * configure: Rebuilt. From-SVN: r51457
Anthony Green committed -
2002-03-27 Anthony Green <green@redhat.com> * libjava.lang/InvokeReturn.java: Modify test for targets which do not yet support reflection. From-SVN: r51455
Anthony Green committed -
2002-03-27 Anthony Green <green@redhat.com> * libjava.jni/jni.exp (gcj_jni_run): Fix cross build test. From-SVN: r51453
Anthony Green committed -
2002-03-27 Anthony Green <green@redhat.com> * lib/libjava.exp: Add the wrapper link options only when we're linking. From-SVN: r51451
Anthony Green committed -
PR target/6054 * config/ia64/ia64.c (ia64_expand_call): Use pic patterns for TARGET_CONST_GP. Simplify conditions. * gcc.dg/20020326-1.c: New. From-SVN: r51444
Richard Henderson committed -
* config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h, config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h, config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define. * gcc.dg/debug/20020327-1.c: New. From-SVN: r51443
Richard Henderson committed -
* config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32, TARGET_CYGWIN, TARGET_WINDOWS): Remove unused switches. (MASK_DLL, MASK_WIN32, MASK_CYGWIN, MASK_WINDOWS): Remove unnecessary masks. (MASK_NOP_FUN_DLLIMPORT): Use an unused an bit. (SUBTARGET_SWITCHES): Use empty masks for -mwin32, -mcygwin, -mwindows, -mdll switches and their negations. From-SVN: r51440
Danny Smith committed -
Fix for PR java/5850: * parse.y (lookup_field_wrapper): Call itself recursively for enclosing context if field was not found in the current scope. * expr.c (lookup_field): Don't look in enclosing contexts. From-SVN: r51438
Bryce McKinlay committed -
From-SVN: r51437
GCC Administrator committed -
* gcc-common.c (lang_mark_false_label_stack): Remove. * ggc.h (lang_mark_false_label_stack): Similarly. ada: * misc.c (ggc_p): Remove. From-SVN: r51433
Neil Booth committed
-