]> gcc.gnu.org Git - gcc.git/log
gcc.git
26 years agoflags.h: New flag (optimize_size).
Anthony Green [Mon, 26 Jan 1998 23:00:04 +0000 (23:00 +0000)]
flags.h: New flag (optimize_size).

        * flags.h: New flag (optimize_size).
        * toplev.c (main): Parse -Os option and set optimize_space
        accordingly.
        * gcc.c (default_compilers), cp/lang-specs.h, f/lang-specs.h: Define
        __OPTIMIZE_SIZE__ when compiling with -Os.
        * config/dsp16xx/dsp16xx.h, config/i386/i386.h,
        config/i386/dgux.h, config/i960/i960.h, config/pdp11/pdp11.h,
        config/v850/v850.h (OPTIMIZATION_OPTIONS): New SIZE argument
        to macro.
        * config/i386/i386.c (optimization_options): Accept new SIZE argument.

From-SVN: r17497

26 years agolibgcc2.c (__clear_insn_cache): On sysV68 enable the memctl stuff only if MCT_TEXT...
Manfred Hollstein [Mon, 26 Jan 1998 22:54:52 +0000 (22:54 +0000)]
libgcc2.c (__clear_insn_cache): On sysV68 enable the memctl stuff only if MCT_TEXT is #define'd.

        * libgcc2.c (__clear_insn_cache): On sysV68 enable the memctl
        stuff only if MCT_TEXT is #define'd.

From-SVN: r17496

26 years agoconfigure.in (i*86-pc-msdosdjgpp): Treat like msdos & go32 configurations.
Markus F.X.J. Oberhumer [Mon, 26 Jan 1998 22:51:28 +0000 (23:51 +0100)]
configure.in (i*86-pc-msdosdjgpp): Treat like msdos & go32 configurations.

        * configure.in (i*86-pc-msdosdjgpp): Treat like msdos & go32
        configurations.

From-SVN: r17495

26 years agotoplev.c: Add -dM command line option to dump RTL after the machine dependent...
Nick Clifton [Mon, 26 Jan 1998 22:48:32 +0000 (22:48 +0000)]
toplev.c: Add -dM command line option to dump RTL after the machine dependent...

        * toplev.c: Add -dM command line option to dump RTL after the
        machine dependent reorganisation pass, if there is one.
        Reorganise RTL dump code, so that only one file handle is
        needed.

From-SVN: r17494

26 years agoexcept.c (check_exception_handler_labels): Disable warning when flag_syntax_only.
Benjamin Kosnik [Mon, 26 Jan 1998 22:43:57 +0000 (22:43 +0000)]
except.c (check_exception_handler_labels): Disable warning when flag_syntax_only.

        * except.c (check_exception_handler_labels): Disable warning when
        flag_syntax_only.

From-SVN: r17493

26 years agoFix C++/-fpic core dump from Brendan, side effect of Kenner's Dec 24 change.
Jim Wilson [Mon, 26 Jan 1998 18:21:26 +0000 (18:21 +0000)]
Fix C++/-fpic core dump from Brendan, side effect of Kenner's Dec 24 change.

* sparc.c (pic_setup_code): Don't set LABEL_PRESERVE_P.

From-SVN: r17491

26 years agoPatch from Joern to fix dwarf1 bug: emit debug info for types defined in
J"orn Rennecke [Mon, 26 Jan 1998 18:13:41 +0000 (18:13 +0000)]
Patch from Joern to fix dwarf1 bug: emit debug info for types defined in
parameter lists.
* c-decl.c (grokdeclarator): Get parameter tags from
last_function_parm_tags.
* dwarfout.c (output_formal_types): Set TREE_ASM_WRITTEN before
traversing the parameter types.
(output_type): No early exit for FUNCTION_TYPE / METHOD_TYPE context.

From-SVN: r17490

26 years agoTweak.
Jeff Law [Mon, 26 Jan 1998 16:15:46 +0000 (09:15 -0700)]
Tweak.

From-SVN: r17489

26 years agoRemove Gavin for now.
Jeff Law [Mon, 26 Jan 1998 08:38:23 +0000 (01:38 -0700)]
Remove Gavin for now.

From-SVN: r17488

26 years agoTweaks from Andreas.
Jeff Law [Mon, 26 Jan 1998 08:31:47 +0000 (01:31 -0700)]
Tweaks from Andreas.

From-SVN: r17487

26 years agoh8300.c (print_operand): Handle CONST_DOUBLE for 'e', 'f', and the default case.
Jeffrey A Law [Mon, 26 Jan 1998 00:44:02 +0000 (00:44 +0000)]
h8300.c (print_operand): Handle CONST_DOUBLE for 'e', 'f', and the default case.

        * h8300.c (print_operand): Handle CONST_DOUBLE for 'e', 'f', and
        the default case.
        (get_shift_alg): Fix typo.

From-SVN: r17486

26 years ago* alpha.c (alpha_expand_block_move): Copy ADDRESSOF to reg.
Richard Henderson [Sun, 25 Jan 1998 22:22:29 +0000 (14:22 -0800)]
* alpha.c (alpha_expand_block_move): Copy ADDRESSOF to reg.

From-SVN: r17485

26 years ago* toplev.c (get_run_time): Make sure each case gets its variables.
Richard Henderson [Sun, 25 Jan 1998 22:14:54 +0000 (14:14 -0800)]
* toplev.c (get_run_time): Make sure each case gets its variables.

From-SVN: r17484

26 years agoconfigure.in (build_xm_file): Add auto-config.h if host=build.
Richard Henderson [Sun, 25 Jan 1998 22:11:32 +0000 (14:11 -0800)]
configure.in (build_xm_file): Add auto-config.h if host=build.

* configure.in (build_xm_file): Add auto-config.h if host=build.
(host_xm_file_list): Don't add $(srcdir) to auto-config.h.
(build_xm_file_list): Likewise.
* configure: Rebuild.

From-SVN: r17483

