]> gcc.gnu.org Git - gcc.git/log
gcc.git
24 years agorevert
Jason Merrill [Sat, 7 Aug 1999 21:53:40 +0000 (17:53 -0400)]
revert

From-SVN: r28587

24 years agofunction.c (init_function_start): Clear prologue & epilogue.
Richard Henderson [Sat, 7 Aug 1999 18:39:03 +0000 (11:39 -0700)]
function.c (init_function_start): Clear prologue & epilogue.

        * function.c (init_function_start): Clear prologue & epilogue.
        (prologue_epilogue_contains): New function.
        * alias.c (init_alias_analysis): Use it.
        * rtl.h (prologue_epilogue_contains): Declare it.

From-SVN: r28585

24 years agojump.c (onlyjump_p): New function.
Richard Henderson [Sat, 7 Aug 1999 18:36:15 +0000 (11:36 -0700)]
jump.c (onlyjump_p): New function.

        * jump.c (onlyjump_p): New function.
        * rtl.h: Declare it.
        * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
        of condjump_p in calling tidy_fallthru_edge and merge_blocks.

From-SVN: r28584

24 years agoglobal.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET to invert loops.
Richard Henderson [Sat, 7 Aug 1999 17:05:46 +0000 (10:05 -0700)]
global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET to invert loops.

        * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
        to invert loops.  Simplify block scanning.

From-SVN: r28583

