platform/upstream/gcc.git
26 years agoQuoting Martin:
Robert Lipe [Tue, 2 Jun 1998 19:45:48 +0000 (19:45 +0000)]
Quoting Martin:

[ eb47, eb53, eb89 ] build standard templates from reference types,
which is illegal.
Unfortunately, they all give errors for lines in library headers,
which I can't test for.
Therefore, I suggest to remove all of them, and replace it with
the [eb128.C]

From-SVN: r20185

26 years agoeb47.C eb53.C eb89.C, quoting Martin:
Robert Lipe [Tue, 2 Jun 1998 19:44:07 +0000 (19:44 +0000)]
eb47.C eb53.C eb89.C, quoting Martin:

These three test cases all build standard templates from reference types,
which is illegal.
Unfortunately, they all give errors for lines in library headers,
which I can't test for.
Therefore, I suggest to remove all of them, and replace it with
[eb128.c]

From-SVN: r20184

26 years agoalpha.md (divsi3, [...]): Enable, and work around an OSF/1 library bug wrt sign-exten...
Richard Henderson [Tue, 2 Jun 1998 15:37:34 +0000 (08:37 -0700)]
alpha.md (divsi3, [...]): Enable, and work around an OSF/1 library bug wrt sign-extension of inputs.

        * alpha.md (divsi3, udivsi3, modsi3, umodsi3): Enable, and work
        around an OSF/1 library bug wrt sign-extension of inputs.

From-SVN: r20183

26 years ago* vax/netbsd.h (DWARF2_UNWIND_INFO): Must be undef, not defined 0.
Richard Henderson [Tue, 2 Jun 1998 12:59:23 +0000 (05:59 -0700)]
* vax/netbsd.h (DWARF2_UNWIND_INFO): Must be undef, not defined 0.

From-SVN: r20182

26 years agoupdate generated files
Bruce Korb [Tue, 2 Jun 1998 07:02:02 +0000 (07:02 +0000)]
update generated files

From-SVN: r20181

26 years agoFix variable name to match inclhack shell script
Bruce Korb [Tue, 2 Jun 1998 07:00:13 +0000 (07:00 +0000)]
Fix variable name to match inclhack shell script

From-SVN: r20180

26 years ago970125-0.f: Fix per JCB.
Dave Love [Tue, 2 Jun 1998 02:48:29 +0000 (02:48 +0000)]
970125-0.f: Fix per JCB.

1998-06-02  Dave Love  <d.love@dl.ac.uk>
* 970125-0.f: Fix per JCB.  Add commentary.

From-SVN: r20179

26 years agoFix per JCB. Add commentary.
Dave Love [Tue, 2 Jun 1998 02:44:48 +0000 (02:44 +0000)]
Fix per JCB.  Add commentary.

From-SVN: r20178