26 years agorecog.c (validate_replace_rtx_1): Only perform substitutions of arguments to commutat...
Alasdair Baird [Sun, 25 Jan 1998 21:00:42 +0000 (21:00 +0000)]
recog.c (validate_replace_rtx_1): Only perform substitutions of arguments to commutative and comparison operators...

        * recog.c (validate_replace_rtx_1): Only perform substitutions
        of arguments to commutative and comparison operators once.

From-SVN: r17482

26 years agoAdd some stuff
Jeff Law [Sun, 25 Jan 1998 20:19:15 +0000 (13:19 -0700)]
Add some stuff

From-SVN: r17481

26 years agoTweak.
Jeff Law [Sun, 25 Jan 1998 17:13:31 +0000 (10:13 -0700)]
Tweak.

From-SVN: r17479

26 years agobastring.h (unique): We only need length bytes.
Jason Merrill [Sun, 25 Jan 1998 16:45:02 +0000 (16:45 +0000)]
bastring.h (unique): We only need length bytes.

* std/bastring.h (unique): We only need length bytes.
(c_str): Avoid writing over random memory.
#include <std/bastring.cc>.
Lose _G_ALLOC_CONTROL.
* std/bastring.cc: Likewise.
  (nilRep): Add initializer for selfish.
* sinst.cc: Just #include <string>.
Fix a couple of bugs, linux undefined symbol problem.

From-SVN: r17478

26 years agodecl.c (cp_finish_decl): When bailing on a comdat variable, also unset DECL_NOT_REALL...
Jason Merrill [Sun, 25 Jan 1998 13:33:39 +0000 (13:33 +0000)]
decl.c (cp_finish_decl): When bailing on a comdat variable, also unset DECL_NOT_REALLY_EXTERN.

* decl.c (cp_finish_decl): When bailing on a comdat variable, also
unset DECL_NOT_REALLY_EXTERN.

From-SVN: r17477

26 years ago* parse.y (typename_sub*): Fix std::.
Jason Merrill [Sun, 25 Jan 1998 12:54:44 +0000 (12:54 +0000)]
* parse.y (typename_sub*): Fix std::.

From-SVN: r17476

