Age | Commit message (Collapse) | Author | Files | Lines |
|
* 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
|
|
* config/i386/i386.c (i386_simplify_dwarf_addr): Simplify @GOT
references as well.
From-SVN: r37622
|
|
From-SVN: r37621
|
|
From-SVN: r37620
|
|
From-SVN: r37619
|
|
From-SVN: r37618
|
|
From-SVN: r37617
|
|
* tradcpp.c (output_line_command): Mark system headers as such in
`line' commands.
From-SVN: r37616
|
|
as well.
* configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Sparc has .file/.loc
support in as as well.
* configure: Regenerate.
From-SVN: r37615
|
|
From-SVN: r37614
|
|
* g77.texi (Floating-point Exception Handling): Use feenableexcept
in example.
(Floating-point precision): Change to match above change.
From-SVN: r37613
|
|
* 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
|
|
From-SVN: r37611
|
|
From-SVN: r37610
|
|
From-SVN: r37609
|
|
From-SVN: r37608
|
|
* 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-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
|
|
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-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
|
|
* 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
|
|
From-SVN: r37602
|
|
* 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
|
|
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
|
|
From-SVN: r37598
|
|
* gcc.dg/cpp/paste2.c: Update test.
* objc/execute/paste.m: New test.
From-SVN: r37597
|
|
* cppmacro.c (paste_tokens): Rename from paste_payloads.
Change token type after pasting spellings.
(paste_all_tokens): Use it.
From-SVN: r37596
|
|
* 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
|
|
* 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
|
|
* lex.c (yylex): Recognize floating point constants with leading
0.
From-SVN: r37593
|
|
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-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
|
|
From-SVN: r37590
|
|
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
|
|
From-SVN: r37588
|
|
* 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
|
|
* 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
|
|
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
|
|
From-SVN: r37584
|
|
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
|
|
From-SVN: r37582
|
|
From-SVN: r37581
|
|
* include/bits/c++config, include/bits/ios_base.h,
include/bits/std_streambuf.h: Correct spelling of "deprecated".
From-SVN: r37580
|
|
From-SVN: r37579
|
|
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
|
|
From-SVN: r37577
|
|
* 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
|
|
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
|
|
From-SVN: r37574
|
|
From-SVN: r37573
|