]>
gcc.gnu.org Git - gcc.git/log
Stan Shebs [Sat, 28 Apr 2001 22:18:06 +0000 (22:18 +0000)]
darwin.h (STANDARD_EXEC_PREFIX): Don't define.
* config/darwin.h (STANDARD_EXEC_PREFIX): Don't define.
(NEXT_OBJC_RUNTIME): Define.
From-SVN: r41665
Jan Hubicka [Sat, 28 Apr 2001 19:16:30 +0000 (21:16 +0200)]
rtl.h (simplify_gen_relational): Add cmp_mode parameter.
* rtl.h (simplify_gen_relational): Add cmp_mode parameter.
* simplify-rtx.c (simplify_gen_relational): Likewise.
* simplify-rtx.c (simplify_replace_rtx): Handle relationals and MEMs.
* i386.h (VALID_SSE_REG_MODE): Accept MMX modes if SSE2
* i386.md (movsi_1, movdi2, movdi_1_rex64): Handle SSE2 moves.
* i386.md (negsf2, negdf2, abssf2, absdf2): Force operands to
registers in SSE case; fix handling of the immediates.
(negsf2_ifs, abssf2_ifs): Tweak constraints; require
operands to be in regsiters before reload.
(negdf2_ifs, absdf2_ifs): Likewise; disable for 64bit
(negdf2_ifs_rex64, absdf2_ifs_rtx64): New.
(abstf,absxf,negtf,negxf splitters): Compute
properly the regnum for x86_64.
(avsdf2_if_rex64): New.
From-SVN: r41664
Jeffrey A Law [Sat, 28 Apr 2001 16:53:00 +0000 (16:53 +0000)]
flow.c (propagate_block_delete_insn): Handle deletion of ADDR_VEC and ADDR_DIFF_VEC insns when...
* flow.c (propagate_block_delete_insn): Handle deletion of ADDR_VEC
and ADDR_DIFF_VEC insns when the proceeding CODE_LABEL was put
into the constant pool.
* jump.c (jump_optimize_1): Remove barrier successors after all
the LABEL_NUSES counds have been computed.
(delete_barrier_successors): When deleting a tablejump insn, also
delete the jump table it uses.
* varasm.c (force_const_mem): Set LABEL_PRESERVE_P when forcing a
label into memory.
From-SVN: r41662
Martin Kalen [Sat, 28 Apr 2001 14:23:34 +0000 (14:23 +0000)]
* pa.c (FRP): Remove erroneous white space in macro definition.
From-SVN: r41661
Andreas Jaeger [Sat, 28 Apr 2001 11:35:04 +0000 (13:35 +0200)]
invoke.texi: Use XX-bit instead of XXbit or XX bit where appropriate.
* invoke.texi: Use XX-bit instead of XXbit or XX bit where
appropriate.
* extend.texi: Likewise.
* tm.texi: Likewise.
From-SVN: r41659
Andreas Jaeger [Sat, 28 Apr 2001 08:54:31 +0000 (10:54 +0200)]
md.texi: Use XX-bit instead of XXbit or XX bit where appropriate.
* md.texi: Use XX-bit instead of XXbit or XX bit where
appropriate.
From-SVN: r41656
Jens Schweikhardt [Sat, 28 Apr 2001 08:08:03 +0000 (08:08 +0000)]
re PR c/2347 (gcc does not accept "-l m" as POSIX permits (wants -lm))
* gcc.c (process_command): Allow -l lib in addition to -llib
for POSIX compliance. This fixes PR c/2347.
* invoke.texi: Update section on Link Options accordingly.
From-SVN: r41655
GCC Administrator [Sat, 28 Apr 2001 07:16:11 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r41653
Jason Merrill [Sat, 28 Apr 2001 05:11:21 +0000 (01:11 -0400)]
new
From-SVN: r41652
Zack Weinberg [Sat, 28 Apr 2001 01:39:15 +0000 (01:39 +0000)]
* java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use _Jv_Malloc.
From-SVN: r41651
Zack Weinberg [Sat, 28 Apr 2001 00:04:55 +0000 (00:04 +0000)]
prims.cc (_Jv_ThisExecutable): Use _Jv_Malloc.
* prims.cc (_Jv_ThisExecutable): Use _Jv_Malloc.
* posix-threads.cc (_Jv_ThreadInitData): Use _Jv_Malloc.
(_Jv_ThreadDestroyData): Use _Jv_Free.
From-SVN: r41650
Zack Weinberg [Fri, 27 Apr 2001 23:55:03 +0000 (23:55 +0000)]
function.c (purge_addressof_1): Remove the duplicate if (code == SET) block.
* function.c (purge_addressof_1): Remove the duplicate
if (code == SET) block. Fold the two if (code == ADDRESSOF)
blocks together.
From-SVN: r41649
Benjamin Kosnik [Fri, 27 Apr 2001 23:38:14 +0000 (23:38 +0000)]
mainpage.doxy: New.
2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
* docs/doxygen/mainpage.doxy: New.
* docs/doxygen/user.cfg.in: Change default configuration. Single
frame, other tweaks.
From-SVN: r41648
Jason Merrill [Fri, 27 Apr 2001 23:25:20 +0000 (19:25 -0400)]
except.c (expand_eh_region_start): Don't start a new block.
* except.c (expand_eh_region_start): Don't start a new block.
(expand_eh_region_end): Don't end a block.
* stmt.c (expand_end_bindings): Don't end EH blocks.
(expand_decl_cleanup): Starting an EH region won't change the block.
(mark_block_as_eh_region, mark_block_as_not_eh_region): Lose.
(is_eh_region): Lose.
* tree.h: Adjust.
From-SVN: r41647
Franz Sirl [Fri, 27 Apr 2001 21:32:31 +0000 (21:32 +0000)]
Add forgotten entry.
From-SVN: r41646
Jeffrey Oldham [Fri, 27 Apr 2001 19:59:53 +0000 (19:59 +0000)]
*** empty log message ***
From-SVN: r41645
Andreas Jaeger [Fri, 27 Apr 2001 19:35:03 +0000 (21:35 +0200)]
md.texi (Machine Constraints): Document additional i386 constraints and fix description of "A".
* md.texi (Machine Constraints): Document additional i386
constraints and fix description of "A".
From-SVN: r41642
Per Bothner [Fri, 27 Apr 2001 19:12:20 +0000 (12:12 -0700)]
parse.y (java_expand_classes): Don't change ctxp_for_generation while iterating...
* parse.y (java_expand_classes): Don't change ctxp_for_generation
while iterating, since that could cause gc to lose stuff.
From-SVN: r41640
Toon Moene [Fri, 27 Apr 2001 17:33:13 +0000 (17:33 +0000)]
20000629 -1.x: Really commit removal.
2001-04-27 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/compile/
20000629 -1.x: Really commit removal.
From-SVN: r41638
Jeffrey A Law [Fri, 27 Apr 2001 16:42:07 +0000 (16:42 +0000)]
* tm.texi (TARGET_MEM_FUNCTIONS): Update text.
From-SVN: r41636
Tom Tromey [Fri, 27 Apr 2001 16:09:54 +0000 (16:09 +0000)]
jni.cc (_Jv_JNI_GetPrimitiveArrayRegion): Fixed bounds checking.
* jni.cc (_Jv_JNI_GetPrimitiveArrayRegion): Fixed bounds
checking.
(_Jv_JNI_SetPrimitiveArrayRegion): Likewise.
From-SVN: r41634
Tom Tromey [Fri, 27 Apr 2001 16:09:10 +0000 (16:09 +0000)]
jni.h (struct JNINativeInterface): Fixed types in Get/Set*ArrayRegion declarations.
2001-04-27 Martin Kahlert <martin.kahlert@infineon.com>
* include/jni.h (struct JNINativeInterface): Fixed types in
Get/Set*ArrayRegion declarations.
(class _Jv_JNIEnv): Likewise.
From-SVN: r41633
Nathan Sidwell [Fri, 27 Apr 2001 13:33:46 +0000 (13:33 +0000)]
except.c (can_convert_eh): Don't check template parms, typename types etc.
cp:
* except.c (can_convert_eh): Don't check template parms,
typename types etc.
testsuite:
* g++.old-deja/g++.eh/crash6.C: New test.
From-SVN: r41628
Nathan Sidwell [Fri, 27 Apr 2001 12:47:22 +0000 (12:47 +0000)]
optimize.c (maybe_clone_body): Copy parameter names and locations.
cp:
* optimize.c (maybe_clone_body): Copy parameter names and locations.
testsuite:
* g++.old-deja/g++.other/warn7.C: New test.
From-SVN: r41627
Nathan Sidwell [Fri, 27 Apr 2001 10:47:36 +0000 (10:47 +0000)]
cp-tree.h (adjust_clone_args): Prototype new function.
cp:
* cp-tree.h (adjust_clone_args): Prototype new function.
* class.c (adjust_clone_args): New function.
* decl.c (start_function): Call it for in charge ctors.
testsuite:
* g++.old-deja/g++.other/defarg9.C: New test.
From-SVN: r41625
GCC Administrator [Fri, 27 Apr 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r41623
Mark Mitchell [Fri, 27 Apr 2001 05:08:39 +0000 (05:08 +0000)]
method.c (use_thunk): Make sure that thunks really are emitted when requested.
* method.c (use_thunk): Make sure that thunks really are emitted
when requested.
From-SVN: r41621
Tom Tromey [Fri, 27 Apr 2001 00:56:16 +0000 (00:56 +0000)]
libjava.exp (libjava_init): Use UTF-8 encoding.
* lib/libjava.exp (libjava_init): Use UTF-8 encoding.
(test_libjava_from_javac): Likewise.
From-SVN: r41617
Jason Merrill [Thu, 26 Apr 2001 23:32:49 +0000 (19:32 -0400)]
* except.c (get_exception_filter): word_mode, not Pmode.
From-SVN: r41616
Toon Moene [Thu, 26 Apr 2001 21:13:29 +0000 (23:13 +0200)]
20010426 .f: New test.
2001-04-26 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/compile/
20010426 .f: New test.
* g77.f-torture/execute/
20010426 .f: New test.
From-SVN: r41615
Toon Moene [Thu, 26 Apr 2001 21:02:07 +0000 (21:02 +0000)]
*** empty log message ***
From-SVN: r41614
Geoffrey Keating [Thu, 26 Apr 2001 20:56:08 +0000 (20:56 +0000)]
sparc.md (movsf_no_f_insn): Add more alternatives common to other movsf patterns.
* config/sparc/sparc.md (movsf_no_f_insn): Add more alternatives
common to other movsf patterns. Move up so that in future
people who change the other patterns will change it too.
(movsf_lo_sum): Allow even for soft-float; add appropriate
constraints.
(movsf_high): Likewise.
(movsf_high+1): Allow even for soft-float.
From-SVN: r41613
Geoffrey Keating [Thu, 26 Apr 2001 20:54:51 +0000 (20:54 +0000)]
function.c (expand_function_end): Always clobber the return registers, even if there is no return label.
* function.c (expand_function_end): Always clobber the
return registers, even if there is no return label.
From-SVN: r41612
Mark Mitchell [Thu, 26 Apr 2001 20:13:47 +0000 (20:13 +0000)]
BADNAMES: Remove EGCS reference.
* docs/html/17_intro/BADNAMES: Remove EGCS reference.
Indicate obsolete nature of thelist for G++ 3.0.
From-SVN: r41611
Jeffrey A Law [Thu, 26 Apr 2001 20:06:25 +0000 (20:06 +0000)]
initp1.C: Moved here from g++.old-deja/g++.ext.
* g++.dg/special/initp1.C: Moved here from g++.old-deja/g++.ext.
Tweak slightly to work with g++.dg framework.
* g++.dg/special/ecos.exp: Run initp1.C test.
* g++.old-deja/g++.ext/initp1.C: Moved to g++.dg/special.
From-SVN: r41610
Mark Mitchell [Thu, 26 Apr 2001 20:05:34 +0000 (20:05 +0000)]
invoke.texi: Document more C++ command-line options.
* invoke.texi: Document more C++ command-line options.
Remove support for -Wextern-inline, -flabels-ok, -fvtable-gc, -fxref
* cp-tree.h (warn_extern_inline): Remove.
(flag_labels_ok): Likewise.
* decl2.c (warn_extern_inline): Remove.
(flag_labels_ok): Likewise.
(lang_f_options): Remove labels-ok, vtable-gc, xref.
(unsupported_options): Add them.
(cxx_decode_option): Don't accept -Wextern-inline.
* method.c (hack_identifier): Remove -flabels-ok support.
* spew.c (see_typename): Likewise.
* g++.dg/vtgc1.C: XFAIL.
* g++.old-deja/g++.other/crash18.C: Likewise.
From-SVN: r41609
Per Bothner [Thu, 26 Apr 2001 19:40:34 +0000 (12:40 -0700)]
Fix method search wrt scope of inner classes to match JLS2.
From-SVN: r41604
Jan Hubicka [Thu, 26 Apr 2001 18:33:25 +0000 (20:33 +0200)]
* (ix86_expand_fp_movcc): Re-enable SSE conditional move generation.
From-SVN: r41602
Per Bothner [Thu, 26 Apr 2001 18:32:22 +0000 (11:32 -0700)]
jcf-write.c (generate_bytecode_insns case SWITCH_EXPR): Fix thinko: If a single case, use if_icmpeq, not ifeq.
* jcf-write.c (generate_bytecode_insns case SWITCH_EXPR):
Fix thinko: If a single case, use if_icmpeq, not ifeq.
* constants.c (find_methodref_with_class_index): New function.
(find_methodref_index): Use find_methodref_with_class_index.
* java-tree.h (find_methodref_with_class_index): New declaration.
* jcf-write.c (generate_bytecode_insns case CALL_EXPR): Don't change
DECL_CONTEXT, instead use new find_methodref_with_class_index function.
If context changed from interface to class, don't use invokeinterface.
From-SVN: r41601
Per Bothner [Thu, 26 Apr 2001 18:11:02 +0000 (11:11 -0700)]
verify.c (verify_jvm_instructions): For field instructions, check that field index is valid.
* verify.c (verify_jvm_instructions): For field instructions,
check that field index is valid. For invoke instructions, check that
method index is valid.
From-SVN: r41600
Jan Hubicka [Thu, 26 Apr 2001 18:10:44 +0000 (20:10 +0200)]
i386.md (abs/neg splitter): Fix calculation of sign bit for TFmodes
* i386.md (abs/neg splitter): Fix calculation of sign bit for TFmodes
(pushqi2_rex64, pushhi2_rex64): Add.
From-SVN: r41599
Andrew Haley [Thu, 26 Apr 2001 17:49:01 +0000 (17:49 +0000)]
except.c (expand_eh_region_end_cleanup): Force pending stack adjust before emitting label that branches around cleanup code.
2001-04-26 Andrew Haley <aph@redhat.com>
* except.c (expand_eh_region_end_cleanup): Force pending stack
adjust before emitting label that branches around cleanup code.
From-SVN: r41598
Jeffrey A Law [Thu, 26 Apr 2001 17:13:04 +0000 (17:13 +0000)]
instantiate2.C: XFAIL for HPUX too since its linker doesn't give line numbers either.
* g++.old-deja/g++.ext/instantiate2.C: XFAIL for HPUX too since
its linker doesn't give line numbers either.
* g++.old-deja/g++.ext/instantiate3.C: Similarly.
From-SVN: r41597
Hans Boehm [Thu, 26 Apr 2001 16:08:59 +0000 (16:08 +0000)]
unix.S: Restore stack pointer when returning from ffi_closure_UNIX.
* src/ia64/unix.S: Restore stack pointer when returning from
ffi_closure_UNIX.
* src/ia64/ffi.c: Fix typo in comment
From-SVN: r41594
H.J. Lu [Thu, 26 Apr 2001 16:02:05 +0000 (16:02 +0000)]
config.gcc (mips*-*-linux*): Add elfos.h to tm_file.
2001-04-26 H.J. Lu (hjl@gnu.org)
* config.gcc (mips*-*-linux*): Add elfos.h to tm_file.
* config/mips/ecoff.h (STARTFILE_SPEC): Undefine before
define.
* config/mips/elf64.h (MAX_OFILE_ALIGNMENT): Likewise.
(ASM_OUTPUT_SECTION_NAME): Likewise.
(ASM_WEAKEN_LABEL): Likewise.
(UNIQUE_SECTION): Likewise.
(ASM_OUTPUT_CONSTRUCTOR): Likewise.
(ASM_OUTPUT_DESTRUCTOR): Likewise.
* config/mips/elf.h (MAX_OFILE_ALIGNMENT): Likewise.
(ASM_OUTPUT_SECTION_NAME): Likewise.
(ASM_WEAKEN_LABEL): Likewise.
(UNIQUE_SECTION): Likewise.
(ASM_OUTPUT_CONSTRUCTOR): Likewise.
(ASM_OUTPUT_DESTRUCTOR): Likewise.
* config/mips/linux.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/mips/mips.h (DBX_CONTIN_LENGTH): Likewise.
(ASM_FILE_START): Likewise.
(ASM_OUTPUT_SOURCE_LINE): Likewise.
(ASM_DECLARE_OBJECT_NAME): Likewise.
(ASM_FILE_END): Likewise.
(ASM_DECLARE_FUNCTION_NAME): Likewise.
(ASM_OUTPUT_INTERNAL_LABEL): Likewise.
(ASM_GENERATE_INTERNAL_LABEL): Likewise.
(ASM_OUTPUT_CASE_LABEL): Likewise.
(ASM_OUTPUT_SKIP): Likewise.
(ASM_OUTPUT_ASCII): Likewise.
(ASM_OUTPUT_IDENT): Likewise.
(READONLY_DATA_SECTION): Likewise.
(EXTRA_SECTIONS): Likewise.
(EXTRA_SECTION_FUNCTIONS): Likewise.
(SELECT_RTX_SECTION): Likewise.
(SELECT_SECTION): Likewise.
* config/mips/linux.h (INVOKE__main): Undefine.
(CTOR_LIST_BEGIN): Likewise.
(CTOR_LIST_END): Likewise.
(DTOR_LIST_BEGIN): Likewise.
(DTOR_LIST_END): Likewise.
(SET_ASM_OP): Defined it to ".dummy".
(ASM_OUTPUT_DEF): Defined.
(ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Defined.
From-SVN: r41592
Nick Clifton [Thu, 26 Apr 2001 15:37:02 +0000 (15:37 +0000)]
Define ASM_OUTPUT_MAX_SKIP_ALIGN if the assembler supports .p2align.
From-SVN: r41591
Nathan Sidwell [Thu, 26 Apr 2001 15:12:55 +0000 (15:12 +0000)]
c-lex.c (c_lex): Remove # from %o diagnostic formatting.
.: * c-lex.c (c_lex): Remove # from %o diagnostic formatting.
testsuite:
* g++.old-deja/g++.other/lex1.C: New test.
From-SVN: r41588
Jakub Jelinek [Thu, 26 Apr 2001 11:36:23 +0000 (13:36 +0200)]
integrate.c (expand_inline_function): Check for error_mark_node in actual argument.
* integrate.c (expand_inline_function): Check for error_mark_node
in actual argument.
* gcc.dg/noncompile/
20010425 -1.c: New test.
From-SVN: r41587
Jakub Jelinek [Thu, 26 Apr 2001 10:30:17 +0000 (12:30 +0200)]
i386.h (CC1_CPU_SPEC): Fix deprecation warnings for -m386 and -m486.
* config/i386/i386.h (CC1_CPU_SPEC): Fix deprecation warnings for
-m386 and -m486.
From-SVN: r41585
Nathan Sidwell [Thu, 26 Apr 2001 08:34:06 +0000 (08:34 +0000)]
mangle.c (write_chars): New macro.
cp:
* mangle.c (write_chars): New macro.
(hwint_to_ascii): New function
(write_number): Use it.
(write_integer_cst): Deal with really big numbers.
testsuite:
* g++.old-deja/g++.pt/mangle2.C: New test.
From-SVN: r41584
GCC Administrator [Thu, 26 Apr 2001 07:16:07 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r41581
Alexandre Oliva [Thu, 26 Apr 2001 05:28:55 +0000 (05:28 +0000)]
configure.in (noconfigdirs): Don't reset it from scratch in the target case; only append to it.
* configure.in (noconfigdirs): Don't reset it from scratch in the
target case; only append to it.
From-SVN: r41579
Alexandre Oliva [Thu, 26 Apr 2001 05:12:36 +0000 (05:12 +0000)]
configure.in (noconfigdirs): Don't reset it from scratch in the target case; only append to it.
* configure.in (noconfigdirs): Don't reset it from scratch in the
target case; only append to it.
From-SVN: r41576
Alexandre Oliva [Thu, 26 Apr 2001 05:10:04 +0000 (05:10 +0000)]
configure.in (noconfigdirs): Disable ${libgcj}.
* configure.in (noconfigdirs) [hppa*-*-*, mips*-*-irix6*,
sparc-*-solaris2.8]: Disable ${libgcj}.
From-SVN: r41575
Alexandre Oliva [Thu, 26 Apr 2001 04:29:57 +0000 (04:29 +0000)]
configure.in: Obtain THREADS with `gcc -v'.
* configure.in: Obtain THREADS with `gcc -v'.
* configure: Rebuilt.
From-SVN: r41571
Alexandre Oliva [Thu, 26 Apr 2001 04:29:15 +0000 (04:29 +0000)]
acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain target_thread_file with `gcc -v'.
* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
target_thread_file with `gcc -v'.
* aclocal.m4, configure: Rebuilt.
From-SVN: r41570
Alexandre Oliva [Thu, 26 Apr 2001 04:28:50 +0000 (04:28 +0000)]
configure.in (configargs.h): Define thread_model.
* configure.in (configargs.h): Define thread_model.
* configure: Rebuilt.
* gcc.c (main): Print it with -v.
From-SVN: r41569
Benjamin Kosnik [Thu, 26 Apr 2001 02:23:52 +0000 (02:23 +0000)]
std_cmath.h (std): Explicitly inject c99 names.
2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
* include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
* include/c_std/bits/std_cwchar.h (std): Same.
* acconfig.h (std): Remove c99 injection into std.
* config.h.in: Regenerate.
* testsuite/README: Fix typo.
* include/bits/codecvt.h: Remove warnings.
From-SVN: r41568
Bryce McKinlay [Thu, 26 Apr 2001 02:02:05 +0000 (02:02 +0000)]
re PR libgcj/2237 (serialization doesn't throw exception on failure)
Fix PR libgcj/2237:
* java/io/ObjectStreamClass.java (setClass): Calculate
serialVersionUID for local class and compare it against the UID
from the Object Stream. Throw InvalidClassException upon mismatch.
(setUID): Renamed to...
(getClassUID): this. Return the calculated class UID rather than
setting uid field directly.
(getDefinedSUID): Removed.
* java/io/ObjectInputStream.java (resolveClass): Use the
three-argument Class.forName().
* java/io/InvalidClassException (toString): Don't include classname in
result if it is null.
From-SVN: r41567
Hans Boehm [Thu, 26 Apr 2001 00:46:38 +0000 (00:46 +0000)]
Restore stack pointer when returning from ffi_closure_UNIX.
From-SVN: r41565
Mark Mitchell [Thu, 26 Apr 2001 00:33:18 +0000 (00:33 +0000)]
optimize.c (maybe_clone_body): Copy TREE_PUBLIC before emitting the clone.
* optimize.c (maybe_clone_body): Copy TREE_PUBLIC before emitting
the clone.
From-SVN: r41564
Hans Boehm [Thu, 26 Apr 2001 00:30:36 +0000 (00:30 +0000)]
*** empty log message ***
From-SVN: r41563
Joseph Myers [Wed, 25 Apr 2001 22:38:10 +0000 (23:38 +0100)]
invoke.texi: Document -Wmissing-braces...
* invoke.texi: Document -Wmissing-braces, -dumpspecs,
-dumpmachine, -dumpversion, -fmem-report and -ftime-report.
* gcc.1: Regenerate.
From-SVN: r41560
Rainer Orth [Wed, 25 Apr 2001 22:27:04 +0000 (22:27 +0000)]
dwarfout.c (is_pseudo_reg, [...]): Use static inline instead of inline static.
* dwarfout.c (is_pseudo_reg, type_main_variant, is_tagged_type,
is_redundant_typedef): Use static inline instead of inline static.
From-SVN: r41558
Christopher Faylor [Wed, 25 Apr 2001 22:23:33 +0000 (22:23 +0000)]
cygwin.h: Move W32API search to LINK_SPEC to ensure that this directory is always searched.
* config/i386/cygwin.h: Move W32API search to LINK_SPEC to ensure that this
directory is always searched.
From-SVN: r41556
Richard Henderson [Wed, 25 Apr 2001 21:56:54 +0000 (14:56 -0700)]
i386.c (ix86_expand_epilogue): Properly compute size of registers to restore along non eh_return path.
* config/i386/i386.c (ix86_expand_epilogue): Properly compute size
of registers to restore along non eh_return path.
From-SVN: r41555
Alexandre Oliva [Wed, 25 Apr 2001 21:30:21 +0000 (21:30 +0000)]
* config-lang.in (target_libs): Copy from $libgcj_saved.
From-SVN: r41552
Alexandre Oliva [Wed, 25 Apr 2001 21:29:48 +0000 (21:29 +0000)]
configure.in (libgcj_saved): Copy from $libgcj.
* configure.in (libgcj_saved): Copy from $libgcj.
(libgcj): Zero out if --enable-libgcj; add to noconfigdirs is
--disable-libgcj.
From-SVN: r41551
Jakub Jelinek [Wed, 25 Apr 2001 21:18:20 +0000 (23:18 +0200)]
c-format.c (check_format_info_recurse): Handle PLUS_EXPR for format string.
* c-format.c (check_format_info_recurse): Handle
PLUS_EXPR for format string.
* gcc.dg/format/plus-1.c: New test.
From-SVN: r41550
Jakub Jelinek [Wed, 25 Apr 2001 21:06:10 +0000 (23:06 +0200)]
ia64.h (CC1_SPEC): Define.
* config/ia64/ia64.h (CC1_SPEC): Define.
* config/ia64/linux.h (CC1_SPEC): Define.
From-SVN: r41549
Kaveh R. Ghazi [Wed, 25 Apr 2001 20:27:06 +0000 (20:27 +0000)]
natInetAddress.cc (java::net::InetAddress::aton): Wrap use of inet_pton in HAVE_INET6.
* java/net/natInetAddress.cc (java::net::InetAddress::aton):
Wrap use of inet_pton in HAVE_INET6.
From-SVN: r41547
Gavin Romig-Koch [Wed, 25 Apr 2001 17:25:53 +0000 (17:25 +0000)]
remove self as maintainer
From-SVN: r41546
J"orn Rennecke [Wed, 25 Apr 2001 16:14:24 +0000 (16:14 +0000)]
emit-rtl.c (constant_subword): Also do sign extension in BITS_PER_WORD == 16 case.
* emit-rtl.c (constant_subword): Also do sign extension in
BITS_PER_WORD == 16 case.
From-SVN: r41545
Bryce McKinlay [Wed, 25 Apr 2001 15:48:05 +0000 (16:48 +0100)]
Forgot this file on last commit.
From-SVN: r41544
Bryce McKinlay [Wed, 25 Apr 2001 15:45:15 +0000 (16:45 +0100)]
decl.c (init_decl_processing): Add new class "protectionDomain" field.
gcc/java:
2001-04-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* decl.c (init_decl_processing): Add new class "protectionDomain"
field.
* class.c (make_class_data): Set initial value for "protectionDomain".
libjava:
2001-04-25 Bryce McKinlay <bryce@albatross.co.nz>
java.security merge and ClassLoader compliance fixes.
* java/lang/Class.h (Class): Include ProtectionDomain.h.
New protectionDomain field.
(forName): Add initialize parameter. Fixes declaration to comply with
JDK spec.
* java/lang/natClass.cc (forName): Correct declaration of the three-arg
variant. Honour "initialize" flag.
(getProtectionDomain0): New method.
* java/lang/Class.java: Fix forName() declaration.
(getPackage): New method based on Classpath implementation.
(getProtectionDomain0): New native method decl.
(getProtectionDomain): New method.
* java/lang/ClassLoader.java (getParent): Now final.
(definedPackages): New field.
(getPackage): New.
(defineClass): New variant with protectionDomain argument.
(definePackage): New.
(getPackages): New.
(findSystemClass): Now final.
(getSystemResourceAsStream): Remove redundant "final" modifier.
(getSystemResource): Remove redundant "final" modifier.
(getResources): Now final.
(protectionDomainPermission): New static field.
(unknownProtectionDomain): Ditto.
(defaultProtectionDomain): Ditto.
(getSystemClassLoader): Now non-native.
* java/util/ResourceBundle.java (tryGetSomeBundle): Use the correct
arguments for Class.forName().
* java/lang/Package.java: New file.
* gnu/gcj/runtime/VMClassLoader.java (getVMClassLoader): Removed.
(instance): Static initialize singleton.
(findClass): Override this, not findSystemClass.
* java/lang/natClassLoader.cc (defineClass0): Set class's
protectionDomain field as specified.
(getSystemClassLoader): Removed.
(findClass): Renamed from findSystemClass. Call the interpreter via
URLClassLoader.findClass if loading class via dlopen fails.
* java/security/*.java: java.security import/merge with Classpath.
* java/security/acl/*.java: Likewise.
* java/security/interfaces/*.java: Likewise.
* java/security/spec/*.java: Likewise.
* java/net/NetPermission.java: Likewise.
* java/net/SocketPermission.java: Likewise.
* gnu/java/security/provider/DefaultPolicy.java: Likewise.
* Makefile.am: Add new classes.
* Makefile.in: Rebuilt.
* gcj/javaprims.h: CNI namespace rebuild.
From-SVN: r41543
Jason Merrill [Wed, 25 Apr 2001 15:28:30 +0000 (11:28 -0400)]
oops
From-SVN: r41541
Jason Merrill [Wed, 25 Apr 2001 15:27:28 +0000 (11:27 -0400)]
* loop.c (try_swap_copy_prop): Go back to checking insn.
From-SVN: r41540
Jakub Jelinek [Wed, 25 Apr 2001 09:57:00 +0000 (11:57 +0200)]
emit-rtl.c (subreg_hard_regno): Only do HARD_REGNO_MODE_OK check if check_mode is non-zero.
* emit-rtl.c (subreg_hard_regno): Only do HARD_REGNO_MODE_OK check
if check_mode is non-zero.
* gcc.dg/
20010423 -1.c: New test.
From-SVN: r41537
Jakub Jelinek [Wed, 25 Apr 2001 09:51:25 +0000 (11:51 +0200)]
i386.c (ix86_expand_int_movcc): If overlap between out and comparison sequence has been detected...
* config/i386/i386.c (ix86_expand_int_movcc): If overlap between
out and comparison sequence has been detected, put result into
proper temporary pseudo.
* gcc.c-torture/execute/
20010422 -1.c: New test.
From-SVN: r41536
Nathan Sidwell [Wed, 25 Apr 2001 08:31:19 +0000 (08:31 +0000)]
decl.c (grokdeclarator): Set context of namespace scope TYPE_DECLS.
cp:
* decl.c (grokdeclarator): Set context of namespace scope
TYPE_DECLS.
testsuite:
* g++.old-deja/g++.ns/type2.C: New test.
From-SVN: r41533
GCC Administrator [Wed, 25 Apr 2001 07:16:08 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r41531
Zack Weinberg [Wed, 25 Apr 2001 00:58:04 +0000 (00:58 +0000)]
Makefile.in (LIB2FUNCS): Remove _varargs and __dummy.
* Makefile.in (LIB2FUNCS): Remove _varargs and __dummy.
* libgcc-std.ver: Remove __builtin_saveregs, __dummy, and __empty.
* libgcc2.c: Remove __dummy and __builtin_saveregs.
* libgcc2.h: Don't prototype __builtin_saveregs or __dummy.
* config/i860/varargs.asm: New file - preserve i860 __builtin_saveregs
for future reference.
From-SVN: r41529
Jason Merrill [Wed, 25 Apr 2001 00:23:10 +0000 (20:23 -0400)]
except.c (reachable_handlers): Step out one level from a RESX.
* except.c (reachable_handlers): Step out one level from a RESX.
* except.c (struct eh_region): Rename 'last' to 'resume'.
(mark_eh_region, duplicate_eh_region_1): Adjust.
(expand_eh_region_end_cleanup): Remember the jump, not the barrier.
(build_post_landing_pads): Likewise.
(expand_end_catch, expand_eh_region_end_allowed): Don't set it.
(expand_eh_region_end_must_not_throw): Likewise.
(connect_post_landing_pads): Thread (only) regions with non-deleted
resume insns.
* except.c (expand_eh_region_end_cleanup): Save the EH return data
registers around the cleanup.
(get_exception_filter): New fn.
(finish_eh_generation): Use it.
From-SVN: r41528
Zack Weinberg [Wed, 25 Apr 2001 00:07:07 +0000 (00:07 +0000)]
optimize.c: Include hashtab.h.
* cp/optimize.c: Include hashtab.h.
(struct inline_data): Add tree_pruner.
(expand_call_inline, expand_calls_inline): Use it when calling
walk_tree.
(optimize_function): Initialize and free tree_pruner.
* g++.old-deja/g++.other/perf1.C: New test.
From-SVN: r41525
Alexandre Oliva [Tue, 24 Apr 2001 11:27:20 +0000 (11:27 +0000)]
configure.in (CPPFLAGS): Added builddir and srcdir to CPPFLAGS for libtool tests.
* configure.in (CPPFLAGS): Added builddir and srcdir to CPPFLAGS
for libtool tests. Pre-create gnu/classpath/Configuration.java.
* configure: Rebuilt.
From-SVN: r41522
Nathan Sidwell [Tue, 24 Apr 2001 08:25:56 +0000 (08:25 +0000)]
c-semantics.c (add_scope_stmt): Don't call current_scope_stmt_stack multiple times.
* c-semantics.c (add_scope_stmt): Don't call
current_scope_stmt_stack multiple times.
From-SVN: r41521
Nathan Sidwell [Tue, 24 Apr 2001 08:22:06 +0000 (08:22 +0000)]
Lazy __FUNCTION__ generation.
gcc:
Lazy __FUNCTION__ generation.
* c-common.h (RID_FUNCTION_NAME, RID_PRETTY_FUNCTION_NAME,
RID_C99_FUNCTION_NAME): New _RIDs.
(CTI_FUNCTION_ID, CTI_PRETTY_FUNCTION_ID, CTI_FUNC_ID): Remove.
(CTI_FUNCTION_NAME_DECL, CTI_PRETTY_FUNCTION_NAME_DECL,
CTI_C99_FUNCTION_NAME_DECL, CTI_SAVED_FUNCTION_NAME_DECLS): New
global tree slots.
(function_id_node, pretty_function_id_node, func_id_node): Remove.
(c99_function_name_decl_node, function_name_decl_node,
pretty_function_name_decl_node, saved_function_name_decls):
Declare.
(struct language_function): Remove x_function_name_declared_p.
(make_fname_decl): Remove a parameter.
(declare_function_names): Remove prototype.
(start_fname_decls, finish_fname_decls): Prototype.
(fname_as_string): Likewise.
(fname_string, fname_decl): Likewise.
* c-common.c (make_fname_decl): Adjust.
(struct fname_var_t): New struct.
(fname_vars): New static array.
(declare_function_name): Remove.
(start_fname_decls, finish_fname_decls): New functions.
(fname_as_string): New function from remnants of
declare_function_name.
(fname_string, fname_decl): New functions.
* c-decl.c (c_function_name_declared_p): Remove.
(init_decl_processing): Don't generate __FUNCTION__ et al ids,
don't call declare_function_name. Call start_fname_decls.
(c_make_fname_decl): Adjust parameters. Generate the name. Don't
clobber the line number. Call finish_decl.
(start_function): Call start_fname_decls.
(finish_function): Call finish_fname_decls.
Remove c_function_name_declared_p.
(push_c_function_context): Don't push c_function_name_declared_p.
(pop_c_function_context): Don't pop c_function_name_declared_p.
(c_begin_compound_stmt): Don't check c_function_name_declared_p.
* c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): New tokens.
(program): Call finish_fname_decls for C.
(primary): Add VAR_FUNC_NAME.
(reswords): Add slots for __FUNCTION__ et al.
(rid_to_yy): Add mappings for __FUNCTION__ et al.
(yylexname): If it's a STRING_FUNC_NAME generate the function name
now. Don't look for VAR_DECLs containing __FUNCTION__ et al.
* c-semantics.c (prune_unused_decls): Remove.
(finish_stmt_tree): Don't call prune_unused_decls.
(genrtl_decl_stmt): Don't prune unused decls here.
cp:
Lazy __FUNCTION__ generation.
* cp-tree.def (FUNCTION_NAME): Remove.
* cp-tree.h (function_name_declared_p): Remove.
(cp_fname_init): Prototype.
* decl.c (init_decl_processing): Don't generate __FUNCTION__ et al ids,
don't call declare_function_name. Call start_fname_decls.
(cp_make_fname_decl): Adjust parameters. Generate the name. Don't
clobber the line number.
(cp_fname_init): New function.
(start_function): Call start_fname_decls.
(finish_function): Call finish_fname_decls.
* lex.c (reswords): Add slots for __FUNCTION__ et al.
(rid_to_yy): Add mappings for __FUNCTION__ et al.
* optimize.c (maybe_clone_body): Remove function_name_declared_p.
* parse.y (VAR_FUNC_NAME): New token.
(primary): Add VAR_FUNC_NAME.
* pt.c (tsubst_decl): Adjust a DECL_PRETTY_FUNCTION_P's
generation.
(tsubst, FUNCTION_NAME case): Remove.
(tsubst_copy, FUNCTION_NAME case): Remove.
(tsubst_expr, DECL_STMT case): Be careful with a
DECL_PRETTY_FUNCTION_P.
(instantiate_decl): Remove function_name_declared_p.
* semantics.c (begin_compound_statement): Don't call
declare_function_name here.
(setup_vtbl_ptr). Don't save & restore function_name_declared_p.
(finish_translation_unit): Call finish_fname_decls.
(expand_body): Remove function_name_declared_p.
* typeck2.c (digest_init): Allow any ERROR_MARK.
testsuite:
* gcc.dg/c99-func-2.c: Remove xfail.
* gcc.dg/c99-func-3.c: Remove xfail.
* gcc.dg/c99-func-4.c: Remove xfail.
From-SVN: r41520
Nathan Sidwell [Tue, 24 Apr 2001 08:13:38 +0000 (08:13 +0000)]
pt.c (tsubst_decl): Use VOID_TYPE_P.
cp:
* pt.c (tsubst_decl): Use VOID_TYPE_P.
* semantics.c: Fix some typos.
From-SVN: r41519
Nick Clifton [Tue, 24 Apr 2001 08:06:04 +0000 (08:06 +0000)]
If a SYMBOL_REF is in the constant pool, use the pool's SYMBOL_REF.
From-SVN: r41518
Nick Clifton [Tue, 24 Apr 2001 08:00:44 +0000 (08:00 +0000)]
Always set STRICT_ALIGNMENT
From-SVN: r41517
GCC Administrator [Tue, 24 Apr 2001 07:17:10 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r41515
Zack Weinberg [Tue, 24 Apr 2001 03:10:08 +0000 (03:10 +0000)]
* gcc.c-torture/execute/
20010124 -1.c: No longer expected to fail.
From-SVN: r41514
Peter Schmid [Mon, 23 Apr 2001 23:17:20 +0000 (23:17 +0000)]
slist: Include required header files.
2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* include/ext/slist: Include required header files.
From-SVN: r41512
Joseph Myers [Mon, 23 Apr 2001 22:55:32 +0000 (23:55 +0100)]
c-convert.c (convert): When converting to a BOOLEAN_TYPE, avoid passing nested NOP_EXPRs to fold.
* c-convert.c (convert): When converting to a BOOLEAN_TYPE, avoid
passing nested NOP_EXPRs to fold.
testsuite:
* gcc.c-torture/compile/
20010423 -1.c: New test.
From-SVN: r41508
Loren J. Rittle [Mon, 23 Apr 2001 19:54:34 +0000 (19:54 +0000)]
std_cerrno.h (errno): Define macro from identifier declared with external linkage, if needed.
* include/c_std/bits/std_cerrno.h (errno): Define macro from
identifier declared with external linkage, if needed.
* include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
* include/c_std/bits/std_cstdarg.h (va_end): Likewise.
From-SVN: r41507
Benjamin Kosnik [Mon, 23 Apr 2001 19:50:00 +0000 (19:50 +0000)]
acinclude.m4 (CXX): Set to CXX so that in-directory re-configures find the build compiler.
2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
* acinclude.m4 (CXX): Set to CXX so that in-directory
re-configures find the build compiler.
(GLIBCPP_ENABLE_C99): Do all tests with 0.0, not 0. Fixes
libstdc++/2609.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r41506
Anthony Green [Mon, 23 Apr 2001 16:47:08 +0000 (16:47 +0000)]
configure.in: Move *-chorusos target case to the proper switch.
* configure.in: Move *-chorusos target case to the proper switch.
Disable libgcj.
From-SVN: r41505
Jan Hubicka [Mon, 23 Apr 2001 13:29:42 +0000 (15:29 +0200)]
* reg-stack.c (emit_swap_insn): Do not get pass CALL_INSNs.
From-SVN: r41502
GCC Administrator [Mon, 23 Apr 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r41500
Mark Mitchell [Mon, 23 Apr 2001 04:49:07 +0000 (04:49 +0000)]
* loop.c (loop_delete_insns): Add prototype.
From-SVN: r41499
This page took 0.099145 seconds and 5 git commands to generate.