26 years agoDaily bump.
Jeff Law [Tue, 2 Jun 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r20177

26 years agocp-tree.h (TYPE_FOR_JAVA): New macro.
Per Bothner [Mon, 1 Jun 1998 18:25:37 +0000 (11:25 -0700)]
cp-tree.h (TYPE_FOR_JAVA): New macro.


* cp-tree.h (TYPE_FOR_JAVA):  New macro.
* decl.c, cp-tree.h (java_byte_type_node, java_short_type_node,
java_int_type_node, java_long_type_node, java_float_type_node,
java_double_type_node, java_char_type_node, java_boolean_type_node):
New "primitive" types, with predefined names __java_byte etc.
(record_builtin_java_type):  New function.
(init_decl_processing):  Make Java types with record_builtin_java_type.
(pushtag, grokdeclarator):  Set TYPE_FOR_JAVA if in extern "JAVA".
(xref_baseypes):  If base class was TYPE_FOR_JAVA, so is this class.
(grokfndecl):  Call check_java_method for Java classes.
* method.c (is_java_type):  Removed.  Replaced with TYPE_FOR_JAVA.
(process_overload_item):  Match types against specific
java_XX_type_node types, rather than using is_java_type.
* class.c (finish_struct_1):  Don't add default copy constructor
or operator= if TYPE_FOR_JAVA.
(pop_lang_conext):  Restore strict_prototyp proper if Java.
* decl2.c (acceptable_java_type, check_java_method):  New functions.
* pt.c (instantiate_class_template):  Copy TYPE_FOR_JAVA from pattern.
(tsubst):  Move common statement after if statement.
* typeck.c (comptypes):  If strict, TYPE_FOR_JAVA must match.

From-SVN: r20176

26 years agocp-tree.h (TYPE_FOR_JAVA): New macro.
Per Bothner [Mon, 1 Jun 1998 18:25:35 +0000 (11:25 -0700)]
cp-tree.h (TYPE_FOR_JAVA): New macro.

a
* cp-tree.h (TYPE_FOR_JAVA):  New macro.
* decl.c, cp-tree.h (java_byte_type_node, java_short_type_node,
java_int_type_node, java_long_type_node, java_float_type_node,
java_double_type_node, java_char_type_node, java_boolean_type_node):
New "primitive" types, with predefined names __java_byte etc.
(record_builtin_java_type):  New function.
(init_decl_processing):  Make Java types with record_builtin_java_type.
(pushtag, grokdeclarator):  Set TYPE_FOR_JAVA if in extern "JAVA".
(xref_baseypes):  If base class was TYPE_FOR_JAVA, so is this class.
(grokfndecl):  Call check_java_method for Java classes.
* method.c (is_java_type):  Removed.  Replaced with TYPE_FOR_JAVA.
(process_overload_item):  Match types against specific
java_XX_type_node types, rather than using is_java_type.
* class.c (finish_struct_1):  Don't add default copy constructor
or operator= if TYPE_FOR_JAVA.
(pop_lang_conext):  Restore strict_prototyp proper if Java.
* decl2.c (acceptable_java_type, check_java_method):  New functions.
* pt.c (instantiate_class_template):  Copy TYPE_FOR_JAVA from pattern.
(tsubst):  Move common statement after if statement.
* typeck.c (comptypes):  If strict, TYPE_FOR_JAVA must match.

From-SVN: r20175

26 years agocp-tree.h (TYPE_FOR_JAVA): New macro.
Per Bothner [Mon, 1 Jun 1998 18:25:34 +0000 (11:25 -0700)]
cp-tree.h (TYPE_FOR_JAVA): New macro.

d
* cp-tree.h (TYPE_FOR_JAVA):  New macro.
* decl.c, cp-tree.h (java_byte_type_node, java_short_type_node,
java_int_type_node, java_long_type_node, java_float_type_node,
java_double_type_node, java_char_type_node, java_boolean_type_node):
New "primitive" types, with predefined names __java_byte etc.
(record_builtin_java_type):  New function.
(init_decl_processing):  Make Java types with record_builtin_java_type.
(pushtag, grokdeclarator):  Set TYPE_FOR_JAVA if in extern "JAVA".
(xref_baseypes):  If base class was TYPE_FOR_JAVA, so is this class.
(grokfndecl):  Call check_java_method for Java classes.
* method.c (is_java_type):  Removed.  Replaced with TYPE_FOR_JAVA.
(process_overload_item):  Match types against specific
java_XX_type_node types, rather than using is_java_type.
* class.c (finish_struct_1):  Don't add default copy constructor
or operator= if TYPE_FOR_JAVA.
(pop_lang_conext):  Restore strict_prototyp proper if Java.
* decl2.c (acceptable_java_type, check_java_method):  New functions.
* pt.c (instantiate_class_template):  Copy TYPE_FOR_JAVA from pattern.
(tsubst):  Move common statement after if statement.
* typeck.c (comptypes):  If strict, TYPE_FOR_JAVA must match.

From-SVN: r20174

26 years agosh.h (MAX_OFILE_ALIGNMENT): Define.
Catherine Moore [Mon, 1 Jun 1998 14:25:44 +0000 (14:25 +0000)]
sh.h (MAX_OFILE_ALIGNMENT): Define.

        * config/sh/sh.h (MAX_OFILE_ALIGNMENT): Define.
        * varasm.c (assemble_variable): Augment alignment warning.

From-SVN: r20173

26 years agoMuch simplified version from Martin.
Robert Lipe [Mon, 1 Jun 1998 12:01:29 +0000 (12:01 +0000)]
Much simplified version from Martin.

From-SVN: r20172

26 years ago* pt.c (for_each_template_parm): Use first_rtl_op.
Jason Merrill [Mon, 1 Jun 1998 11:09:17 +0000 (11:09 +0000)]
* pt.c (for_each_template_parm): Use first_rtl_op.

From-SVN: r20171

26 years agoAdd better error text.
Robert Lipe [Mon, 1 Jun 1998 10:16:16 +0000 (10:16 +0000)]
Add better error text.

From-SVN: r20170

26 years agoFix IEEE negative zero problems
Michael Meissner [Mon, 1 Jun 1998 09:15:23 +0000 (09:15 +0000)]
Fix IEEE negative zero problems

From-SVN: r20169

26 years agoMore changes from Martin.
Robert Lipe [Mon, 1 Jun 1998 09:10:43 +0000 (09:10 +0000)]
More changes from Martin.

From-SVN: r20168

26 years agoAdditional changes from Martin.
Robert Lipe [Mon, 1 Jun 1998 09:09:55 +0000 (09:09 +0000)]
Additional changes from Martin.

From-SVN: r20167

26 years agoAnother round of improvements from Martin.
Robert Lipe [Mon, 1 Jun 1998 08:24:42 +0000 (08:24 +0000)]
Another round of improvements from Martin.

From-SVN: r20166

26 years agoIdentical to eb56. Removed.
Robert Lipe [Mon, 1 Jun 1998 08:07:33 +0000 (08:07 +0000)]
Identical to eb56.   Removed.

From-SVN: r20165

26 years agotree.c (build_cplus_array_type_1): Also check index_type for template parms.
Jason Merrill [Mon, 1 Jun 1998 02:04:10 +0000 (02:04 +0000)]
tree.c (build_cplus_array_type_1): Also check index_type for template parms.

* tree.c (build_cplus_array_type_1): Also check index_type for
template parms.

From-SVN: r20164

26 years agoDaily bump.
Jeff Law [Mon, 1 Jun 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r20163

26 years ago* tlist.cc, tvector.cc, tmap.cc: Remove explicit instantiations.
Jason Merrill [Mon, 1 Jun 1998 00:41:51 +0000 (00:41 +0000)]
* tlist.cc, tvector.cc, tmap.cc: Remove explicit instantiations.

From-SVN: r20162

26 years agowarn_summary: Update to Kaveh's latest version allowing to specify the last stage...
Manfred Hollstein [Mon, 1 Jun 1998 00:26:36 +0000 (00:26 +0000)]
warn_summary: Update to Kaveh's latest version allowing to specify the last stage built.

* warn_summary: Update to Kaveh's latest version allowing to
specify the last stage built.

From-SVN: r20161

26 years agowarn_summary: Update to Kaveh's latest version allowing to specify the last stage...
Manfred Hollstein [Mon, 1 Jun 1998 00:26:35 +0000 (00:26 +0000)]
warn_summary: Update to Kaveh's latest version allowing to specify the last stage built.


* warn_summary: Update to Kaveh's latest version allowing to
specify the last stage built.

From-SVN: r20160

26 years agonew
Jason Merrill [Sun, 31 May 1998 23:57:47 +0000 (19:57 -0400)]
new

From-SVN: r20159

26 years ago* pt.c (tsubst): Always copy BINFO_BASETYPES.
Jason Merrill [Sun, 31 May 1998 23:26:58 +0000 (23:26 +0000)]
* pt.c (tsubst): Always copy BINFO_BASETYPES.

From-SVN: r20158

26 years agoMark call to sort() as error, per Alexandre Oliva.
Robert Lipe [Sun, 31 May 1998 22:21:26 +0000 (22:21 +0000)]
Mark call to sort() as error, per Alexandre Oliva.

From-SVN: r20157

26 years agoMartin said:
Robert Lipe [Sun, 31 May 1998 21:08:03 +0000 (21:08 +0000)]
Martin said:

This is illegal C++, and egcs detects that.

From-SVN: r20156

26 years agoMartin says:
Robert Lipe [Sun, 31 May 1998 21:06:44 +0000 (21:06 +0000)]
Martin says:

AFAIK, g++ does not support array initialization (anymore?).

From-SVN: r20155

26 years agoAdditional changes from Martin.
Robert Lipe [Sun, 31 May 1998 20:47:52 +0000 (20:47 +0000)]
Additional changes from Martin.

From-SVN: r20154

26 years agoAdditional changes from Martin von Loewis.
Robert Lipe [Sun, 31 May 1998 20:47:01 +0000 (20:47 +0000)]
Additional changes from Martin von Loewis.

From-SVN: r20153

26 years agoAdd minus zero test
Michael Meissner [Sun, 31 May 1998 20:31:09 +0000 (20:31 +0000)]
Add minus zero test

From-SVN: r20152

26 years agoreload.c (find_reloads): Record the existing mode if operand_mode == VOIDmode before...
John Wehle [Sun, 31 May 1998 15:13:36 +0000 (15:13 +0000)]
reload.c (find_reloads): Record the existing mode if operand_mode == VOIDmode before replacing a...

        * reload.c (find_reloads): Record the existing mode if
        operand_mode == VOIDmode before replacing a register with
        a constant.
        * i386.md (tstsi, tsthi, tstqi, tstsf, tstdf, tstxf): Set
        i386_compare_op1 to const0_rtx for the benefit of the
        conditional move patterns.
        (movsicc, movhicc, movsfcc, movdfcc, movxfcc, movdicc): Rewrite
        based on suggestions from Jim Wilson.

From-SVN: r20151

26 years agoDaily bump.
Jeff Law [Sun, 31 May 1998 00:45:34 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r20150

26 years agoBump for snapshot
Jeffrey A Law [Sun, 31 May 1998 00:44:04 +0000 (18:44 -0600)]
Bump for snapshot

From-SVN: r20148

26 years ago* Makefile.in (fixinc.sh): Update rules again.
Bruce Korb [Sat, 30 May 1998 23:35:55 +0000 (17:35 -0600)]
* Makefile.in (fixinc.sh): Update rules again.

From-SVN: r20147

26 years ago* extend.texi: Bring back reference to trampoline paper.
Jeff Law [Sat, 30 May 1998 23:29:42 +0000 (17:29 -0600)]
* extend.texi: Bring back reference to trampoline paper.

From-SVN: r20146

26 years agoMakefile.in (USER_H): Add stdbool.h.
Jeff Law [Sat, 30 May 1998 23:24:33 +0000 (17:24 -0600)]
Makefile.in (USER_H): Add stdbool.h.

        * Makefile.in (USER_H): Add stdbool.h.
        * ginclude/stdbool.h: New file.

From-SVN: r20145

26 years ago* configure.in (checkfuncs): Add missing "'".
Mumit Khan [Sat, 30 May 1998 23:19:36 +0000 (23:19 +0000)]
* configure.in (checkfuncs): Add missing "'".

From-SVN: r20144

26 years agoDaily bump.
Jeff Law [Sat, 30 May 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r20143

26 years agotree.c (layout_basetypes): If we change TYPE_SIZE, change TYPE_SIZE_UNIT too.
Scott Snyder [Fri, 29 May 1998 23:17:23 +0000 (19:17 -0400)]
tree.c (layout_basetypes): If we change TYPE_SIZE, change TYPE_SIZE_UNIT too.

* tree.c (layout_basetypes): If we change TYPE_SIZE, change
TYPE_SIZE_UNIT too.

From-SVN: r20142

26 years agochanges
Bruce Korb [Fri, 29 May 1998 14:58:40 +0000 (14:58 +0000)]
changes

From-SVN: r20141

26 years agofixes from six months of fixincludes hacking
Bruce Korb [Fri, 29 May 1998 14:54:55 +0000 (14:54 +0000)]
fixes from six months of fixincludes hacking

From-SVN: r20140

26 years agodecl.c (grokdeclarator): Don't complain about in-class initialization of static const...
Mark Mitchell [Fri, 29 May 1998 14:19:11 +0000 (14:19 +0000)]
decl.c (grokdeclarator): Don't complain about in-class initialization of static consts if...

* decl.c (grokdeclarator): Don't complain about in-class
initialization of static consts if we don't really know the type
of the variable.

From-SVN: r20139

26 years agoPick up a few scraggling files that missed my first add/commit cycle.
Robert Lipe [Fri, 29 May 1998 08:10:44 +0000 (08:10 +0000)]
Pick up a few scraggling files that missed my first add/commit cycle.

From-SVN: r20138

26 years agoMove the ERROR lines to where the errors actually are.
Robert Lipe [Fri, 29 May 1998 07:48:37 +0000 (07:48 +0000)]
Move the ERROR lines to where the errors actually are.

From-SVN: r20137

26 years agocp-tree.h (DECL_DESTRUCTOR_P): New macro.
Jason Merrill [Fri, 29 May 1998 02:33:54 +0000 (22:33 -0400)]
cp-tree.h (DECL_DESTRUCTOR_P): New macro.

* cp-tree.h (DECL_DESTRUCTOR_P): New macro.
* method.c (build_destructor_name): New fn.
* decl2.c (maybe_retrofit_in_chrg): Split out...
(grokclassfn): From here.  Reorganize.
* decl.c (grok_ctor_properties): Make sure ctors for types with
vbases have the in_chrg parm.
* pt.c (instantiate_class_template): Update
TYPE_USES_VIRTUAL_BASECLASSES from tsubsted bases.  Don't call
grok_*_properties.
(tsubst): Call grok_ctor_properties and maybe_retrofit_in_chrg.
* pt.c (instantiate_decl): Make test for whether or not static
variables should be instantiated early match its comment.

From-SVN: r20136

26 years agojump.c (thread_jumps): Do not look at the NOTE_LINE_NUMBER of a non-note insn.
Jeffrey A Law [Fri, 29 May 1998 01:01:21 +0000 (01:01 +0000)]
jump.c (thread_jumps): Do not look at the NOTE_LINE_NUMBER of a non-note insn.

        * jump.c (thread_jumps): Do not look at the NOTE_LINE_NUMBER
        of a non-note insn.

From-SVN: r20135

26 years agogcse.c (pre_delete): Fix code to determine the mode of the reaching pseudo register.
Jeffrey A Law [Fri, 29 May 1998 00:50:16 +0000 (00:50 +0000)]
gcse.c (pre_delete): Fix code to determine the mode of the reaching pseudo register.

        * gcse.c (pre_delete): Fix code to determine the mode of
        the reaching pseudo register.

From-SVN: r20134

26 years agoDaily bump.
Jeff Law [Fri, 29 May 1998 00:45:32 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r20133

26 years agofp-cmp-1.c: Set up signal handler earlier.
Peter Leven [Fri, 29 May 1998 00:12:03 +0000 (00:12 +0000)]
fp-cmp-1.c: Set up signal handler earlier.

        * gcc.c-torture/execute/ieee/fp-cmp-1.c: Set up signal handler
        earlier.

From-SVN: r20132

26 years agoMakefile.in (GEN): Add gencheck
Bernd Schmidt [Fri, 29 May 1998 00:09:05 +0000 (18:09 -0600)]
Makefile.in (GEN): Add gencheck

        * Makefile.in (GEN): Add gencheck
        (STAGESTUFF): Add tree-check.h and gencheck.

From-SVN: r20131

26 years agoMakefile.in (cstamp-h.in): Remove before trying to recreate.
Bruce Korb [Fri, 29 May 1998 00:00:05 +0000 (18:00 -0600)]
Makefile.in (cstamp-h.in): Remove before trying to recreate.

        * Makefile.in (cstamp-h.in): Remove before trying to recreate.
        (fixinc.sh): Set some additional environment variables before
        calling mkfixinc.sh.

From-SVN: r20130

26 years agoremove
Jason Merrill [Thu, 28 May 1998 23:53:15 +0000 (19:53 -0400)]
remove

From-SVN: r20129

26 years agofix
Jason Merrill [Thu, 28 May 1998 23:52:21 +0000 (19:52 -0400)]
fix

From-SVN: r20128

26 years agog++ now recognizes the error.
Robert Lipe [Thu, 28 May 1998 23:06:53 +0000 (23:06 +0000)]
g++ now recognizes the error.

From-SVN: r20127

26 years agoMartin says: This makes a good namespace test case :-) we should leave it.
Robert Lipe [Thu, 28 May 1998 23:04:32 +0000 (23:04 +0000)]
Martin says: This makes a good namespace test case :-) we should leave it.

From-SVN: r20126

26 years agoCode is in error. Insure EGCS reports that.
Robert Lipe [Thu, 28 May 1998 23:02:25 +0000 (23:02 +0000)]
Code is in error.   Insure EGCS reports that.

From-SVN: r20125

26 years agoeb28.C eb29.C eb60.C eb62.C
Robert Lipe [Thu, 28 May 1998 22:44:20 +0000 (22:44 +0000)]
eb28.C eb29.C eb60.C eb62.C
all compile for Martin, so we added directives to build, but not link
these cases.

From-SVN: r20124

26 years agoThis test case should be removed.
Robert Lipe [Thu, 28 May 1998 22:15:42 +0000 (22:15 +0000)]
This test case should be removed.

This test case should be removed. No diagnoses of such "incorrect" asm
statements need to be performed.
Martin

From-SVN: r20123

26 years agoreload.c (find_reloads): Do not force a reloads of match_operators.
Jeff Law [Thu, 28 May 1998 11:59:30 +0000 (05:59 -0600)]
reload.c (find_reloads): Do not force a reloads of match_operators.

8
        * reload.c (find_reloads): Do not force a reloads of match_operators.

From-SVN: r20122

26 years agoreload.c (find_reloads): Do not force a reloads of match_operators.
Jeff Law [Thu, 28 May 1998 11:59:28 +0000 (05:59 -0600)]
reload.c (find_reloads): Do not force a reloads of match_operators.


        * reload.c (find_reloads): Do not force a reloads of match_operators.

From-SVN: r20121

26 years agomakefile changes to support all this
Bruce Korb [Thu, 28 May 1998 09:26:20 +0000 (09:26 +0000)]
makefile changes to support all this

From-SVN: r20120

26 years agofinally, the script to install the fixincludes
Bruce Korb [Thu, 28 May 1998 09:24:08 +0000 (09:24 +0000)]
finally, the script to install the fixincludes

From-SVN: r20119

26 years agoChanges for POSIX-ification (I hope)
Bruce Korb [Thu, 28 May 1998 09:21:29 +0000 (09:21 +0000)]
Changes for POSIX-ification (I hope)

From-SVN: r20118

26 years agoAdded exclusion of C++ files for double slash fix
Bruce Korb [Thu, 28 May 1998 09:20:28 +0000 (09:20 +0000)]
Added exclusion of C++ files for double slash fix

From-SVN: r20117

26 years agoCommentary on fast_fixincludes
Bruce Korb [Thu, 28 May 1998 09:09:05 +0000 (09:09 +0000)]
Commentary on fast_fixincludes

From-SVN: r20116

26 years agoFlow now removes exception regions when their handlers are all removed.
Andrew MacLeod [Thu, 28 May 1998 07:32:33 +0000 (07:32 +0000)]
Flow now removes exception regions when their handlers are all removed.

From-SVN: r20115

26 years agoMake rtx, tree types type correct if the appropriate include files was not included
Michael Meissner [Thu, 28 May 1998 06:47:21 +0000 (06:47 +0000)]
Make rtx, tree types type correct if the appropriate include files was not included

From-SVN: r20114

26 years agodecl.c (start_decl): Always pedwarn about vacuously redeclaring a member.
Jason Merrill [Thu, 28 May 1998 01:44:29 +0000 (21:44 -0400)]
decl.c (start_decl): Always pedwarn about vacuously redeclaring a member.

* decl.c (start_decl): Always pedwarn about vacuously redeclaring
a member.
(start_function): Call check_default_args.
* decl2.c (grokfield): Don't call check_default_args.
(check_default_args): Use cp_error_at.
* lex.c (do_pending_defargs): Call check_default_args.
* call.c (build_scoped_method_call): Make sure get_type_value returns
something before we try to use its TYPE_MAIN_VARIANT.

From-SVN: r20113

26 years ago* index-prop: New file.
Jason Merrill [Thu, 28 May 1998 01:36:06 +0000 (01:36 +0000)]
* index-prop: New file.

From-SVN: r20112

26 years agoDaily bump.
Jeff Law [Thu, 28 May 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r20111

26 years agocall.c (build_method_call): Make sure get_type_value returns something before we...
Jason Merrill [Thu, 28 May 1998 00:11:24 +0000 (20:11 -0400)]
call.c (build_method_call): Make sure get_type_value returns something before we try to use its...

* call.c (build_method_call): Make sure get_type_value returns
something before we try to use its TYPE_MAIN_VARIANT.
* typeck2.c (digest_init): Complain about getting a TREE_LIST to
initialize an array.
* search.c (expand_upcast_fixups): Don't set DECL_CONTEXT and
DECL_VIRTUAL_P.

From-SVN: r20110

26 years ago* gcc.c-torture/execute/980526-3.c: New test.
Catherine Moore [Wed, 27 May 1998 23:15:48 +0000 (23:15 +0000)]
* gcc.c-torture/execute/980526-3.c: New test.

From-SVN: r20109

26 years ago* friend.c (do_friend): Clarify template warning.
Jason Merrill [Wed, 27 May 1998 23:06:46 +0000 (23:06 +0000)]
* friend.c (do_friend): Clarify template warning.

From-SVN: r20108

26 years agoAddition of a whole slew of "eb" test cases generated from the egcs-bugs mailing...
Robert Lipe [Wed, 27 May 1998 23:00:37 +0000 (23:00 +0000)]
Addition of a whole slew of "eb" test cases generated from the egcs-bugs mailing lists.

Addition of a whole slew of "eb" test cases generated from the egcs-bugs
mailing lists.     See g++.robertl/README

From-SVN: r20107

26 years ago* reload1.c: Revert accidental checkin.
Jeffrey A Law [Wed, 27 May 1998 22:42:52 +0000 (22:42 +0000)]
* reload1.c: Revert accidental checkin.

From-SVN: r20106

26 years agoconfigure.lang: Fix thinko when adding a definition for target_alias to the Makefile.
Jeffrey A Law [Wed, 27 May 1998 21:01:48 +0000 (21:01 +0000)]
configure.lang: Fix thinko when adding a definition for target_alias to the Makefile.

        * configure.lang: Fix thinko when adding a definition for
        target_alias to the Makefile.

From-SVN: r20094

26 years agodecl.c (shadow_label): Don't treat decls as identifiers.
Mark Mitchell [Wed, 27 May 1998 19:11:36 +0000 (19:11 +0000)]
decl.c (shadow_label): Don't treat decls as identifiers.

* decl.c (shadow_label): Don't treat decls as identifiers.
(maybe_push_to_top_level): Clear shadowed_labels.
* pt.c (instantiate_decl): Reset lineno and filename after calling
regenerate_decl_from_template.

From-SVN: r20093

26 years agoadd PTF number to AIX 4.3 assembler information.
David Edelsohn [Wed, 27 May 1998 12:54:15 +0000 (08:54 -0400)]
add PTF number to AIX 4.3 assembler information.

From-SVN: r20092

26 years ago
Catherine Moore [Wed, 27 May 1998 12:44:13 +0000 (08:44 -0400)]


From-SVN: r20091

26 years agoReplace .urem and .rem routines.
Catherine Moore [Wed, 27 May 1998 12:40:31 +0000 (08:40 -0400)]
Replace .urem and .rem routines.

Replace .urem and .rem routines.  Fix a problem
with signed operands and uses leaf procedure calling
convention.

From-SVN: r20090

26 years ago*** empty log message ***
Benjamin Kosnik [Wed, 27 May 1998 12:05:04 +0000 (12:05 +0000)]
*** empty log message ***

From-SVN: r20089

26 years agodecl.c (grokdeclarator): Don't try to use TYPE_OBSTACK on an error_mark_node.
Mark Mitchell [Wed, 27 May 1998 07:07:24 +0000 (07:07 +0000)]
decl.c (grokdeclarator): Don't try to use TYPE_OBSTACK on an error_mark_node.

* decl.c (grokdeclarator): Don't try to use TYPE_OBSTACK on an
error_mark_node.

From-SVN: r20088

26 years agoarm.c (arm_gen_constant): Rework to eliminate uninitialized variable warnings.
Richard Earnshaw [Wed, 27 May 1998 02:52:25 +0000 (02:52 +0000)]
arm.c (arm_gen_constant): Rework to eliminate uninitialized variable warnings.

* arm.c (arm_gen_constant): Rework to eliminate uninitialized variable
warnings.  Don't generate scratch registers if only counting insns.
(find_barrier): Eliminate unused variable SRC.

From-SVN: r20087

26 years ago* parse.y (base_class): Use is_aggr_type, not IS_AGGR_TYPE.
Kevin Buhr [Wed, 27 May 1998 01:25:47 +0000 (01:25 +0000)]
* parse.y (base_class): Use is_aggr_type, not IS_AGGR_TYPE.

From-SVN: r20086

26 years agoDaily bump.
Jeff Law [Wed, 27 May 1998 00:45:01 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r20085

26 years agopt.c (process_template_parm): Accept TYPENAME_TYPE nodes.
Kriang Lerdsuwanakij [Tue, 26 May 1998 23:54:23 +0000 (23:54 +0000)]
pt.c (process_template_parm): Accept TYPENAME_TYPE nodes.

* pt.c (process_template_parm): Accept TYPENAME_TYPE nodes.
(convert_nontype_argument): Handle cases when nontype template
parameters become classes after substitution.

From-SVN: r20084

26 years agothunk2.C: Setup this test to be expected to fail on m68k-motorola-sysv and...
Manfred Hollstein [Tue, 26 May 1998 23:47:46 +0000 (23:47 +0000)]
thunk2.C: Setup this test to be expected to fail on m68k-motorola-sysv and...


* g++.old-deja/g++.jason/thunk2.C: Setup this test to be expected to
fail on m68k-motorola-sysv and m88k-motorola-sysv3.
* g++.old-deja/g++.jason/thunk3.C: Add m68k-motorola-sysv and
m88k-motorola-sysv3 to XFAIL.

From-SVN: r20083

26 years agotoplev.h (rtx_def): Provide global declaration to avoid `limited scope' warnings.
Manfred Hollstein [Tue, 26 May 1998 23:42:31 +0000 (23:42 +0000)]
toplev.h (rtx_def): Provide global declaration to avoid `limited scope' warnings.

* toplev.h (rtx_def): Provide global declaration to avoid
`limited scope' warnings.

From-SVN: r20082

26 years agotoplev.h (rtx_def): Provide global declaration to avoid `limited scope' warnings.
Manfred Hollstein [Tue, 26 May 1998 23:42:30 +0000 (23:42 +0000)]
toplev.h (rtx_def): Provide global declaration to avoid `limited scope' warnings.


* toplev.h (rtx_def): Provide global declaration to avoid
`limited scope' warnings.

From-SVN: r20081

26 years agofriend.c (is_friend): Use comptypes, rather than == to compare types.
Mark Mitchell [Tue, 26 May 1998 23:17:56 +0000 (23:17 +0000)]
friend.c (is_friend): Use comptypes, rather than == to compare types.

* friend.c (is_friend): Use comptypes, rather than == to compare
types.  Modify for new representation of template friends.
(make_friend_class): Likewise.
* pt.c (tsubst_friend_class): Undo 1998-05-21 change.  Tweak.
(instantiate_class_template): Deal with template friends.

From-SVN: r20080

26 years ago980526-1.c: New test.
Franz Sirl [Tue, 26 May 1998 23:01:48 +0000 (23:01 +0000)]
980526-1.c: New test.

        * gcc.dg/980526-1.c: New test.
        * gcc.c-torture/execute/980526-2.c: New test.

From-SVN: r20078

26 years ago* gcc.dg/980523-1.c: Change "ppc" to "powerpc".
Jeffrey A Law [Tue, 26 May 1998 22:55:47 +0000 (22:55 +0000)]
* gcc.dg/980523-1.c: Change "ppc" to "powerpc".

From-SVN: r20077

26 years agoFix typo.
Jeff Law [Tue, 26 May 1998 22:54:19 +0000 (16:54 -0600)]
Fix typo.

From-SVN: r20076

26 years agoMakefile.in (gencheck.o): Use HOST_CC.
Mumit Khan [Tue, 26 May 1998 22:49:49 +0000 (22:49 +0000)]
Makefile.in (gencheck.o): Use HOST_CC.

        * Makefile.in (gencheck.o): Use HOST_CC.
        * i386/t-mingw32: New file.
        * configure.in (i386-*-mingw32*): Use.

From-SVN: r20073

26 years ago* gcc.c-torture/execute/980526-1.c: New test.
Jeffrey A Law [Tue, 26 May 1998 22:41:54 +0000 (22:41 +0000)]
* gcc.c-torture/execute/980526-1.c: New test.

From-SVN: r20072

26 years agochar *version_string = "egcs-2.91.33 19980526 (gcc2 ss-980502 experimental)";
Jeff Law [Tue, 26 May 1998 21:24:58 +0000 (15:24 -0600)]
char *version_string = "egcs-2.91.33 19980526 (gcc2 ss-980502 experimental)";

From-SVN: r20068