26 years agosparc.c (output_cbranch): Add default case in enumeration switch.
Kaveh R. Ghazi [Sun, 25 Jan 1998 11:34:22 +0000 (11:34 +0000)]
sparc.c (output_cbranch): Add default case in enumeration switch.

        * config/sparc/sparc.c (output_cbranch): Add default case in
        enumeration switch.
        * reorg.c (insn_sets_resource_p): Correct typo in prototype.
        (emit_delay_sequence): Eliminate unused parameter, all callers
        changed.
        (fill_simple_delay_slots): Likewise.
        (fill_slots_from_thread): Likewise.
        (fill_eager_delay_slots):  Likewise.
        (mark_referenced_resources): Add default case in enumeration switch.
        (mark_set_resources): Likewise.
        (rare_destination): Likewise.
        (mostly_true_jump): Likewise.
        (find_dead_or_set_registers): Likewise.
        (redirect_with_delay_slots_safe_p): Remove unused variable `slots'.
        (update_reg_unused_notes): Remove unused variable `p'.
        (mark_target_live_regs): Remove unused variables `next' and
        `jump_count'.
        (fill_simple_delay_slots): Remove unused variable `j'.
        (fill_slots_from_thread): Add parentheses around assignment used
        as truth value.
        (dbr_schedule): Likewise.

From-SVN: r17475

26 years agoMake-lang.in (f77.stage1): Depend on stage1-start so parallel make works better.
Kaveh R. Ghazi [Sun, 25 Jan 1998 11:30:32 +0000 (11:30 +0000)]
Make-lang.in (f77.stage1): Depend on stage1-start so parallel make works better.

        * Make-lang.in (f77.stage1): Depend on stage1-start so parallel
        make works better.
        * (f77.stage2): Likewise for stage2-start.
        * (f77.stage3): Likewise for stage3-start.
        * (f77.stage4): Likewise for stage4-start.

From-SVN: r17474

26 years agoMake-lang.in (objc.stage1): Depend on stage1-start.
Kaveh R. Ghazi [Sun, 25 Jan 1998 11:29:50 +0000 (11:29 +0000)]
Make-lang.in (objc.stage1): Depend on stage1-start.

        * objc/Make-lang.in (objc.stage1): Depend on stage1-start.
        (objc.stage2, objc.stage3, objc.stage4): Likewise.

From-SVN: r17473

26 years agocse.c (simplify_ternary_operation): Don't try to simplify IF_THEN_ELSE expressions...
Michael Tiemann [Sun, 25 Jan 1998 11:12:26 +0000 (11:12 +0000)]
cse.c (simplify_ternary_operation): Don't try to simplify IF_THEN_ELSE expressions (created by combine) that don't...

        * cse.c (simplify_ternary_operation): Don't try to simplify
        IF_THEN_ELSE expressions (created by combine) that don't use
        relational operators.

From-SVN: r17472

26 years agoFix mismatched parens.
Jeff Law [Sun, 25 Jan 1998 09:00:18 +0000 (02:00 -0700)]
Fix mismatched parens.

From-SVN: r17471

26 years agoerror.c (dump_decl): Fix type default template args.
Jason Merrill [Sat, 24 Jan 1998 12:26:46 +0000 (12:26 +0000)]
error.c (dump_decl): Fix type default template args.

* error.c (dump_decl): Fix type default template args.
(dump_type): Hand TEMPLATE_DECL off to dump_decl.

From-SVN: r17470

26 years agotweak
Jason Merrill [Sat, 24 Jan 1998 03:04:11 +0000 (22:04 -0500)]
tweak

From-SVN: r17469

26 years agoNew file. Empty until we start adding stuff to it.
Jeff Law [Sat, 24 Jan 1998 01:14:26 +0000 (18:14 -0700)]
New file.  Empty until we start adding stuff to it.

From-SVN: r17468

26 years agoconfigure (package_makefile_frag): Move inserting the ${package_makefile_frag} to...
Manfred Hollstein [Sat, 24 Jan 1998 00:58:07 +0000 (00:58 +0000)]
configure (package_makefile_frag): Move inserting the ${package_makefile_frag} to where it should be according to...

        * configure (package_makefile_frag): Move inserting the
        ${package_makefile_frag} to where it should be according
        to the comment.

From-SVN: r17467

26 years agoTweak SCO5 stuff.
Jeff Law [Sat, 24 Jan 1998 00:31:38 +0000 (17:31 -0700)]
Tweak SCO5 stuff.

From-SVN: r17466

26 years agocse.c (simplify_ternary_operation): Handle more IF_THEN_ELSE simplifications.
Jeffrey A Law [Fri, 23 Jan 1998 23:06:03 +0000 (23:06 +0000)]
cse.c (simplify_ternary_operation): Handle more IF_THEN_ELSE simplifications.

        * cse.c (simplify_ternary_operation): Handle more IF_THEN_ELSE
        simplifications.

From-SVN: r17465

26 years agocrtstuff.c (init_dummy): Keep the epilogue in the init section for non-ELF systems.
Jeffrey A Law [Fri, 23 Jan 1998 21:47:43 +0000 (21:47 +0000)]
crtstuff.c (init_dummy): Keep the epilogue in the init section for non-ELF systems.

        * crtstuff.c (init_dummy): Keep the epilogue in the init
        section for non-ELF systems.

From-SVN: r17464

26 years ago* sh.md (movqi_i+1): New peephole.
J"orn Rennecke [Fri, 23 Jan 1998 21:27:50 +0000 (21:27 +0000)]
* sh.md (movqi_i+1): New peephole.

From-SVN: r17463

26 years agoFinish .cexp -> .x conversion.
Jeff Law [Fri, 23 Jan 1998 21:13:16 +0000 (14:13 -0700)]
Finish .cexp -> .x conversion.

From-SVN: r17462

26 years agolex.c (DIR_SEPARATOR): Define to be '/' if not already defined.
Mumit Khan [Fri, 23 Jan 1998 18:35:06 +0000 (18:35 +0000)]
lex.c (DIR_SEPARATOR): Define to be '/' if not already defined.

* lex.c (DIR_SEPARATOR): Define to be '/' if not already defined.
(file_name_nondirectory): Use.

From-SVN: r17461

26 years agorevert last change
Jason Merrill [Fri, 23 Jan 1998 18:33:28 +0000 (13:33 -0500)]
revert last change

From-SVN: r17460

26 years agoRemove rest of bytecode stuff, except for the VMS *.com files.
Jim Wilson [Fri, 23 Jan 1998 15:43:01 +0000 (15:43 +0000)]
Remove rest of bytecode stuff, except for the VMS *.com files.

* Makefile.in: Remove remaining bytecode stuff.
* emit-rtl.c, expr.c: Likewise.

From-SVN: r17459

26 years ago* toplev.c (lang_options): Add unknown-pragma options.
Nick Clifton [Fri, 23 Jan 1998 11:39:49 +0000 (11:39 +0000)]
* toplev.c (lang_options): Add unknown-pragma options.

From-SVN: r17458

26 years agodwarfout.c (byte_size_attribute): Simplify and fix - don't need special (and incomple...
Per Bothner [Thu, 22 Jan 1998 23:48:23 +0000 (15:48 -0800)]
dwarfout.c (byte_size_attribute): Simplify and fix - don't need special (and incomplete) handling for Chill arrays.


* dwarfout.c (byte_size_attribute):  Simplify and fix - don't need
special (and incomplete) handling for Chill arrays.

From-SVN: r17457

26 years agodwarfout.c (byte_size_attribute): Simplify and fix - don't need special (and incomple...
Per Bothner [Thu, 22 Jan 1998 23:48:22 +0000 (15:48 -0800)]
dwarfout.c (byte_size_attribute): Simplify and fix - don't need special (and incomplete) handling for Chill arrays.

8
* dwarfout.c (byte_size_attribute):  Simplify and fix - don't need
special (and incomplete) handling for Chill arrays.

From-SVN: r17456

26 years ago* config.guess: Add support for Linux/ARM.
Philip Blundell [Thu, 22 Jan 1998 23:28:32 +0000 (23:28 +0000)]
* config.guess: Add support for Linux/ARM.

From-SVN: r17455

26 years agotoplev.c (get_run_time): Call sysconf(_SC_CLK_TCK), when available, to get clock...
John Carr [Thu, 22 Jan 1998 23:26:28 +0000 (23:26 +0000)]
toplev.c (get_run_time): Call sysconf(_SC_CLK_TCK), when available, to get clock rate.

        * toplev.c (get_run_time): Call sysconf(_SC_CLK_TCK), when available,
        to get clock rate.

From-SVN: r17454

26 years ago* mips.md (muldi3_internal2): Reverse test for TARGET_MIPS16.
Gavin Koch [Thu, 22 Jan 1998 23:18:55 +0000 (16:18 -0700)]
* mips.md (muldi3_internal2): Reverse test for TARGET_MIPS16.

From-SVN: r17453

26 years agoTweak.
Jeff Law [Thu, 22 Jan 1998 23:16:12 +0000 (16:16 -0700)]
Tweak.

From-SVN: r17452

26 years agomips.c (function_prologue): Use HARD_FRAME_POINTER_REGNUM in .frame directive instead...
Scott Snyder [Thu, 22 Jan 1998 23:13:28 +0000 (16:13 -0700)]
mips.c (function_prologue): Use HARD_FRAME_POINTER_REGNUM in .frame directive instead of FRAME_POINTER_REGNUM.

1998-01-22  scott snyder  <snyder@d0sgif.fnal.gov>
        * mips.c (function_prologue): Use HARD_FRAME_POINTER_REGNUM in
        .frame directive instead of FRAME_POINTER_REGNUM.

From-SVN: r17451

26 years agom68k.h (TARGET_SWITCHES): -mcpu32 now clears MASK_68881.
Robin Kirkham [Thu, 22 Jan 1998 23:10:15 +0000 (23:10 +0000)]
m68k.h (TARGET_SWITCHES): -mcpu32 now clears MASK_68881.

        * m68k.h (TARGET_SWITCHES): -mcpu32 now clears MASK_68881.
        (MACHINE_STATE_m68010_up): Replaced __mc68332__ with __mcpu32__.
        * m68k/m68k-none.h(CPP_FPU_SPEC): Update relative to TARGET_SWITCHES.
        (CPP_SPEC, ASM_SPEC, CC1_SPEC): Likewise.
        (CPP_SPEC): -m68332 defines both __mc68332 and __mcpu32__.
        * m68k/t-m68kbare (MULTILIB_OPTIONS): Add mcpu32.
        (MULTILIB_MATCHES): -m68332 now uses mcpu32 libraries, not m68000.
        (MULTILIB_EXCEPTIONS): Don't build 68881 libraries for m68000,
        mcpu32 or m5200.
        * longlong.h: Replace __mc68332__ with __mcpu32__.

From-SVN: r17450

26 years agoAdd intel site.
Jeff Law [Thu, 22 Jan 1998 22:24:37 +0000 (15:24 -0700)]
Add intel site.

From-SVN: r17449

26 years ago* decl2.c (grok_x_components): Always call grok_enum_decls.
Mark Mitchell [Thu, 22 Jan 1998 22:08:11 +0000 (22:08 +0000)]
* decl2.c (grok_x_components): Always call grok_enum_decls.

From-SVN: r17448

26 years agoBump for snapshot
Jeffrey A Law [Thu, 22 Jan 1998 19:55:42 +0000 (12:55 -0700)]
Bump for snapshot

From-SVN: r17446

26 years agolose text after #endif
Brendan Kehoe [Thu, 22 Jan 1998 15:42:52 +0000 (10:42 -0500)]
lose text after #endif

From-SVN: r17445

26 years agoFix powerpc/rs6000 (subreg:SF (mem:SI ...)) reload problem.
Jim Wilson [Thu, 22 Jan 1998 14:48:58 +0000 (14:48 +0000)]
Fix powerpc/rs6000 (subreg:SF (mem:SI ...)) reload problem.

* reload.c (push_reload): In WORD_REGISTER_OPERATIONS code, add test
to require the SUBREG mode to be smaller than the SUBREG_REG mode.
* reload1.c (eliminate_regs): Likewise.

From-SVN: r17444

26 years agoregmove.c (find_matches): Initialize matches->earlyclobber too.
Jeffrey A Law [Thu, 22 Jan 1998 13:49:29 +0000 (13:49 +0000)]
regmove.c (find_matches): Initialize matches->earlyclobber too.

        * regmove.c (find_matches): Initialize matches->earlyclobber too.
Should fix pa bootstrap comparison failures.

From-SVN: r17443

26 years agonew
Jason Merrill [Thu, 22 Jan 1998 11:04:02 +0000 (06:04 -0500)]
new

From-SVN: r17442

26 years agopt.c (coerce_template_parms): Don't access elements of ARGLIST that is not really...
Kriang Lerdsuwanakij [Thu, 22 Jan 1998 11:03:56 +0000 (11:03 +0000)]
pt.c (coerce_template_parms): Don't access elements of ARGLIST that is not really present.

Wed Jan 21 10:29:57 1998  Kriang Lerdsuwanakij  <lerdsuwa@scf.usc.edu>
* pt.c (coerce_template_parms): Don't access elements of ARGLIST
that is not really present.  Substitute default arguments in
template template arguments.  Correctly convert TEMPLATE_DECL to
TEMPLATE_TEMPLATE_PARM.
(comp_template_args): TEMPLATE_DECL and TEMPLATE_TEMPLATE_PARM
are no longer treated specially here.
* parse.y (template_template_parm): Fix copy error.
* decl.c (grokdeclarator): Warn about missing `typename' for nested
type created from template template parameters.
* parse.y (bad_parm): Likewise
* class.c (finish_struct): Handle TEMPLATE_TEMPLATE_PARM.
(push_nested_class): Likewise.
* cp-tree.def (TEMPLATE_TEMPLATE_PARM): New tree code.
* cp-tree.h (DECL_TEMPLATE_TEMPLATE_PARM_P): New macro.
(copy_template_template_parm): Declare.
* decl.c (arg_looking_for_template): New variable.
(lookup_name_real): Handle TEMPLATE_TEMPLATE_PARM.
Try to return TEMPLATE_DECL or TEMPLATE_TEMPLATE_PARM
node if arg_looking_for_template is nonzero.
(pushdecl): Handle TEMPLATE_TEMPLATE_PARM.
(grok_op_properties, xref_tag, xref_basetypes): Likewise.
(grokdeclarator): Handle TEMPLATE_DECL.
* decl2.c (constructor_name_full): Handle TEMPLATE_TEMPLATE_PARM.
* error.c (dump_type): Add TEMPLATE_DECL and TEMPLATE_TEMPLATE_PARM.
(dump_type_prefix, dump_type_suffix) Handle TEMPLATE_TEMPLATE_PARM.
(dump_decl): Handle unnamed template type parameters.
Handle template template parameters.
(dump_function_name): Handle template template parameters.
* init.c (is_aggr_typedef, is_aggr_type, get_aggr_from_typedef):
Handle TEMPLATE_TEMPLATE_PARM.
* method.c (build_template_template_parm_names): New function.
(build_template_parm_names): Handle TEMPLATE_DECL.
(build_overload_nested_name, build_overload_name):
Handle TEMPLATE_TEMPLATE_PARM.
* parse.y (maybe_identifier): New nonterminal.
(template_type_parm): Use it.
(template_template_parm, template_arg1): New nonterminal.
(template_parm): Add template_template_parm rules.
(template_arg): Set processing_template_arg.
(template_arg1): Rules moved from template_arg.
(primary, nonnested_type): Set arg_looking_for_template if we are
processing template arguments.
* pt.c (begin_member_template_processing): Handle TEMPLATE_DECL.
(process_template_parm): Handle template template parameters.
(coerce_template_parms, comp_template_args): Likewise.
(mangle_class_name_for_template, lookup_template_class): Likewise.
(uses_template_parms): Handle TEMPLATE_DECL and
TEMPLATE_TEMPLATE_PARM.
(current_template_args): Handle TEMPLATE_DECL.
(tsubst, tsubst_copy, unify): Handle TEMPLATE_TEMPLATE_PARM.
* search.c (dfs_walk, dfs_record_inheritance):
Handle TEMPLATE_TEMPLATE_PARM.
* tree.c (copy_template_template_parm): New function.
(mapcar): Handle TEMPLATE_TEMPLATE_PARM.
* typeck.c (comptypes): Handle TEMPLATE_TEMPLATE_PARM.

