Stan Shebs
f37f462aa6
darwin.h (STANDARD_EXEC_PREFIX): Don't define.
...
* config/darwin.h (STANDARD_EXEC_PREFIX): Don't define.
(NEXT_OBJC_RUNTIME): Define.
From-SVN: r41665
2001-04-28 22:18:06 +00:00
Jan Hubicka
141e454b1e
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
2001-04-28 19:16:30 +00:00
Jeffrey A Law
5bb86bf23d
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
2001-04-28 10:53:00 -06:00
Martin Kalen
3a432f1fae
* pa.c (FRP): Remove erroneous white space in macro definition.
...
From-SVN: r41661
2001-04-28 23:53:34 +09:30
Andreas Jaeger
02f52e1923
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
2001-04-28 13:35:04 +02:00
Andreas Jaeger
1e5f973d45
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
2001-04-28 10:54:31 +02:00
Jens Schweikhardt
4275c4c400
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
2001-04-28 08:08:03 +00:00
GCC Administrator
86b8ab9e48
Daily bump.
...
From-SVN: r41653
2001-04-28 07:16:11 +00:00
Jason Merrill
d0029fc5be
new
...
From-SVN: r41652
2001-04-28 01:11:21 -04:00
Zack Weinberg
ad34a822c1
* java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use _Jv_Malloc.
...
From-SVN: r41651
2001-04-28 01:39:15 +00:00
Zack Weinberg
0539f1f709
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
2001-04-28 00:04:55 +00:00
Zack Weinberg
cc2e8b2d91
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
2001-04-27 23:55:03 +00:00
Benjamin Kosnik
3f3942e851
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
2001-04-27 23:38:14 +00:00
Jason Merrill
16842c1535
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
2001-04-27 19:25:20 -04:00
Franz Sirl
6fa0f379d5
Add forgotten entry.
...
From-SVN: r41646
2001-04-27 21:32:31 +00:00
Jeffrey Oldham
5897739e11
*** empty log message ***
...
From-SVN: r41645
2001-04-27 19:59:53 +00:00
Andreas Jaeger
994682b99a
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
2001-04-27 21:35:03 +02:00
Per Bothner
9c491eb84b
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
2001-04-27 12:12:20 -07:00
Toon Moene
d06146e1af
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
2001-04-27 17:33:13 +00:00
Jeffrey A Law
58c35fc2d3
* tm.texi (TARGET_MEM_FUNCTIONS): Update text.
...
From-SVN: r41636
2001-04-27 10:42:07 -06:00
Tom Tromey
55cc31c086
jni.cc (_Jv_JNI_GetPrimitiveArrayRegion): Fixed bounds checking.
...
* jni.cc (_Jv_JNI_GetPrimitiveArrayRegion): Fixed bounds
checking.
(_Jv_JNI_SetPrimitiveArrayRegion): Likewise.
From-SVN: r41634
2001-04-27 16:09:54 +00:00
Tom Tromey
09efa46f6a
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
2001-04-27 16:09:10 +00:00
Nathan Sidwell
2d46ec8394
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
2001-04-27 13:33:46 +00:00
Nathan Sidwell
02a1a68c6a
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
2001-04-27 12:47:22 +00:00
Nathan Sidwell
5f6eeeb362
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
2001-04-27 10:47:36 +00:00
GCC Administrator
6e0263244c
Daily bump.
...
From-SVN: r41623
2001-04-27 07:16:41 +00:00
Mark Mitchell
1b28d441b2
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
2001-04-27 05:08:39 +00:00
Tom Tromey
f24fd724c2
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
2001-04-27 00:56:16 +00:00
Jason Merrill
041c9d5a47
* except.c (get_exception_filter): word_mode, not Pmode.
...
From-SVN: r41616
2001-04-26 19:32:49 -04:00
Toon Moene
f6ce87c0a6
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
2001-04-26 21:13:29 +00:00
Toon Moene
f658da59d4
*** empty log message ***
...
From-SVN: r41614
2001-04-26 21:02:07 +00:00
Geoffrey Keating
fd2c87bd74
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
2001-04-26 20:56:08 +00:00
Geoffrey Keating
fbffc70af6
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
2001-04-26 20:54:51 +00:00
Mark Mitchell
9cc03fabc2
BADNAMES: Remove EGCS reference.
...
* docs/html/17_intro/BADNAMES: Remove EGCS reference.
Indicate obsolete nature of thelist for G++ 3.0.
From-SVN: r41611
2001-04-26 20:13:47 +00:00
Jeffrey A Law
a86414f362
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
2001-04-26 14:06:25 -06:00
Mark Mitchell
fcca588c94
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
2001-04-26 20:05:34 +00:00
Per Bothner
56fe39c809
Fix method search wrt scope of inner classes to match JLS2.
...
From-SVN: r41604
2001-04-26 12:40:34 -07:00
Jan Hubicka
52a661a627
* (ix86_expand_fp_movcc): Re-enable SSE conditional move generation.
...
From-SVN: r41602
2001-04-26 18:33:25 +00:00
Per Bothner
8789b9fa5c
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
2001-04-26 11:32:22 -07:00
Per Bothner
5acea42bfb
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
2001-04-26 11:11:02 -07:00
Jan Hubicka
b329888265
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
2001-04-26 18:10:44 +00:00
Andrew Haley
c10f3adf7b
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
2001-04-26 17:49:01 +00:00
Jeffrey A Law
3da5d5c8d8
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
2001-04-26 11:13:04 -06:00
Hans Boehm
03a5525282
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
2001-04-26 16:08:59 +00:00
H.J. Lu
44404b8b95
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
2001-04-26 09:02:05 -07:00
Nick Clifton
fdc2d3b0f9
Define ASM_OUTPUT_MAX_SKIP_ALIGN if the assembler supports .p2align.
...
From-SVN: r41591
2001-04-26 15:37:02 +00:00
Nathan Sidwell
5677efb0be
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
2001-04-26 15:12:55 +00:00
Jakub Jelinek
3b07c79b24
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
2001-04-26 13:36:23 +02:00
Jakub Jelinek
e9070e7b80
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
2001-04-26 12:30:17 +02:00
Nathan Sidwell
0576ec1308
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
2001-04-26 08:34:06 +00:00