Commit Graph

75248 Commits

Author SHA1 Message Date
Carlos O'Donell
4f3d90548b Makefile.in: Add html and install-html targets.
2006-06-03  Carlos O'Donell  <carlos@codesourcery.com>

	* Makefile.in: Add html and install-html targets.

From-SVN: r114345
2006-06-03 17:16:11 +00:00
Laurynas Biveinis
898e551d64 MAINTAINERS (Write After Approval): Update my e-mail address.
2006-06-03  Laurynas Biveinis  <laurynas.biveinis@gmail.com>

	* MAINTAINERS (Write After Approval): Update my e-mail address.

From-SVN: r114343
2006-06-03 16:46:04 +00:00
Paolo Bonzini
42e4993008 jar.in: Ensure return with argument has non-empty argument.
2006-06-03  Paolo Bonzini  <bonzini@gnu.org>

	* scripts/jar.in: Ensure return with argument has non-empty argument.

From-SVN: r114341
2006-06-03 10:15:42 +00:00
Geoffrey Keating
2d4cd9a31d Update copyright notice on host-darwin.c.
From-SVN: r114340
2006-06-03 02:14:39 +00:00
Geoffrey Keating
4f6d8cc800 Index: gcc/ChangeLog
2006-06-02  Geoffrey Keating  <geoffk@apple.com>

	* config/rs6000/host-darwin.c (sigaltstack): Protect prototype with
	HAVE_DECL_SIGALTSTACK.
	(MC_FLD): New.
	(segv_handler): Use MC_FLD.
	* configure.ac: Check for a sigaltstack declaration.
	Compute HAS_MCONTEXT_T_UNDERSCORES on Darwin.
	* configure: Regenerate.
	* config.in: Regenerate.

Index: boehm-gc/ChangeLog
2006-06-02  Geoffrey Keating  <geoffk@apple.com>

	* configure.ac: Define HAS_PPC_THREAD_STATE_R0,
	HAS_PPC_THREAD_STATE___R0, HAS_PPC_THREAD_STATE64_R0,
	HAS_PPC_THREAD_STATE64___R0, HAS_I386_THREAD_STATE_EAX,
	HAS_I386_THREAD_STATE___EAX.
	* configure: Regenerate.
	* include/gc_config.h.in: Regenerate.
	* darwin_stop_world.c (PPC_RED_ZONE_SIZE): Use standard Darwin
	macro names to determine value.
	(THREAD_STATE): New.
	(THREAD_FLD): New.
	(GC_push_all_stacks): Use THREAD_STATE and THREAD_FLD in both versions.

From-SVN: r114339
2006-06-03 02:07:36 +00:00
Eric Christopher
347b9c46e1 20000804-1.c: Skip if i?86-darwin.
2006-06-02  Eric Christopher  <echristo@apple.com>

        * gcc.c-torture/compile/20000804-1.c: Skip if i?86-darwin.
        * gcc.target/i386/20020523-1.c: Skip if darwin.
        * gcc.target/i386/asm-3.c: Ditto.
        * gcc.target/i386/20011119-1.c: Ditto.
        * gcc.target/i386/clobbers.c: Remove pic part of test.

From-SVN: r114338
2006-06-03 00:52:54 +00:00
GCC Administrator
428659d2f7 Daily bump.
From-SVN: r114336
2006-06-03 00:17:18 +00:00
J"orn Rennecke
af33a0c06a re PR other/27850 (gcov-enabled sh-elf compiler fails to build)
PR other/27850
	* Makefile.in (stmp-fixinc): Fix typo.

From-SVN: r114332
2006-06-03 00:50:11 +01:00
Richard Earnshaw
e58b87f712 compare_tests: Handle multilibs better.
* compare_tests: Handle multilibs better.

Co-Authored-By: Mike Stump <mrs@apple.com>

From-SVN: r114331
2006-06-02 23:47:35 +00:00
Roger Sayle
9734ebafb9 fold-const.c (fold_unary): Ensure folded expressions are type correct.
* fold-const.c (fold_unary) <CONJ_EXPR>: Ensure folded expressions
	are type correct.  Clean-up.
	<REALPART_EXPR>: Likewise.  Optimize creal(~z) as creal(z).
	<IMAGPART_EXPR>: Likewise.  Optimize cimag(~z) as -cimag(z).

From-SVN: r114330
2006-06-02 23:41:12 +00:00
Steve Ellcey
8659e538c5 init5.C: XFAIL if cxa-atexit is false.
* g++.old-deja/g++.other/init5.C: XFAIL if cxa-atexit is false.
	* g++.old-deja/g++.other/init19.C: Ditto.
	* g++.old-deja/g++.other/init18.C: Ditto, plus change _Exit to _exit
	and add other platforms as expected failures.