From-SVN: r17441

26 years agoalpha.md (abssf2, absdf2): Disable in IEEE mode.
Richard Henderson [Thu, 22 Jan 1998 01:44:04 +0000 (17:44 -0800)]
alpha.md (abssf2, absdf2): Disable in IEEE mode.

* alpha.md (abssf2, absdf2): Disable in IEEE mode.
(negsf2, negdf2): Use proper subtract in IEEE mode.

From-SVN: r17440

26 years ago* configure.in: Revert 3 Jan change for alpha-linux-gnulibc1.
Richard Henderson [Thu, 22 Jan 1998 01:39:33 +0000 (17:39 -0800)]
* configure.in: Revert 3 Jan change for alpha-linux-gnulibc1.

From-SVN: r17439

26 years agoFix typo in yesterday's change.
Jeff Law [Wed, 21 Jan 1998 06:48:07 +0000 (23:48 -0700)]
Fix typo in yesterday's change.

From-SVN: r17438

26 years agoupdate
Jason Merrill [Wed, 21 Jan 1998 00:11:44 +0000 (19:11 -0500)]
update

From-SVN: r17437

26 years agoRemove more bytecode stuff.
Jeffrey A Law [Tue, 20 Jan 1998 17:02:10 +0000 (17:02 +0000)]
Remove more bytecode stuff.

