Benjamin Kosnik [Tue, 21 Nov 2000 23:44:50 +0000 (23:44 +0000)]
strstream.h: Replace with...
2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* include/backward/strstream.h: Replace with...
* include/bits/std_strstream.h: ...this. Move.
* include/backward/complex.h: Remove SGIisms.
* include/backward/streambuf.h: Same.
* include/backward/stream.h: Same.
* include/backward/ostream.h: Same.
* include/backward/istream.h: Same.
* include/backward/iostream.h: Same.
* include/backward/iomanip.h: Same.
* include/backward/fstream.h: Same.
* libsupc++/new.h: Add using declarations for bad_alloc,
nothrow_t, and nothrow, move to ...
* include/backward/new.h: ...here.
From-SVN: r37631
Mark Mitchell [Tue, 21 Nov 2000 22:59:13 +0000 (22:59 +0000)]
* porting.texi: New file.
From-SVN: r37630
Neil Booth [Tue, 21 Nov 2000 22:54:57 +0000 (22:54 +0000)]
* Put changelog in wrong ChangeLog.
From-SVN: r37629
Branko Cibej [Tue, 21 Nov 2000 21:58:28 +0000 (21:58 +0000)]
os_defines.h: Define _XOPEN_SOURCE...
2000-11-21 Branko Cibej <brankoe@xbc.nu>
* config/os/solaris/solaris2.6/bits/os_defines.h: Define
_XOPEN_SOURCE, _LARGEFILE64_SOURCE, __EXTENSIONS__, __off_t,
__off64_t and __ssize_t.
* config/os/solaris/solaris2.5/bits/os_defines.h: For now, use the
same configuration as above.
From-SVN: r37628
Diego Novillo [Tue, 21 Nov 2000 21:00:20 +0000 (21:00 +0000)]
gcse.c (hoist_expr_reaches_here_p): Do not mark expr_bb as visited before visiting it.
2000-11-21 Diego Novillo <dnovillo@redhat.com>
* gcse.c (hoist_expr_reaches_here_p): Do not mark expr_bb as
visited before visiting it.
From-SVN: r37627
Benjamin Kosnik [Tue, 21 Nov 2000 20:53:36 +0000 (20:53 +0000)]
acinclude.m4 (AC_LC_MESSAGES): Check for locale.h.
2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* acinclude.m4 (AC_LC_MESSAGES): Check for locale.h.
* aclocal.m4: Regenerate.
* configure: Renerate.
From-SVN: r37626
Nick Clifton [Tue, 21 Nov 2000 19:34:14 +0000 (19:34 +0000)]
Allow ARM configurations with --with-cpu=arm9 or --with-cpu=arm9tdmi or...
Allow ARM configurations with --with-cpu=arm9 or --with-cpu=arm9tdmi or
--with-cpu=strongarm110 or --with-cpu=strongarm1100
From-SVN: r37625
Mark Mitchell [Tue, 21 Nov 2000 19:16:45 +0000 (19:16 +0000)]
* gcc_build: Remove code to put information in a log file.
From-SVN: r37624
Richard Henderson [Tue, 21 Nov 2000 19:09:38 +0000 (11:09 -0800)]
c-common.c (c_unsafe_for_reeval): New function.
* c-common.c (c_unsafe_for_reeval): New function.
(add_c_tree_codes): Register it.
* c-common.h: Declare it.
* tree.c (lang_unsafe_for_reeval): New hook.
(unsafe_for_reeval): Call it.
* tree.h: Declare it.
From-SVN: r37623
Richard Henderson [Tue, 21 Nov 2000 19:05:59 +0000 (11:05 -0800)]
i386.c (i386_simplify_dwarf_addr): Simplify @GOT references as well.
* config/i386/i386.c (i386_simplify_dwarf_addr): Simplify @GOT
references as well.
From-SVN: r37622
Neil Booth [Tue, 21 Nov 2000 18:30:13 +0000 (18:30 +0000)]
* gcc.dg/cpp/integrated1.c: Remove.
From-SVN: r37621
Neil Booth [Tue, 21 Nov 2000 18:27:49 +0000 (18:27 +0000)]
* do_includes: Revert to using cpp_read_file.
From-SVN: r37620
Bernd Schmidt [Tue, 21 Nov 2000 18:24:42 +0000 (18:24 +0000)]
Fix consec_sets_giv bug.
From-SVN: r37619
Jakub Jelinek [Tue, 21 Nov 2000 17:32:08 +0000 (18:32 +0100)]
* gcc.c-torture/execute/
20001121-1.c: New test.
From-SVN: r37618
Bernd Schmidt [Tue, 21 Nov 2000 17:29:49 +0000 (17:29 +0000)]
More accurate insn class attributes
From-SVN: r37617
Kaveh R. Ghazi [Tue, 21 Nov 2000 15:55:08 +0000 (15:55 +0000)]
tradcpp.c (output_line_command): Mark system headers as such in `line' commands.
* tradcpp.c (output_line_command): Mark system headers as such in
`line' commands.
From-SVN: r37616
Jakub Jelinek [Tue, 21 Nov 2000 12:50:52 +0000 (13:50 +0100)]
configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Sparc has .file/.loc support in as as well.
* configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Sparc has .file/.loc
support in as as well.
* configure: Regenerate.
From-SVN: r37615
Bernd Schmidt [Tue, 21 Nov 2000 11:40:05 +0000 (11:40 +0000)]
Update my entries in the MAINTAINERS file.
From-SVN: r37614
Andreas Jaeger [Tue, 21 Nov 2000 11:12:22 +0000 (12:12 +0100)]
g77.texi (Floating-point Exception Handling): Use feenableexcept in example.
* g77.texi (Floating-point Exception Handling): Use feenableexcept
in example.
(Floating-point precision): Change to match above change.
From-SVN: r37613
Hans-Peter Nilsson [Tue, 21 Nov 2000 10:47:30 +0000 (10:47 +0000)]
cplus-dem.c (cplus_demangle): Fix formatting.
* cplus-dem.c (cplus_demangle): Fix formatting.
(grow_vect): Ditto.
(ada_demangle): Ditto.
(internal_cplus_demangle): Ditto.
(mop_up): Ditto.
* cplus-dem.c (main): Handle java_demangling.
From-SVN: r37612
Richard Henderson [Tue, 21 Nov 2000 09:09:45 +0000 (01:09 -0800)]
New test.
From-SVN: r37611
Jeff Law [Tue, 21 Nov 2000 08:45:08 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r37610
Ovidiu Predescu [Tue, 21 Nov 2000 08:32:12 +0000 (08:32 +0000)]
Added.
From-SVN: r37609
Neil Booth [Tue, 21 Nov 2000 07:41:32 +0000 (07:41 +0000)]
New test.
From-SVN: r37608
Richard Henderson [Tue, 21 Nov 2000 07:39:52 +0000 (23:39 -0800)]
parse.y (yyparse_1): Rename the parser entry point.
* cp/parse.y (yyparse_1): Rename the parser entry point.
* c-lex.c (orig_filename): New variable.
(init_c_lex): Set it. Move call to cpp_start_read ...
(yyparse): ... here. New function.
* c-parse.in (yyparse_1): Rename the parser entry point.
* c-tree.h: Declare it.
From-SVN: r37607
Benjamin Kosnik [Tue, 21 Nov 2000 07:32:03 +0000 (07:32 +0000)]
mkcheck.in (explanation): Don't paste output of passing compiles into log file.
2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
* mkcheck.in (explanation): Don't paste output of passing compiles
into log file. Use -static. Get version info.
* testsuite/23_containers/vector_ctor.cc (test02): Fix thinko.
From-SVN: r37606
Jakub Jelinek [Tue, 21 Nov 2000 06:55:42 +0000 (07:55 +0100)]
expr.c (do_compare_and_jump): If op0 was replaced by promoted integer constant, use type of op1 for comparison.
* expr.c (do_compare_and_jump): If op0 was replaced by promoted
integer constant, use type of op1 for comparison.
* g++.old-deja/g++.other/inline17.C: New test.
From-SVN: r37605
Benjamin Kosnik [Tue, 21 Nov 2000 06:17:15 +0000 (06:17 +0000)]
mkcheck.in (explanation): Don't paste output of passing compiles into log file.
2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
* mkcheck.in (explanation): Don't paste output of passing compiles
into log file.
* testsuite/23_containers/vector_ctor.cc (test02): Fix thinko.
From-SVN: r37604
Alex Samuel [Tue, 21 Nov 2000 04:38:08 +0000 (04:38 +0000)]
mangle.c (write_name): Use <unscoped-name> for names directly in function scope.
* mangle.c (write_name): Use <unscoped-name> for names directly in
function scope.
(write_unscoped_name): Accept names directly in function scope.
From-SVN: r37603
Stan Shebs [Tue, 21 Nov 2000 03:04:44 +0000 (03:04 +0000)]
* POTFILES.in: Add config/rs6000/xm-darwin.h.
From-SVN: r37602
Stan Shebs [Tue, 21 Nov 2000 03:02:09 +0000 (03:02 +0000)]
xm-darwin.h: New file, Darwin host definitions.
* config/rs6000/xm-darwin.h: New file, Darwin host definitions.
* config/rs6000/x-darwin: New file, Darwin host fragment.
* config.gcc (powerpc-*-darwin*): New host.
* system.h (HAVE_DESIGNATED_INITIALIZERS): Allow this to be
overridden by a config file.
From-SVN: r37601
Gabriel Dos Reis [Tue, 21 Nov 2000 00:08:02 +0000 (00:08 +0000)]
std_complex.h (complex<double>): Constructor complex<double>::complex(const complex<float>&) is not explicit...
2000-11-21 Gabriel Dos Reis <gdr@codesourcery.com>
* include/bits/std_complex.h (complex<double>): Constructor
complex<double>::complex(const complex<float>&) is not explicit;
since it is a promotion.
(complex<long double>): Constructors taking complex<float> and
complex<double> are not explicit.
From-SVN: r37599
Donald Lindsay [Tue, 21 Nov 2000 00:05:05 +0000 (00:05 +0000)]
*** empty log message ***
From-SVN: r37598
Neil Booth [Tue, 21 Nov 2000 00:00:50 +0000 (00:00 +0000)]
paste2.c: Update test.
* gcc.dg/cpp/paste2.c: Update test.
* objc/execute/paste.m: New test.
From-SVN: r37597
Neil Booth [Mon, 20 Nov 2000 23:59:26 +0000 (23:59 +0000)]
cppmacro.c (paste_tokens): Rename from paste_payloads.
* cppmacro.c (paste_tokens): Rename from paste_payloads.
Change token type after pasting spellings.
(paste_all_tokens): Use it.
From-SVN: r37596
Tom Tromey [Mon, 20 Nov 2000 22:56:14 +0000 (22:56 +0000)]
jv-scan.c (help): Document --complexity.
* jv-scan.c (help): Document --complexity.
(options): Added --complexity.
(flag_complexity): New global.
(main): Call `report'.
* parse-scan.y (complexity): New global.
(if_then_statement, if_then_else_statement,
if_then_else_statement_nsi, switch_block_statement_group,
while_expression, do_statement, for_begin, continue_statement,
throw_statement, catch_clause, finally, method_invocation,
conditional_and_expression, conditional_or_expression,
conditional_expression): Update complexity.
(reset_report): Reset complexity.
(report): New function.
From-SVN: r37595
Tom Tromey [Mon, 20 Nov 2000 22:37:22 +0000 (22:37 +0000)]
lex.c (yylex): Added STRICT_TK case.
* lex.c (yylex): Added STRICT_TK case.
* parse.y (STRICT_TK): Added.
* parse-scan.y (STRICT_TK): Added.
* Make-lang.in ($(srcdir)/java/keyword.h): Added missing `\' and
`;'. Use 4, not 3, with -k option. Correctly rename resulting
file.
* keyword.h: Rebuilt.
* keyword.gperf (strictfp): Added.
From-SVN: r37594
Tom Tromey [Mon, 20 Nov 2000 22:32:40 +0000 (22:32 +0000)]
lex.c (yylex): Recognize floating point constants with leading 0.
* lex.c (yylex): Recognize floating point constants with leading
0.
From-SVN: r37593
Richard Henderson [Mon, 20 Nov 2000 21:40:30 +0000 (13:40 -0800)]
dwarf.h (FMT_CODE): Adjust argument order; fix mapping to dwarf_subscr_data_formats bits.
* dwarf.h (FMT_CODE): Adjust argument order; fix mapping to
dwarf_subscr_data_formats bits.
* dwarfout.c (simple_type_size_in_bits): Handle a type with
no computed size as size zero.
(field_byte_offset): Likewise.
(subscript_data_attribute): Handle a range with no upper bound.
From-SVN: r37592
Benjamin Kosnik [Mon, 20 Nov 2000 21:13:45 +0000 (21:13 +0000)]
std_complex.h: Tweaks, include cmath for abs overloads.
2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/std_complex.h: Tweaks, include cmath for abs overloads.
* src/complex.cc: Remove cmath include, formatting tweaks, remove
dead code.
* include/c/bits/std_cmath.h: Formatting tweaks.
* testsuite/26_numerics/complex_value.cc: New file, for catching
bits gleaned from libstdc++/106.
* testsuite/23_containers/vector_ctor.cc (test02): Add test from
libstdc++/102.
From-SVN: r37591
Kaveh R. Ghazi [Mon, 20 Nov 2000 21:09:25 +0000 (21:09 +0000)]
* gansidecl.h (const): Check __STDC__ before undef'ing `const'.
From-SVN: r37590
Joseph Myers [Mon, 20 Nov 2000 19:06:19 +0000 (19:06 +0000)]
c-typeck.c (build_conditional_expr): When merging type qualifiers for conditional expressions between a pointer and...
* c-typeck.c (build_conditional_expr): When merging type
qualifiers for conditional expressions between a pointer and a
pointer to a void type, merge the qualifiers on the target types
rather than the pointer type. Remove obsolete conditioned out
code.
testsuite:
* gcc.dg/c99-condexpr-1.c: New test.
From-SVN: r37589
Neil Booth [Mon, 20 Nov 2000 18:28:43 +0000 (18:28 +0000)]
* gcc.dg/cpp/macsyntx.c: Use correct command line option.
From-SVN: r37588
Neil Booth [Mon, 20 Nov 2000 18:27:32 +0000 (18:27 +0000)]
c-lang.c (lang_init_options): Update call to cpp_reader_init.
* c-lang.c (lang_init_options): Update call to
cpp_reader_init.
* cppmain.c (main): Similarly.
* fix-header.c (read_scan_file): Similarly.
* cp/lex.c (lang_init_options): Similarly.
* objc/objc-act.c (lang_init_options): Similarly.
* cppexp.c (parse_number): Only warn for unextended C89.
* cppinit.c (set_lang): New function.
(cpp_reader_init): Take a LANG argument and pass it to set_lang.
(COMMAND_LINE_OPTIONS): New option std=c++98.
(cpp_handle_option): Use set_lang.
* cpplib.h (enum_c_lang): New enumeration. Update comments.
From-SVN: r37587
Tom Tromey [Mon, 20 Nov 2000 18:25:41 +0000 (18:25 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (core_java_source_files): Added new files.
* java/lang/reflect/ReflectPermission.java: New class.
* java/io/FileFilter.java: From Classpath
* java/io/FilePermission.java: From Classpath.
From-SVN: r37586
Nathan Sidwell [Mon, 20 Nov 2000 16:13:47 +0000 (16:13 +0000)]
lex.c (rid_to_yy, RID_EXPORT): Make unique keyword.
cp:
* lex.c (rid_to_yy, RID_EXPORT): Make unique keyword.
* parse.y (extdef): Add EXPORT reduction.
* spew.c (yylex): Don't skip export here.
testsuite:
* g++.old-deja/g++.pt/export1.C: New test.
From-SVN: r37585
Jakub Jelinek [Mon, 20 Nov 2000 15:22:40 +0000 (16:22 +0100)]
* gcc.dg/
20001117-1.c: New test.
From-SVN: r37584
William Cohen [Mon, 20 Nov 2000 14:23:42 +0000 (14:23 +0000)]
Correction so -fchech-memory-usage only flushes hard registers to temp memory location.
Correction so -fchech-memory-usage only flushes hard registers to temp
memory location. Values in psuedo registers and memory shouldn't be
affected.
From-SVN: r37583
Bernd Schmidt [Mon, 20 Nov 2000 14:17:59 +0000 (14:17 +0000)]
Fix sh problems at -O0
From-SVN: r37582
Jeff Law [Mon, 20 Nov 2000 08:45:12 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r37581
Joseph Myers [Mon, 20 Nov 2000 08:25:18 +0000 (08:25 +0000)]
c++config, [...]: Correct spelling of "deprecated".
* include/bits/c++config, include/bits/ios_base.h,
include/bits/std_streambuf.h: Correct spelling of "deprecated".
From-SVN: r37580
Richard Henderson [Mon, 20 Nov 2000 01:48:49 +0000 (17:48 -0800)]
* crtstuff.c (force_to_data): Use array size 1 not 0.
From-SVN: r37579
Richard Henderson [Mon, 20 Nov 2000 01:25:59 +0000 (17:25 -0800)]
dwarf2out.c (simple_type_size_in_bits): Handle a type with no computed size as size zero.
* dwarf2out.c (simple_type_size_in_bits): Handle a type with
no computed size as size zero.
(field_byte_offset): Likewise.
From-SVN: r37578
Joseph Myers [Mon, 20 Nov 2000 00:58:02 +0000 (00:58 +0000)]
* config.gcc: Fix another typo.
From-SVN: r37577
Richard Henderson [Sun, 19 Nov 2000 23:40:37 +0000 (15:40 -0800)]
c-decl.c (grokdeclarator): Support flexible array members.
* c-decl.c (grokdeclarator): Support flexible array members.
Use open-ended ranges for these and zero-length arrays.
* c-typeck.c (push_init_level): Validate the context of
initialization of a zero-length array.
* tree.c (int_fits_type_p): Be prepared for missing bounds.
* varasm.c (array_size_for_constructor): New.
(output_constructor): Use it for arrays of unspecified length.
* extend.texi (Zero Length): Mention C99 flexible array members.
Document initialization in a top-level struct as valid.
From-SVN: r37576
Mark Mitchell [Sun, 19 Nov 2000 21:07:24 +0000 (21:07 +0000)]
decl.c (init_decl_processing): Correct name of pure virtual function under the new ABI.
* decl.c (init_decl_processing): Correct name of pure virtual
function under the new ABI.
* rtti.c (throw_bad_cast): Likewise, for bad cast function.
(throw_bad_typeid): Likewise for bad typeid function.
* libsupc++/exception_support.cc (__throw_bad_cast): Name it
__cxa_bad_cast under the new ABI.
(__throw_bad_typeid): Name it __cxa_bad_typeid under the new ABI.
* libsupc++/pure.cc (__pure_virtual): Name it __cxa_pure_virtual
under the new ABI.
From-SVN: r37575
Jason Merrill [Sun, 19 Nov 2000 19:59:18 +0000 (14:59 -0500)]
tweak
From-SVN: r37574
Joseph Myers [Sun, 19 Nov 2000 19:42:33 +0000 (19:42 +0000)]
* config.gcc, invoke.texi: Fix errors in spelling of "deprecated".
From-SVN: r37573
Joseph Myers [Sun, 19 Nov 2000 19:39:17 +0000 (19:39 +0000)]
alias.c (mems_in_disjoint_alias_sets_p): Do use alias sets in stdarg and varargs functions.
* alias.c (mems_in_disjoint_alias_sets_p): Do use alias sets in
stdarg and varargs functions.
From-SVN: r37572
Zack Weinberg [Sun, 19 Nov 2000 19:30:13 +0000 (19:30 +0000)]
gcc.c (process_command): Define 'j' variable when MODIFY_TARGET_NAME is defined.
* gcc.c (process_command): Define 'j' variable when
MODIFY_TARGET_NAME is defined.
From-SVN: r37571
Richard Henderson [Sun, 19 Nov 2000 19:09:35 +0000 (11:09 -0800)]
* stor-layout.c (variable_size): Only put SAVE_EXPRs on pending_sizes.
From-SVN: r37570
Zack Weinberg [Sun, 19 Nov 2000 19:02:50 +0000 (19:02 +0000)]
texi2pod.pl: - Add real command line parsing.
* texi2pod.pl:
- Add real command line parsing.
- Support @ifset, @ifclear, @set, @value, -D switch.
- Support @sc. Improve handling of @ref and friends.
- Discard @subsection, @need, @node lines.
- Un-nest font changes to match texinfo semantics.
- Handle @{ and @}. Oops.
- Don't emit E<> directives inside verbatim blocks.
From-SVN: r37569
Matthias Klose [Sun, 19 Nov 2000 18:57:05 +0000 (18:57 +0000)]
g77.texi (Floating-point precision): Adjust example to work with glibc (>= 2.1).
Sun Nov 19 17:29:22 2000 Matthias Klose <doko@marvin.itso-berlin.de>
* g77.texi (Floating-point precision): Adjust example
to work with glibc (>= 2.1).
From-SVN: r37568
Franz Sirl [Sun, 19 Nov 2000 18:49:32 +0000 (18:49 +0000)]
rs6000.c (rs6000_encode_section_info): Fix string length calculation and allocation.
2000-11-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* rs6000/rs6000.c (rs6000_encode_section_info): Fix string length
calculation and allocation.
From-SVN: r37567
Matthias Klose [Sun, 19 Nov 2000 16:19:17 +0000 (16:19 +0000)]
g77.texi (Floating-point Exception Handling): Adjust example to work with glibc (>= 2.1).
Sat Nov 18 13:54:49 2000 Matthias Klose <doko@cs.tu-berlin.de>
* g77.texi (Floating-point Exception Handling): Adjust
example to work with glibc (>= 2.1).
From-SVN: r37566
Kaveh R. Ghazi [Sun, 19 Nov 2000 13:15:51 +0000 (13:15 +0000)]
Warning fixes:
* builtins.c (c_getstr): Constify variable.
* gmon-sol2.c (_mcleanup): Comment out #endif labels.
* conflict.c (const_conflict_graph_arc): New typedef.
(arc_hash, arc_eq): Avoid needlessly casting away const-ness.
* cppmacro.c (builtin_macro): Likewise.
* dwarf2out.c (output_comp_unit): Constify variable.
* fix-header.c (v_fatal): Add ATTRIBUTE_PRINTF.
* protoize.c (IS_SAME_PATH_CHAR): Use TOUPPER, not toupper.
* ssa.c (ssa_rename_from_hash_function): Avoid needlessly casting
away const-ness.
* tradcpp.c (rescan, do_line, macroexpand, macarg): Use
ISALNUM/ISDIGIT/ISPRINT, not isalnum/isdigit/isprint.
* varasm.c (const_str_htab_hash, const_str_htab_eq,
compare_constant_1, record_constant_1): Constify.
From-SVN: r37565
Kaveh R. Ghazi [Sun, 19 Nov 2000 12:56:21 +0000 (12:56 +0000)]
java-tree.h (cyclic_inheritance_report): Constify.
* java-tree.h (cyclic_inheritance_report): Constify.
* parse.y (cyclic_inheritance_report): Likewise.
From-SVN: r37564
Kaveh R. Ghazi [Sun, 19 Nov 2000 12:46:33 +0000 (12:46 +0000)]
cplus-dem.c (grow_vect): Prototype.
* cplus-dem.c (grow_vect): Prototype.
(ada_demangle): Cast the arg of ctype macros to unsigned char.
From-SVN: r37563
Richard Henderson [Sun, 19 Nov 2000 09:41:33 +0000 (01:41 -0800)]
* gcc.c-torture/execute/nestfunc-3.c (main): Mask result to 32 bits.
From-SVN: r37562
Richard Henderson [Sun, 19 Nov 2000 09:35:54 +0000 (01:35 -0800)]
c-torture.exp (TORTURE_OPTIONS): Remove -fssa.
* lib/c-torture.exp (TORTURE_OPTIONS): Remove -fssa.
* lib/f-torture.exp (TORTURE_OPTIONS): Likewise.
* lib/gcc-dg.exp (TORTURE_OPTIONS): Likewise.
From-SVN: r37561
Richard Henderson [Sun, 19 Nov 2000 09:33:30 +0000 (01:33 -0800)]
20001009-2.c (foo): Rename from main.
* gcc.c-torture/execute/
20001009-2.c (foo): Rename from main.
(main): New. Exit cleanly.
From-SVN: r37560
Jeff Law [Sun, 19 Nov 2000 08:45:10 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r37559
Richard Henderson [Sun, 19 Nov 2000 08:36:18 +0000 (00:36 -0800)]
c-decl.c (grokdeclarator): Special case the creation of an index for a zero-length array.
* c-decl.c (grokdeclarator): Special case the creation of an
index for a zero-length array.
* tree.c (build_index_type): Revert Oct 20 change.
From-SVN: r37558
Marek Michalkiewicz [Sun, 19 Nov 2000 07:10:54 +0000 (08:10 +0100)]
avr-protos.h (avr_output_addr_vec_elt): Prototype.
* config/avr/avr-protos.h (avr_output_addr_vec_elt): Prototype.
* config/avr/avr.c (jump_tables_size): New variable.
(function_prologue): Initialize it as 0.
(function_epilogue): Add it to function_size.
(avr_output_addr_vec_elt): New function. Count words in jump
tables in jump_tables_size. Move code ...
* config/avr/avr.h (ASM_OUTPUT_ADDR_VEC_ELT): ... from here.
Call avr_output_addr_vec_elt instead.
* config/avr/avr.md (tablejump): Remove disabled define_expand.
From-SVN: r37557
Mark Mitchell [Sun, 19 Nov 2000 05:00:10 +0000 (05:00 +0000)]
configure.in: Make --enable-new-gxx-abi the default.
* configure.in: Make --enable-new-gxx-abi the default.
* configure: Likewise.
From-SVN: r37556
Mark Mitchell [Sun, 19 Nov 2000 04:56:45 +0000 (04:56 +0000)]
decl.c (grokparms): Don't even function types of `void' type, either.
* decl.c (grokparms): Don't even function types of `void' type,
either.
* mangle.c (write_type): Don't crash when confronted with the
error_mark_node.
From-SVN: r37555
Mark Mitchell [Sun, 19 Nov 2000 04:53:38 +0000 (04:53 +0000)]
exception_support.h: New header file.
* libsupc++/exception_support.h: New header file.
* libsupc++/vec.cc: Include it.
(__cxa_vec_new2): Recatch exceptions before rethrows.
(__cxa_vec_new3): Likewise.
(__cxa_vec_ctor): Likewise.
(__cxa_vec_cctor): Likewise.
(__cxa_vec_dtor): Likewise.
(__cxa_vec_delete2): Likewise.
(__cxa_vec_delete3): Likewise.
From-SVN: r37554
Mark Mitchell [Sun, 19 Nov 2000 02:34:29 +0000 (02:34 +0000)]
* decl.c (grokparms): Don't create parameters of `void' type.
From-SVN: r37553
Mark Mitchell [Sun, 19 Nov 2000 02:25:03 +0000 (02:25 +0000)]
Remove test
From-SVN: r37552
Mark Mitchell [Sun, 19 Nov 2000 02:22:53 +0000 (02:22 +0000)]
exception_support.h: New header file.
* libsupc++/exception_support.h: New header file.
* libsupc++/vec.cc: Include it.
(__cxa_vec_new2): Recatch exceptions before rethrows.
(__cxa_vec_new3): Likewise.
(__cxa_vec_ctor): Likewise.
(__cxa_vec_cctor): Likewise.
(__cxa_vec_dtor): Likewise.
(__cxa_vec_delete2): Likewise.
(__cxa_vec_delete3): Likewise.
From-SVN: r37551
Kaveh R. Ghazi [Sun, 19 Nov 2000 00:30:05 +0000 (00:30 +0000)]
Makefile.in (tradcpp.o, tradcif.o): Depend on tradcpp.h.
* Makefile.in (tradcpp.o, tradcif.o): Depend on tradcpp.h.
* tradcif.y: Include tradcpp.h. Constify. Make functions static.
Move extern function declarations to tradcpp.h.
* tradcpp.c: Likewise.
* tradcpp.h: New file.
From-SVN: r37550
Joseph Myers [Sat, 18 Nov 2000 23:18:36 +0000 (23:18 +0000)]
c-decl.c (check_for_loop_decls): New function.
* c-decl.c (check_for_loop_decls): New function.
* c-parse.in (for_init_stmt): New.
(select_or_iter_stmt): Use for_init_stmt.
* c-tree.h (check_for_loop_decls): New declaration.
testsuite:
* gcc.dg/c90-fordecl-1.c, gcc.dg/c99-fordecl-1.c,
gcc.dg/c99-fordecl-2.c: New tests.
From-SVN: r37549
Richard Henderson [Sat, 18 Nov 2000 22:35:36 +0000 (14:35 -0800)]
zerolen-1.c: Rename from
20001115-1.c.
* gcc.c-torture/execute/zerolen-1.c: Rename from
20001115-1.c.
* gcc.c-torture/execute/zerolen-2.c: New.
From-SVN: r37548
Alexandre Oliva [Sat, 18 Nov 2000 22:06:40 +0000 (22:06 +0000)]
Adjust copyright years, based on other copies of the file
From-SVN: r37547
Alexandre Oliva [Sat, 18 Nov 2000 21:57:54 +0000 (21:57 +0000)]
Makefile.in: Merge with src and libgcj.
* Makefile.in: Merge with src and libgcj.
(ALL_GCC_C, ALL_GCC_CXX): New macros. Use them as dependencies of
configure-target-<library> when their configure scripts need the C
or C++ library to have already been built to work properly.
(do_proto_toplev): Set them to an empty string.
From-SVN: r37546
Alexandre Oliva [Sat, 18 Nov 2000 20:55:40 +0000 (20:55 +0000)]
Makefile.in (HOST_LIB_PATH, [...]): New macros.
* Makefile.in (HOST_LIB_PATH, TARGET_LIB_PATH): New macros.
(REALLY_SET_LIB_PATH): Use them.
From-SVN: r37545
Franz Sirl [Sat, 18 Nov 2000 18:46:15 +0000 (18:46 +0000)]
20001115-1.c: Don't write to nonexistant memory.
* gcc.c-torture/execute/
20001115-1.c: Don't write to nonexistant
memory.
From-SVN: r37544
Alexandre Oliva [Sat, 18 Nov 2000 15:55:38 +0000 (15:55 +0000)]
Make-lang.in (INTDOC_DEPS): New macro.
* Make-lang.in (INTDOC_DEPS): New macro.
(f/intdoc.texi): Depend on $(INTDOC_DEPS). Build f/intdoc.
(f/intdoc): Likewise. Add $(build_exeext).
From-SVN: r37543
Neil Booth [Sat, 18 Nov 2000 12:18:09 +0000 (12:18 +0000)]
cppinit.c: Update comments.
* cppinit.c: Update comments.
(cpp_reader_init): Make -imacro and -include use the standard
#include "" search path.
(do_includes): New function.
From-SVN: r37542
Jeff Law [Sat, 18 Nov 2000 08:45:11 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r37541
Tom Tromey [Sat, 18 Nov 2000 02:30:29 +0000 (02:30 +0000)]
AccessibleObject.java (isAccessible, [...]): Now public.
* java/lang/reflect/AccessibleObject.java (isAccessible,
setAccessible): Now public.
From-SVN: r37540
Tom Tromey [Sat, 18 Nov 2000 02:29:13 +0000 (02:29 +0000)]
natString.cc: Include Locale.h.
* java/lang/natString.cc: Include Locale.h.
(toUpperCase): Added `locale' argument. Handle locale
sensitivity.
(toLowerCase): Added `locale' argument. Handle locale
sensitivity.
(ESSET, CAPITAL_S, SMALL_I, CAPITAL_I_WITH_DOT, SMALL_DOTLESS_I,
CAPITAL_I): New defines.
* java/lang/String.java (CASE_INSENSITIVE_ORDER): Now public and
final.
Import Locale.
(toUpperCase, toLowerCase): New methods. Variants which accept
locale now native.
* java/lang/ExceptionInInitializerError.java (printStackTrace):
New methods.
* java/util/PropertyPermission.java: Re-merged from Classpath.
* java/text/RuleBasedCollator.java (getCollationElementIterator):
New method.
* java/text/StringCharacterIterator.java: Reindented.
(setText): New method.
From-SVN: r37539
Mark Wielaard [Sat, 18 Nov 2000 02:00:06 +0000 (02:00 +0000)]
backport: *.java: Reformat all to unofficial standard coding style.
Merge with Classpath (changes by Bryce McKinlay)
* java/util/jar/*.java: Reformat all to unofficial standard coding
style. No changes of substance.
From-SVN: r37538
Stan Shebs [Sat, 18 Nov 2000 00:44:19 +0000 (00:44 +0000)]
* MAINTAINERS: Add self to Write After Approval list.
From-SVN: r37537
Ben Elliston [Sat, 18 Nov 2000 00:07:16 +0000 (00:07 +0000)]
crt1.asm (start_l): Move PC-relative move instruction out of a branch delay slot.
2000-11-18 Ben Elliston <bje@redhat.com>
* config/sh/crt1.asm (start_l): Move PC-relative move instruction
out of a branch delay slot.
From-SVN: r37536
Richard Henderson [Sat, 18 Nov 2000 00:02:26 +0000 (16:02 -0800)]
elf.h (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
* config/alpha/elf.h (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
(ASM_SPEC): Disable and enable .mdebug based on -gstabs.
(ASM_FILE_START): Only write out ecoff .file directive if
emitting mdebug debugging.
From-SVN: r37535
Richard Henderson [Fri, 17 Nov 2000 23:53:38 +0000 (15:53 -0800)]
configure.in (HAVE_AS_DWARF2_DEBUG_LINE): New.
* configure.in (HAVE_AS_DWARF2_DEBUG_LINE): New. Detect
whether as accepts .file/.loc and produces dwarf2 line info.
* dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Default on if
the assembler supports it.
* config.in, configure: Regenerate.
From-SVN: r37534
Richard Henderson [Fri, 17 Nov 2000 23:48:15 +0000 (15:48 -0800)]
* fixinc/mkfixinc.sh: Don't disable fixincludes for any linux*.
From-SVN: r37533
Theodore Papadopoulo [Fri, 17 Nov 2000 22:59:03 +0000 (23:59 +0100)]
stl_tree.h: Overload operators == and != to be able to handle the case...
2000-11-17 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
* include/bits/stl_tree.h: Overload operators == and != to be able
to handle the case (const_iterator,iterator) and
(iterator,const_iterator), thus fixing libstdc++/737 and the like.
* testsuite/23_containers/map_operators.cc (test02): New tests.
From-SVN: r37532
Benjamin Kosnik [Fri, 17 Nov 2000 22:58:19 +0000 (22:58 +0000)]
stl_tree.h: Overload operators == and != to be able to handle the case...
2000-11-17 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
* include/bits/stl_tree.h: Overload operators == and != to be able
to handle the case (const_iterator,iterator) and
(iterator,const_iterator), thus fixing libstdc++/737 and the like.
From-SVN: r37531