From-SVN: r114327
2006-06-02 17:39:28 +00:00
Mark Shinwell
239559e797 pex-unix.c (pex_unix_exec_child): Insert cast when assigning to environ.
* pex-unix.c (pex_unix_exec_child): Insert cast when assigning
	to environ.

From-SVN: r114326
2006-06-02 14:36:45 +00:00
GCC Administrator
3fb385fe58 Daily bump.
From-SVN: r114324
2006-06-02 00:17:24 +00:00
Steve Ellcey
294f1ce368 target-supports.exp (is-effective-target): Add cxa_atexit.
* lib/target-supports.exp (is-effective-target): Add cxa_atexit.
	(is-effective-target-keyword): Ditto.

From-SVN: r114320
2006-06-01 23:21:14 +00:00
Thomas Koenig
47fe00d8f5 re PR fortran/27715 (Extented ASCII characters lead to wrong "CASE" selection)
2006-06-01  Thomas Koenig  <Thomas.Koenig@online.de>

	PR fortran/27715
	* arith.c:  Cast the characters from the strings to unsigned
	char to avoid values less than 0 for extended ASCII.

2006-06-01  Thomas Koenig  <Thomas.Koenig@online.de>

	PR fortran/27715
	* gfortran.dg/extended_char_comparison_1.f:  New test.

From-SVN: r114317
2006-06-01 19:23:56 +00:00
DJ Delorie
df5c71ac3c v850.h (ASM_OUTPUT_ADDR_DIFF_ELT): Disabled the shift, as we've disabled the "switch" insn that needs it.
* config/v850/v850.h (ASM_OUTPUT_ADDR_DIFF_ELT): Disabled the
shift, as we've disabled the "switch" insn that needs it.

From-SVN: r114315
2006-06-01 13:54:20 -04:00
Per Bothner
0977c9ab42 Fix typo in old ChangeLog entry.
From-SVN: r114312
2006-06-01 09:37:27 -07:00
Per Bothner
112598f405 Suppress extra '#1 <built-in> or '#1 <command line>' on -dD output.
* c-opts.c (finish_options): Use internal line 0 for <command-line>.
	* c-ppoutput.c (cb_define): Don't increment line 0.

From-SVN: r114311
2006-06-01 09:36:25 -07:00
Per Bothner
45a82bd957 data.c (gfc_assign_data_value): Handle USE_MAPPED_LOCATION.
* data.c (gfc_assign_data_value): Handle USE_MAPPED_LOCATION.
	* scanner.c (gfc_gobble_whitespace): Likewise.

From-SVN: r114310
2006-06-01 09:18:34 -07:00
Pete Steinmetz
e118597e19 invoke.texi: Add cpu_type power6.
* doc/invoke.texi: Add cpu_type power6.
	* config.gcc: Add cpu_type power6.
	* config/rs6000/rs6000.c (rs6000_override_options): Alias power6
	to power5+ with Altivec.
	* config/rs6000/aix52.h (ASM_CPU_SPEC): Add power6.
	* config/rs6000/rs6000.h (ASM_CPU_SPEC): Add power6.

From-SVN: r114309
2006-06-01 11:44:13 -04:00
Anatoly Sokolov
d3f27077c4 avr.h (SET_ASM_OP): Define.
* config/avr/avr.h (SET_ASM_OP): Define.

From-SVN: r114308
2006-06-01 19:04:12 +04:00
Kazu Hirata
aab260801e * config/bfin/bfin.c: Fix comment typos.
From-SVN: r114306
2006-06-01 12:38:11 +00:00
Paolo Bonzini
f5c3bb4bf0 re PR bootstrap/25453 (--disable-bootstrap is not documented)
2006-06-01  Paolo Bonzini  <bonzini@gnu.org>

	PR 25453
	* doc/install.texi: Document --enable-bootstrap and
	--disable-bootstrap.

From-SVN: r114305
2006-06-01 12:28:11 +00:00
Paolo Bonzini
028098486c install.texi: Document that InfoZIP can replace jar.
gcc:
2006-06-01  Paolo Bonzini  <bonzini@gnu.org>

	* doc/install.texi: Document that InfoZIP can replace jar.

libjava:
2006-06-01  Paolo Bonzini  <bonzini@gnu.org>

	* configure.ac (ZIP, UNZIP): New programs.
	(JAR): Fall back to bash script.  Generate it.
	(BASH_JAR): New conditional.
	* Makefile.am (bin_SCRIPTS): New.
	* jar.in: New file.