From-SVN: r17436

26 years agoMore bytecode stuff disappears.
Jeffrey A Law [Tue, 20 Jan 1998 10:02:05 +0000 (10:02 +0000)]
More bytecode stuff disappears.

From-SVN: r17435

26 years agoRemove more bytecode stuff.
Jeffrey A Law [Tue, 20 Jan 1998 08:59:50 +0000 (08:59 +0000)]
Remove more bytecode stuff.

From-SVN: r17434

26 years agoMore bytecode stuff going away.
Jeff Law [Tue, 20 Jan 1998 08:57:27 +0000 (01:57 -0700)]
More bytecode stuff going away.

From-SVN: r17433

26 years agoMakefile.in: Remove all bytecode support.
Jeffrey A Law [Tue, 20 Jan 1998 08:55:07 +0000 (08:55 +0000)]
Makefile.in: Remove all bytecode support.

        * Makefile.in: Remove all bytecode support.
        (OBJS): Make sure last entry is a real object file, not EXTRA_OBJS.
        * emit-rtl.c: Remove all bytecode support.
        * expr.c, expr.h function.c, integrate.c: Likewise.
        * output.h, regclass.c, rtl.h, stmt.c, toplev.c: Likewise.
        * tree.h, varasm.c: Likewise.
        * bi-*, bc-*: Delete bytecode related files.
Bytecode suppors disappears :-)

From-SVN: r17432

26 years agoconfigure.in: Check for atol.
Jeffrey A Law [Tue, 20 Jan 1998 08:24:58 +0000 (08:24 +0000)]
configure.in: Check for atol.

        * configure.in: Check for atol.
Forgot to commit this one a few days ago.

From-SVN: r17431

26 years agomips.md (divsi3,divdi3,modsi3,moddi3,udivsi3,udivdi3, [...]): Handle mips16 div/mod...
Gavin Koch [Tue, 20 Jan 1998 08:01:08 +0000 (08:01 +0000)]
mips.md (divsi3,divdi3,modsi3,moddi3,udivsi3,udivdi3, [...]): Handle mips16 div/mod by a constant.

        * mips/mips.md (divsi3,divdi3,modsi3,moddi3,udivsi3,udivdi3,
        umodsi3,umoddi3): Handle mips16 div/mod by a constant.

From-SVN: r17430

26 years agoFix ChangeLog entry format.
Jeff Law [Tue, 20 Jan 1998 07:28:54 +0000 (00:28 -0700)]
Fix ChangeLog entry format.

From-SVN: r17429

26 years agoRebuilt.
Jeff Law [Tue, 20 Jan 1998 07:22:47 +0000 (00:22 -0700)]
Rebuilt.

From-SVN: r17428

26 years agotests from mark
Jason Merrill [Tue, 20 Jan 1998 00:57:39 +0000 (19:57 -0500)]
tests from mark

From-SVN: r17427

26 years agodecl.c (start_decl): Don't allow duplicate definitions of static data members.
Mark Mitchell [Mon, 19 Jan 1998 22:41:40 +0000 (22:41 +0000)]
decl.c (start_decl): Don't allow duplicate definitions of static data members.

