aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-05-01linux64.h (TARGET_DEFAULT): Make 64-bit by default also for ↵Jakub Jelinek2-1/+8
TARGET_CPU_DEFAULT == TARGET_CPU_ultrasparc3. * config/sparc/linux64.h (TARGET_DEFAULT): Make 64-bit by default also for TARGET_CPU_DEFAULT == TARGET_CPU_ultrasparc3. From-SVN: r81396
2004-05-01decl.c (reshape_init): Do not apply TYPE_DOMAIN to a VECTOR_TYPE.Zack Weinberg2-4/+23
* decl.c (reshape_init): Do not apply TYPE_DOMAIN to a VECTOR_TYPE. Instead, dig into the representation type to find the array bound. From-SVN: r81393
2004-05-01* config/cris/cris.h: Revert my "fix comment typos" patch.Kazu Hirata2-1/+5
From-SVN: r81392
2004-05-01TARGET->TUNE in last entry.Richard Sandiford1-1/+1
From-SVN: r81391
2004-05-01* config/mips/mips.h (TARGET_MACC_CHAINS): Fix comment.Richard Sandiford2-3/+7
From-SVN: r81390
2004-05-01alpha.md (builtin_insbl, [...]): Disallow 0 as first input operand.Falk Hueffner2-3/+8
* config/alpha/alpha.md (builtin_insbl, builtin_inswl, builtin_insll): Disallow 0 as first input operand. From-SVN: r81387
2004-05-01* config/alpha/alpha.c (alpha_rtx_costs): Fix shiftadd costs.Falk Hueffner2-1/+5
From-SVN: r81386
2004-05-01re PR middle-end/15054 (Bad code due to overlapping stack temporaries)Ulrich Weigand5-3/+50
PR middle-end/15054 * expr.c (expand_expr_real): Do not call preserve_temp_slots on a TARGET_EXPR temp. * function.c (assign_stack_temp_for_type): Set 'keep' flag for TARGET_EXPR temp slots. PR middle-end/15054 * g++.dg/opt/pr15054.C: New test. From-SVN: r81384
2004-05-01simplify-rtx.c (simplify_ternary_operation): When converting an IF_THEN_ELSE ↵Paolo Bonzini2-1/+7
to a relational op, return correct mode. 2004-05-01 Paolo Bonzini <bonzini@gnu.org> * simplify-rtx.c (simplify_ternary_operation): When converting an IF_THEN_ELSE to a relational op, return correct mode. From-SVN: r81383
2004-05-01builtins.c (fold_builtin_round): Fix comment typo.Kaveh R. Ghazi6-285/+163
* builtins.c (fold_builtin_round): Fix comment typo. (fold_builtin_lround): New function. (fold_builtin): Use it. testsuite: * gcc.dg/torture/builtin-rounding-1.c: New test. * gcc.dg/builtins-25.c: Delete. * gcc.dg/builtins-29.c: Delete. From-SVN: r81380
2004-04-30re PR target/11608 (testcase gcc.dg/debug/20020327-1.c fails with -gstabs1 etc.)Andrew Pinski2-1/+7
2004-04-20 Andrew Pinski <pinskia@physics.uc.edu> PR target/11608 * config/sh/elf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Update and make it more like the one in config/dbxelf.h. From-SVN: r81379
2004-05-01Daily bump.GCC Administrator2-2/+2
From-SVN: r81376
2004-05-01tree.h (SET_ARRAY_OR_VECTOR_CHECK): Rename to SET_OR_ARRAY_CHECK and adjust ↵Zack Weinberg3-20/+30
definition accordingly. * tree.h (SET_ARRAY_OR_VECTOR_CHECK): Rename to SET_OR_ARRAY_CHECK and adjust definition accordingly. (TYPE_DOMAIN): Allow only SET_TYPE and ARRAY_TYPE. (TYPE_DEBUG_REPRESENTATION_TYPE): Allow only VECTOR_TYPE. * expr.c (store_constructor): Do not access TYPE_DOMAIN of a VECTOR_TYPE. From-SVN: r81373
2004-04-30re PR c++/14587 (Multiple inheriance/DLL testcase ↵Jason Merrill3-2/+30
(g++.dg/ext/dllexport-MI1.C) failures) PR c++/14587 * config/i386/winnt.c (associated_type): Look for attributes on the TYPE_MAIN_VARIANT of *this. * attribs.c (decl_attributes): If ATTR_FLAG_TYPE_IN_PLACE, also apply the attributes to the variants. From-SVN: r81369
2004-04-30Trivial comment typo in previous change.Paul Brook1-1/+1
From-SVN: r81367
2004-04-30config.gcc: Simplify arm --with-{cpu,tune} test.Paul Brook3-12/+17
* config.gcc: Simplify arm --with-{cpu,tune} test. * config/arm/arm-cores.def: Document whitespace restrictions. From-SVN: r81365
2004-04-30re PR other/1963 (collect2 interprets "-oldstyle_liblookup" as "-o ↵Rainer Orth2-2/+11
ldstyle_liblookup") PR other/1963 * config/alpha/osf.h (SWITCHES_NEED_SPACES): Define. From-SVN: r81363
2004-04-30* config/i386/cygming.h [HAVE_GAS_PE_SECREL32_RELOC]Brian Ford4-66/+218
(DWARF2_DEBUGGING_INFO): Define to enable. (DBX_REGISTER_NUMBER): Define to use the svr4 register map for DWARF2. * configure.ac (Target-specific assembler checks) <i[34567]86-*-[cygwin*|pe|mingw32*]>: New test for .secrel32 relocs. * configure: Regenerate. * config.in: Likewise. * config/i386/cygming.h [HAVE_GAS_PE_SECREL32_RELOC] (ASM_OUPUT_DWARF_OFFSET): Define. From-SVN: r81359
2004-04-30re PR java/15133 (gcjh generates wrong method signatures)Ranjit Mathew5-3/+46
* testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use additional option "-Wmissing-prototypes" for compiling C sources. Print actual filename for pass/fail rather than $name.c. * testsuite/libjava.jni/PR15133.java: New testcase file. * testsuite/libjava.jni/PR15133.c: Likewise. * testsuite/libjava.jni/PR15133.out: Likewise. Co-Authored-By: Tom Tromey <tromey@redhat.com> From-SVN: r81358
2004-04-30re PR java/15133 (gcjh generates wrong method signatures)Ranjit Mathew2-2/+14
Fixes PR java/15133 * gjavah.c (struct method_name): Add member is_native. (overloaded_jni_method_exists_p): Match candidate method only if it is native. (print_method_info): Initialise is_native flag from the method's access flags. From-SVN: r81357
2004-04-30* MAINTAINERS (Write After Approval): Add myself.Brian Ford2-0/+5
From-SVN: r81356
2004-04-30Refer to base members using COMPONENT_REFs where possible.Jason Merrill4-9/+99
* class.c (build_simple_base_path): New fn. (build_base_path): Use it for non-virtual base references. (layout_class_type): Change base fields to their real type after layout is done. * cp-tree.h (IS_FAKE_BASE_TYPE): New macro. * cp-lang.c (cxx_get_alias_set): Use it. From-SVN: r81349
2004-04-30s390-protos.h (s390_emit_epilogue): Parameter added.Andreas Krebbel9-204/+385
2004-04-29 Andreas Krebbel <krebbel1@de.ibm.com> ChangeLog: * config/s390/s390-protos.h (s390_emit_epilogue): Parameter added. (s390_emit_call): New function prototype added. (s390_tls_get_offset): Function removed. * config/s390/s390.c (s390_function_ok_for_sibcall, s390_call_saved_register_used_p): New functions. (TARGET_FUNCTION_OK_FOR_SIBCALL): Definition of target macro added. (s390_tls_get_offset): Function merged into s390_emit_tls_call_insn. (s390_emit_tls_call_insn): New function. (legitimize_tls_address): Call s390_emit_tls_call_insn instead of emit_call_insn. (s390_emit_prologue): Use s390_emit_call instead of emit_call_insn. (s390_emit_epilogue): Like s390_emit_prologue. Parameter for sibcalls added. * config/s390/s390.h (SIBCALL_REGNUM): New macro representing the register number used to hold the target address for sibcalls. * config/s390/s390.md ("sibcall", "sibcall_value", "sibcall_epilogue"): New expanders. ("*sibcall_br", "*sibcall_brc", "*sibcall_brcl", "*sibcall_value_br", "*sibcall_value_brc", "*sibcall_value_brcl"): New insns. ("call_exp", "call_value_exp", "call_value_tls", "call_value_tls_exp"): Expanders removed. ("call", "call_value"): Call s390_emit_call to emit the call patterns. ("*bras", "*brasl", "*bras_r", "*brasl_r", "*bras_tls", "*brasl_tls", "*basr", "*basr_r", "*basr_tls"): Added constraint: !SIBLING_CALL_P. ("epilogue"): Changed the call to s390_emit_epilogue to use the new parameter. testsuite/ChangeLog: * gcc.dg/sibcall-3.c: Delete s390 from expected fail list. * gcc.dg/sibcall-4.c: Likewise. * gcc.dg/sibcall-6.c: Enable s390 as test platform. From-SVN: r81347
2004-04-30bb-reorder.c, [...]: Fix comment typos.Kazu Hirata37-54/+69
* bb-reorder.c, c-opts.c, cfglayout.c, cgraph.c, cgraphunit.c, cppfiles.c, fold-const.c, ggc-zone.c, loop-doloop.c, optabs.c, reg-stack.c, varasm.c, config/alpha/ev4.md, config/alpha/ev5.md, config/alpha/ev6.md, config/arm/arm.c, config/c4x/c4x.c, config/c4x/c4x.md, config/cris/cris.c, config/cris/cris.h, config/fr30/fr30.h, config/frv/frv.c, config/frv/frv.h, config/frv/frv.md, config/h8300/h8300.c, config/i386/i386.c, config/i386/i386.md, config/i386/winnt.c, config/ia64/itanium2.md, config/ip2k/ip2k.c, config/mips/mips.c, config/mips/mips.h, config/mips/sr71k.md, config/pa/pa.c, config/s390/s390.c, config/sh/sh.c: Fix comment typos. From-SVN: r81345
2004-04-30class.c, [...]: Fix comment typos.Kazu Hirata7-6/+11
* class.c, cp-tree.h, decl.c, decl2.c, pt.c, rtti.c: Fix comment typos. From-SVN: r81344
2004-04-3020040331-1.c: Don't use too wide a bit-field on 16-bit targets.Kazu Hirata2-0/+13
* gcc.c-torture/execute/20040331-1.c: Don't use too wide a bit-field on 16-bit targets. From-SVN: r81343
2004-04-3020040409-2.c: Fix constants used on 16-bit targets.Kazu Hirata2-8/+13
* gcc.c-torture/execute/20040409-2.c: Fix constants used on 16-bit targets. From-SVN: r81342
2004-04-30builtins.c (java_builtins): Add acos, asin, ceil and floor.Roger Sayle4-2/+45
* builtins.c (java_builtins): Add acos, asin, ceil and floor. (initialize_builtins): Likewise, define acos, asin, ceil and floor. * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin, ceil and floor. From-SVN: r81341
2004-04-30Fit typo in previous patchPaul Brook2-2/+2
Fit typo in previous patch * config.gcc: Default ep9312 to hard-float. From-SVN: r81338
2004-04-30rs6000-power2-1.c: Change to compile only.Andrew Pinski3-2/+7
2004-04-30 Andrew Pinski <pinskia@physics.uc.edu> * rs6000-power2-1.c: Change to compile only. * rs6000-power2-2.c: Likewise. From-SVN: r81337
2004-04-30configure.gcc: Default ep9312 to hard-float.Paul Brook5-319/+172
* configure.gcc: Default ep9312 to hard-float. * config/arm/arm-cores.def: Add ARCH field. * config/arm/arm.c (FL_FOR_ARCH*): Define. (arm_arch_cirrus): New variable. (all_cores): Set and use arch. (all_architectures): Ditto. (arm_arch_name): New variable. (arm_override_options): Set it. Use [SUB]TARGET_CPU_DEFAULT. Set and use arm_arch_cirrus. * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Set arch defines. (enum processor_type): Update ARM_CORE define. (enum target_cpus): Add. Replaces TARGET_CPU_* defines. (CPP_SPEC): Remove %(cpp_cpu_arch). (CPP_ARCH_DEFAULT_SPEC): Remove. (CPP_CPU_ARCH_SPEC): Remove. (EXTRA_SPECS): Don't use CPP_*ARCH*_SPEC. (FPUTYPE_DEFAULT): Don't define here. From-SVN: r81336
2004-04-30expr.c (store_constructor): SIZE operand is now in bits...Richard Kenner2-25/+42
* expr.c (store_constructor): SIZE operand is now in bits; CLEARED less than zero now means emitted CLOBBER already. (store_constructor_field, expand_expr_real): Reflect above changes. From-SVN: r81335
2004-04-30flow.c (propagate_one_insn): Call mark_set_regs for stack pointer updates too.J"orn Rennecke2-6/+17
* flow.c (propagate_one_insn): Call mark_set_regs for stack pointer updates too. From-SVN: r81334
2004-04-30* arm.c (arm_needs_doubleword_align): Use mode alignment.Paul Brook2-11/+12
From-SVN: r81332
2004-04-30altivec.h [...] (vec_subsubs): Rename to vec_sububs.Paolo Bonzini2-18/+14
2004-04-30 Paolo Bonzini <bonzini@gnu.org> * config/altivec/altivec.h [__cplusplus] (vec_subsubs): Rename to vec_sububs. [__cplusplus] (vec_subsuhs): Rename to vec_subuhs, without duplicates. From-SVN: r81331
2004-04-30i386.md (atansf2, [...]): Move near atan2?f3 expanders.Uros Bizjak2-39/+44
2004-04-30 Uros Bizjak <uros@kss-loka.si> * config/i386/i386.md (atansf2, atandf2, atanxf2): Move near atan2?f3 expanders. From-SVN: r81326
2004-04-29Patch from Nick Clifton.Nick Clifton4-2/+11
Bug 14093 * config/sh/sh-protos.h (sh_promote_prototypes): Declare. * config/sh/sh.c (sh_promote_prototypes): Remove declaration. Delete static from definition. * config/sh/sh.h (FUNCTION_VALUE): Add sh_promote_prototypes call. From-SVN: r81325
2004-04-30reg-stack.c (subst_stack_regs_pat): <UNSPEC_SIN, UNSPEC_COS, UNSPEC_FRNDINT, ↵Uros Bizjak2-20/+19
UNSPEC_F2XM1>: abort() if src1 dies. 2004-04-30 Uros Bizjak <uros@kss-loka.si> * reg-stack.c (subst_stack_regs_pat): <UNSPEC_SIN, UNSPEC_COS, UNSPEC_FRNDINT, UNSPEC_F2XM1>: abort() if src1 dies. <UNSPEC_SINCOS_COS, UNSPEC_TAN_ONE, UNSPEC_XTRACT_FRACT>: Same. <UNSPEC_SINCOS_SIN, UNSPEC_TAN_TAN, UNSPEC_XTRACT_EXP>: Same. From-SVN: r81324
2004-04-29Patch from Richard Guenther.Richard Guenther6-1/+34
* commom.opt (Wfatal-errors): Add it. * diagnostic.c (flag_fatal_errors): Define it. (diagnostic_action_after_output): Check for flag_fatal_errors. * flags.h (flag_fatal_errors): Declare it. * opts.c (common_handle_option): Add OPT_Wfatal_errors. * doc/invoke.texi (Warning Options): Document -Wfatal-errors. From-SVN: r81323
2004-04-30gcse.c (remove_reachable_equiv_notes): Delete notes also in blocks which ↵Josef Zlomek2-2/+6
have kill flag set. * gcse.c (remove_reachable_equiv_notes): Delete notes also in blocks which have kill flag set. From-SVN: r81322
2004-04-30configure.ac (--with-as): Abort if user-supplied assembler cannot be executed.Ben Elliston3-131/+82
* configure.ac (--with-as): Abort if user-supplied assembler cannot be executed. (--with-ld): Likewise for the linker. * configure: Regenerate. From-SVN: r81316
2004-04-30Daily bump.GCC Administrator2-2/+2
From-SVN: r81313
2004-04-29locale.cc (locale::operator==): Always avoid constructing locale::name(), ↵Paolo Carlini2-7/+12
directly compare pairs of _M_names. 2004-04-29 Paolo Carlini <pcarlini@suse.de> * src/locale.cc (locale::operator==): Always avoid constructing locale::name(), directly compare pairs of _M_names. From-SVN: r81309
2004-04-29convert.c (convert_to_integer): Ensure `long_integer_type_node' isn't NULL ↵Kaveh R. Ghazi2-1/+7
before using it. * convert.c (convert_to_integer): Ensure `long_integer_type_node' isn't NULL before using it. From-SVN: r81305
2004-04-29rs6000-power2-1.c: Change the options to be more correct.Andrew Pinski3-5/+11
2004-04-29 Andrew Pinski <pinskia@physics.uc.edu> * gcc.dg/rs6000-power2-1.c: Change the options to be more correct. * gcc.dg/rs6000-power2-2.c: Change the options to be more correct. Change the asm registers to be in form of frN instead of fN. From-SVN: r81303
2004-04-29re PR target/15189 (wrong filling of delay slot with -march=mips1 -G0 ↵Richard Sandiford2-6/+9
-mno-split-addresses -mno-explicit-relocs) PR target/15189 * config/mips/mips.md (load_df_low): Use default length. (load_df_high, store_df_high): Likewise. From-SVN: r81301
2004-04-29mips.md, [...]: Fix comment typos.Kazu Hirata4-3/+8
* config/mips/mips.md, config/mips/sb1.md, config/rs6000/rs6000.c: Fix comment typos. From-SVN: r81296
2004-04-29builtins.c, [...]: Fix comment typos.Kazu Hirata6-12/+17
* builtins.c, cgraph.c, cgraphunit.c, final.c, fold-const.c: Fix comment typos. From-SVN: r81291
2004-04-29gcc.c (DELETE_IF_ORDINARY): New macro default definition.Douglas B Rupp6-10/+48
* gcc.c (DELETE_IF_ORDINARY): New macro default definition. (delete_if_ordinary): Use above macro. * config/alpha/xm-vms.h (DELETE_IF_ORDINARY): New macro VMS definition. Update copyright. * doc/hostconfig.texi (DELETE_IF_ORDINARY): Document new macro. * libiberty/mkstemps.c (mkstemps) [VMS]: Remove special open option. Update copyright. From-SVN: r81290
2004-04-29[multiple changes]Arnaud Charlet12-87/+118
2004-04-29 Ed Schonberg <schonberg@gnat.com> * checks.adb (Enable_Range_Check): If the prefix of an index component is an access to an unconstrained array, perform check unconditionally. 2004-04-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> * decl.c (gnat_to_gnu_field): Also call make_packable_type if Component_Clause. 2004-04-29 Olivier Hainque <hainque@act-europe.fr> * init.c (__gnat_install_handler, __gnat_error_handler): Remove alternate stack setting. There was no support for the tasking cases and the changes eventually caused a number of side-effect failures in the non-tasking case too. 2004-04-29 Eric Botcazou <ebotcazou@act-europe.fr> lang-specs.h: Redirect output to /dev/null if -gnatc or -gnatz or -gnats is passed. 2004-04-29 Vincent Celier <celier@gnat.com> * make.adb (Gnatmake): Increase max size of argument array for gnatbind for the potential addition of -F. If there are Stand-Alone Library projects, invoke gnatbind with -F to be sure that elaboration flags will be checked. * switch-c.adb: Correct call to Scan_Pos for -gnateI 2004-04-29 Thomas Quinot <quinot@act-europe.fr> * sem_warn.adb (Check_References): Move '<access-variable> may be null' warning out of under Warn_On_No_Value_Assigned. 2004-04-29 Ed Falis <falis@gnat.com> * gnat_ugn.texi: Fixed texi error 2004-04-29 Robert Dewar <dewar@gnat.com> * sem_ch4.adb (Remove_Abstract_Operations): Unconditionally remove abstract operations if they come from predefined files. * gnat_rm.texi: Fix bad doc for pragma Elaboration_Checks (should be Dynamic, not RM). * s-addope.adb: Correct obvious error in mod function From-SVN: r81289