From-SVN: r114304
2006-06-01 12:25:19 +00:00
Bryce McKinlay
d5b0558fda MainThread (run): Revert exception chaining change.
2006-06-01  Bryce McKinlay  <mckinlay@redhat.com>

	* gnu/java/lang/MainThread (run): Revert exception chaining change.

From-SVN: r114303
2006-06-01 12:53:54 +01:00
Mark Shinwell
ea60341e32 Patch to provide pex_run_in_environment.
* include/libiberty.h: Declare pex_run_in_environment.

libiberty:

	* pex-common.c: New function pex_run_in_environment.
	* pex-common.h: Add environment parameter to exec_child.
	* pex-msdos.c: Add environment parameter to pex_msdos_exec_child.
	* pex-djgpp.c: Add environment parameter to pex_djgpp_exec_child.
	(pex_djgpp_exec_child): Pass environment to child process.
	* pex-unix.c: Add environment parameter to pex_unix_exec_child.
	(pex_unix_exec_child): Pass environment to child process.
	* pex-win32.c: Add environment parameter to pex_win32_exec_child.
	New function env_compare for comparing VAR=VALUE pairs.
	(win32_spawn): Assemble environment block and pass to CreateProcess.
	(spawn_script): Pass environment through to win32_spawn.
	(pex_win32_exec_child): Pass environment through to spawn_script and
	win32_spawn.
	* functions.texi: Regenerate.
	* pexecute.txh: Document pex_run_in_environment.

From-SVN: r114302
2006-06-01 10:30:51 +00:00
Bryce McKinlay
7d6d782d02 prims.cc (_Jv_RunMain): Use JvNewStringUTF for command-line class name, not Latin1.
2006-05-31  Bryce McKinlay  <mckinlay@redhat.com>

	* prims.cc (_Jv_RunMain): Use JvNewStringUTF for command-line class
	name, not Latin1.
	* gnu/java/lang/MainThread.java (run): Allow file separator char to
	be used in place of '.' as class-name separator. Don't chain
	ClassNotFoundException.

From-SVN: r114300
2006-06-01 08:45:55 +01:00
Alexandre Oliva
f3d5aeebf4 re PR c++/26660 (PCH vs -save-temps, ICE while GCing)
PR c++/26660
* parser.c (cp_parser_initial_pragma): Read one more token for
caller after reading PCH file in.

From-SVN: r114298
2006-06-01 04:55:32 +00:00
Paul Thomas
699fa7aa1a re PR fortran/25098 (Variable as actual argument for procedure dummy argument allowed)
2006-06-01  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/25098
	PR fortran/25147
	* interface.c (compare_parameter): Return 1 if the actual arg
	is external and the formal is a procedure.
	(compare_actual_formal): If the actual argument is a variable
	and the formal a procedure, this an error.  If a gsymbol exists
	for a procedure of the same name, this is not yet resolved and
	the error is cleared.

	* trans-intrinsic.c (gfc_conv_associated): Make provision for
	zero array length or zero string length contingent on presence
	of target, for consistency with standard.

2006-06-01  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/25098
	* gfortran.dg/dummy_procedure_1.f90: New test.

	PR fortran/25147
	* gfortran.dg/dummy_procedure_2.f90: New test.

	* gfortran.dg/associated_2.f90: Correct to make consistent with
	standard.

From-SVN: r114296
2006-06-01 04:35:38 +00:00
Roger Sayle
86ce18257f i386.c (ix86_expand_fp_absneg_operator): When SSE isn't available...
* config/i386/i386.c (ix86_expand_fp_absneg_operator): When SSE
	isn't available, directly generate the simpler x87 patterns without
	the (use (const_int 0)).
	* config/i386/i386.md (*negsf2_1): Enable pre-reload if the SSE
	implementation isn't available.
	(*negdf2_1): Likewise.
	(*negxf2_1): XF mode negation is always done using the x87.
	(*abssf2_1, *absdf2_1, *absxf2_1): Likewise^3 for fabs.

	* gcc.target/i386/387-11.c: New test case.

From-SVN: r114293
2006-06-01 01:37:17 +00:00
Asher Langton
222ae291bb MAINTAINERS (Write After Approval): Add myself.
* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r114292
2006-06-01 01:16:48 +00:00
GCC Administrator
baa36d6e51 Daily bump.
From-SVN: r114289
2006-06-01 00:17:30 +00:00
Thomas Fitzsimmons
99d2ea7e36 gcj.texi (Extensions): Document the new gcj-dbtool-based classname-to-library resolution mechanism.
2006-05-31  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* gcj.texi (Extensions): Document the new gcj-dbtool-based
	classname-to-library resolution mechanism.
	Declare the old gnu.gcj.runtime.VMClassLoader.library_control
	mechanism deprecated.
	(libgcj Runtime Properties): Document
	gnu.gcj.runtime.VMClassLoader.library_control's new default.