* decl.c (start_decl): Don't allow duplicate definitions of static
data members.
* call.c (build_user_type_conversion_1): Handle user-defined
template conversion operators correctly.
* decl2.c (build_expr_from_tree): Issue an error message if the
object in a COMPONENT_REF is a TEMPLATE_DECL.
* typeck.c (incomplete_type_error): Handle TEMPLATE_TYPE_PARMs.
* class.c (is_local_class): New function.
* cp-tree.h (is_local_class): Declare it.
(last_tree): Likewise.
(begin_tree): Likewise.
(end_tree): Likewise.
(lookup_template_class): Change prototype.
* decl.c (cp_finish_decl): Check for NULL where necesary.
Consider FUNCTION_DECLS to declare objects with top-level binding,
when calling make_decl_rtl.
(grokdeclarator): Give members of local classes internal linkage.
(start_function): Remove declaration of last_tree.
(finish_function): Set flag_keep_inline_functions around call to
rest_of_compilation if we are processing a member function in a
local class.
(start_method): Call push_template_decl for member functions of
local classes in template functions.
* decl2.c (import_export_decl): Don't give external linkage to
instantiations of templates with internal linkage.
* parse.y (last_tree): Remove declaration.
(template_type): Pass extra parameter to lookup_template_class.
(self_template_type): Likewise.
(structsp): Move call to reset_specialization into left_curly.
(left_curly): Call reset_specialization, and begin_tree.
* pt.c (saved_trees): New variable.
(mangle_class_name_for_template): Change prototype.  Use
additional function context to name local classes in templates
correctly.
(classtype_mangled_name): Pass the context.
(push_template_decl): Handle local classes and templates, and
member functions for such classes.
(convert_nontype_parameter): Fix handling of pointer-to-member
constants.
(lookup_template_class): Handle local classes in templates.
(tsubst): Likewise.  Don't assume that template instantiations
have external linkage; pay attention to the template declaration.
(mark_decl_instantiated): Likewise.
(begin_tree): New function.
(end_tree): Likewise.
* decl.c (xref_basetypes): Don't call complete_type for basetypes
that involve template parameters; that can lead to infinite
recursion unnecessarily.
* pt.c (register_specialization): Do not register specializations
that aren't ready to be registered yet.
(check_explicit_specialization): Handle explicit specialization of
constructors and destructors.
(build_template_decl): New function.
(push_template_delc): Handle out-of-class specializations of
member templates.
        * pt.c (check_explicit_specialization): Set up the template
        information before registering the specialization.
        (coerce_template_parms): Fix thinko.
        (tsubst): Handle specializations of member templates correctly.
* class.c (finish_struct_methods): Remove calls to
check_explicit_specialization from here.
(finish_struct): And insert them here.
* cp-tree.h (perform_qualification_conversions): New function.
(perform_array_to_pointer_conversion): Likewise.
(begin_explicit_instantiation): Likewise.
(end_explicit_instantiation): Likewise.
(determine_specialization): Renamed from
determine_explicit_specialization.
(comp_template_parms): New function.
(processing_explicit_instantiation): New variable.
* cvt.c (perform_qualification_conversions): New function.
(perform_array_to_pointer_conversion): Likewise.
* decl.c (duplicate_decls): Don't consider template functions
alike unless they have the same parameters.  Refine handling of
instantiation/specialization mismatches.
(start_decl): Don't call pushdecl for template specializations,
since they don't affect overloading.
(start_function): Likewise
(grokfndecl): Call check_explicit_specialization a little later.
Don't call duplicate_decls for memberm template specializations.
(grokdeclarator): Don't update template_count for classes that are
themselves specializations.  Remove use of `2' as parameter to
grokfndecl since that value isn't used.
* lex.c (cons_up_default_function): Save and restore
processing_explicit_instantiation around calls to grokfield.
* parse.y (finish_member_template_decl): New function.
(component_decl_1): Use it.
(fn.def2): Likewise.
(template_arg_list_opt): New nonterminal.
(template_type): Use it.
(self_template_type): Likewise.
(template_id): Likewise.
(object_template_id): Likewise.
(notype_template_declarator): Likwise.
(begin_explicit_instantiation): Likewise.
(end_explicit_instantiation): Likewise.
(explicit_instantiation): Use them.
* pt.c (coerce_template_parms): Add parameters.
(processing_explicit_instantiation): New variable.
(convert_nontype_parameter): New function.
(determine_overloaded_function): Likewise.
(begin_explicit_instantiation): Likewise.
(end_explicit_instantiation): Likewise.
(retrieve_specialization): Likewise.
(register_specialization): Likewise.
(processing_explicit_specialization): Removed.
(determine_specialization): Handle specializations of member
functions of template class instantiations.
(check_explicit_specialization): Refine to conform to standard.
(comp_template_parms): New function.
(coerce_template_parms): Call convert_nontype_parameter.
(tsubst): Refine handling of member templates.  Use
register_specialization.
(instantiate_template): Use retrieve_specialization.
(do_decl_instantiation): Likewise.
(instantiate_decl): Likewise.
(type_unification): Improve handling of explict template
arguments.
* tree.c (mapcar): Return error_mark_node, rather than aborting,
on VAR_DECLS, FUNCTION_DECLS, and CONST_DECLS.
* typeck.c (build_unary_op): Call determine_specialization, rather
than determine_explicit_specialization.

From-SVN: r17426

26 years agoi386.md (push): Prohibit symbolic constants if flag_pic.
Richard Henderson [Mon, 19 Jan 1998 21:54:09 +0000 (13:54 -0800)]
i386.md (push): Prohibit symbolic constants if flag_pic.

* i386.md (push): Prohibit symbolic constants if flag_pic.
(movsi+1): Likewise for move to non-register.

From-SVN: r17425

26 years agoFix 32 bit host alpha ev6 target failure.
Jim Wilson [Mon, 19 Jan 1998 18:32:48 +0000 (18:32 +0000)]
Fix 32 bit host alpha ev6 target failure.

* alpha.c (mode_mask_operand): Accept 0xffffffff on 32 bit host.
(print_operand): Handle 0xffffffff on 32 bit host.

From-SVN: r17424

26 years agoFix build/host/target configure in settting of thread_file.
Jim Wilson [Mon, 19 Jan 1998 13:57:04 +0000 (13:57 +0000)]
Fix build/host/target configure in settting of thread_file.

* configure.in (thread_file): Rename uses before main loop to
target_thread_file.  Initialize to empty in main loop.  Set thread_file
to target_thread_file after main loop if not set.
* configure: Rebuild.

From-SVN: r17423

26 years agocvt.c (build_up_reference): A TARGET_EXPR has side effects.
Jason Merrill [Mon, 19 Jan 1998 13:21:59 +0000 (13:21 +0000)]
cvt.c (build_up_reference): A TARGET_EXPR has side effects.

* cvt.c (build_up_reference): A TARGET_EXPR has side effects.
14507

From-SVN: r17422

26 years agoFix time/space problem when (const_int 1) occurs in conflict_list.
Jim Wilson [Mon, 19 Jan 1998 11:16:37 +0000 (11:16 +0000)]
Fix time/space problem when (const_int 1) occurs in conflict_list.

* genattrtab.c (find_and_mark_used_attributes): Handle CONST_INT.
(add_values_to_cover): Revert last change (which had no ChangeLog
entry).
(simplify_with_current_value_aux): Handle CONST_INT.

From-SVN: r17421

26 years ago* unprotoize.c: Define UNPROTOIZE first, to actually take effect.
Andreas Schwab [Mon, 19 Jan 1998 10:12:31 +0000 (10:12 +0000)]
* unprotoize.c: Define UNPROTOIZE first, to actually take effect.

From-SVN: r17420

26 years agoconfigure.in: Add cpp stringify test.
Richard Henderson [Mon, 19 Jan 1998 10:09:47 +0000 (02:09 -0800)]
configure.in: Add cpp stringify test.

        * configure.in: Add cpp stringify test.
        * acconfig.h (HAVE_CPP_STRINGIFY): New tag.
        * gengenrtl.c: Use it.
        * configure, config.in: Rebuild.

From-SVN: r17419

26 years ago* Makefile.in (genrtl.c genrtl.h): Add dummy command for GNU make.
Andreas Schwab [Mon, 19 Jan 1998 09:39:38 +0000 (09:39 +0000)]
* Makefile.in (genrtl.c genrtl.h): Add dummy command for GNU make.

From-SVN: r17418

26 years agoconfigure.in: Find declaration for sbrk.
Richard Henderson [Mon, 19 Jan 1998 09:37:12 +0000 (01:37 -0800)]
configure.in: Find declaration for sbrk.

        * configure.in: Find declaration for sbrk.
        * acconfig.h (NEED_DECLARATION_SBRK): New tag.
        * config.in, configure: Rebuild.
        * mips-tfile.c: Properly protect declaration of sbrk and free.
        * toplev.c: Properly protect declaration of sbrk.

From-SVN: r17417

26 years ago* alpha.c (alpha_handle_trap_shadows): Ignore CLOBBERs.
Richard Henderson [Sun, 18 Jan 1998 20:15:24 +0000 (12:15 -0800)]
* alpha.c (alpha_handle_trap_shadows): Ignore CLOBBERs.

From-SVN: r17416

26 years agoTypo applying the last patch.
Richard Henderson [Sun, 18 Jan 1998 20:03:42 +0000 (12:03 -0800)]
Typo applying the last patch.

From-SVN: r17415

26 years agof_back (f/runtime/libI77/backspace.c): use type `uiolen' to determine size of record...
Toon Moene [Sun, 18 Jan 1998 20:02:04 +0000 (21:02 +0100)]
f_back (f/runtime/libI77/backspace.c): use type `uiolen' to determine size of record length specifier.

* f_back (f/runtime/libI77/backspace.c): use type `uiolen'
to determine size of record length specifier.

