jason [Thu, 21 Aug 1997 22:57:35 +0000 (22:57 +0000)]
Initial revision
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14877
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 21 Aug 1997 22:34:19 +0000 (22:34 +0000)]
Thu Aug 21 22:25:46 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
* lex.c (real_yylex): Don't use getc directly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14876
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 21 Aug 1997 20:46:15 +0000 (20:46 +0000)]
Bump version # for new snapshot.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14874
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14873
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 21 Aug 1997 16:23:22 +0000 (16:23 +0000)]
* Makefile.in (install-common): Put gcov comment at start of line.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14871
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 21 Aug 1997 05:20:15 +0000 (05:20 +0000)]
* Makefile.in (UOBJ): Include mclock.
From Mumit Khan.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14870
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
From jfc. Fixes c-torture failure on the PA.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14869
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 21 Aug 1997 00:50:39 +0000 (00:50 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14868
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 20 Aug 1997 23:39:40 +0000 (23:39 +0000)]
Fix irix6 `make install' problem.
* intdoc.texi: Readd generated file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14867
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 20 Aug 1997 23:17:46 +0000 (23:17 +0000)]
Change gcc3 to egcs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14866
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 20 Aug 1997 22:14:18 +0000 (22:14 +0000)]
Change gcc3 reference to egcs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14865
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 20 Aug 1997 21:53:38 +0000 (21:53 +0000)]
Expunge reference to gcc3.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14864
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14862
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 20 Aug 1997 19:30:36 +0000 (19:30 +0000)]
* stmt.c (start_cleanup_deferal, end_cleanup_deferal): Test
block_stack before dereferencing it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14861
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Wed, 20 Aug 1997 19:08:56 +0000 (19:08 +0000)]
Work with haifa renaming get_issue_rate -> ISSUE_RATE
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14858
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 20 Aug 1997 01:07:33 +0000 (01:07 +0000)]
* pt.c (lookup_nested_type_by_name): Handle typedef wierdness.
* typeck2.c (my_friendly_abort): Report bugs to egcs-bugs@cygnus.com.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14857
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 20 Aug 1997 00:12:54 +0000 (00:12 +0000)]
* cplus-dem.c: Add 'extern' to prepends_underscore.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14856
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 19 Aug 1997 23:31:19 +0000 (23:31 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14854
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 19 Aug 1997 22:49:24 +0000 (22:49 +0000)]
merge
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14853
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 19 Aug 1997 22:37:19 +0000 (22:37 +0000)]
merge
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14852
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 19 Aug 1997 21:22:04 +0000 (21:22 +0000)]
* haifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate.
(get_issue_rate): Delete.
* pa.h (ISSUE_RATE): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14851
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 19 Aug 1997 21:09:22 +0000 (21:09 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14850
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
(schedule_block): When adjusting basic_block_{head,end}, account
for movement of SCHED_GROUP_P insns too.
* haifa-sched.c (debug_dependencies): Fix thinko.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14849
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 19 Aug 1997 16:15:54 +0000 (16:15 +0000)]
* haifa-sched.c: Make lots of variable static.
Just cleaning stuff up.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14848
138bc75d-0d04-0410-961f-
82ee72b054a4
law [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_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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14847
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 19 Aug 1997 15:51:10 +0000 (15:51 +0000)]
* expr.h, real.h: Finish prototyping.
Some of hj's prototyping stuff after minor formatting fixes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14846
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 19 Aug 1997 15:36:20 +0000 (15:36 +0000)]
* Makefile.in (EXPECT, RUNTEST, RUNTESTFLAGS): Define.
(site.exp, check, check-g++, check-gcc): New targets.
For dejagnu.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14845
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 19 Aug 1997 07:34:40 +0000 (07:34 +0000)]
Initial revision
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14840
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 19 Aug 1997 03:42:44 +0000 (03:42 +0000)]
Take out __EGCS__ and __EGCS_MINOR__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14839
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Mon, 18 Aug 1997 22:03:38 +0000 (22:03 +0000)]
Fix --with-cpu=xxx
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14837
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 18 Aug 1997 20:51:37 +0000 (20:51 +0000)]
* Makefile.in (stmp-multilib-sub): Fix typo in last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14834
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 18 Aug 1997 17:13:00 +0000 (17:13 +0000)]
Initial revision
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14831
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 18 Aug 1997 15:01:55 +0000 (15:01 +0000)]
* Makefile.in (F77_SRCS): Re-alphabetize.
* Make-lang.in (F77_OBJS): Likewise.
Minor nit from Craig Burley.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14829
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 18 Aug 1997 02:08:55 +0000 (02:08 +0000)]
Another haifa typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14828
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 18 Aug 1997 02:06:48 +0000 (02:06 +0000)]
Fix typos in last haifa change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14827
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 18 Aug 1997 00:21:05 +0000 (00:21 +0000)]
Remove another reference to expected object file comparison failures.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14826
138bc75d-0d04-0410-961f-
82ee72b054a4
law [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 passes than the user might have
requested on the command line.
From Manfred Hollstein.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14825
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 17 Aug 1997 23:33:04 +0000 (23:33 +0000)]
* 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].
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14824
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 17 Aug 1997 21:41:59 +0000 (21:41 +0000)]
* configure.in: Expurgate `broken_install' (install is
autoconfed).
* configure.lang: Substitute autoconfed ${INSTALL} (not currently
relevant).
From Dave love.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14823
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 17 Aug 1997 21:15:15 +0000 (21:15 +0000)]
* gcc.c (default_compilers): Add __EGCS__ and __EGCS_MINOR__
predefines.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14822
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 17 Aug 1997 14:35:06 +0000 (14:35 +0000)]
Opps.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14820
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 17 Aug 1997 14:34:23 +0000 (14:34 +0000)]
* intdoc.texi: Remove generated file from distribution.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14819
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 16 Aug 1997 07:09:42 +0000 (07:09 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14818
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
(schedule_region): Likewise.
(schedule_insns): Likewise.
To avoid leaking memory.
* PROJECTS: Update with Haifa stuff.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14817
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 15 Aug 1997 20:50:04 +0000 (20:50 +0000)]
* loop.c (is_conditional_branch): Make definition match declaration.
Found by the sunos compiler
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14815
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 15 Aug 1997 20:38:11 +0000 (20:38 +0000)]
Tweak again.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14814
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14813
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 15 Aug 1997 19:45:17 +0000 (19:45 +0000)]
* Makefile.in, Make-lang.in: Remove "^L" at the beginning
of lines.
Some makes don't like them.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14812
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 15 Aug 1997 18:50:36 +0000 (18:50 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14811
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Fri, 15 Aug 1997 17:48:56 +0000 (17:48 +0000)]
Use rtl macros for names of NOTEs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14810
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 15 Aug 1997 05:40:31 +0000 (05:40 +0000)]
Opps. Forgot to commit this.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14803
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 15 Aug 1997 05:32:53 +0000 (05:32 +0000)]
* c-lex.c (check_newline): Pass finput again to HANDLE_PRAGMA.
Bring over from the FSF.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14802
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 15 Aug 1997 05:29:33 +0000 (05:29 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14801
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 15 Aug 1997 05:17:24 +0000 (05:17 +0000)]
Basically a duplicate of COPYING.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14800
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 15 Aug 1997 05:15:07 +0000 (05:15 +0000)]
Remove old (pre gcc-2.7.2) ChangeLog files.
Remove pre-built into files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14799
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 13 Aug 1997 16:10:39 +0000 (16:10 +0000)]
New file with pointers to compiler relates web sites.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14784
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Wed, 13 Aug 1997 08:04:44 +0000 (08:04 +0000)]
* configure.in (haifa configury): Fix typo.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14783
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 12 Aug 1997 17:13:25 +0000 (17:13 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14776
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 12 Aug 1997 17:12:21 +0000 (17:12 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14775
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 12 Aug 1997 07:47:32 +0000 (07:47 +0000)]
Initial revision
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14772
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 12 Aug 1997 04:12:04 +0000 (04:12 +0000)]
Remove gratuitous changes from the alias analysis patches.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14771
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 12 Aug 1997 04:07:19 +0000 (04:07 +0000)]
* Integrate Haifa instruction scheduler.
* Integrate regmove pass.
See ChangeLog for deatils.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14770
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14769
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14768
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 11 Aug 1997 19:31:10 +0000 (19:31 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14767
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 11 Aug 1997 15:56:58 +0000 (15:56 +0000)]
Initial revision
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14764
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 7 Aug 1997 16:29:49 +0000 (16:29 +0000)]
Initial revision
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14727
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 6 Aug 1997 19:57:47 +0000 (19:57 +0000)]
Initial revision
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14676
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 5 Aug 1997 16:26:36 +0000 (16:26 +0000)]
Initial revision
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14671
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 2 Aug 1997 23:22:18 +0000 (23:22 +0000)]
(store_one_arg): Allow stack_slot to be SP in ARGS_GROW_DOWNWARD case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14639
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 2 Aug 1997 23:06:27 +0000 (23:06 +0000)]
parmlist_tags_warning): Only suppress warning on union if anonymous.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14638
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 2 Aug 1997 22:50:39 +0000 (22:50 +0000)]
(int_fits_type_p): Negative ints never fit unsigned types, and
unsigned ints with top-bit-set never fit signed types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14637
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 2 Aug 1997 22:27:33 +0000 (22:27 +0000)]
(_trampoline): Rework last change; both getpagesize and mprotect are
in cygwin32.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14636
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 2 Aug 1997 21:46:08 +0000 (21:46 +0000)]
(reload): Add IN_ADDR to IN_ADDR_ADDR when computing needs since they conflict.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14635
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 2 Aug 1997 21:29:22 +0000 (21:29 +0000)]
(debug_reload): Rework to make output more compact.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14634
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 2 Aug 1997 21:29:08 +0000 (21:29 +0000)]
(indent): Move to file level; was static in print_rtx.
(print_inline_rtx): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14633
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Sat, 2 Aug 1997 21:06:25 +0000 (21:06 +0000)]
* objc/Make-lang.in (OBJC_CCOMMON): Removed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14632
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Sat, 2 Aug 1997 20:59:17 +0000 (20:59 +0000)]
* Makefile.in (EXTRA_C_OBJS): Removed.
(C_AND_OBJC_OBJS): New. Subsumes EXTRA_C_OBJS and OBJC_CCOMMON.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14631
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sat, 2 Aug 1997 20:10:47 +0000 (20:10 +0000)]
* configure.in: Build .gdbinit for top level build dir here.
(AC_OUTPUT): Pass oldstyle_subdirs to configure.lang.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14630
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sat, 2 Aug 1997 20:10:15 +0000 (20:10 +0000)]
* configure.lang: Fix building of .gdbinit for oldstyle lang subdirs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14629
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 2 Aug 1997 18:34:12 +0000 (18:34 +0000)]
(gen_compile_unit_die): Add support for Pascal.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14628
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 2 Aug 1997 18:33:42 +0000 (18:33 +0000)]
(output_compile_unit_die): Add support for Pascal.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14627
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 2 Aug 1997 18:15:29 +0000 (18:15 +0000)]
(lvalue_p, case BIND_EXPR, RTL_EXPR): Return 1 if array.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14626
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 2 Aug 1997 17:48:13 +0000 (17:48 +0000)]
(cse_insn): Ignore paradoxical SUBREGs unless we are looking for such.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14625
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 2 Aug 1997 17:25:31 +0000 (17:25 +0000)]
(sparc_builtin_saveregs): If -fcheck-memory-usage, set rights of saved
registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14624
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 2 Aug 1997 17:24:48 +0000 (17:24 +0000)]
(hppa_builtin_saveregs): f -fcheck-memory-usage, set rights of saved
registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14623
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 2 Aug 1997 17:23:45 +0000 (17:23 +0000)]
(m88k_builtin_saveregs): If -fcheck-memory-usage, set rights of saved
registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14622
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 2 Aug 1997 17:22:50 +0000 (17:22 +0000)]
(clipper_builtin_saveregs): If -fcheck-memory-usage, set rights of
saved registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14621
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 2 Aug 1997 17:22:01 +0000 (17:22 +0000)]
(alpha_builtin_saveregs): If -fcheck-memory-usage, set rights of saved
registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14620
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 2 Aug 1997 17:21:32 +0000 (17:21 +0000)]
(make_function_rtl, make_decl_rtl): Add a prefix when
flag_prefix_function_name_usage is set.
(assemble_name): Strip the CHKR_PREFIX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14619
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 2 Aug 1997 17:20:58 +0000 (17:20 +0000)]
(built_in_function): Add BUILT_IN_AGGREGATE_INCOMING_ADDRESS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14618
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 2 Aug 1997 17:20:21 +0000 (17:20 +0000)]
(flag_check_memory_usage, flag_prefix_function_name): New variable.
(f_options): Add `check-memory-usage' and `prefix_function_name'.
(main): Disable `-fomit-frame-pointer' if `-fcheck-memory-usage' is set
and the machine can't debug without the frame pointer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14617
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 2 Aug 1997 17:19:38 +0000 (17:19 +0000)]
(expand_computed_goto): If -fcheck-memory-usage, check that computed address
of a goto is executable.
(expand_asm, expand_asm_operands): If -fcheck-memory-usage, disallow
asm statments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14616
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 2 Aug 1997 17:18:49 +0000 (17:18 +0000)]
(chkr_{check_addr,set_right}_libfunc): New definitions.
(chkr_{copy_bitmap,check_exec}_libfunc): Likewise.
(init_optabs): Initialize these chkr_*_libfunc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14615
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 2 Aug 1997 17:18:18 +0000 (17:18 +0000)]
(put_var_into_stack, assign_parms): If -fcheck-memory-usage, set the
rights of pushed variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14614
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 2 Aug 1997 17:17:58 +0000 (17:17 +0000)]
(flag_check_memory_usage, flag_prefix_function_name): New declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14613
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 2 Aug 1997 17:17:40 +0000 (17:17 +0000)]
Add expand_modifier flags.
(chkr_*_libfunc): New decls.
(memory_use_mode): New declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14612
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 2 Aug 1997 17:17:17 +0000 (17:17 +0000)]
(expand_builtin, case BUILT_IN_AGGREGATE_INCOMING_ADDRESS): New case.
(expand_assignment, expand_expr, emit_push_insn, store_expr):
Insert calls to chkr_check_addr, chkr_set_right, and chkr_copy_bitmap
when -fcheck-memory-usage.
(get_push_address, get_memory_usage_from_modifier): New functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14611
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 2 Aug 1997 17:16:45 +0000 (17:16 +0000)]
(expr_size): Call expand_expr with appropriate flag.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14610
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 2 Aug 1997 17:15:09 +0000 (17:15 +0000)]
(init_decl_processing): Add __builtin_aggregate_incoming_address.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14609
138bc75d-0d04-0410-961f-
82ee72b054a4