24 years agogcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
Bernd Schmidt [Sat, 7 Aug 1999 08:13:28 +0000 (08:13 +0000)]
gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.

        * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
        (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.

From-SVN: r28582

24 years agoliteelf.h: New file to support sparclite-elf target
Jonathan Larmour [Sat, 7 Aug 1999 07:58:07 +0000 (07:58 +0000)]
liteelf.h: New file to support sparclite-elf target

        * config/sparc/liteelf.h: New file to support sparclite-elf target
        * config/sparc/t-sp86x: New file to support sparc86x targets
        * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
        * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
        * configure.in: Support above target triplets
        * configure: Regenerated

From-SVN: r28581

24 years agoForgot to commit earlier.
Jeff Law [Sat, 7 Aug 1999 07:51:09 +0000 (01:51 -0600)]
Forgot to commit earlier.

From-SVN: r28580

24 years agoDaily bump.
Jeff Law [Sat, 7 Aug 1999 07:45:09 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r28579

24 years agoserver.c (server_setup): Do not prefix function used as parameter with `&'.
Philippe De Muyter [Sat, 7 Aug 1999 07:41:17 +0000 (09:41 +0200)]
server.c (server_setup): Do not prefix function used as parameter with `&'.

        * fixinc/server.c (server_setup): Do not prefix function used as
        parameter with `&'.

From-SVN: r28578

24 years agoMakefile.in (TAROUTOPTS): Kill.
Jeffrey A Law [Sat, 7 Aug 1999 07:39:28 +0000 (07:39 +0000)]
Makefile.in (TAROUTOPTS): Kill.

        * Makefile.in (TAROUTOPTS): Kill.
        (install-headers-tar): Use "xpf" for tar headerfile extraction
        * i370/x-oe (TAROUTOPTS): Delete.
        * m68k/x-apollo68 (TAROUTOPTS): Delete.
        * m68k/x-hp320 (TAROUTOPTS): Delete.
        * m68k/x-hp320g (TAROUTOPTS): Delete.

From-SVN: r28577

24 years agoalpha.md (movhi and movqi patterns): Correct predicate for !BWX.
Richard Henderson [Sat, 7 Aug 1999 06:38:33 +0000 (23:38 -0700)]
alpha.md (movhi and movqi patterns): Correct predicate for !BWX.

        * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
        Remove fp reg alternatives.

From-SVN: r28576

24 years ago* gcc.texi: Update bug reporting text.
Jeffrey A Law [Sat, 7 Aug 1999 06:08:58 +0000 (06:08 +0000)]
* gcc.texi: Update bug reporting text.

From-SVN: r28574

24 years agoiostream.cc: Add missing calls to isfx and setup a cleanup region for the locked...
Andreas Schwab [Sat, 7 Aug 1999 06:02:05 +0000 (06:02 +0000)]
iostream.cc: Add missing calls to isfx and setup a cleanup region for the locked stream.

* iostream.cc: Add missing calls to isfx and setup a cleanup
region for the locked stream.
* iostream.h: Likewise.
* isgetline.cc: Likewise.
* isgetsb.cc: Likewise.
* isscan.cc: Likewise.

From-SVN: r28573

24 years ago1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
Herman A.J. ten Brugge [Sat, 7 Aug 1999 05:57:14 +0000 (23:57 -0600)]
1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>

        * reg-stack.c (change_stack) Fixed problem with negative array index.

From-SVN: r28570

24 years agoMakefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix, libdir, libsubdir and tooldir.
Daniel Jacobowitz [Sat, 7 Aug 1999 05:37:16 +0000 (05:37 +0000)]
Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix, libdir, libsubdir and tooldir.

        * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
        libdir, libsubdir and tooldir.
Applied in libchill, libf2c, libiberty and libobjc

From-SVN: r28569

24 years ago* extend.texi, install.texi: Fix spelling mistakes.
Jeffrey A Law [Sat, 7 Aug 1999 05:26:41 +0000 (05:26 +0000)]
* extend.texi, install.texi: Fix spelling mistakes.

From-SVN: r28567

24 years agoMakefile.in (PREMADE_ATTRTAB_MD, [...]): Delete.
Jeffrey A Law [Sat, 7 Aug 1999 05:19:55 +0000 (05:19 +0000)]
Makefile.in (PREMADE_ATTRTAB_MD, [...]): Delete.

        * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
        (s-attrtab); No longer try to use pre-made insn-attrtab file.
        * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
        PREMADE_ATTRTAB_MD.
        * mips/t-ecoff: Likewise.
        * mips/t-elf: Likewise.
        * mips/t-mips: Likewise.
        * mips/t-osfrose: Likewise.
        * mips/t-r3900: Likewise.
        * mips/t-svr3: Likewise.
        * mips/t-svr4: Likewise.
        * mips/t-ultrix: Likewise.

From-SVN: r28566

24 years agogcc.texi: Document recommend means to provide software floating point libraries in...
Jeffrey A Law [Sat, 7 Aug 1999 05:11:19 +0000 (05:11 +0000)]
gcc.texi: Document recommend means to provide software floating point libraries in libgcc.a

        * gcc.texi: Document recommend means to provide software floating
        point libraries in libgcc.a

From-SVN: r28565

24 years agodecl.c (bad_specifiers): It's OK to have an EH spec on a function pointer.
Jason Merrill [Sat, 7 Aug 1999 01:22:26 +0000 (01:22 +0000)]
decl.c (bad_specifiers): It's OK to have an EH spec on a function pointer.

* decl.c (bad_specifiers): It's OK to have an EH spec on a function
pointer.

* pt.c (maybe_get_template_decl_from_type_decl): Make sure that
we're looking at a class.

From-SVN: r28562

24 years ago* c-lex.c (yylex): We can have a number with no digits.
Jason Merrill [Sat, 7 Aug 1999 01:02:18 +0000 (01:02 +0000)]
* c-lex.c (yylex): We can have a number with no digits.

From-SVN: r28561

24 years agodecl.c (lookup_name_real): Set the complain flag if we're looking for a namespace...
Jason Merrill [Sat, 7 Aug 1999 01:01:54 +0000 (01:01 +0000)]
decl.c (lookup_name_real): Set the complain flag if we're looking for a namespace member.

* decl.c (lookup_name_real): Set the complain flag if we're
looking for a namespace member.

* lex.c (real_yylex): We can have a number with no digits.

* cvt.c (cp_convert_to_pointer): Don't force pmf conversions.

* search.c (binfo_from_vbase): New fn.
* cp-tree.h: Declare it.
* cvt.c (cp_convert_to_pointer): Use it to diagnose conversion
from pointer to member of virtual base.
* typeck.c (get_delta_difference): Likewise.

From-SVN: r28560

24 years agonew
Jason Merrill [Sat, 7 Aug 1999 00:32:24 +0000 (20:32 -0400)]
new

From-SVN: r28559

24 years agojump.c (delete_prior_computation): New function, broken out of delete_computation.
John Wehle [Fri, 6 Aug 1999 20:55:42 +0000 (20:55 +0000)]
jump.c (delete_prior_computation): New function, broken out of delete_computation.

* jump.c (delete_prior_computation): New function, broken
out of delete_computation.  Check for side effects with
side_effects_p instead of FIND_REG_INC_NOTE.  Handle
multi-word hard registers.
(delete_computation): Use it.  Check for side effects with
side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
missing REG_DEAD note for a register which is both set and
used by an insn.

From-SVN: r28558

24 years agodwarf2.C, dwarf3.C: Added XFAIL for Solaris/x86.
Alexandre Oliva [Fri, 6 Aug 1999 20:55:13 +0000 (20:55 +0000)]
dwarf2.C, dwarf3.C: Added XFAIL for Solaris/x86.

* dwarf2.C, dwarf3.C: Added XFAIL for Solaris/x86.  Removed
-gdwarf.
* dwarf1.C: Removed -gdwarf.

From-SVN: r28557

24 years agopt.c (tsubst): Use build_index_type to build in-template array index type.
Alexandre Oliva [Fri, 6 Aug 1999 20:44:44 +0000 (20:44 +0000)]
pt.c (tsubst): Use build_index_type to build in-template array index type.

* pt.c (tsubst): Use build_index_type to build in-template array
index type.  Fixes g++.oliva/dwarf1.C.
* decl.c (grokdeclarator): Likewise, just for consistency, as it
doesn't seem to trigger the bug without it.

From-SVN: r28556

24 years agoconfigure: Rebuilt.
Tom Tromey [Fri, 6 Aug 1999 20:36:46 +0000 (20:36 +0000)]
configure: Rebuilt.

* configure: Rebuilt.
* configure.in: Look for sched_yield in -lrt.

From-SVN: r28554

24 years ago* typeck2.c (add_exception_specifier): Use complete_type.
Jason Merrill [Fri, 6 Aug 1999 19:01:13 +0000 (19:01 +0000)]
* typeck2.c (add_exception_specifier): Use complete_type.

From-SVN: r28552

24 years agotree.c (cp_build_qualified_type_real): Handle pointer-to-member-function types correctly.
Mark Mitchell [Fri, 6 Aug 1999 18:25:40 +0000 (18:25 +0000)]
tree.c (cp_build_qualified_type_real): Handle pointer-to-member-function types correctly.

* tree.c (cp_build_qualified_type_real): Handle
pointer-to-member-function types correctly.

From-SVN: r28551

24 years agoerror.c (dump_expr): Handle EXACT_DIV_EXPR.
Mark Mitchell [Fri, 6 Aug 1999 18:20:27 +0000 (18:20 +0000)]
error.c (dump_expr): Handle EXACT_DIV_EXPR.

* error.c (dump_expr): Handle EXACT_DIV_EXPR.
(dump_binary_op): Bulletproof.
* lex.c (init_parse): Set opname_tab[EXACT_DIV_EXPR].
* tree.c (search_tree): Don't enumerate all the nodes of classes
`1', `2', and `<'; handle them generically.  Don't be sorry about
"unrecognized tree codes"; just abort.
(no_linkage_check): Don't do linkage checks for templates.

* tree.c (cp_build_qualified_type_real): Handle
pointer-to-member-function types correctly.

From-SVN: r28550

24 years agoelf.h (TEXT_SPACE_P, [...]): Delete.
Jeffrey A Law [Fri, 6 Aug 1999 17:08:29 +0000 (17:08 +0000)]
elf.h (TEXT_SPACE_P, [...]): Delete.

        * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
        (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
        (ASM_FILE_START): Import _mcount with the right type.
        (ASM_DECLARE_FUNCTION_NAME): Define.
        (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
        * pa.c (output_function_prologue): Always emit the function's label
        here.
        * pa.h (TEXT_SPACE_P): Define.
        (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
        (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
        * som.h (TEXT_SPACE_P): Delete.
        (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
        (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.

From-SVN: r28549

24 years agoLocale.java (CHINESE, [...]): New locales.
Mojo Jojo [Fri, 6 Aug 1999 08:38:50 +0000 (08:38 +0000)]
Locale.java (CHINESE, [...]): New locales.

1999-08-06  Mojo Jojo <mojojojo@pacbell.net>

* java/util/Locale.java, CHINESE, ENGLISH, FRENCH, GERMAN,
ITALIAN, JAPANESE, KOREAN, CANADA_FRENCH, GERMANY, ITALY, KOREA,
SIMPLIFIED_CHINESE, TRADITIONAL_CHINESE, PRC, TAIWAN, CHINA): New
locales.
(toString): Print correctly when `country' is empty.

From-SVN: r28548

24 years agoDaily bump.
Jeff Law [Fri, 6 Aug 1999 07:45:09 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r28547

24 years agoAllow PARALLEL return value for complex type represented as a CONCAT.
Jim Wilson [Fri, 6 Aug 1999 02:30:39 +0000 (02:30 +0000)]
Allow PARALLEL return value for complex type represented as a CONCAT.

* expr.c (emit_group_load): Allow src to be a CONCAT.

From-SVN: r28546

24 years agodecl.c (pushdecl): Only give an error for shadowing a parm from *this* function.
Jason Merrill [Fri, 6 Aug 1999 00:07:50 +0000 (00:07 +0000)]
decl.c (pushdecl): Only give an error for shadowing a parm from *this* function.

* decl.c (pushdecl): Only give an error for shadowing a parm
from *this* function.

From-SVN: r28545

24 years agoFix typo.
Joern Rennecke [Thu, 5 Aug 1999 21:51:30 +0000 (22:51 +0100)]
Fix typo.

From-SVN: r28544

24 years ago* g++.old-deja/g++.other/local3.C: Removed XFAIL.
Alexandre Oliva [Thu, 5 Aug 1999 21:38:39 +0000 (21:38 +0000)]
* g++.old-deja/g++.other/local3.C: Removed XFAIL.

From-SVN: r28543

24 years agonew1.C, [...]: Removed XFAIL.
Alexandre Oliva [Thu, 5 Aug 1999 21:32:21 +0000 (21:32 +0000)]
new1.C, [...]: Removed XFAIL.

* new1.C, template8.C: Removed XFAIL.
* template3.C: Re-introduced XFAIL.  :-(

From-SVN: r28542

24 years agolib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
J"orn Rennecke [Thu, 5 Aug 1999 21:29:00 +0000 (21:29 +0000)]
lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.

* config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
(___mulsi3): Use '!' comment character.

From-SVN: r28541

24 years agoMissing doubled @s in e-mail address
Alexandre Oliva [Thu, 5 Aug 1999 21:02:47 +0000 (21:02 +0000)]
Missing doubled @s in e-mail address

From-SVN: r28539

24 years agoWarning fix
Bernd Schmidt [Thu, 5 Aug 1999 12:43:04 +0000 (12:43 +0000)]
Warning fix

From-SVN: r28538

24 years ago* typeck2.c: Update URLs and mail addresses.
Jeffrey A Law [Thu, 5 Aug 1999 09:20:18 +0000 (09:20 +0000)]
* typeck2.c: Update URLs and mail addresses.

From-SVN: r28537

24 years agog77spec.c: Update URLS and mail addresses.
Jeffrey A Law [Thu, 5 Aug 1999 09:18:29 +0000 (09:18 +0000)]
g77spec.c: Update URLS and mail addresses.

        * g77spec.c: Update URLS and mail addresses.
        * root.texi: Update URLS and mail addresses.

From-SVN: r28536

24 years agogcc.c: Update URLs and mail addresses.
Jeffrey A Law [Thu, 5 Aug 1999 09:16:27 +0000 (09:16 +0000)]
gcc.c: Update URLs and mail addresses.

        * gcc.c: Update URLs and mail addresses.
        * gcc.texi: Likewise.

From-SVN: r28535

24 years agoMakefile.in (MARLINK, MSHLINK): Handle library version number components with more...
Loren J. Rittle [Thu, 5 Aug 1999 08:01:12 +0000 (02:01 -0600)]
Makefile.in (MARLINK, MSHLINK): Handle library version number components with more than one numeric digit.

        * Makefile.in (MARLINK, MSHLINK): Handle library version
        number components with more than one numeric digit.

From-SVN: r28531

24 years agoDaily bump.
Jeff Law [Thu, 5 Aug 1999 07:45:09 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r28529

24 years agors6000.c (current_file_function_operand): Return zero for weak functions.
Daniel Jacobowitz [Thu, 5 Aug 1999 07:17:35 +0000 (07:17 +0000)]
rs6000.c (current_file_function_operand): Return zero for weak functions.

        * rs6000.c (current_file_function_operand): Return zero for
        weak functions.
        (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
        weak symbols.
        * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
        for weak symbols.

From-SVN: r28527

24 years agors6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic...
Geoff Keating [Thu, 5 Aug 1999 06:59:54 +0000 (00:59 -0600)]
rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic...

        * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
        allocate space in the stack frame for the PIC register.

From-SVN: r28525

24 years agom68k.md (xordi3, anddi3): These patterns are not available on the coldfire.
Jeffrey A Law [Thu, 5 Aug 1999 06:22:16 +0000 (06:22 +0000)]
m68k.md (xordi3, anddi3): These patterns are not available on the coldfire.

        * m68k.md (xordi3, anddi3): These patterns are not available on
        the coldfire.

From-SVN: r28524

24 years agoreal.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
Mark Mitchell [Thu, 5 Aug 1999 05:41:34 +0000 (05:41 +0000)]
real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.

        * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
        (PUT_REAL): Likewise.

From-SVN: r28521

24 years agoconfigure.in: Also do AC_SUBST for DIVIDESPEC.
Per Bothner [Thu, 5 Aug 1999 05:21:44 +0000 (22:21 -0700)]
configure.in: Also do AC_SUBST for DIVIDESPEC.

1999-08-04  Per Bothner <per@bothner.com>

* configure.in:  Also do AC_SUBST for DIVIDESPEC.

From-SVN: r28520

24 years ago* gcc.c-torture/execute/970312-1.c: Delete duplicate test.
Jeffrey A Law [Thu, 5 Aug 1999 03:34:54 +0000 (03:34 +0000)]
* gcc.c-torture/execute/970312-1.c: Delete duplicate test.

From-SVN: r28519

24 years agot-a29kbare: Fix some comments.
Jeffrey A Law [Thu, 5 Aug 1999 03:27:49 +0000 (03:27 +0000)]
t-a29kbare: Fix some comments.

* a29k/t-a29kbare: Fix some comments.
(LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
(FPBIT, DPBIT): Define.
* a29k/t-vx29k: Likewise.
* arc/t-arc: Likewise.
* arm/t-arm-elf: Likewise.
* arm/t-bare: Likewise.
* arm/t-pe: Likewise.
* arm/t-pe-thumb: Likewise.
* arm/t-semi: Likewise.
* arm/t-thumb: Likewise.
* arm/t-thumb-elf: Likewise.
* arm/t-thumb-linux: Likewise.
* h8300/t-h8300: Likewise.
* i960/t-i960: Likewise.
* i960/t-vxworks960: Likewise.
* m32r/t-m32r: Likewise.
* mips/t-ecoff: Likewise.
* mips/t-elf: Likewise.
* mips/t-r3900: Likewise.
* pa/t-pro: Likewise.
* rs6000/t-aix43: Likewise.
* rs6000/t-beos: Likewise.
* rs6000/t-newas: Likewise.
* rs6000/t-ppccomm: Likewise.
* rs6000/t-rs6000: Likewise.
* rs6000/t-winnt: Likewise.
* rs6000/t-xnewas: Likewise.
* rs6000/t-xrs6000: Likewise.
* sh/t-sh: Likewise.
* sparc/t-elf: Likewise.
* sparc/t-sparcbare: Likewise.
* sparc/t-sparclite: Likewise.
* sparc/t-splet: Likewise.
* v850/t-v850: Likewise.
* mn10200/t-mn10200: Fix comments.
* mn10300/t-mn10300: Likewise.

From-SVN: r28518

24 years agofinal.c (shorten_branches): Don't add an alignment for loops that have no label inside.
J"orn Rennecke [Wed, 4 Aug 1999 22:13:14 +0000 (22:13 +0000)]
final.c (shorten_branches): Don't add an alignment for loops that have no label inside.

* final.c (shorten_branches): Don't add an alignment for loops
that have no label inside.

From-SVN: r28517

24 years agoRemoved extra ';;'
Tom Tromey [Wed, 4 Aug 1999 20:57:53 +0000 (20:57 +0000)]
Removed extra ';;'

From-SVN: r28516

24 years agoWarning fixes:
Kaveh R. Ghazi [Wed, 4 Aug 1999 20:47:45 +0000 (20:47 +0000)]
Warning fixes:

* builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
prototypes in macro HAVE_cmpstrsi.

* cpplib.c (cpp_get_token): Remove unused label `op3'.

* emit-rtl.c (operand_subword): Remove unused variable
`bits_per_word'.

* rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.

* tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.

From-SVN: r28514

24 years agoregen
Jason Merrill [Wed, 4 Aug 1999 20:43:02 +0000 (16:43 -0400)]
regen

From-SVN: r28513

24 years agocpphash.c (macroexpand): Delete leading whitespace when arg is concatenated before.
Zack Weinberg [Wed, 4 Aug 1999 20:39:33 +0000 (20:39 +0000)]
cpphash.c (macroexpand): Delete leading whitespace when arg is concatenated before.

Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>

* cpphash.c (macroexpand): Delete leading whitespace when arg
is concatenated before.
(unsafe_chars): Correct test for whether + and - can extend a
token.

* cppinit.c (cpp_start_read): Do dependencies for
-include/-imacros files also.

* cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
tokenizing non-directive lines.
(cpp_expand_to_buffer): Temporarily disable no-output mode.
* cppmain.c: In no-output mode, just call cpp_scan_buffer for
the input file.

From-SVN: r28512

24 years ago* expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
Jason Merrill [Wed, 4 Aug 1999 20:32:26 +0000 (20:32 +0000)]
* expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.

From-SVN: r28511

24 years ago* configure.in: Added missing `;;'. From Anthony Green.
Tom Tromey [Wed, 4 Aug 1999 20:25:54 +0000 (20:25 +0000)]
* configure.in: Added missing `;;'.  From Anthony Green.

From-SVN: r28510

24 years agoregen
Jason Merrill [Wed, 4 Aug 1999 19:57:59 +0000 (15:57 -0400)]
regen

From-SVN: r28509

24 years ago* c-parse.in: Add END_OF_LINE token.
Jason Merrill [Wed, 4 Aug 1999 19:57:26 +0000 (15:57 -0400)]
* c-parse.in: Add END_OF_LINE token.

From-SVN: r28508

24 years agoc-lex.c: Sync with C++ frontend.
Jason Merrill [Wed, 4 Aug 1999 19:55:31 +0000 (15:55 -0400)]
c-lex.c: Sync with C++ frontend.

* c-lex.c: Sync with C++ frontend.
(linemode): New variable.
(parse_float): imag, conversion_errno, and type are output only.
(yylex): Adjust.  Move initial '.' case into main switch.
Use linemode.
(handle_generic_pragma): Just deal with tokens.
(readescape): Use ISXDIGIT and ISGRAPH.
* c-parse.in: Add END_OF_LINE token.

* c-lex.c (lang_init): Generalize.
(nextchar): Remove.  Replace uses with UNGETC.
(skip_white_space): Handle linemode here.  Optimize for cpplib.
(skip_white_space_on_line): Remove.
(extend_token_buffer_to): New fn.
(extend_token_buffer): Use it.
(read_line_number, check_newline): Just deal with tokens.
(token_getch, token_put_back): New fns.
(yylex): Use them.  More cpplib optimizations.  Simplify.

* c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
(consume_string): Make this smart about USE_CPPLIB.
(check_newline): Rewrite to be intelligent about USE_CPPLIB.
(yylex): Rewrite to be intelligent about USE_CPPLIB.
Also, clean up cases where we redundantly set token_buffer[0].
(read_line_number): New fn.
(ignore_escape_flag): New variable.

From-SVN: r28507

24 years agoUpdated THANKS
Tom Tromey [Wed, 4 Aug 1999 19:55:25 +0000 (19:55 +0000)]
Updated THANKS

From-SVN: r28506

24 years agoconfigure.in (machdep): Use mips_ultrix_mach_dep.s on Ultrix V4.
Rainer Orth [Wed, 4 Aug 1999 19:51:34 +0000 (19:51 +0000)]
configure.in (machdep): Use mips_ultrix_mach_dep.s on Ultrix V4.

Mon Aug  2 23:09:41 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

* configure.in (machdep): Use mips_ultrix_mach_dep.s on Ultrix V4.

From-SVN: r28503

24 years agopa.md (divsi3, [...]): Clobber a new dummy operand.
Jeffrey A Law [Wed, 4 Aug 1999 19:27:02 +0000 (19:27 +0000)]
pa.md (divsi3, [...]): Clobber a new dummy operand.

        * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
        dummy operand.  Allocate a new pseudo for the dummy operand.
        (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.

From-SVN: r28502

24 years ago* pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
Jeffrey A Law [Wed, 4 Aug 1999 19:13:09 +0000 (19:13 +0000)]
* pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.

From-SVN: r28501

24 years agoconfigure: Rebuilt.
Tom Tromey [Wed, 4 Aug 1999 18:28:22 +0000 (18:28 +0000)]
configure: Rebuilt.

* configure: Rebuilt.
* configure.in: Removed --enable-java-gc option and JAVAGC subst.

From-SVN: r28500

24 years agoarm.c (typedef minipool_node): Renamed from pool_node.
Richard Earnshaw [Wed, 4 Aug 1999 13:40:10 +0000 (13:40 +0000)]
arm.c (typedef minipool_node): Renamed from pool_node.

* arm.c (typedef minipool_node): Renamed from pool_node.
(minipool_vector, minipool_size, minipool_vector_label): Similarly.
(add_minipool_constant): New function.
(dump_minipool): New function.
(find_barrier): Remove special case for getting the insn size of
an insn that references the constant pool.
(minipool_fixup): New structure.
(push_minipool_barrier): New function.
(push_minipool_fix): New function.
(note_invalid_constants): New function.
(add_pool_constant, dump_table, fixit, broken_move): Delete.
(arm_reorg): Rewrite code to fix up the constant pool into a
series of mini-pools embedded in the insn stream.
(arm_output_epilogue): New function, made mainly from the body
of output_func_epilogue.
(output_func_epilogue): Move insn generation part of epilogue code
to arm_output_epilogue.
* arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
* arm.md (pool_range): New attribute.
(zero_extendqidi2): Add attribute pool_range.
(zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
(epilogue): New expand.
(epilogue_insn): New insn.  Call arm_output_epilogue.

* arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
* arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.

From-SVN: r28499

24 years agoWarning fixes:
Kaveh R. Ghazi [Wed, 4 Aug 1999 13:30:51 +0000 (13:30 +0000)]
Warning fixes:

        * Makefile.in (lang.o): Depend on $(RTL_H) $(EXPR_H).

        * expr.c (java_stack_pop, java_array_data_offset,
        build_java_throw_out_of_bounds_exception, case_identity,
        build_java_check_indexed_type): Add static prototypes.
        (linenumber_table, expand_invoke, expand_java_field_op,
        build_primtype_type_ref, expand_byte_code): Constify a char*.

        * java-tree.h (build_primtype_type_ref, linenumber_table):
        Constify a char*.
        (java_lang_expand_expr): Add prototype.

        * lang.c: Include rtl.h and expr.h.  Remove extern prototype for
        `java_lang_expand_expr'.

        * lex.c (java_lex_error): Constify a char*.
        (java_get_unicode, java_read_char, java_allocate_new_line,
        java_unget_unicode, java_sneak_unicode): Prototype.

        * parse-scan.y (current_class, package_name, method_declarator,
        report_class_declaration, yyerror): Constify a char*.

        * parse.h (java_report_errors): Prototype.
        (yyerror): Constify a char*.

        * parse.y (classitf_redefinition_error, check_modifiers,
        parse_jdk1_1_error, lookup_package_type,
        lookup_package_type_and_set_next, get_printable_method_name,
        purify_type_name): Constify a char*.
        (build_super_invocation, maybe_generate_finit,
        verify_constructor_super, parser_add_interface,
        add_superinterfaces, jdep_resolve_class, note_possible_classname,
        java_complete_expand_methods, java_expand_finals,
        cut_identifier_in_qualified, java_stabilize_reference,
        do_unary_numeric_promotion, operator_string, do_merge_string_cste,
        merge_string_cste): Prototype.
        (single_type_import_declaration, yyerror,
        variable_redefinition_error, build_array_from_name,
        build_unresolved_array_type, check_class_interface_creation,
        resolve_class, complete_class_report_errors,
        note_possible_classname, read_import_dir,
        find_in_imports_on_demand, resolve_package, fix_constructors,
        check_deprecation, lookup_method_invoke,
        maybe_build_primttype_type_ref, array_constructor_check_entry):
        Constify a char*.
        (java_complete_expand_methods, java_expand_finals): Make static.
        (convert_narrow): Remove static prototype.

From-SVN: r28498

24 years agorecog.c (preproces_constraints): Zero recog_op_alt before processing the constraints.
Richard Earnshaw [Wed, 4 Aug 1999 13:11:20 +0000 (13:11 +0000)]
recog.c (preproces_constraints): Zero recog_op_alt before processing the constraints.

* recog.c (preproces_constraints): Zero recog_op_alt before
processing the constraints.

From-SVN: r28497

24 years ago* linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
Jason Merrill [Wed, 4 Aug 1999 11:27:20 +0000 (11:27 +0000)]
* linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.

From-SVN: r28496

24 years ago* g++.old-deja/g++.eh/spec6.C: Add more tests. Remove XFAILS.
Nathan Sidwell [Wed, 4 Aug 1999 09:09:21 +0000 (09:09 +0000)]
* g++.old-deja/g++.eh/spec6.C: Add more tests. Remove XFAILS.

From-SVN: r28495

24 years agocp-tree.h (empty_except_spec): New global var.
Nathan Sidwell [Wed, 4 Aug 1999 09:07:51 +0000 (09:07 +0000)]
cp-tree.h (empty_except_spec): New global var.

* cp-tree.h (empty_except_spec): New global var.
(compexcepttypes): Remove prototype.
(comp_except_specs): Prototype new global function.
(add_exception_specifier): Prototype new global function.
* decl.c (empty_except_spec): Define new global var.
(duplicate_decls): Use comp_except_specs, reword error message.
(init_decl_processing): Initialize empty_except_spec.
Adjust build_exception_variant calls.
* parse.y (exception_specification_opt): Use empty_except_spec.
(ansi_raise_identifier): Call check_for_new_type.
(ansi_raise_identifiers): Use add_exception_specifier.
* pt.c (tsubst): Use add_exception_specifier to build exception
specifier.
* search.c (check_final_overrider): New static function, broken
out of get_matching_virtual. Check throw specifiers, reword
diagnostics.
(get_matching_virtual): Use check_final_overrider.
* tree.c (build_exception_variant): Use comp_except_specs.
* typeck.c (compexcepttypes): Remove.
(comp_except_types): New static function, helper for
comp_except_specs. Compare two types as exception specifiers.
(comp_except_specs): New global function, compare two exception
specifiers.
(comptypes): Adjust for comp_except_specs.
* typeck2.c (add_exception_specifier): New global function.

* class.c (check_for_override): Reword error message.

From-SVN: r28494

24 years ago* gcc/config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
Mark Elbrecht [Wed, 4 Aug 1999 08:58:39 +0000 (08:58 +0000)]
* gcc/config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.

From-SVN: r28493

24 years ago* jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
Richard Henderson [Wed, 4 Aug 1999 08:19:36 +0000 (01:19 -0700)]
* jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.

From-SVN: r28492

24 years ago* config.sub (vxworks case): Use os=-vxworks, not os=vxworks.
Jeffrey A Law [Wed, 4 Aug 1999 08:07:57 +0000 (08:07 +0000)]
* config.sub (vxworks case): Use os=-vxworks, not os=vxworks.

From-SVN: r28489

24 years ago* global.c: Fix comment.
Jim Kingdon [Wed, 4 Aug 1999 07:50:08 +0000 (01:50 -0600)]
* global.c: Fix comment.

From-SVN: r28488

24 years agoDaily bump.
Jeff Law [Wed, 4 Aug 1999 07:46:10 +0000 (01:46 -0600)]
Daily bump.

From-SVN: r28487

24 years agogcc.c (access_check): New static function.
Ian Lance Taylor [Wed, 4 Aug 1999 07:45:10 +0000 (07:45 +0000)]
gcc.c (access_check): New static function.

        * gcc.c (access_check): New static function.
        (find_a_file): Use it when searching a directory list.
        * collect2.c (find_a_file): Don't accept directories found when
        searching a directory list.

From-SVN: r28486

24 years agotlink.c (symbol_hash_lookup): Do not prefix functions used as function parameters...
Philippe De Muyter [Wed, 4 Aug 1999 07:41:48 +0000 (09:41 +0200)]
tlink.c (symbol_hash_lookup): Do not prefix functions used as function parameters with `&'.

        * tlink.c (symbol_hash_lookup): Do not prefix functions used as
        function parameters with `&'.
        (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.

From-SVN: r28485

24 years ago* gcc.c-torture/execute/990804-1.c: New test.
Jeffrey A Law [Wed, 4 Aug 1999 07:18:41 +0000 (07:18 +0000)]
* gcc.c-torture/execute/990804-1.c: New test.

From-SVN: r28484

24 years agoflow.c (delete_unreachable_blocks): Do not call merge_blocks or tidy_fallthru_edge...
Jeffrey A Law [Wed, 4 Aug 1999 07:11:26 +0000 (07:11 +0000)]
flow.c (delete_unreachable_blocks): Do not call merge_blocks or tidy_fallthru_edge if...

        * flow.c (delete_unreachable_blocks): Do not call merge_blocks
        or tidy_fallthru_edge if the last insn in the block is not
        an unconditional jump or a simple conditional jump.

From-SVN: r28483

24 years agoForgot to check this in yesterday.
Richard Henderson [Wed, 4 Aug 1999 05:46:42 +0000 (22:46 -0700)]
Forgot to check this in yesterday.

From-SVN: r28481

24 years agogc_priv.h (GC_test_and_set): Implementation for Linux PPC from Franz Sirl <Franz...
Tom Tromey [Wed, 4 Aug 1999 03:26:15 +0000 (03:26 +0000)]
gc_priv.h (GC_test_and_set): Implementation for Linux PPC from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.

* gc_priv.h (GC_test_and_set): Implementation for Linux PPC from
Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.

From-SVN: r28480

24 years agoMakefile.in (c-decl.o): Depends on defaults.h.
J"orn Rennecke [Tue, 3 Aug 1999 22:01:21 +0000 (22:01 +0000)]
Makefile.in (c-decl.o): Depends on defaults.h.

* Makefile.in (c-decl.o): Depends on defaults.h.
* java/Makefile.in (decl.o): Depends on $(srcdir)/../defaults.h.

From-SVN: r28479

24 years agopa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for PA1.1 and above.
Jeffrey A Law [Tue, 3 Aug 1999 20:17:38 +0000 (20:17 +0000)]
pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for PA1.1 and above.

        * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
        PA1.1 and above.
        (CLASS_MAX_NREGS): Likewise.

From-SVN: r28478

24 years agocrash63.C: Expect a POD warning
Nathan Sidwell [Tue, 3 Aug 1999 15:05:25 +0000 (15:05 +0000)]
crash63.C: Expect a POD warning

        * g++.old-deja/g++.brendan/crash63.C: Expect a POD warning
        * g++.old-deja/g++.brendan/crash64.C: Likewise
        * g++.old-deja/g++.brendan/overload8.C: Likewise

From-SVN: r28476

24 years agocall.c (convert_arg_to_ellipsis): Use pod_type_p.
Nathan Sidwell [Tue, 3 Aug 1999 15:04:49 +0000 (15:04 +0000)]
call.c (convert_arg_to_ellipsis): Use pod_type_p.

        * call.c (convert_arg_to_ellipsis): Use pod_type_p.
        * cp-tree.h (struct lang_type): Added non_pod_class flag.
        (CLASSTYPE_NON_POD_P): New macro to access it.
        * class.c (finish_struct_1): Determine non-PODness.
        Check for arrays of pointers (-Weffc++).
        Remove array inspection duplicated code.
        * tree.c (pod_type_p): Detect non-pod non-aggregate types.
        Use CLASSTYPE_NON_POD_P.

From-SVN: r28475

24 years ago* g++.old-deja/g++.other/struct1.C: New test.
Nathan Sidwell [Tue, 3 Aug 1999 14:46:14 +0000 (14:46 +0000)]
* g++.old-deja/g++.other/struct1.C: New test.

From-SVN: r28474

24 years ago* class.c (duplicate_tag_error): Preserve template information.
Nathan Sidwell [Tue, 3 Aug 1999 14:45:20 +0000 (14:45 +0000)]
* class.c (duplicate_tag_error): Preserve template information.

From-SVN: r28473

24 years ago* g++.old-deja/g++.other/enum2.C: New test.
Nathan Sidwell [Tue, 3 Aug 1999 14:25:10 +0000 (14:25 +0000)]
* g++.old-deja/g++.other/enum2.C: New test.

From-SVN: r28472

24 years agodecl.c (start_enum): Show location of previous definition.
Nathan Sidwell [Tue, 3 Aug 1999 14:24:07 +0000 (14:24 +0000)]
decl.c (start_enum): Show location of previous definition.

        * decl.c (start_enum): Show location of previous definition.
        * parse.y (enumlist_opt): New reduction.
        (structsp): Simplify enum rules to use enumlist_opt.

From-SVN: r28471

24 years ago* ext1.C: New test.
Alexandre Oliva [Tue, 3 Aug 1999 13:51:50 +0000 (13:51 +0000)]
* ext1.C: New test.

From-SVN: r28470

24 years ago* dwarf1.C, dwarf2.C, dwarf3.C: New tests.
Alexandre Oliva [Tue, 3 Aug 1999 12:51:02 +0000 (12:51 +0000)]
* dwarf1.C, dwarf2.C, dwarf3.C: New tests.

From-SVN: r28469

24 years agonew
Jason Merrill [Tue, 3 Aug 1999 11:35:17 +0000 (07:35 -0400)]
new

From-SVN: r28468

24 years agolex.c (yyprint): Handle PFUNCNAME.
Jason Merrill [Tue, 3 Aug 1999 10:18:13 +0000 (10:18 +0000)]
lex.c (yyprint): Handle PFUNCNAME.

* lex.c (yyprint): Handle PFUNCNAME.

* decl2.c (build_expr_from_tree, case METHOD_CALL_EXPR): Only
build_expr_from_tree on the args of a TEMPLATE_ID_EXPR.

From-SVN: r28467

24 years ago* cse.c (cse_insn): Fix dumb thinko in last change.
Jeffrey A Law [Tue, 3 Aug 1999 10:00:27 +0000 (10:00 +0000)]
* cse.c (cse_insn): Fix dumb thinko in last change.

From-SVN: r28466

24 years agoDelete questionable files
Jeff Law [Tue, 3 Aug 1999 09:40:46 +0000 (03:40 -0600)]
Delete questionable files

From-SVN: r28463

24 years agoWarning fix
Bernd Schmidt [Tue, 3 Aug 1999 09:38:51 +0000 (09:38 +0000)]
Warning fix

From-SVN: r28462

24 years agoDelete questionable files
Jeff Law [Tue, 3 Aug 1999 09:34:18 +0000 (03:34 -0600)]
Delete questionable files

From-SVN: r28460

This page took 0.091328 seconds and 5 git commands to generate.