From-SVN: r17414

26 years ago* alpha/xm-winnt.h (HAS_INIT_SECTION): Undefine.
Jeffrey A Law [Sun, 18 Jan 1998 00:52:49 +0000 (00:52 +0000)]
* alpha/xm-winnt.h (HAS_INIT_SECTION): Undefine.

From-SVN: r17413

26 years agoFix various bugs in previous change.
Jeff Law [Sun, 18 Jan 1998 00:49:05 +0000 (17:49 -0700)]
Fix various bugs in previous change.

From-SVN: r17412

26 years agoc-torture.exp: Look for .x files instead of .cexp files.
Jeffrey A Law [Sun, 18 Jan 1998 00:32:36 +0000 (00:32 +0000)]
c-torture.exp: Look for .x files instead of .cexp files.

        * lib/c-torture.exp: Look for .x files instead of .cexp files.
        * lib/f-torture.exp: Similarly.
        * gcc.c-torture: Rename all .cexp files to .x files.

From-SVN: r17411

26 years agoNew test from Joern.
Jeff Law [Sun, 18 Jan 1998 00:22:34 +0000 (17:22 -0700)]
New test from Joern.

From-SVN: r17410

26 years agoemit_rtl.c (init_emit_once): Ensure that potential aliasing between frame_pointer_rtx...
Jeff Law [Sun, 18 Jan 1998 00:01:22 +0000 (17:01 -0700)]
emit_rtl.c (init_emit_once): Ensure that potential aliasing between frame_pointer_rtx...

        * emit_rtl.c (init_emit_once): Ensure that potential aliasing
        between frame_pointer_rtx, hard_frame_pointer_rtx, and
        arg_pointer_rtx is respected in initialization.
        (init_emit_once): Use gen_rtx_raw_REG() to create
        return_address_pointer_rtx.
* rtl.h: Fix typo.

From-SVN: r17409

26 years ago* configure.in (i960-wrs-vxworks): Default to latest vxworks release.
Mike Stump [Sat, 17 Jan 1998 23:56:18 +0000 (23:56 +0000)]
* configure.in (i960-wrs-vxworks): Default to latest vxworks release.

From-SVN: r17408

26 years agoFlip expectedness
Jeff Law [Sat, 17 Jan 1998 23:52:16 +0000 (16:52 -0700)]
Flip expectedness

From-SVN: r17407

26 years agoRebuild configure files after recent changes.
Jeff Law [Sat, 17 Jan 1998 23:48:34 +0000 (16:48 -0700)]
Rebuild configure files after recent changes.

From-SVN: r17406

26 years agocombine.c (force_to_mode, [...]): Correctly optimize constant offset computations...
David S. Miller [Sat, 17 Jan 1998 23:08:03 +0000 (23:08 +0000)]
combine.c (force_to_mode, [...]): Correctly optimize constant offset computations from objects with known...

        * combine.c (force_to_mode, nonzero_bits): Correctly optimize
        constant offset computations from objects with known alignment in
        the presence of STACK_BIAS.

From-SVN: r17405

