Jim Wilson [Mon, 25 Aug 1997 00:26:31 +0000 (17:26 -0700)]
missed ChangeLog entry for last checkin
From-SVN: r14911
Jim Wilson [Mon, 25 Aug 1997 00:25:22 +0000 (00:25 +0000)]
Fix solaris2 (without GNU install installed) install failure.
* Makefile.in (install-info): Don't cd into srcdir. Add srcdir to
filenames. Use sed to extract base filename for install.
From-SVN: r14910
Jeffrey A Law [Sat, 23 Aug 1997 23:47:00 +0000 (23:47 +0000)]
call.c (strictly_better): Make arguments unsigned ints.
* call.c (strictly_better): Make arguments unsigned ints.
Fixes bug reported by Peter Seebach.
From-SVN: r14909
John F. Carr [Sat, 23 Aug 1997 23:25:05 +0000 (23:25 +0000)]
unroll.c (find_splittable_givs): Only share if two givs have the same add and multiply values.
* unroll.c (find_splittable_givs): Only share if two givs have the
same add and multiply values.
Fixes some testsuite failures on the x86.
From-SVN: r14908
Jim Wilson [Sat, 23 Aug 1997 21:41:33 +0000 (21:41 +0000)]
Fix typos in m68k configuration files.
* m68k/next.h (GO_IF_INDEXABLE_BASE): Fix typo in undef.
* m68k/m68kemb.h (LIB_SPEC): Add missing comment end before it.
From-SVN: r14902
Jeffrey A Law [Sat, 23 Aug 1997 06:19:56 +0000 (06:19 +0000)]
pa.c (pa_reorg): Always put begin_brtab and end_brtab insns around branch tables.
* pa.c (pa_reorg): Always put begin_brtab and end_brtab insns
around branch tables.
* pa.md (begin_brtab, end_brtab): Only emit the .begin_brtab
and .end_brtab directives if TARGET_GAS.
Should fix bootstrap problem with PA port when not using gas.
From-SVN: r14899
Jim Wilson [Sat, 23 Aug 1997 04:39:31 +0000 (04:39 +0000)]
Fix m68k-next-nextstep3 stage2 enquire compilation hang reported by Moene.
* alias.c (true_dependence): Pass x_addr not x to varies.
From-SVN: r14898
Jim Wilson [Fri, 22 Aug 1997 21:39:10 +0000 (21:39 +0000)]
Fix AIX build problem when IBM cc is used.
* acconfig.h (NEED_DECLARATION_CALLOC): Add.
* configure.in: Add GCC_NEED_DECLARATION call for calloc.
* rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete
declarations.
* config.in, configure: Regenerate.
From-SVN: r14896
Jeffrey A Law [Fri, 22 Aug 1997 14:54:27 +0000 (14:54 +0000)]
* Makefile.in (UOBJ): Include symlnk.
From-SVN: r14894
John F. Carr [Fri, 22 Aug 1997 06:39:29 +0000 (06:39 +0000)]
alias.c (find_base_value): Improve handling of PLUS, MINUS, and LO_SUM.
* alias.c (find_base_value): Improve handling of PLUS, MINUS, and
LO_SUM.
(record_set): Handle LO_SUM like PLUS.
(init_alias_analysis): When following chains of base addresses,
do not stop on reaching a hard register.
Updates from jfc.
From-SVN: r14888
Jeff Law [Fri, 22 Aug 1997 02:16:20 +0000 (20:16 -0600)]
Tweak.
From-SVN: r14886
Jason Merrill [Fri, 22 Aug 1997 01:52:56 +0000 (21:52 -0400)]
lex.c (real_yylex): Refer to __complex instead of complex.
* lex.c (real_yylex): Refer to __complex instead of complex.
-Wed Jul 16 15:57:42 1997 Benjamin Kosnik <bkoz@rhino.cygnus.com>
-
- * parse.y (empty_parms): Only use VOID_LIST_NODE for the PARMS if
- we're in a C++ struct/class, not if we're doing xtern "C"'.
-
and regenerate parse.c.
From-SVN: r14885
Jim Wilson [Fri, 22 Aug 1997 00:47:59 +0000 (00:47 +0000)]
Fix alpha OSF 1.x/2.x/3.x build problems.
* alpha.h (ARCH_ASM_FILE_START): Define.
(ASM_FILE_START): Use ARCH_ASM_FILE_START.
* osf12.h, osf2or3.h (ARCH_ASM_FILE_START): Redefine to null string.
From-SVN: r14884
Jason Merrill [Fri, 22 Aug 1997 00:30:16 +0000 (20:30 -0400)]
release notes
From-SVN: r14883
Jason Merrill [Thu, 21 Aug 1997 23:14:36 +0000 (19:14 -0400)]
ignored by import
From-SVN: r14882
Jason Merrill [Thu, 21 Aug 1997 22:57:35 +0000 (18:57 -0400)]
Initial revision
From-SVN: r14877
J"orn Rennecke [Thu, 21 Aug 1997 22:34:19 +0000 (22:34 +0000)]
lex.c (real_yylex): Don't use getc directly.
Thu Aug 21 22:25:46 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
* lex.c (real_yylex): Don't use getc directly.
From-SVN: r14876
Jeffrey A Law [Thu, 21 Aug 1997 20:46:15 +0000 (20:46 +0000)]
Bump version # for new snapshot.
From-SVN: r14874
Jim Wilson [Thu, 21 Aug 1997 20:17:25 +0000 (20:17 +0000)]
Eliminate circular dependence on f77-runtime that caused build failures.
* Make-lang.in (f77): Delete f77-runtime.
(f77.all.build, f77.all.cross, f77.rest.encap): Add f77-runtime.
From-SVN: r14873
Jeffrey A Law [Thu, 21 Aug 1997 16:23:22 +0000 (16:23 +0000)]
* Makefile.in (install-common): Put gcov comment at start of line.
From-SVN: r14871
Mumit Khan [Thu, 21 Aug 1997 05:20:15 +0000 (05:20 +0000)]
Makefile.in (UOBJ): Include mclock.
* Makefile.in (UOBJ): Include mclock.
From Mumit Khan.
From-SVN: r14870
Jeffrey A Law [Thu, 21 Aug 1997 04:48:46 +0000 (04:48 +0000)]
alias.c (init_alias_analysis): When simplifying the reg_base_value array, simplify entries for hard registers too.
* alias.c (init_alias_analysis): When simplifying the reg_base_value
array, simplify entries for hard registers too.
From jfc. Fixes c-torture failure on the PA.
From-SVN: r14869
Jason Merrill [Thu, 21 Aug 1997 00:50:39 +0000 (20:50 -0400)]
[multiple changes]
Wed Aug 20 17:25:08 1997 Jason Merrill <jason@yorick.cygnus.com>
* call.c (is_subseq): Don't try to be clever.
Wed Aug 20 03:13:36 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
* parse.y, pt.c: Include "except.h".
* call.c, class.c, class.h, cp-tree.h, cvt.c, decl.c, decl2.c,
error.c, except.c, expr.c, friend.c, g++spec.c, init.c, input.c,
lex.c, lex.h, method.c, parse.y, pt.c, repo.c, rtti.c, search.c,
sig.c, spew.c, tree.c, typeck.c, typeck2.c, xref.c: Finish
prototyping.
Wed Aug 20 01:34:40 1997 Jason Merrill <jason@yorick.cygnus.com>
* decl2.c (mark_vtable_entries): Instead of replacing pure
virtuals with a reference to __pure_virtual, copy the decl and
change the RTL.
From-SVN: r14868
Jim Wilson [Wed, 20 Aug 1997 23:39:40 +0000 (23:39 +0000)]
Fix irix6 `make install' problem.
* intdoc.texi: Readd generated file.
From-SVN: r14867
Jim Wilson [Wed, 20 Aug 1997 23:17:46 +0000 (16:17 -0700)]
Change gcc3 to egcs.
From-SVN: r14866
Jim Wilson [Wed, 20 Aug 1997 22:14:18 +0000 (15:14 -0700)]
Change gcc3 reference to egcs.
From-SVN: r14865
Jim Wilson [Wed, 20 Aug 1997 21:53:38 +0000 (14:53 -0700)]
Expunge reference to gcc3.
From-SVN: r14864
Dave Love [Wed, 20 Aug 1997 19:37:49 +0000 (19:37 +0000)]
Patch from Dave Love.
* dwarf2.h (enum dwarf_call_frame_info): Remove trailing comma from
list.
From-SVN: r14862
Jim Wilson [Wed, 20 Aug 1997 19:30:36 +0000 (12:30 -0700)]
stmt.c (start_cleanup_deferal, [...]): Test block_stack before dereferencing it.
* stmt.c (start_cleanup_deferal, end_cleanup_deferal): Test
block_stack before dereferencing it.
From-SVN: r14861
Michael Meissner [Wed, 20 Aug 1997 19:08:56 +0000 (19:08 +0000)]
Work with haifa renaming get_issue_rate -> ISSUE_RATE
From-SVN: r14858
Jason Merrill [Wed, 20 Aug 1997 01:07:33 +0000 (01:07 +0000)]
pt.c (lookup_nested_type_by_name): Handle typedef wierdness.
* pt.c (lookup_nested_type_by_name): Handle typedef wierdness.
* typeck2.c (my_friendly_abort): Report bugs to egcs-bugs@cygnus.com.
From-SVN: r14857
Jason Merrill [Wed, 20 Aug 1997 00:12:54 +0000 (00:12 +0000)]
* cplus-dem.c: Add 'extern' to prepends_underscore.
From-SVN: r14856
Jason Merrill [Tue, 19 Aug 1997 23:31:19 +0000 (23:31 +0000)]
pt.c (instantiate_class_template): Call repo_template_used before finish_prevtable_vardecl.
* pt.c (instantiate_class_template): Call repo_template_used
before finish_prevtable_vardecl.
* call.c: fix typo.
* ChangeLog: Remove everything from 2.7.2 back.
From-SVN: r14854
Jason Merrill [Tue, 19 Aug 1997 22:49:24 +0000 (22:49 +0000)]
merge
From-SVN: r14853
Jason Merrill [Tue, 19 Aug 1997 22:37:19 +0000 (18:37 -0400)]
merge
From-SVN: r14852
Jeffrey A Law [Tue, 19 Aug 1997 21:22:04 +0000 (21:22 +0000)]
haifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate.
* haifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate.
(get_issue_rate): Delete.
* pa.h (ISSUE_RATE): Define.
From-SVN: r14851
Jeffrey A Law [Tue, 19 Aug 1997 21:09:22 +0000 (21:09 +0000)]
configure.in: Turn on haifa by default for the PA.
* configure.in: Turn on haifa by default for the PA.
* configure: Rebuilt.
* pa.c (override_options): Accept -mschedule=7200 option.
(pa_adjust_cost): No longer need to scale costs for newer
processors.
* pa.h (enum processor_type): Add PROCESSOR_7200.
* pa.md: Revamp scheduling parameters to work better with
haifa. Add scheduling parameters for the 7200.
From-SVN: r14850
Jeffrey A Law [Tue, 19 Aug 1997 18:02:21 +0000 (18:02 +0000)]
haifa-sched.c (move_insn): Reemit notes for SCHED_GROUP_P insns too.
* haifa-sched.c (move_insn): Reemit notes for SCHED_GROUP_P
insns too.
(schedule_block): When adjusting basic_block_{head,end}, account
for movement of SCHED_GROUP_P insns too.
* haifa-sched.c (debug_dependencies): Fix thinko.
From-SVN: r14849
Jeff Law [Tue, 19 Aug 1997 16:15:54 +0000 (10:15 -0600)]
haifa-sched.c: Make lots of variable static.
* haifa-sched.c: Make lots of variable static.
Just cleaning stuff up.
From-SVN: r14848
Jim Wilson [Tue, 19 Aug 1997 16:04:22 +0000 (16:04 +0000)]
reload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR reloads to...
* reload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR
reloads to RELOAD_FOR_OPERAND_ADDRESS reloads.
* reload1.c: Undo bugfix from Aug 11.
Back out "simple" patch for PA reload bug and install the one accepted
by the FSF.
From-SVN: r14847
H.J. Lu [Tue, 19 Aug 1997 15:51:10 +0000 (15:51 +0000)]
expr.h, real.h: Finish prototyping.
* expr.h, real.h: Finish prototyping.
Some of hj's prototyping stuff after minor formatting fixes.
From-SVN: r14846
Jeffrey A Law [Tue, 19 Aug 1997 15:36:20 +0000 (15:36 +0000)]
Makefile.in (EXPECT, [...]): Define.
* Makefile.in (EXPECT, RUNTEST, RUNTESTFLAGS): Define.
(site.exp, check, check-g++, check-gcc): New targets.
For dejagnu.
From-SVN: r14845
Jeff Law [Tue, 19 Aug 1997 07:34:40 +0000 (01:34 -0600)]
Initial revision
From-SVN: r14840
Jeff Law [Tue, 19 Aug 1997 03:42:44 +0000 (21:42 -0600)]
Take out __EGCS__ and __EGCS_MINOR__.
From-SVN: r14839
Mike Meissner [Mon, 18 Aug 1997 22:03:38 +0000 (22:03 +0000)]
Fix --with-cpu=xxx
From-SVN: r14837
Jim Wilson [Mon, 18 Aug 1997 20:51:37 +0000 (20:51 +0000)]
* Makefile.in (stmp-multilib-sub): Fix typo in last change.
From-SVN: r14834
Jeff Law [Mon, 18 Aug 1997 17:13:00 +0000 (11:13 -0600)]
Initial revision
From-SVN: r14831
Jeffrey A Law [Mon, 18 Aug 1997 15:01:55 +0000 (15:01 +0000)]
Makefile.in (F77_SRCS): Re-alphabetize.
* Makefile.in (F77_SRCS): Re-alphabetize.
* Make-lang.in (F77_OBJS): Likewise.
Minor nit from Craig Burley.
From-SVN: r14829
Jeff Law [Mon, 18 Aug 1997 02:08:55 +0000 (20:08 -0600)]
Another haifa typo.
From-SVN: r14828
Jeff Law [Mon, 18 Aug 1997 02:06:48 +0000 (20:06 -0600)]
Fix typos in last haifa change.
From-SVN: r14827
Jeff Law [Mon, 18 Aug 1997 00:21:05 +0000 (18:21 -0600)]
Remove another reference to expected object file comparison failures.
From-SVN: r14826
Manfred Hollstein [Sun, 17 Aug 1997 23:48:47 +0000 (23:48 +0000)]
Makefile.in (sub-makes): Pass the current value of LANGUAGES down to sub-makes to avoid building more...
* Makefile.in (sub-makes): Pass the current value of LANGUAGES down
to sub-makes to avoid building more passes than the user might have
requested on the command line.
From Manfred Hollstein.
From-SVN: r14825
Jeffrey A Law [Sun, 17 Aug 1997 23:33:04 +0000 (23:33 +0000)]
INSTALL: Rebuilt.
* INSTALL: Rebuilt.
* install.texi: Remove "Object File Differences" section. Remove
all references to zzz.o failing comparison tests.
* version.c, version.h: Renamed from zzz.c and zzz.h. Remove
date and time stamps so a 3 stage build reports no differences.
* Make-lang.in: Corresponding changes.
* Makefile.in: Likewise.
* g77.c, parse.c: Likewise.
So 3-stage build compares OK. Rename zzz.[ch] files to version.[ch].
From-SVN: r14824
Dave Love [Sun, 17 Aug 1997 21:41:59 +0000 (21:41 +0000)]
configure.in: Expurgate `broken_install' (install is autoconfed).
* configure.in: Expurgate `broken_install' (install is
autoconfed).
* configure.lang: Substitute autoconfed ${INSTALL} (not currently
relevant).
From Dave love.
From-SVN: r14823
Jeffrey A Law [Sun, 17 Aug 1997 21:15:15 +0000 (21:15 +0000)]
gcc.c (default_compilers): Add __EGCS__ and __EGCS_MINOR__ predefines.
* gcc.c (default_compilers): Add __EGCS__ and __EGCS_MINOR__
predefines.
From-SVN: r14822
Jeff Law [Sun, 17 Aug 1997 14:35:06 +0000 (08:35 -0600)]
Opps.
From-SVN: r14820
Jeff Law [Sun, 17 Aug 1997 14:34:23 +0000 (08:34 -0600)]
* intdoc.texi: Remove generated file from distribution.
From-SVN: r14819
Jeffrey A Law [Sat, 16 Aug 1997 07:09:42 +0000 (07:09 +0000)]
loop.c (is_power_of_2, [...]): Delete unused functions and declarations.
* loop.c (is_power_of_2, is_conditional_branch): Delete unused
functions and declarations.
(analyze_loop_iterations): Use condjump_p.
(insert_bct): Likewise. Use exact_log2.
Just cleanup up some haifa code.
From-SVN: r14818
Jeffrey A Law [Sat, 16 Aug 1997 05:49:38 +0000 (05:49 +0000)]
haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.
* haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.
(schedule_region): Likewise.
(schedule_insns): Likewise.
To avoid leaking memory.
* PROJECTS: Update with Haifa stuff.
From-SVN: r14817
Jeffrey A Law [Fri, 15 Aug 1997 20:50:04 +0000 (20:50 +0000)]
loop.c (is_conditional_branch): Make definition match declaration.
* loop.c (is_conditional_branch): Make definition match declaration.
Found by the sunos compiler
From-SVN: r14815
Jeffrey A Law [Fri, 15 Aug 1997 20:38:11 +0000 (20:38 +0000)]
Tweak again.
From-SVN: r14814
Jeffrey A Law [Fri, 15 Aug 1997 20:26:03 +0000 (20:26 +0000)]
Make version # egcs-3.0.0 since we need to make sure the version#s
in the built-in defines are > 2.7.
From-SVN: r14813
Jeffrey A Law [Fri, 15 Aug 1997 19:45:17 +0000 (19:45 +0000)]
Makefile.in, [...]: Remove "^L" at the beginning of lines.
* Makefile.in, Make-lang.in: Remove "^L" at the beginning
of lines.
Some makes don't like them.
From-SVN: r14812
Jeffrey A Law [Fri, 15 Aug 1997 18:50:36 +0000 (18:50 +0000)]
version.c: Change the version string to look like...
* version.c: Change the version string to look like:
egcs-1.0.0 970814 (gcc2-970802 experimental).
* gcc.c: Take out experimental snapshot warning message.
From-SVN: r14811
Michael Meissner [Fri, 15 Aug 1997 17:48:56 +0000 (17:48 +0000)]
Use rtl macros for names of NOTEs.
From-SVN: r14810
Jeff Law [Fri, 15 Aug 1997 05:40:31 +0000 (23:40 -0600)]
Opps. Forgot to commit this.
From-SVN: r14803
Jeff Law [Fri, 15 Aug 1997 05:32:53 +0000 (23:32 -0600)]
c-lex.c (check_newline): Pass finput again to HANDLE_PRAGMA.
* c-lex.c (check_newline): Pass finput again to HANDLE_PRAGMA.
Bring over from the FSF.
From-SVN: r14802
Jeff Law [Fri, 15 Aug 1997 05:29:33 +0000 (23:29 -0600)]
toplev.c (main): In -g handling code, add code to set len.
* toplev.c (main): In -g handling code, add code to set len.
* alpha.md (extendqihi2): Use HImode not QImode in force_reg call.
Brought over from gcc2.
From-SVN: r14801
Jeff Law [Fri, 15 Aug 1997 05:17:24 +0000 (23:17 -0600)]
Basically a duplicate of COPYING.
From-SVN: r14800
Jeff Law [Fri, 15 Aug 1997 05:15:07 +0000 (23:15 -0600)]
Remove old (pre gcc-2.7.2) ChangeLog files.
Remove pre-built into files.
From-SVN: r14799
Jeff Law [Wed, 13 Aug 1997 16:10:39 +0000 (10:10 -0600)]
New file with pointers to compiler relates web sites.
From-SVN: r14784
Doug Evans [Wed, 13 Aug 1997 08:04:44 +0000 (08:04 +0000)]
configure.in (haifa configury): Fix typo.
* configure.in (haifa configury): Fix typo.
* configure: Regenerate.
From-SVN: r14783
Jeffrey A Law [Tue, 12 Aug 1997 17:13:25 +0000 (17:13 +0000)]
version.c: Bump version to "gcc-3.0.0 970802 experimental".
* version.c: Bump version to "gcc-3.0.0 970802 experimental".
* gcc.info*: Rebuilt.
* COPYING.g77, README.g77: New files.
* real.c (ereal_unto_float, ereal_unto_double): New functions.
* real.h (ereal_unto_float, ereal_unto_double): Declare them.
(REAL_VALUE_UNTO_TARGET_DOUBLE, REAL_VALUE_UNTO_TARGET_SINGLE): Define.
Get g77 to work with gcc3.
From-SVN: r14776
Jeffrey A Law [Tue, 12 Aug 1997 17:12:21 +0000 (17:12 +0000)]
g77.info*: Rebuilt.
* g77.info*: Rebuilt.
* config-lang.in: Don't demand the backend patch.
* com.c (lang_printable_name): Second argument is now an int. Don't
store into the value of the second argument.
* top.c (ffe_decode_option): Temporarily disable setting
of "Toon" loop options until we figure out how to address
them.
Make g77 work with gcc3.
From-SVN: r14775
Jeff Law [Tue, 12 Aug 1997 07:47:32 +0000 (01:47 -0600)]
Initial revision
From-SVN: r14772
Jeff Law [Tue, 12 Aug 1997 04:12:04 +0000 (22:12 -0600)]
Remove gratuitous changes from the alias analysis patches.
From-SVN: r14771
Jeffrey A Law [Tue, 12 Aug 1997 04:07:19 +0000 (04:07 +0000)]
* Integrate Haifa instruction scheduler.
* Integrate regmove pass.
See ChangeLog for deatils.
From-SVN: r14770
Jeffrey A Law [Mon, 11 Aug 1997 20:23:53 +0000 (20:23 +0000)]
* Integrate tlink patch from jason@cygnus.com
* gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'.
(process_command): Increment n_switches for them. Don't discard
their args. Validate them.
(main): Escape " marks when creating COLLECT_GCC_OPTIONS.
From Rohan Lenard.
(process_command): Set include_prefixes from COMPILER_PATH.
(main): Set COLLECT_GCC_OPTIONS sooner.
* confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld.
* tlink.c, hash.c, hash.h: New files.
* Makefile.in (USE_COLLECT2): Always use collect2.
(collect2): Depend on and link in hash.o and tlink.o.
(tlink.o, hash.o): Add dependencies.
tlink patches from Jason.
From-SVN: r14769
Jeffrey A Law [Mon, 11 Aug 1997 20:07:24 +0000 (20:07 +0000)]
* Integrate alias analysis changes from jfc@mit.edu
* Makefile.in (OBJS): Add alias.o
(alias.o): Add dependencies.
* alias.c: New file.
* sched.c: Remove alias analysis code. It lives in alias.c now.
(reg_last_uses_size): Declare.
(sched_analyze_2): Add new arguments to true_dependence.
(sched_analyze_insn): Use reg_last_uses_size instead of max_reg.
(schedule_block): Initialize reg_last_uses_size.
(schedule_insns): Always call init_alias_analysis.
* calls.c (expand_call): Note calls to malloc, calloc, and realloc;
mark return value from such functions as a pointer and keep track of
them for alias analysis. If a return value from a function is a
pointer, mark it as such.
* combine.c (distribute_notes): Handle REG_NOALIAS.
* cse.c (struct write_data): Delete. No longer needed.
(invalidate): Don't call set_nonvarying_address_components anymore.
Use true_dependence to decide if an entry should be removed from
the hash table.
(invalidate_memory): Remove WRITES argument, simplify appropriately.
Fix all callers.
(note_mem_written): Similarly for WRITE_PTR argument.
(invalidate_from_clobbers): Similarly for W argument.
(invalidate_for_call): Remove memory elements from the hash table.
(refers_to_mem_p, cse_rtx_addr_varies_p): Deleted.
(cse_rtx_varies_p): New function. Derived from old
cse_rtx_addr_varies_p.
(cse_insn): Remove WRITES_MEMORY and INIT variables and all references.
Don't call note_mem_written anymore. Stack pushes invalidate the stack
pointer if PUSH_ROUNDING is defined. No longer need to call
cse_rtx_addr_varies_p to decide if a MEM should be invalidated.
(skipped_writes_memory): Remove variable.
(invalidate_skipped_set): Simplify and wewrite to use invalidate_memory.
(invalidate_skipped_block): Simplify for new alias analysis code.
(cse_set_around_loop): Likewise.
(cse_main): Call init_alias_analysis.
* flags.h (flag_alias_check, flag_argument_noalias): Declare.
* toplev.c (flag_alias_check, flag_argument_noalias): Define.
(f_options): Add new alias checking arguments.
(main): Set flag_alias_check when optimizing.
* local_alloc (validate_equiv_mem_from_store): Add new arguments
to true_dependence.
(memref_referenced_p): Likewise.
* loop.c (NUM_STORES): Increase to 30.
(prescan_loop): Only non-constant calls set unknown_address_altered.
(invariant_p): Add new arguments to true_dependence.
(record_giv): Initialize unrolled and shared fields.
(emit_iv_add_mult): Call record_base_value as needed.
* loop.h (struct induction): Add unrolled and shared fields.
* unroll.c (unroll_loop): Call record_base_value as needed.
(copy_loop_body): Likewise.
(final_biv_value): Likewise.
(final_giv_value): Likewise.
(find_splittable_regs): Likewise. Only create one new pseudo
if we have multiple address GIVs that were combined with the same
dst_reg GIV. Note when a new register is created due to unrolling.
* rtl.c (reg_note_name): Add REG_NOALIAS.
* rtl.h (enum reg_note): Similarly.
(rtx_varies_p, may_trap_p, side_effects_p): Declare.
(volatile_refs_p, volatile_insn_p, remove_note): Likewise.
(note_stores, refers_to_regno_p, reg_overlap_mentioned_p): Likewise.
(true_dependence, read_dependence, anti_dependence): Likewise.
(output_dependence, init_alias_analysis, end_alias_analysis): Likewise.
(mark_user_reg, mark_reg_pointer): Likewise.
jfc's alias analysis code.
From-SVN: r14768
Jeff Law [Mon, 11 Aug 1997 19:31:10 +0000 (13:31 -0600)]
* Integrate reload bugfix from Wilson which enables the PA port
to bootstrap again.
* reload1.c (reload): Sum needs for both OPADDR_ADDR and and
OPERAND_ADDRESS when computing how many registers an insn needs.
(reload_reg_free_p): OPADDR_ADDR and OPERAND_ADDRESS reloads do
conflict.
(reload_reg_free_before_p): Treat OPERAND_ADDRESS reloads just like
OPADDR_ADDR reload.
(reload_reg_reaches_end_p): For RELOAD_FOR_OPADDR_ADDR insns, registers
in reload_reg_use_in_op_addr do not reach the end.
do not reach the end.
(reloads_conflict): RELOAD_FOR_OPADDR_ADDR conflicts with
RELOAD_FOR_OPERAND_ADDRESS.
Start a new ChangeLog for gcc3.
From-SVN: r14767
Jeff Law [Mon, 11 Aug 1997 15:56:58 +0000 (09:56 -0600)]
Initial revision
From-SVN: r14764
Jeff Law [Thu, 7 Aug 1997 16:29:49 +0000 (10:29 -0600)]
Initial revision
From-SVN: r14727
Jeff Law [Wed, 6 Aug 1997 19:57:47 +0000 (13:57 -0600)]
Initial revision
From-SVN: r14676
Jeff Law [Tue, 5 Aug 1997 16:26:36 +0000 (10:26 -0600)]
Initial revision
From-SVN: r14671
Richard Kenner [Sat, 2 Aug 1997 23:22:18 +0000 (19:22 -0400)]
(store_one_arg): Allow stack_slot to be SP in ARGS_GROW_DOWNWARD case.
From-SVN: r14639
Richard Kenner [Sat, 2 Aug 1997 23:06:27 +0000 (19:06 -0400)]
parmlist_tags_warning): Only suppress warning on union if anonymous.
From-SVN: r14638
Richard Kenner [Sat, 2 Aug 1997 22:50:39 +0000 (18:50 -0400)]
(int_fits_type_p): Negative ints never fit unsigned types, and
unsigned ints with top-bit-set never fit signed types.
From-SVN: r14637
Richard Kenner [Sat, 2 Aug 1997 22:27:33 +0000 (18:27 -0400)]
(_trampoline): Rework last change; both getpagesize and mprotect are
in cygwin32.
From-SVN: r14636
Richard Kenner [Sat, 2 Aug 1997 21:46:08 +0000 (17:46 -0400)]
(reload): Add IN_ADDR to IN_ADDR_ADDR when computing needs since they conflict.
From-SVN: r14635
Richard Kenner [Sat, 2 Aug 1997 21:29:22 +0000 (17:29 -0400)]
(debug_reload): Rework to make output more compact.
From-SVN: r14634
Richard Kenner [Sat, 2 Aug 1997 21:29:08 +0000 (17:29 -0400)]
(indent): Move to file level; was static in print_rtx.
(print_inline_rtx): New function.
From-SVN: r14633
Per Bothner [Sat, 2 Aug 1997 21:06:25 +0000 (14:06 -0700)]
* objc/Make-lang.in (OBJC_CCOMMON): Removed.
From-SVN: r14632
Per Bothner [Sat, 2 Aug 1997 20:59:17 +0000 (13:59 -0700)]
Makefile.in (EXTRA_C_OBJS): Removed.
* Makefile.in (EXTRA_C_OBJS): Removed.
(C_AND_OBJC_OBJS): New. Subsumes EXTRA_C_OBJS and OBJC_CCOMMON.
From-SVN: r14631
Doug Evans [Sat, 2 Aug 1997 20:10:47 +0000 (20:10 +0000)]
configure.in: Build .gdbinit for top level build dir here.
* configure.in: Build .gdbinit for top level build dir here.
(AC_OUTPUT): Pass oldstyle_subdirs to configure.lang.
From-SVN: r14630
Doug Evans [Sat, 2 Aug 1997 20:10:15 +0000 (20:10 +0000)]
* configure.lang: Fix building of .gdbinit for oldstyle lang subdirs.
From-SVN: r14629
Richard Kenner [Sat, 2 Aug 1997 18:34:12 +0000 (14:34 -0400)]
(gen_compile_unit_die): Add support for Pascal.
From-SVN: r14628
Richard Kenner [Sat, 2 Aug 1997 18:33:42 +0000 (14:33 -0400)]
(output_compile_unit_die): Add support for Pascal.
From-SVN: r14627
Richard Kenner [Sat, 2 Aug 1997 18:15:29 +0000 (14:15 -0400)]
(lvalue_p, case BIND_EXPR, RTL_EXPR): Return 1 if array.
From-SVN: r14626
Richard Kenner [Sat, 2 Aug 1997 17:48:13 +0000 (13:48 -0400)]
(cse_insn): Ignore paradoxical SUBREGs unless we are looking for such.
From-SVN: r14625
Richard Kenner [Sat, 2 Aug 1997 17:25:31 +0000 (13:25 -0400)]
(sparc_builtin_saveregs): If -fcheck-memory-usage, set rights of saved
registers.
From-SVN: r14624