aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-11-21c-common.c (c_unsafe_for_reeval): New function.Richard Henderson5-3/+40
* 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
2000-11-21i386.c (i386_simplify_dwarf_addr): Simplify @GOT references as well.Richard Henderson2-2/+9
* config/i386/i386.c (i386_simplify_dwarf_addr): Simplify @GOT references as well. From-SVN: r37622
2000-11-21* gcc.dg/cpp/integrated1.c: Remove.Neil Booth2-11/+4
From-SVN: r37621
2000-11-21* do_includes: Revert to using cpp_read_file.Neil Booth1-8/+3
From-SVN: r37620
2000-11-21Fix consec_sets_giv bug.Bernd Schmidt2-2/+11
From-SVN: r37619
2000-11-21* gcc.c-torture/execute/20001121-1.c: New test.Jakub Jelinek2-0/+23
From-SVN: r37618
2000-11-21More accurate insn class attributesBernd Schmidt2-273/+310
From-SVN: r37617
2000-11-21tradcpp.c (output_line_command): Mark system headers as such in `line' commands.Kaveh R. Ghazi2-0/+7
* tradcpp.c (output_line_command): Mark system headers as such in `line' commands. From-SVN: r37616
2000-11-21configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Sparc has .file/.loc support in as ↵Jakub Jelinek3-2/+8
as well. * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Sparc has .file/.loc support in as as well. * configure: Regenerate. From-SVN: r37615
2000-11-21Update my entries in the MAINTAINERS file.Bernd Schmidt2-1/+7
From-SVN: r37614
2000-11-21g77.texi (Floating-point Exception Handling): Use feenableexcept in example.Andreas Jaeger2-8/+15
* g77.texi (Floating-point Exception Handling): Use feenableexcept in example. (Floating-point precision): Change to match above change. From-SVN: r37613
2000-11-21cplus-dem.c (cplus_demangle): Fix formatting.Hans-Peter Nilsson2-31/+45
* 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
2000-11-21New test.Richard Henderson2-0/+25
From-SVN: r37611
2000-11-21Daily bump.Jeff Law5-5/+5
From-SVN: r37610
2000-11-21Added.Ovidiu Predescu1-0/+13
From-SVN: r37609
2000-11-20New test.Neil Booth2-0/+15
From-SVN: r37608
2000-11-20parse.y (yyparse_1): Rename the parser entry point.Richard Henderson6-5/+38
* 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
2000-11-21mkcheck.in (explanation): Don't paste output of passing compiles into log file.Benjamin Kosnik2-15/+17
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
2000-11-21expr.c (do_compare_and_jump): If op0 was replaced by promoted integer ↵Jakub Jelinek4-0/+44
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
2000-11-21mkcheck.in (explanation): Don't paste output of passing compiles into log file.Benjamin Kosnik2-2/+3
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
2000-11-21mangle.c (write_name): Use <unscoped-name> for names directly in function scope.Alex Samuel2-4/+18
* 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
2000-11-21* POTFILES.in: Add config/rs6000/xm-darwin.h.Stan Shebs2-0/+5
From-SVN: r37602
2000-11-21xm-darwin.h: New file, Darwin host definitions.Stan Shebs5-0/+28
* 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
2000-11-21std_complex.h (complex<double>): Constructor complex<double>::complex(const ↵Gabriel Dos Reis2-3/+13
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
2000-11-21*** empty log message ***Donald Lindsay2-3/+15
From-SVN: r37598
2000-11-21paste2.c: Update test.Neil Booth3-2/+30
* gcc.dg/cpp/paste2.c: Update test. * objc/execute/paste.m: New test. From-SVN: r37597
2000-11-20cppmacro.c (paste_tokens): Rename from paste_payloads.Neil Booth2-74/+92
* cppmacro.c (paste_tokens): Rename from paste_payloads. Change token type after pasting spellings. (paste_all_tokens): Use it. From-SVN: r37596
2000-11-20jv-scan.c (help): Document --complexity.Tom Tromey3-17/+63
* 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
2000-11-20lex.c (yylex): Added STRICT_TK case.Tom Tromey7-86/+102
* 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
2000-11-20lex.c (yylex): Recognize floating point constants with leading 0.Tom Tromey2-1/+10
* lex.c (yylex): Recognize floating point constants with leading 0. From-SVN: r37593
2000-11-20dwarf.h (FMT_CODE): Adjust argument order; fix mapping to ↵Richard Henderson3-25/+28
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
2000-11-20std_complex.h: Tweaks, include cmath for abs overloads.Benjamin Kosnik6-638/+620
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
2000-11-20* gansidecl.h (const): Check __STDC__ before undef'ing `const'.Kaveh R. Ghazi2-1/+7
From-SVN: r37590
2000-11-20c-typeck.c (build_conditional_expr): When merging type qualifiers for ↵Joseph Myers4-10/+86
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
2000-11-20* gcc.dg/cpp/macsyntx.c: Use correct command line option.Neil Booth2-1/+5
From-SVN: r37588
2000-11-20c-lang.c (lang_init_options): Update call to cpp_reader_init.Neil Booth9-91/+175
* 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
2000-11-20Makefile.in: Rebuilt.Tom Tromey6-3/+370
* 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
2000-11-20lex.c (rid_to_yy, RID_EXPORT): Make unique keyword.Nathan Sidwell6-13/+35
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
2000-11-20* gcc.dg/20001117-1.c: New test.Jakub Jelinek2-0/+19
From-SVN: r37584
2000-11-20Correction so -fchech-memory-usage only flushes hard registers to temp ↵William Cohen1-0/+5
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
2000-11-20Fix sh problems at -O0Bernd Schmidt3-36/+15
From-SVN: r37582
2000-11-20Daily bump.Jeff Law5-5/+5
From-SVN: r37581
2000-11-20c++config, [...]: Correct spelling of "deprecated".Joseph Myers4-3/+8
* include/bits/c++config, include/bits/ios_base.h, include/bits/std_streambuf.h: Correct spelling of "deprecated". From-SVN: r37580
2000-11-19* crtstuff.c (force_to_data): Use array size 1 not 0.Richard Henderson2-3/+5
From-SVN: r37579
2000-11-19dwarf2out.c (simple_type_size_in_bits): Handle a type with no computed size ↵Richard Henderson2-16/+18
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
2000-11-20* config.gcc: Fix another typo.Joseph Myers2-1/+5
From-SVN: r37577
2000-11-19c-decl.c (grokdeclarator): Support flexible array members.Richard Henderson6-13/+118
* 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
2000-11-19decl.c (init_decl_processing): Correct name of pure virtual function under ↵Mark Mitchell6-6/+44
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
2000-11-19tweakJason Merrill1-9/+2
From-SVN: r37574
2000-11-19* config.gcc, invoke.texi: Fix errors in spelling of "deprecated".Joseph Myers3-5/+7
From-SVN: r37573