From-SVN: r114282
2006-05-31 23:12:09 +00:00
Mark Mitchell
07471dfbf7 re PR c++/27801 (ICE in invert_truthvalue with template)
PR c++/27801
	* call.c (perform_implicit_conversion): Do not actually perform
	conversions in templates.
	PR c++/26496
	* call.c (resolve_args): Check for invalid uses of bound
	non-static member functions.
	* init.c (build_offset_ref): Return error_mark_node for errors.
	PR c++/27385
	* decl.c (reshape_init): Robustify.
	(reshape_init_array_1): Likewise.
	PR c++/27801
	* g++.dg/template/cond6.C: New test.
	PR c++/26496
	* g++.dg/template/crash51.C: New test.
	* g++.old-deja/g++.mike/net36.C: Tweak error markers.
	PR c++/27385
	* g++.dg/init/array20.C: New test.

From-SVN: r114278
2006-05-31 20:03:12 +00:00
Thomas Fitzsimmons
69037dd991 VMClassLoader.java (initialize): Set default library control to LIB_NEVER.
2006-05-31  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* java/lang/VMClassLoader.java (initialize): Set default library
	control to LIB_NEVER.

From-SVN: r114277
2006-05-31 17:47:44 +00:00
Roger Sayle
4f31c7ec65 builtins.c (fold_builtin_cabs): Delete prototype.
* builtins.c (fold_builtin_cabs): Delete prototype.  Require an
	additional FNDECL argument.  Optimize cabs(-z) and cabs(~z) as
	cabs(z).
	(fold_builtin_decl) <BUILT_IN_CABS>: Update fold_builtin_cabs call.

	* gcc.dg/builtins-54.c: New test case.

From-SVN: r114276
2006-05-31 17:44:56 +00:00
James Lemke
da7fda0a9e Update my e-mail address for a new "corporate standard".
From-SVN: r114275
2006-05-31 17:32:35 +00:00
Jie Zhang
b03149e136 bfin-protos.h (bfin_hardware_loop): Declare.
* config/bfin/bfin-protos.h (bfin_hardware_loop): Declare.
	* config/bfin/bfin.c (basic-block.h): Include.
	(struct machine_function): New.
	(bfin_init_machine_status): New.
	(override_options): Initialize init_machine_status.
	(bfin_hardware_loop): New.
	(MAX_LOOP_DEPTH, MAX_LOOP_LENGTH): Define.
	(DEF_VEC_P (loop_info)): New.
	(DEF_VEC_ALLOC_P (loop_info,heap)): New.
	(struct loop_info): New.
	(loop_info): New typedef.
	(struct loop_work): New.
	(loop_work): New typedef.
	(DEF_VEC_O (loop_work)): New.
	(DEF_VEC_ALLOC_O (loop_work,heap)): New.
	(bfin_dump_loops): New.
	(bfin_bb_in_loop): New.
	(bfin_scan_loop): New.
	(bfin_optimize_loop): New.
	(bfin_reorg_loops): New.
	(bfin_reorg): Use bfin_reorg_loops.
	* config/bfin/bfin.h (FIRST_PSEUDO_REGISTER): Adjust for adding
	loop registers.
	(I_REGNO_P): Simplify.
	(DP_REGNO_P, DPREG_P): New macros.
	(REGISTER_NAMES, FIXED_REGISTERS, CALL_USED_REGISTERS,
	REG_ALLOC_ORDER): Add LT0, LT1, LC0, LC1, LB0, LB1.
	(enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS):
	Add LT_REGS, LC_REGS, LB_REGS.
	(REG_CLASS_FROM_LETTER): Add 't' for LT_REGS, 'k' for LC_REGS,
	'l' for LB_REGS.
	(REGNO_REG_CLASS): Deal with loop registers.
	* config/bfin/bfin.md: Add comment for 't', 'k', 'l' constraint
	letters.
	(REG_LT0, REG_LT1, REG_LC0, REG_LC1, REG_LB0, REG_LB1):
	New constants for loop registers.
	(UNSPEC_LSETUP_END): New.
	(seq_insns): New define_attr. Set it for appropriate insns.
	(movsi_insn): Add alternatives for move from/to
	loop count registers.
	(doloop_end): New define_expand.
	(loop_end): New define_insn.
	(define_split for bad doloop_end): New.
	(lsetup_with_autoinit): New define_insn.
	(lsetup_without_autoinit): New define_insn.
	(rep_movsi, rep_movhi): Clobber LT1, LC1, LB1.
	* config/bfin/predicates.md (lc_register_operand): New.
	(lt_register_operand): New.
	(lb_register_operand): New.
	(nondp_register_operand): New.
	(nondp_reg_or_memory_operand): New.
        * doc/md.texi: Document Blackfin new 't', 'k', 'l' constraint letters.

