- 20 Nov, 2000 12 commits
-
-
From-SVN: r37588
Neil Booth committed -
* 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
Neil Booth committed -
* 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
Tom Tromey committed -
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
Nathan Sidwell committed -
From-SVN: r37584
Jakub Jelinek committed -
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
William Cohen committed -
From-SVN: r37582
Bernd Schmidt committed -
From-SVN: r37581
Jeff Law committed -
* include/bits/c++config, include/bits/ios_base.h, include/bits/std_streambuf.h: Correct spelling of "deprecated". From-SVN: r37580
Joseph Myers committed -
From-SVN: r37579
Richard Henderson committed -
* dwarf2out.c (simple_type_size_in_bits): Handle a type with no computed size as size zero. (field_byte_offset): Likewise. From-SVN: r37578
Richard Henderson committed -
From-SVN: r37577
Joseph Myers committed
-
- 19 Nov, 2000 27 commits
-
-
* 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
Richard Henderson committed -
* 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
Mark Mitchell committed -
From-SVN: r37574
Jason Merrill committed -
From-SVN: r37573
Joseph Myers committed -
* alias.c (mems_in_disjoint_alias_sets_p): Do use alias sets in stdarg and varargs functions. From-SVN: r37572
Joseph Myers committed -
* gcc.c (process_command): Define 'j' variable when MODIFY_TARGET_NAME is defined. From-SVN: r37571
Zack Weinberg committed -
From-SVN: r37570
Richard Henderson committed -
* 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
Zack Weinberg committed -
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
Matthias Klose committed -
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
Franz Sirl committed -
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
Matthias Klose committed -
* 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 committed -
* java-tree.h (cyclic_inheritance_report): Constify. * parse.y (cyclic_inheritance_report): Likewise. From-SVN: r37564
Kaveh R. Ghazi committed -
* cplus-dem.c (grow_vect): Prototype. (ada_demangle): Cast the arg of ctype macros to unsigned char. From-SVN: r37563
Kaveh R. Ghazi committed -
From-SVN: r37562
Richard Henderson committed -
* 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 committed -
* gcc.c-torture/execute/20001009-2.c (foo): Rename from main. (main): New. Exit cleanly. From-SVN: r37560
Richard Henderson committed -
From-SVN: r37559
Jeff Law committed -
* 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
Richard Henderson committed -
* 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
Marek Michalkiewicz committed -
* configure.in: Make --enable-new-gxx-abi the default. * configure: Likewise. From-SVN: r37556
Mark Mitchell committed -
* 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 committed -
* 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 committed -
From-SVN: r37553
Mark Mitchell committed -
From-SVN: r37552
Mark Mitchell committed -
* 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
Mark Mitchell committed -
* 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
Kaveh R. Ghazi committed
-
- 18 Nov, 2000 1 commit
-
-
* 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
Joseph Myers committed
-