Jim Wilson [Tue, 16 Sep 1997 20:59:22 +0000 (20:59 +0000)]
Fix H.J. Lu's alpha-linux bug with TImode constructors.
* expr.c (expand_expr): Remove previous incorrect change.
If target and slot has no DECL_RTL, then call mark_addressable
again for the slot after we give it RTL.
Jeff Law [Tue, 16 Sep 1997 04:39:46 +0000 (22:39 -0600)]
dwarf2out.c (gen_subprogram_die): Handle redefinition of an extern inline function.
* dwarf2out.c (gen_subprogram_die): Handle redefinition of an
extern inline function.
* dwarf2out.c (reg_loc_descriptor): Fix prototype.
(concat_loc_descriptor): New function.
(loc_descriptor): Call it.
(add_AT_location_description): Also elide the descriptor if both
halves of a CONCAT are pseudos.
(add_location_or_const_value_attribute): Recognize CONCAT too.
Bring over from devo/fsf.
Jeffrey A Law [Mon, 15 Sep 1997 21:37:39 +0000 (21:37 +0000)]
cse.c (simplify_relational_operation): If MODE specifies a mode wider than HOST_WIDE_INT...
* cse.c (simplify_relational_operation): If MODE specifies a
mode wider than HOST_WIDE_INT, then the high word of a CONST_INT
is derived from the sign bit of the low word.
Jeff Law [Sun, 14 Sep 1997 18:29:43 +0000 (12:29 -0600)]
fixinc.math: New file to fix math.h on some systems.
* fixinc.math: New file to fix math.h on some systems.
* configure.in (freebsd, netbsd): Use fixinc.math on these
systems.
* configure: Rebuilt.
Should fix struct exception problems for freebsd, netbsd. Can be used
for others.
Jeffrey A Law [Sun, 14 Sep 1997 17:11:52 +0000 (17:11 +0000)]
regmove.c (regmove_optimize): If we end up moving the original insn due to lifetime overlaps...
* regmove.c (regmove_optimize): If we end up moving the
original insn due to lifetime overlaps, make sure to move
REG_NOTES too.
Fixes x86 (and maybe h8) failure.
Thu Sep 11 10:08:45 1997 Mark Mitchell <mmitchell@usa.net>
* pt.c (do_poplevel): Don't warn about unused local variables
while processing_template_decl since we don't always know whether
or not they will need constructing/destructing.
* pt.c (uses_template_parms): Check the values of an enumeration
type to make sure they don't depend on template parms.
* decl.c (make_typename_type): Don't lookup the field if the
context uses template parms, even if we're not
processing_template_decl at the moment.
* pt.c (coerce_template_parms): Avoid looking at the
TYPE_LANG_DECL portion of a typename type, since there won't be
one.
(tsubst): Do constant folding as necessary to make sure that
arguments passed to lookup_template_class really are constants.
Fred Fish [Fri, 12 Sep 1997 00:39:10 +0000 (00:39 +0000)]
Patches from Fred Fish for systems with sys/varargs.h but not varargs.h.
* protoize.c: Include <varargs.h> only if HAVE_VARARGS_H is
defined. If not defined, include <sys/varargs.h> if
HAVE_SYS_VARARGS_H is defined.
* configure.in: Test for varargs.h and sys/varargs.h.
* configure: Regenerate with autoconf.
* config.in: Regenerate with autoheader.
Jim Wilson [Thu, 11 Sep 1997 23:44:33 +0000 (16:44 -0700)]
Patches from H.J. Lu for alpha-linux -fPIC --enable-shared problem.
* Makefile.in (local-distclean): Also remove mh-frag mt-frag.
* configure.in (skipdirs): Add target-librx for Linux.
(alpha-*-linux*): Use config/mh-elfalphapic and config/mt-elfalphapic.
* mh-elfalphapic, mt-elfalphapic: New files.
Jeffrey A Law [Thu, 11 Sep 1997 19:53:52 +0000 (19:53 +0000)]
scope4.C: No longer expected to fail.
* g++.old-deja/g++.brendan/scope4.C: No longer expected to fail.
* g++.old-deja/g++.mike/p7325.C: Likewise.
* g++.old-deja/g++.mike/eh51.C: No longer expected to fail on the PA.
Jeffrey A Law [Thu, 11 Sep 1997 03:36:41 +0000 (03:36 +0000)]
Makefile (compare): Exit with nonzero status if there are comparison failures.
* Makefile (compare): Exit with nonzero status if there
are comparison failures. Note which files failed the
comparison test in .bad_compare.
For toplevel "make bootstrap".
H.J. Lu [Wed, 10 Sep 1997 18:54:55 +0000 (18:54 +0000)]
Patch to fix parallel makes from H.J. Lu.
* Makefile (all): Remove sub-all.
(stmp-sub-all): New target. Renamed from sub-all.
(info, texinfo): Also depend on stmp-sub-all.
(clean): Also remove stmp*.
(maintainer-clean): New target. Same as realclean.
Jeff Law [Wed, 10 Sep 1997 07:50:16 +0000 (01:50 -0600)]
Add port done awhile ago for the ARC cpu.
* arc/arc.h: New file.
* arc/arc.c: New file.
* arc/arc.md: New file.
* arc/initfini.c: New file.
* arc/lib1funcs.asm: New file.
* arc/t-arc: New file.
* arc/xm-arc.h: New file.
* ginclude/va-arc.h: New file.
* ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
* ginclude/varargs.h: Likewise.
* Makefile.in (USER_H): Add va-arc.h.
* configure.in (arc-*-elf*): Recognize.
* longlong.h: Add ARC support.
Mostly so I can test changes in snapshot scripts.
* expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
when clearing non-BLKmode data.
Fixes sparc problem.
Jeff Law [Tue, 9 Sep 1997 22:21:04 +0000 (16:21 -0600)]
Add port done awhile ago for the ARC cpu.
* arc/arc.h: New file.
* arc/arc.c: New file.
* arc/arc.md: New file.
* arc/initfini.c: New file.
* arc/lib1funcs.asm: New file.
* arc/t-arc: New file.
* arc/xm-arc.h: New file.
* ginclude/va-arc.h: New file.
* ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
* ginclude/varargs.h: Likewise.
* Makefile.in (USER_H): Add va-arc.h.
* configure.in (arc-*-elf*): Recognize.
* longlong.h: Add ARC support.
Mostly so I can test changes in snapshot scripts.
* expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
when clearing non-BLKmode data.
Fixes sparc problem.