From-SVN: r114274
2006-05-31 16:46:15 +00:00
Daniel Jacobowitz
5dd59f65ca * texi2pod.pl: Correct handling of absolute @include.
From-SVN: r114271
2006-05-31 15:48:05 +00:00
Jie Zhang
54aefc3672 bfin.c (bfin_delegitimize_address): New.
* config/bfin/bfin.c (bfin_delegitimize_address): New.
	(TARGET_DELEGITIMIZE_ADDRESS): Define.

From-SVN: r114269
2006-05-31 15:42:22 +00:00
Daniel Jacobowitz
5c3c36836e gcc/, libcpp/
gcc/, libcpp/
	* Makefile.in (CATALOGS): Add po/ prefix.
	* configure: Regenerated.
config/
	* gettext-sister.m4 (ZW_GNU_GETTEXT_SISTER_DIR): Provide some
	defines otherwise gotten from AM_GNU_GETTEXT.  Remove the
	po/ prefix from CATALOGS.

From-SVN: r114268
2006-05-31 15:34:37 +00:00
Richard Earnshaw
4fe56d8325 re PR target/27829 (ICE/abort in shift_op, at config/arm/arm.c:7917 with asm from testsuite/gcc.dg/pr21255-2-mb.c)
PR target/27829
	* arm.c (arm_print_operand case 'S'): Validate that the operand is
	a shift operand before calling shift_op.  Avoid redundant call of
	shift_op.

From-SVN: r114265
2006-05-31 13:41:08 +00:00
Richard Earnshaw
beed32b8fa arm.c (arm_print_operand case 'S'): Validate that the operand is a shift operand before calling shift_op.
* arm.c (arm_print_operand case 'S'): Validate that the operand is
	a shift operand before calling shift_op.  Avoid redundant call of
	shift_op.

From-SVN: r114264
2006-05-31 13:39:48 +00:00
Mark Mitchell
c32827b0e6 re PR c++/26433 (Syntax error using __FUNCTION__ in catch handler)
PR c++/26433
	* g++.dg/template/fntry1.C: Add dg-do link.

From-SVN: r114263
2006-05-31 04:07:24 +00:00
Mark Mitchell
c7baf9e9fb re PR c++/27808 (ICE with invalid friend declaration)
PR c++/27808
	* parser.c (cp_parser_decl_specifier_seq): Issue errors about
	"friend" specifiers that do not appear in class scopes.
	PR c++/27808
	* g++.dg/parse/friend6.C: New test.

From-SVN: r114259
2006-05-31 01:18:24 +00:00
GCC Administrator
7edd9592be Daily bump.
From-SVN: r114257
2006-05-31 00:17:18 +00:00
Alan Modra
71860b0f61 stacktrace.cc (_Jv_StackTrace::UpdateNCodeMap): Don't add interpreted classes.
* stacktrace.cc (_Jv_StackTrace::UpdateNCodeMap): Don't add
	interpreted classes.

From-SVN: r114253
2006-05-31 09:20:03 +09:30
Asher Langton
7074ea72d1 symbol.c (check_conflict): Allow external, function, and subroutine attributes with Cray pointees.
2006-05-30  Asher Langton  <langton2@llnl.gov>

	* symbol.c (check_conflict): Allow external, function, and
	subroutine attributes with Cray pointees.
	* trans-expr.c (gfc_conv_function_val): Translate Cray pointees
	that point to procedures.
	* gfortran.texi: Document new feature.

	* gfortran.dg/cray_pointers_7.f90: New test.

From-SVN: r114252
2006-05-30 23:27:38 +00:00
Naveen.H.S
9cb96754ae m32c.c (m32c_expand_insv): Check that the value we're inserting is a singlt-bit constant.
* config/m32c/m32c.c (m32c_expand_insv): Check that the value
we're inserting is a singlt-bit constant.

Co-Authored-By: DJ Delorie <dj@redhat.com>

From-SVN: r114250
2006-05-30 18:53:48 -04:00
Thomas Fitzsimmons
96a782e226 ChangeLog: Fix latest entry.
* ChangeLog: Fix latest entry.

From-SVN: r114249
2006-05-30 22:10:10 +00:00