aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1999-08-02libgloss.h: Add a note discouraging use with ELF.Jason Merrill4-225/+236
* config/libgloss.h: Add a note discouraging use with ELF. * configure.in: Don't use libgloss.h for ELF targets. From-SVN: r28425
1999-08-02Optimize duplicate zero_extend operations.Jim Wilson2-2/+10
* combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt. (force_to_mode, case ASHIFTRT): Add shiftrt label. From-SVN: r28424
1999-08-03loop.c (strength_reduce): When doing biv->giv conversion, update reg note of ↵J"orn Rennecke2-2/+13
NEXT->insn. * loop.c (strength_reduce): When doing biv->giv conversion, update reg note of NEXT->insn. From-SVN: r28423
1999-08-02Jakub Jelinek <jj@ultra.linux.cz>Jakub Jelinek2-1/+10
* real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad. From-SVN: r28422
1999-08-02arc.h: Define PROMOTE_PROTOTYPES to 1.Richard Henderson18-26/+20
* config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1. * config/convex/convex.h: Ditto. * config/dsp16xx/dsp16xx.h: Ditto. * config/fx80/fx80.h: Ditto. * config/gmicro/gmicro.h: Ditto. * config/i370/i370.h: Ditto. * config/i386/i386.h: Ditto. * config/m32r/m32r.h: Ditto. * config/m68k/m68k.h: Ditto. * config/m88k/m88k.h: Ditto. * config/mips/mips.h: Ditto. * config/pa/pa.h: Ditto. * config/pyr/pyr.h: Ditto. * config/tahoe/tahoe.h: Ditto. * config/we32k/we32k.h: Ditto. * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES based on arch size. * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0. From-SVN: r28421
1999-08-02Jakub Jelinek <jj@ultra.linux.cz>Jakub Jelinek5-16/+58
* c-decl.c (get_parm_info, store_parm_decls): Change all uses of PROMOTE_PROTOTYPES, so that it tests it as a C expression. Ensure expr.h is included. * c-typecheck.c (convert_arguments): Ditto. * expr.h: Supply default for PROMOTE_PROTOTYPES (0). From-SVN: r28420
1999-08-02Jakub Jelinek <jj@ultra.linux.cz>Jakub Jelinek5-8/+19
* java/decl.c (start_java_method): Change all uses of PROMOTE_PROTOTYPES, so that it tests it as a C expression. Ensure expr.h is included. * java/expr.c (pop_arguments): Ditto. * java/parse.y (expand_start_java_method): Ditto. From-SVN: r28419
1999-08-02Jakub Jelinek <jj@ultra.linux.cz>Jakub Jelinek5-20/+27
* call.c (convert_default_arg, build_over_call): Change all uses of PROMOTE_PROTOTYPES, so that it tests it as a C expression. Ensure expr.h is included. * decl.c (grokparams): Ditto. * pt.c (tsubst_decl): Ditto. * typeck.c (convert_arguments): Ditto. From-SVN: r28418
1999-08-02m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set for the ↵Richard Henderson3-25/+92
register spill block. * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set for the register spill block. (m32r_va_arg): New. * m32r.h (EXPAND_BUILTIN_VA_ARG): New. (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code. * m32r.h (INT8_P): Don't short-cut test with (unsigned). (INT16_P, CMP_INT16_P, UINT16_P): Likewise. (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise. From-SVN: r28417
1999-08-02linux.h: Define WCHAR_TYPE as "int" and undef MAX_WCHAR_TYPE defined in sparc.h.Jakub Jelinek4-8/+24
* config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef MAX_WCHAR_TYPE defined in sparc.h. * config/sparc/linuxaout.h: Likewise. * config/sparc/linux64.h: Likewise. Also default to -mvis if CPU is UltraSPARC. From-SVN: r28416
1999-08-02class.c (mark_overriders): Fix order of args to overrides.Jason Merrill2-24/+27
* class.c (mark_overriders): Fix order of args to overrides. (warn_hidden): Likewise. Fix for having virtual and non-virtual functions with the same name. From-SVN: r28415
1999-08-02Jakub Jelinek <jj@ultra.linux.cz>Richard Henderson12-24/+277
* config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro. (RTX_OK_FOR_OLO10): Likewise. (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable %lo(), allow it in addresses... (PRINT_OPERAND_ADDRESS): ... and print it appropriately. * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo() does not make sense. * config/sparc/sparc.c (sparc_hard_reg_printed): New array. (sparc_output_scratch_registers): New function. (output_function_prologue, sparc_flat_output_function_prologue): Use it. * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if defined. * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it. * configure.in: Add check for .register pseudo-op support in as and check for offsetable %lo(). * acconfig.h: Add templates for the above checks. * configure: Regenerate. Richard Henderson <rth@cygnus.com> * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS. * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise. * sparc/sol2.h (TARGET_DEFAULT): Likewise. From-SVN: r28414
1999-08-02loop.c (strength_reduce): When doing biv->giv conversion, fix up reg_biv_class.J"orn Rennecke2-1/+13
* loop.c (strength_reduce): When doing biv->giv conversion, fix up reg_biv_class. From-SVN: r28413
1999-08-02Jakub Jelinek <jj@ultra.linux.cz>Jakub Jelinek4-202/+347
* config/float-sparc.h: New file. * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1, sparc-*-linux-gnu and sparc64-*-linux*. From-SVN: r28412
1999-08-02* cp-tree.h (TYPE_PTRMEMFUNC_P): Check TYPE_LANG_SPECIFIC non-null.Richard Henderson2-2/+9
From-SVN: r28409
1999-08-02Franz Sirl <Franz.Sirl-kernel@lauterbach.com>Franz Sirl3-90/+264
* rs6000.c (rs6000_va_list): Type is an array. (rs6000_va_start): Don't doubly adjust for varargs. (rs6000_va_arg): Evaluate long long GPR adjustment. From-SVN: r28408
1999-08-02Adapted from tests from Franz Sirl:Richard Henderson3-0/+79
* gcc.c-torture/execute/va-arg-7.c: New test. * gcc.c-torture/execute/va-arg-8.c: New test. From-SVN: r28407
1999-08-02[multiple changes]David Edelsohn7-135/+249
Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org> * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of -maix64 and -maix32. (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC, LINK_SPEC): Change appropriately. * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P. (u_short_cint_operand): Likewise. * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support for 64-bit hosts. * rs6000/t-aix43 (MULTILIB): Change to -m64. * invoke.texi (RS/6000 Submodel): Document 64-bit processor options. Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com> * rs6000/rs6000.c (num_insns_constant_wide): Correct for type promotion. (add_operand): Get test correct for 64-bit HOST_WIDE_INT. (non_add_cint_operand): Likewise. (logical_operand): Likewise. (non_logical_cint_operand): Likewise. (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT. (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT. (rs6000_select_rtx_section): Suppress warning. (small_data_operand): Suppress warning. (rs6000_got_register): Suppress warning. * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed type, so `J' is generally the wrong constraint for a SImode value; use `L' instead. (andsi3_internal2): Likewise. (andsi3_internal3): Likewise. (iorsi3_internal1): Likewise. (xorsi3_internal1): Likewise. (movsi): Likewise. (movsf_softfloat): Likewise. (scc insns): Likewise. (movsi+2): Preserve sign bits of SImode constant. (floatsidf2_internal+1): Sign-extend SImode constant correctly. (movdf+1): Sign-extend properly. (movdi_32+1): Sign-extend properly. (scc insns): Sign-extend properly. * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J, K, L, and T. From-SVN: r28406
1999-08-02alpha.c (override_options): Move ev6 alpha_tp frobbing out of -mcpu parsing ↵Richard Henderson3-46/+56
code. * alpha.c (override_options): Move ev6 alpha_tp frobbing out of -mcpu parsing code. (print_operand): Notice alpha_fptm not alpha_tp for sw completion. * alpha.md (all fp insns): Likewise. From-SVN: r28404
1999-08-02Unroll my commit of 1999/08/01 16:14:58, there was a communications mixupGeoffrey Keating7-111/+56
about its status. From-SVN: r28403
1999-08-02Only define STRICT_ALIGNMENT if it is not already defined.Nick Clifton2-0/+7
From-SVN: r28402
1999-08-02pa.c (legitimize_pic_address): Clarify comments.Jeffrey A Law3-5/+21
* pa.c (legitimize_pic_address): Clarify comments. Do not call the pic_load_label generator directly. * pa.md (pic_load_label): Clarify comments. Remove modes on operands. No longer a named pattern. From-SVN: r28401
1999-08-02I'm a dufus.Jeff Law1-0/+1
From-SVN: r28400
1999-08-02Call force_operand if X does not satisfy general_operandNick Clifton2-0/+10
From-SVN: r28399
1999-08-02Daily bump.Jeff Law5-5/+5
From-SVN: r28398
1999-08-02fix-header.c (main): When testing for CONTINUED, use string equality, not ↵Jeffrey A Law2-2/+7
pointer equality. * fix-header.c (main): When testing for CONTINUED, use string equality, not pointer equality. From-SVN: r28396
1999-08-02* sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.Dan Nicolaescu2-1/+5
From-SVN: r28395
1999-08-02New testsMark Mitchell2-1/+32
From-SVN: r28393
1999-08-02* call.c (build_conditional_expr): Fix typo in comment.Mark Mitchell2-2/+6
From-SVN: r28391
1999-08-01* gcc.c-torture/compile/990801-2.c: New test.Jeffrey A Law2-0/+13
From-SVN: r28390
1999-08-02* splay-tree.h (splay_tree_insert): Return the new node.Mark Mitchell4-3/+14
From-SVN: r28389
1999-08-01cse.c (cse_insn): Fix loop which deletes insns after a jump that has become ↵Jeffrey A Law2-1/+7
an unconditional jump. * cse.c (cse_insn): Fix loop which deletes insns after a jump that has become an unconditional jump. From-SVN: r28388
1999-08-01m68k.c (output_function_prologue): Fix typo in CPU32 case.Jeffrey A Law2-4/+9
* m68k.c (output_function_prologue): Fix typo in CPU32 case. (output_function_epilogue): Similarly. From-SVN: r28382
1999-08-01* gcc.c-torture/compile/990801-1.c: New test.Jeffrey A Law2-0/+30
From-SVN: r28381
1999-08-01configure.in: Check for bstring.h.Alexandre Oliva6-2/+22
1999-08-01 Alexandre Oliva <oliva@dcc.unicamp.br> * configure.in: Check for bstring.h. * configure, include/config.h.in: Rebuilt. * java/net/natPlainDatagramSocketImpl.cc: #include bstring.h. * java/net/natPlainSocketImpl.cc: Likewise. From-SVN: r28378
1999-08-01Check in part of an earlier patch that got lostBernd Schmidt2-0/+5
From-SVN: r28376
1999-08-01rs6000.c (num_insns_constant_wide): Correct for type promotion.Geoff Keating7-56/+111
* config/rs6000/rs6000.c (num_insns_constant_wide): Correct for type promotion. (add_operand): Get test correct for 64-bit HOST_WIDE_INT. (non_add_cint_operand): Likewise. (logical_operand): Likewise. (non_logical_cint_operand): Likewise. (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT. (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT. (rs6000_select_rtx_section): Suppress warning. (small_data_operand): Suppress warning. (rs6000_got_register): Suppress warning. * config/rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed type, so `J' is generally the wrong constraint for a SImode value; use `L' instead. (andsi3_internal2): Likewise. (andsi3_internal3): Likewise. (iorsi3_internal1): Likewise. (xorsi3_internal1): Likewise. (movsi): Likewise. (movsf_softfloat): Likewise. various unnamed compare insns: Likewise. (movsi+2): Preserve sign bits of SImode constant. (floatsidf2_internal+1): Sign-extend SImode constant correctly. (movdf+1): Preserve high bits of DFmode constant. (movdi_32+1): Sign-extend properly. various unnamed compare insns: Sign-extend properly. * unroll.c (loop_iterations): Convert HOST_WIDE_INT to unsigned properly for mode. * expmed.c (expand_mult_highpart): Convert HOST_WIDE_INT from unsigned properly for mode. (expand_divmod): Likewise. * optabs.c (expand_fix): Keep HOST_WIDE_INT constants properly signed. (expand_binop): Sometimes there is work to do when changing the mode of a CONST_INT. From-SVN: r28375
1999-08-01Backport of GC branch patches part 2: kill stmt status saving.Bernd Schmidt10-130/+158
From-SVN: r28374
1999-08-01Daily bump.Jeff Law5-5/+5
From-SVN: r28373
1999-08-01* Makefile.in (ALL_CFLAGS): Add '-W -Wall'.Kaveh R. Ghazi2-1/+5
From-SVN: r28372
1999-08-01NEWS: Likewise.Tom Tromey3-0/+24
* NEWS: Likewise. * THANKS: New file. From-SVN: r28371
1999-08-01configure.in: Check for struct hostent_data and need for -D_REENTRANT for ↵Alexandre Oliva5-84/+268
gethostbyname_r... 1999-07-31 Alexandre Oliva <oliva@dcc.unicamp.br> * configure.in: Check for struct hostent_data and need for -D_REENTRANT for gethostbyname_r declaration. * java/net/natInetAddress.cc: Define _REENTRANT if needed. (lookup): Use hostent_data for fixed_buffer. * configure, include/config.h.in: Rebuilt. From-SVN: r28369
1999-07-31libjava.exp (bytecompile_file): Use `env(SUN_JAVAC)', that defaults to ↵Alexandre Oliva3-9/+80
javac, as Sun-javac compiler or compatible. 1999-07-31 Alexandre Oliva <oliva@dcc.unicamp.br> * lib/libjava.exp (bytecompile_file): Use `env(SUN_JAVAC)', that defaults to javac, as Sun-javac compiler or compatible. (libjava_init): Get GCJ from environment if neither GCJ_UNDER_TEST nor TOOL_EXECUTABLE are set. Set `original_ld_library_path' from environment. (libjava_arguments): Prepend `.' and `$srcdir/$subdir' to CLASSPATH, for `support' sources. Search for libgcj.spec in `$objdir/..', by adding -B to GCJ_UNDER_TEST. Append original_ld_library_path to ld_library_path. * libjava.mauve/mauve.exp (test_mauve): Set `env(GCJ)' from GCJ_UNDER_TEST, calculated just like in libjava.exp. From-SVN: r28364
1999-07-31mips_sgi_mach_dep.s: Enable PIC option.Alexandre Oliva2-0/+5
1999-07-31 Alexandre Oliva <oliva@dcc.unicamp.br> * mips_sgi_mach_dep.s: Enable PIC option. From-SVN: r28363
1999-07-31natSystem.cc (arraycopy): Use bcopy if memmove is not available.Alexandre Oliva4-75/+76
1999-07-31 Alexandre Oliva <oliva@dcc.unicamp.br> * java/lang/natSystem.cc (arraycopy): Use bcopy if memmove is not available. Don't cast memmove args to (void*). * configure.in: Do not abort if memmove is not available. From-SVN: r28360
1999-07-31gcc.texi: Use terms "GNU Compiler Collection" and "GCC".Joe Buck2-241/+250
* gcc.texi: Use terms "GNU Compiler Collection" and "GCC". Also update copyright. From-SVN: r28359
1999-07-31Backport of GC branch patches part 1: kill eh status saving.Bernd Schmidt21-637/+644
From-SVN: r28357
1999-07-31pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead of depending on ↵Jeffrey A Law2-4/+29
a magic constant value. * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead of depending on a magic constant value. Update comments. (hppa_expand_prologue): Similarly. From-SVN: r28356
1999-07-31pa.md (reload_indi, [...]): Allow any register for the original reload register.Jeffrey A Law2-2/+7
* pa.md (reload_indi, reload_outdi): Allow any register for the original reload register. From-SVN: r28355
1999-07-31Daily bump.Jeff Law5-5/+5
From-SVN: r28354