26 years agoacconifg.h (NEED_DECLARATION_ATOL): New declaration to check for.
Jeffrey A Law [Sat, 17 Jan 1998 23:00:46 +0000 (23:00 +0000)]
acconifg.h (NEED_DECLARATION_ATOL): New declaration to check for.

        * acconifg.h (NEED_DECLARATION_ATOL): New declaration to check for.
        * rtl.c (atol): Only provide the declaration if NEED_DECLARATION_ATOL.

From-SVN: r17404

26 years agovarasm.c (immed_double_const): Add casts to HOST_WIDE_INT where necessary.
David S. Miller [Sat, 17 Jan 1998 22:50:40 +0000 (22:50 +0000)]
varasm.c (immed_double_const): Add casts to HOST_WIDE_INT where necessary.

        * varasm.c (immed_double_const): Add casts to HOST_WIDE_INT where
        necessary.
        (const_hash): Hash val is unsigned long.
        (SYMHASH): Likewise.
        * tree.c (TYPE_HASH): Type of hash val is unsigned long.
        * print-tree.c (print_node_brief): HOST_PTR_PRINTF format wants a
        char pointer, not HOST_WIDE_INT.
        (print_node): Likewise.  Also hash is unsigned long not
        HOST_WIDE_INT.
        * cse.c (canon_hash): Hash is unsigned long not HOST_WIDE_INT.

From-SVN: r17403

26 years agoexplow.c (optimize_save_area_alloca): New function for targets where SETJMP_VIA_SAVE_...
David S. Miller [Sat, 17 Jan 1998 22:39:10 +0000 (22:39 +0000)]
explow.c (optimize_save_area_alloca): New function for targets where SETJMP_VIA_SAVE_AREA is true.

        * explow.c (optimize_save_area_alloca): New function for targets
        where SETJMP_VIA_SAVE_AREA is true.
        (allocate_dynamic_stack_space): On SETJMP_VIA_SAVE_AREA targets,
        compute the amount of stack space needed should we find later that
        setjmp is never called by this function, stuff rtl for this inside
        a REG_NOTE of the final SET of stack_pointer_rtx.
        * toplev.c (rest_of_compilation): If SETJMP_VIA_SAVE_AREA and
        current_function_calls_alloca, call optimize_save_area_alloca.
CVS ----------------------------------------------------------------------

From-SVN: r17402

26 years agoi386.md: Remove redundant integer push patterns.
John Wehle [Sat, 17 Jan 1998 22:20:32 +0000 (22:20 +0000)]
i386.md: Remove redundant integer push patterns.

        * i386.md: Remove redundant integer push patterns.
        Don't bother checking for TARGET_PUSH_MEMORY when
        pushing constants or registers.

From-SVN: r17401

26 years ago* rtl.c (read_rtx): Initialize list_rtx to NULL, not NULL_RTX.
Jeffrey A Law [Sat, 17 Jan 1998 22:00:51 +0000 (22:00 +0000)]
* rtl.c (read_rtx): Initialize list_rtx to NULL, not NULL_RTX.

From-SVN: r17400

26 years agoloop.c (find_and_verify_loops): When attempting to move insns from inside the loop...
Jeffrey A Law [Sat, 17 Jan 1998 21:50:05 +0000 (21:50 +0000)]
loop.c (find_and_verify_loops): When attempting to move insns from inside the loop outside the loop...

        * loop.c (find_and_verify_loops): When attempting to move insns from
        inside the loop outside the loop, create a BARRIER if no suitable
        one was found.

From-SVN: r17399

26 years agoconfigure.in (sys/param.h,sys/times.h): Check.
Mumit Khan [Sat, 17 Jan 1998 21:39:07 +0000 (21:39 +0000)]
configure.in (sys/param.h,sys/times.h): Check.

* libU77/configure.in (sys/param.h,sys/times.h): Check.
(times,alarm): Likewise.
* libU77/config.h.in (HAVE_SYS_PARAM_H, HAVE_SYS_TIMES_H,
HAVE_ALARM, HAVE_TIMES): New defs.
* libU77/alarm_.c: Conditionalize for target platform. Set errno
to ENOSYS if target libc doesn't have the function.
* libU77/dtime_.c: Likewise.
* libU77/etime_.c: Likewise.
* libU77/sys_clock_.c: Likewise.

From-SVN: r17398

26 years agoconfigure.in (NON_UNIX_STDIO): Define if MINGW32.
Mumit Khan [Sat, 17 Jan 1998 21:37:48 +0000 (21:37 +0000)]
configure.in (NON_UNIX_STDIO): Define if MINGW32.

        * configure.in (NON_UNIX_STDIO): Define if MINGW32.
        (NON_ANSI_RW_MODE): Do not define for CYGWIN32 or MINGW32.
        * libI77/rawio.h: Don't providing conflicting declarations for
        read() and write(). MINGW32 header files use "const" quals.
        * libF77/s_paus.c: _WIN32 does not have pause().

From-SVN: r17397

26 years agopexecute.c (pexecute): New function for mingw32.
Mumit Khan [Sat, 17 Jan 1998 21:33:56 +0000 (21:33 +0000)]
pexecute.c (pexecute): New function for mingw32.

        * pexecute.c (pexecute): New function for mingw32. Supports pipes.
        (pwait): New function for mingw32.
        * gcc.c (execute): Mingw32 pexecute() supports pipes, but cygwin32
        pipe support is broken for now.

Co-Authored-By: J.J. VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
From-SVN: r17396

26 years agoAdd mingw32 support.
Mumit Khan [Sat, 17 Jan 1998 21:30:39 +0000 (21:30 +0000)]
Add mingw32 support.

        * pexecute.c (pexecute): New function for mingw32. Supports pipes.
        (pwait): New function for mingw32.
        * config.table (i[3456]86-*-mingw32*): Support for i386-mingw32.
        * config/mt-mingw32: New file.
        * xmalloc.c (first_break): Not used for mingw32.
        (xmalloc_set_program_name): Don't use sbrk on mingw32.
        (xmalloc): Likewise.
        (xrealloc): Likewise.

Co-Authored-By: J.J. VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
From-SVN: r17395

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