amylaar [Thu, 19 Dec 2002 23:45:40 +0000 (23:45 +0000)]
* sched-rgn.c (init_regions): Update comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60340
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 19 Dec 2002 23:04:55 +0000 (23:04 +0000)]
* config/rs6000/rs6000.md (define_attr type): Remove altivec.
* config/rs6000/altivec.md (movv4si_internal): Set correct instruction
attributes.
(movv8hi_internal,movv16qi_internal,movv4sf_internal): Same.
(get_vrsave_internal,set_vrsave_internal): Same.
(altivec_vspltisb,altivec_vspltish,altivec_vspltisw): Same.
(absv16qi2,absv8hi2,absv4si2,absv4sf2): Same
(altivec_abss_v16qi,altivec_abss_v8hi,altivec_abss_v4si): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60339
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 19 Dec 2002 22:00:33 +0000 (22:00 +0000)]
* config/i386/i386.c (ix86_handle_cdecl_attribute): Check for
attributes incompatible with fastcall attribute.
(ix86_handle_regparm_attribute): Likewise.
* config/i386/i386.c (ix86_comp_type_attributes): Check for mismatched
fastcall types.
* config/i386/cygwin.h (TARGET_OS_CPP_BUILTINS): Add fastcall
attributes.
(ASM_OUTPUT_LABELREF): Define as i386_pe_output_labelref.
* config/i386/i386-protos.h (i386_pe_output_labelref): Declare.
* config/i386/winnt.c (i386_pe_mark_dllimport). Add __imp_ prefix in
i386_pe_output_labelref rather than here.
(gen_fastcall_suffix): New function. Decorates a label name with the
fastcall prefix (@) and the stdcall suffix.
(i386_pe_encode_section_info): Call gen_fastcall_suffix() if a symbol
has a fastcall attribute.
(i386_pe_output_labelref): New function. Outputs a label reference.
* config/i386/i386.c (ix86_attribute_table): Accept 'fastcall' as a
valid attribute.
(ix86_return_pops_args): Fastcall functions pop the stack.
(init_cumulative_args): Reserve registers ECX and EDX if function has
fastcall attribute.
(function_arg): Use registers ECX and EDX if function has fastcall
attribute.
* config/i386/i386.h (CUMULATIVE_ARGS): Add fastcall attribute flag.
(DLL_IMPORT_EXPORT_PREFIX): Redefine as '#'.
(FASTCALL_PREFIX): Define as '@'.
* config/i386/mingw32.h (TARGET_OS_CPP_BUILTINS): Add fastcall
attributes.
* doc/extend.texi: Add documentation of fastcall attribute.
* testsuite/gcc.dg/i386-fastcall-1.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60337
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Thu, 19 Dec 2002 21:44:30 +0000 (21:44 +0000)]
* configure.in: FORBUILD when build!=host changed from
../$build-alias to ../build-$build_alias to match change made
in top directory.
* configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60336
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 19 Dec 2002 20:47:12 +0000 (20:47 +0000)]
PR optimization/8988
* loop.c (maybe_eliminate_biv): Kill REG_EQUAL notes mentioning
the biv when eliminating.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60334
138bc75d-0d04-0410-961f-
82ee72b054a4
dpatel [Thu, 19 Dec 2002 20:34:43 +0000 (20:34 +0000)]
This was approved for 3.4 BIB branch. But since it is dead now, I am putting
this in mainline sources.
2002-12-19 Devang Patel <dpatel@apple.com>
* gcc.c (struct default_compiler): Recognizes input file name with
.CPP extension as C++ source files
* cp/lang-spec.h: Same
* doc/invoke.texi: Add documentation for .CPP support.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60330
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Thu, 19 Dec 2002 20:27:49 +0000 (20:27 +0000)]
Fix date typo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60327
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Thu, 19 Dec 2002 20:23:50 +0000 (20:23 +0000)]
* Makefile.tpl: Revert HJL's change.
* Makefile.in: Regenerated.
* configure.in: Put build_prefix before $(BUILD_SUBDIR) here, and
always.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60326
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Thu, 19 Dec 2002 19:57:29 +0000 (19:57 +0000)]
2002-12-19 Aldy Hernandez <aldyh@redhat.com>
PR 8553
* config/rs6000/altivec.md ("absv8hi2"): Add & to clobbered
registers.
("absv16qi2"): Same.
("absv4si2"): Same.
("absv4sf2"): Same.
("altivec_abss_v16qi"): Same.
("altivec_abss_v8hi"): Same.
("altivec_abss_v4si"): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60324
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Thu, 19 Dec 2002 19:55:12 +0000 (19:55 +0000)]
* config/s390/s390.md ("*tsthiCCT", "*tsthiCCT_cconly",
"*tstqiCCT", "*tstqiCCT_cconly"): New insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60322
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Thu, 19 Dec 2002 19:49:27 +0000 (19:49 +0000)]
add PR# to last fix
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60321
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 19 Dec 2002 19:31:55 +0000 (19:31 +0000)]
* java/lang/natClassLoader.cc (defineClass0): Removed erroneous
comment.
* java/lang/ClassLoader.java (defineClass): Use chained
exception when rethrowing.
* defineclass.cc (handleClassBegin): Mark class as interpreted.
* java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
constants.
* resolve.cc (_Jv_PrepareMissingMethods): New function.
(_Jv_PrepareClass): Use it.
* include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
(_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
* java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
(Class): _Jv_PrepareMissingMethods now friend.
* java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
Record `NULL' for system class loader.
(_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
system class loader.
(_Jv_FindClassInCache): Likewise.
(_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
(_Jv_FindClass): Special case system class loader.
* java/lang/natClass.cc (_Jv_abstractMethodError): New function.
(_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
vtable slots.
(_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
in a final class.
(_getDeclaredMethod): Don't return synthetic methods.
(getDeclaredMethods): Likewise.
(_getMethod): Likewise.
(_getMethods): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60319
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 19 Dec 2002 18:25:03 +0000 (18:25 +0000)]
tweak
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60316
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 19 Dec 2002 17:43:54 +0000 (17:43 +0000)]
Handle anonymous unions at the tree level.
C++ ABI change: Mangle anonymous unions using the name of their
first named field (by depth-first search). Should not cause
binary compatibility problems, though, as the compiler previously
didn't emit anything for affected unions.
* cp-tree.def (ALIAS_DECL): New tree code.
* decl2.c (build_anon_union_vars): Build ALIAS_DECLs. Return the
first field, not the largest.
(finish_anon_union): Don't mess with RTL. Do set DECL_ASSEMBLER_NAME,
push the decl, and write it out at namespace scope.
* decl.c (lookup_name_real): See through an ALIAS_DECL.
(pushdecl): Add namespace bindings for ALIAS_DECLs.
* rtti.c (unemitted_tinfo_decl_p): Don't try to look at the name
of a decl which doesn't have one.
* typeck.c (build_class_member_access_expr): Don't recurse if
we already have the type we want.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60315
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 19 Dec 2002 17:16:26 +0000 (17:16 +0000)]
Handle anonymous unions at the tree level.
C++ ABI change: Mangle anonymous unions using the name of their
first named field (by depth-first search). Should not cause
binary compatibility problems, though, as the compiler previously
didn't emit anything for affected unions.
* cp-tree.def (ALIAS_DECL): New tree code.
* decl2.c (build_anon_union_vars): Build ALIAS_DECLs. Return the
first field, not the largest.
(finish_anon_union): Don't mess with RTL. Do set DECL_ASSEMBLER_NAME,
push the decl, and write it out at namespace scope.
* decl.c (lookup_name_real): See through an ALIAS_DECL.
(pushdecl): Add namespace bindings for ALIAS_DECLs.
* rtti.c (unemitted_tinfo_decl_p): Don't try to look at the name
of a decl which doesn't have one.
* typeck.c (build_class_member_access_expr): Don't recurse if
we already have the type we want.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60314
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 19 Dec 2002 17:06:46 +0000 (17:06 +0000)]
PR target/8340
* stmt.c (expand_asm_operands): Produce an error when
the PIC register is clobbered.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60313
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Thu, 19 Dec 2002 15:53:46 +0000 (15:53 +0000)]
2002-12-18 Daniel Berlin <dberlin@dberlin.org>
* Makefile.in (OBJS): Add alloc-pool.o
(alloc-pool.o): New object.
* alloc-pool.c: New file.
* alloc-pool.h: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60312
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Thu, 19 Dec 2002 15:11:29 +0000 (15:11 +0000)]
PR c++/8099
* friend.c (make_friend_class): Allow partial specialization
when declaration is not a template friend.
* g++.dg/template/friend9.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60308
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Thu, 19 Dec 2002 14:45:19 +0000 (14:45 +0000)]
PR c++/3663
* pt.c (lookup_template_class): Copy TREE_PRIVATE and
TREE_PROTECTED to created decl nodes.
* g++.dg/template/access7.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60307
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 19 Dec 2002 14:27:13 +0000 (14:27 +0000)]
* intdoc.in: Fix typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60306
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Thu, 19 Dec 2002 11:01:21 +0000 (11:01 +0000)]
* Makefile.tpl, configure.in: Substitute libstdcxx_incdir.
* Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60303
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 19 Dec 2002 08:18:14 +0000 (08:18 +0000)]
2002-12-18 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/documentation.html: Add link for debug.html.
* docs/html/debug.html: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60302
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 19 Dec 2002 08:18:11 +0000 (08:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60301
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 19 Dec 2002 07:29:28 +0000 (07:29 +0000)]
omit needless braces
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60293
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 19 Dec 2002 06:59:46 +0000 (06:59 +0000)]
2002-12-18 Raif Naffah <raif@fl.net.au>
* java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
canonical form after divide().
(modInverse): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60292
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 19 Dec 2002 06:43:12 +0000 (06:43 +0000)]
2002-12-18 Andrew Haley <aph@redhat.com>
* parse.y (patch_invoke): Force evaluation order when `check' is
set. For PR libgcj/8945.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60290
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 19 Dec 2002 06:40:03 +0000 (06:40 +0000)]
* libjava.lang/pr8945.java: New file.
* libjava.lang/pr8945.out: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60286
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Thu, 19 Dec 2002 05:22:53 +0000 (05:22 +0000)]
2002-12-18 Loren James Rittle <rittle@labs.mot.com>
* gcc.c (validate_switches): Robustify against skipping past '\0'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60283
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Thu, 19 Dec 2002 05:19:47 +0000 (05:19 +0000)]
* config.gcc: Set extra_objs in the generic Darwin rule,
not in the machine-specific rules.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60282
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 19 Dec 2002 05:18:13 +0000 (05:18 +0000)]
* ChangeLog: Follow spelling conventions.
* ChangeLog.2: Likewise.
* ChangeLog.4: Likewise.
* ChangeLog.5: Likewise.
* cppexp.c: Likewise.
* df.c: Likewise.
* gcov.c: Likewise.
* gengtype.c: Likewise.
* reload1.c: Likewise.
* sched-rgn.c: Likewise.
* stmt.c: Likewise.
* stor-layout.c: Likewise.
* timevar.c: Likewise.
* toplev.c: Likewise.
* tree.h: Likewise.
* varasm.c: Likewise.
* config/fr30/fr30.md: Likewise.
* config/i386/i386.c: Likewise.
* config/ia64/ia64.c: Likewise.
* config/pa/pa.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60281
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Thu, 19 Dec 2002 02:59:15 +0000 (02:59 +0000)]
* basic-block.h (flow_bb_inside_loop_p): Correct prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60279
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 19 Dec 2002 02:31:50 +0000 (02:31 +0000)]
* class.c (build_base_field): Do not set DECL_PACKED on the
FIELD_DECL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60277
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 19 Dec 2002 01:54:59 +0000 (01:54 +0000)]
* testsuite/23_containers/vector_capacity.cc (test03): Move ...
* testsuite/23_containers/vector_resize.cc: ...here as a new file.
Pass in -lmalloc for irix6.
* testsuite/27_io/ios_base_storage.cc: Pass in -lmalloc for irix6.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60276
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Thu, 19 Dec 2002 00:51:33 +0000 (00:51 +0000)]
2002-12-18 H.J. Lu <hjl@gnu.org>
* Makefile.tpl: Add @build_prefix@ before $(BUILD_SUBDIR).
* Makefile.in: Regenerated.
* configure.in (build_prefix): New. Substitute.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60272
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 19 Dec 2002 00:27:52 +0000 (00:27 +0000)]
* g77.texi: Fix typos.
* intdoc.texi: Likewise.
* news.texi: Follow spelling conventions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60271
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Wed, 18 Dec 2002 23:44:18 +0000 (23:44 +0000)]
2002-12-18 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/altivec.h (vec_cmplt macro): Reverse arguments in
macro.
(vec_cmplt C++ functions): Reverse arguments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60269
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Wed, 18 Dec 2002 22:45:36 +0000 (22:45 +0000)]
* config/rs6000/t-rs6000: Move contents to t-fprules,
add rules for dependencies of rs6000.o and to build rs6000-c.o
* config/rs6000/t-fprules: New file from t-rs6000.
* config/rs6000/t-beos: Remove soft-fp rules.
* config/rs6000/t-ppccomm: Likewise.
* config/rs6000/t-newas: Likewise.
* config/rs6000/t-rs6000-c-rule: Delete.
* config.gcc: Use t-fprules for rs6000/ ports when appropriate.
Use t-rs6000 for all rs6000/ ports instead of t-rs6000-c-rule.
Create generic Darwin rules.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60265
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Wed, 18 Dec 2002 22:37:49 +0000 (22:37 +0000)]
* gengenrtl.c (gencode): Delete unnecessary rtl_obstack declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60264
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 18 Dec 2002 20:00:28 +0000 (20:00 +0000)]
new test
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60263
138bc75d-0d04-0410-961f-
82ee72b054a4
devans [Wed, 18 Dec 2002 19:23:58 +0000 (19:23 +0000)]
* m32r/m32r.c (addr24_operand): Fix arg to CONSTANT_POOL_ADDRESS_P
and LIT_NAME_P.
(move_src_operand): Remove compile-time warning.
* m32r/m32r.h (ROUND_ADVANCE_ARG): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60262
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Wed, 18 Dec 2002 18:34:22 +0000 (18:34 +0000)]
* Makefile.tpl: Don't let real targets depend on phony targets.
* Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60261
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 18 Dec 2002 16:43:20 +0000 (16:43 +0000)]
PR c++/8674
* call.c (build_over_call): Check specifically for TARGET_EXPR
when eliding.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60260
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 18 Dec 2002 16:42:23 +0000 (16:42 +0000)]
PR c++/6255
* decl.c (lookup_name_real): Build a new TYPENAME_TYPE rather than
modifying the old one.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60259
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 18 Dec 2002 16:41:11 +0000 (16:41 +0000)]
new test
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60258
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 18 Dec 2002 16:37:14 +0000 (16:37 +0000)]
* libU77/date_.c (G77_date_y2kbuggy_0): Declare G77_abort_0 noreturn.
* libU77/vxtidate_.c (G77_vxtidate_y2kbuggy_0): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60256
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 18 Dec 2002 16:31:35 +0000 (16:31 +0000)]
* src/vterminate.cc (__verbose_terminate_handler): Send
diagnostics to stderr.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60254
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 18 Dec 2002 16:27:56 +0000 (16:27 +0000)]
* unwind-dw2-fde.c (frame_downheap): Split out from...
(frame_heapsort): Here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60253
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 18 Dec 2002 15:50:40 +0000 (15:50 +0000)]
Only invoke testsuite_flags if the libstdc++-v3 directory has been found.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60252
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Wed, 18 Dec 2002 13:07:42 +0000 (13:07 +0000)]
* cp-tree.h (struct tree_srcloc): Use location_t.
(SOURCE_LOCUS): New.
(SRCLOC_FILE, SRCLOC_LINE): Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60247
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 18 Dec 2002 08:17:54 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60244
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 18 Dec 2002 06:36:51 +0000 (06:36 +0000)]
* tree.c (make_node): Don't set TREE_TYPE on 's' class nodes.
(build1): Always set TREE_SIDE_EFFECTS on 's' class nodes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60237
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 18 Dec 2002 06:26:58 +0000 (06:26 +0000)]
* decl.c (finish_function): Also complain about no return in
templates.
* semantics.c (finish_return_stmt): Also call check_return_expr in
templates.
* typeck.c (check_return_expr): In a template, just remember that we
saw a return.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60236
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 18 Dec 2002 06:07:26 +0000 (06:07 +0000)]
* gcc.c (do_spec_1) ['W']: End any pending argument from the braces.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60235
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 18 Dec 2002 05:57:43 +0000 (05:57 +0000)]
* calls.c (expand_call): Don't try to be clever about expanding
the return slot address.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60234
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Wed, 18 Dec 2002 05:28:41 +0000 (05:28 +0000)]
2002-12-18 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl (do-info): Depend on maybe-all-texinfo, not all-texinfo.
* Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60233
138bc75d-0d04-0410-961f-
82ee72b054a4
kkojima [Wed, 18 Dec 2002 02:26:03 +0000 (02:26 +0000)]
* config/sh/linux.h (NO_IMPLICIT_EXTERN_C, CPLUSPLUS_CPP_SPEC):
Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60231
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Wed, 18 Dec 2002 01:18:58 +0000 (01:18 +0000)]
* configure.in: Define with_target_subdir and with_build_subdir
variables in config-ml.in AC_OUTPUT call.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60230
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 17 Dec 2002 21:29:29 +0000 (21:29 +0000)]
* calls.c (expand_call): Handle CALL_EXPR_HAS_RETURN_SLOT_ADDR
with special struct-return ABIs.
cp/
* semantics.c (simplify_aggr_init_exprs_r): Don't change the type
of the CALL_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60223
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 17 Dec 2002 21:17:35 +0000 (21:17 +0000)]
* genmultilib: Use 'cd ./foo'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60222
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Tue, 17 Dec 2002 19:59:45 +0000 (19:59 +0000)]
* doc/c-tree.texi: Restore deliberate spelling mistakes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60219
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Tue, 17 Dec 2002 16:47:45 +0000 (16:47 +0000)]
* doc/c-tree.texi: Fix typos and follow spelling conventions.
* doc/cpp.texi: Likewise.
* doc/extend.texi: Likewise.
* doc/gty.texi: Likewise.
* doc/install.texi: Likewise.
* doc/invoke.texi: Likewise.
* doc/md.texi: Likewise.
* doc/passes.texi: Likewise.
* doc/rtl.texi: Likewise.
* doc/sourcebuild.texi: Likewise.
* doc/tm.texi: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60213
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Tue, 17 Dec 2002 14:38:59 +0000 (14:38 +0000)]
* doc/invoke.texi: Minor spelling and grammar fixes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60212
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Tue, 17 Dec 2002 12:38:58 +0000 (12:38 +0000)]
* config/s390/s390.c (s390_output_constant_pool): Replace
ASM_OUTPUT_INTERNAL_LABEL by (*targetm.asm_out.internal_label).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60208
138bc75d-0d04-0410-961f-
82ee72b054a4
sveinse [Tue, 17 Dec 2002 10:01:10 +0000 (10:01 +0000)]
* config.sub: Import from master repository
* config.guess: Ditto
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60207
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Tue, 17 Dec 2002 08:50:41 +0000 (08:50 +0000)]
* convert.c (convert_to_real): Disable function transformation for
now.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60206
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 17 Dec 2002 08:17:34 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60205
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Tue, 17 Dec 2002 07:49:32 +0000 (07:49 +0000)]
* gcc.c (handle_braces): Allow '@' as a switch name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60198
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 17 Dec 2002 06:24:02 +0000 (06:24 +0000)]
* c-semantics.c (add_scope_stmt): Abort if the end SCOPE_STMT
doesn't match the begin SCOPE_STMT in partialness.
cp/
* semantics.c (do_pushlevel): Call pushlevel after adding the
SCOPE_STMT.
(do_poplevel): Call poplevel before adding the SCOPE_STMT.
* parse.y (function_body): Go back to using compstmt.
* decl.c (pushdecl): Skip another level to get to the parms level.
* call.c (build_new_method_call): Use is_dummy_object to determine
whether or not to evaluate the object parameter to a static member
function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60196
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Tue, 17 Dec 2002 05:23:07 +0000 (05:23 +0000)]
* genmultilib: Create temporary files in unique subdirectory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60195
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Tue, 17 Dec 2002 05:18:51 +0000 (05:18 +0000)]
* gcc.c (validate_switches): Allow '@' as a switch name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60194
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 17 Dec 2002 05:10:23 +0000 (05:10 +0000)]
* Makefile.tpl (all-gcc): Use 'make quickstrap' if there was a
previous 'make bootstrap'.
* Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60193
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Tue, 17 Dec 2002 04:32:25 +0000 (04:32 +0000)]
* configure.in (noconfigdirs) [mmix-*-*]: Disable libgloss and gdb.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60192
138bc75d-0d04-0410-961f-
82ee72b054a4
cgf [Tue, 17 Dec 2002 02:58:05 +0000 (02:58 +0000)]
* mh-cygwin: Don't build libtermcap if it doesn't exist.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60191
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Tue, 17 Dec 2002 02:02:48 +0000 (02:02 +0000)]
* Makefile.in (gcov-iov.h): Improve portability.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60190
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 16 Dec 2002 22:45:41 +0000 (22:45 +0000)]
* mips.h (ASM_OUTPUT_ADDR_DIFF_ELT): Do not use qpword on API_N32/not
gas
* mips.md (tablejump insn): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60188
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 16 Dec 2002 22:18:33 +0000 (22:18 +0000)]
* root.texi: Change version number to 3.4.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60185
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 16 Dec 2002 21:59:43 +0000 (21:59 +0000)]
* doc/include/gcc-common.texi: Change version number to 3.4.
* gcj.texi: Change version number to 3.4.
* root.texi: Change version number to 3.4.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60183
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 16 Dec 2002 20:52:22 +0000 (20:52 +0000)]
add PR reference
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60182
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 16 Dec 2002 19:52:37 +0000 (19:52 +0000)]
2002-12-16 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/8949
* include/std/std_limits.h
(struct numeric_limits<short>,
struct numeric_limits<unsigned short>,
struct numeric_limits<int>,
struct numeric_limits<unsigned int>,
struct numeric_limits<long>,
struct numeric_limits<unsigned long>,
struct numeric_limits<long long>,
struct numeric_limits<unsigned long long>): According
to 18.2.1.2,53 and 18.2.1.5,1 is_iec559 shall be false.
* testsuite/18_support/numeric_limits.cc: Add test04.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60181
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Mon, 16 Dec 2002 19:02:09 +0000 (19:02 +0000)]
oops.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60178
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 16 Dec 2002 19:02:01 +0000 (19:02 +0000)]
2002-12-16 Benjamin Kosnik <bkoz@redhat.com>
* configure.in (GLIBCPP_ENABLE_DEBUG): Default to none.
Call GLIBCPP_ENABLE_DEBUG_FLAGS.
* acinclude.m4 (GLIBCPP_ENABLE_DEBUG): GLIBCPP_BUILD_DEBUG, new
conditional if --enable-debug is yes. Rework.
(GLIBCPP_ENABLE_DEBUG_FLAGS): New.
* aclocal.m4: Regenerate.
* libio/Makefile.am: Remove DEBUG_FLAGS.
* libio/Makefile.in: Regenerate.
* libsupc++/Makefile.am: Remove DEBUG_FLAGS.
* libsupc++/Makefile.in: Regenerate.
* docs/html/configopts.html: Add docs for --enable-debug,
--enable-debug-flags.
2002-12-16 Benjamin Kosnik <bkoz@redhat.com>
Correct dependency tracking, build warts.
* configure.in: Correct repeated AC_OUTPUT thrashing by
config-ml.in
* configure: Regenerate.
* include/Makefile.am (stamp-target): Stamp in top_builddir.
* include/Makefile.in: Regenerate.
* src/Makefile.am (codecvt_members.cc): New rule.
(collate_members.cc): Same.
(ctype_members.cc): Same.
(messages_members.cc): Same.
(monetary_members.cc): Same.
(numeric_members.cc): Same.
(time_members.cc): Same.
(c++locale.cc): Same.
(basic_file.cc): Same.
* src/Makefile.in: Regenerate.
* acinclude.m4 (CCTYPE_CHAR_CC): Remove.
(CCCODECVT_CC): Don't link, AC_SUBST.
(CCOLLATE_CC): Same.
(CCTYPE_CC): Same.
(CMESSAGES_CC): Same.
(CMONEY_CC): Same.
(CNUMERIC_CC): Same.
(CTIME_CC): Same.
(CLOCALE_CC): Same.
* aclocal.m4: Regenerate.
* src/Makefile.am (libstdc___la_LIBADD): Use top_builddir
for convenience libraries.
(version_arg): Rename linker.map to libstdc++.ver.
(libstdc___la_DEPENDENCIES): Remove linker.map, add
libstdc++-symbol.ver as a dependency.
(libstdc++-symbol.ver): Add rule.
* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Change LINKER_MAP to
SYMVER_MAP. Don't link, AC_SUBST.
* include/Makefile.am (target_headers_noinst): New.
(stamp-target): Add CLOCALE_INTERNAL_H.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't link
CLOCALE_INTERNAL_H, AC_SUBST.
* config/locale/gnu/c_locale.cc: Modify c++locale_internal.h
include.
* config/locale/gnu/time_members.cc: Same.
* config/locale/gnu/numeric_members.cc: Same.
* config/locale/gnu/monetary_members.cc: Same.
* config/locale/gnu/messages_members.cc: Same.
* config/locale/gnu/ctype_members.cc: Same.
* config/locale/gnu/collate_members.cc: Same.
* config/locale/gnu/codecvt_members.cc: Same.
* config/locale/generic/codecvt_members.cc: Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60177
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Mon, 16 Dec 2002 18:58:42 +0000 (18:58 +0000)]
move inclusion of signal.h
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60176
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Mon, 16 Dec 2002 18:23:00 +0000 (18:23 +0000)]
Merge basic-improvements-branch to trunk
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60174
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Mon, 16 Dec 2002 17:21:50 +0000 (17:21 +0000)]
* sh.h (EXTRA_CONSTRAINT_Z): New macro.
(EXTRA_CONSTRAINT): Use it.
* sh.md (anddi3): Use 'Z' constraint for alternative 2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60173
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 16 Dec 2002 08:17:31 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60172
138bc75d-0d04-0410-961f-
82ee72b054a4
devans [Mon, 16 Dec 2002 08:16:06 +0000 (08:16 +0000)]
fix my email address
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60165
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Sun, 15 Dec 2002 17:32:01 +0000 (17:32 +0000)]
* sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60159
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Sun, 15 Dec 2002 16:18:20 +0000 (16:18 +0000)]
* sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional
case of a body created for a Renaming_As_Body, on which
conformance checks are not performed. Fixes PR ada/5690.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60158
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Sun, 15 Dec 2002 12:05:34 +0000 (12:05 +0000)]
Revert last commit due to freeze.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60157
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Sun, 15 Dec 2002 11:34:17 +0000 (11:34 +0000)]
* config/mips/mips.md: Disable the movstrsi define_split.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60156
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 15 Dec 2002 08:17:26 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60154
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sat, 14 Dec 2002 08:37:12 +0000 (08:37 +0000)]
* Makefile.tpl (check-gcc-c++): Renamed from check-c++. Don't run
library tests.
(check-c++): Just depend on it and check-target-libstdc++-v3.
* Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60126
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 14 Dec 2002 08:17:21 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60125
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 14 Dec 2002 02:54:14 +0000 (02:54 +0000)]
* pa.c (output_millicode_call): Correct typo.
(output_call): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60115
138bc75d-0d04-0410-961f-
82ee72b054a4
dalej [Sat, 14 Dec 2002 00:54:02 +0000 (00:54 +0000)]
Fix test for LP64, move it to gcc.c-torture/compile (per Kaveh Ghazi)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60111
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 13 Dec 2002 23:07:47 +0000 (23:07 +0000)]
* config/mn10300/mn10300.c (print_operand) <case N>: Check
operand's range. Print value directly, without aid from
output_address.
<case U>: New.
<case S>: Make sure argument to fprintf has the right type.
* config/mn10300/mn10300.h (OK_FOR_T): New macro.
(EXTRA_CONSTRAINT): Adjust.
* config/mn10300/mn10300.md: Add new all-QImode pattern for
bclr. Use %U for immediate operands of bset and bclr.
(iorqi3): New expand, with insns for AM33 and mn10300.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60109
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 13 Dec 2002 22:26:37 +0000 (22:26 +0000)]
* Makefile.in (check-gcc-c++): Renamed from check-c++. Don't run
library tests.
(check-c++): Just depend on it and check-target-libstdc++-v3.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60107
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Fri, 13 Dec 2002 21:58:54 +0000 (21:58 +0000)]
PR C++/8031
* cvt.c (convert_to_pointer_force): Don't try comparing against
erronous type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60106
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 13 Dec 2002 21:04:27 +0000 (21:04 +0000)]
* cp-tree.h: Have the multiple-include guards around
the entire file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60104
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Fri, 13 Dec 2002 20:20:28 +0000 (20:20 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60103
138bc75d-0d04-0410-961f-
82ee72b054a4