- 12 Oct, 2001 19 commits
-
-
* config/rs6000/rs6000.c: Remove uses of "register" specifier in declarations of arguments and local variables. From-SVN: r46231
Stan Shebs committed -
* config/i386/cygwin.h: Revert erroneous checkin of crtbegin and ENDFILE_SPEC definition. From-SVN: r46230
Christopher Faylor committed -
* gthr-dce.h: Fix comment formatting. * gthr-posix.h: Likewise. * gthr-single.h: Likewise. * gthr-solaris.h: Likewise. * gthr-vxworks.h: Likewise. * gthr-win32.h: Likewise. From-SVN: r46229
Kazu Hirata committed -
* final.c (output_asm_insn): Make sure assembly dialects are terminated, not nested. Output `|' and `}' characters if they don't appear inside assembly dialect selection. * config/i386/i386.md (rep_movdi_rex64, rep_movsi, rep_movsi_rex64, rep_movqi, rep_movqi_rex64, rep_stosdi_rex64, rep_stossi, rep_stossi_rex64, rep_stosqi, rep_stosqi_rex64, strsetsi_1, strsetsi_rex_1): Add {} braces. * testsuite/gcc.dg/20011009-1.c: New test. From-SVN: r46227
Jakub Jelinek committed -
cp: PR g++/4476 * typeck2.c (abstract_virtuals_error): Ignore incomplete classes. testsuite: PR g++/4476 * g++.dg/other/friend1.C: New test. From-SVN: r46226
Nathan Sidwell committed -
From-SVN: r46224
GCC Administrator committed -
* toplev.c (compile_file): Ignore return value from yyparse. Always pop any nested binding levels after yyparse returns. From-SVN: r46223
Zack Weinberg committed -
exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in renaming of discriminant for mutable record type. * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in renaming of discriminant for mutable record type. From-SVN: r46222
Ed Schonberg committed -
From-SVN: r46221
Robert Dewar committed -
* jatool.c (extract_jar): Account for null termination when determining whether to expand "filename". From-SVN: r46220
Bryce McKinlay committed -
* usage.adb: Add lines for V switch. * gnatcmd.adb (COMPILE): Revise translations for -gnatV (/VALIDITY_CHECKING). From-SVN: r46219
Robert Dewar committed -
From-SVN: r46218
Richard Henderson committed -
sem_type.adb (Add_One_Interp): an operator for a type declared in an extension of System is known to be visible. * sem_type.adb (Add_One_Interp): an operator for a type declared in an extension of System is known to be visible. From-SVN: r46217
Ed Schonberg committed -
* sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal properly. Fixes regression on ACATS C34005G. From-SVN: r46216
Ed Schonberg committed -
* sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null loop in generic instance, since this is likely not very useful. From-SVN: r46215
Robert Dewar committed -
restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize the error message for high integrity mode. * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize the error message for high integrity mode. * rtsfind.adb (RTE): Give message if we try to find an entity that is not available in high integrity mode. * rtsfind.ads: (OK_To_Use_In_HIE_Mode): New array. (RTE): May return Empty in high integrity mode. * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx. * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined unit if not inlined always and in no runtime mode. Fixes problem caused by new Rtsfind changes. * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if body is deleted. * rtsfind.adb (RTE): Make sure we do not try to load unit after giving message for entity not available in high integrity mode. From-SVN: r46214
Robert Dewar committed -
From-SVN: r46213
Pascal Obry committed -
From-SVN: r46212
Richard Henderson committed -
exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle properly the case where one universal operand in a non-static... * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle properly the case where one universal operand in a non-static exponentiation of a real literal. From-SVN: r46211
Ed Schonberg committed
-
- 11 Oct, 2001 21 commits
-
-
* exp_ch7.adb (Find_Final_List): for a type appearing in a with_type clause, return the gobal finalization list, for lack of anthing else. From-SVN: r46210
Ed Schonberg committed -
parse.y (patch_synchronized_statement): Use a TRY_FINALLY_EXPR rather than a CLEANUP_POINT_EXPR/WITH_CLEANUP_EXPR pair. * parse.y (patch_synchronized_statement): Use a TRY_FINALLY_EXPR rather than a CLEANUP_POINT_EXPR/WITH_CLEANUP_EXPR pair. The former is simpler, and jcf-write.c handles it better. (java_complete_lhs): No longer need to handle CLEANUP_POINT_EXPR or WITH_CLEANUP_EXPR. * jcf-write.c: Revert Alex's change from 2000-10-18. It is no longer needed, as we already handle empty TRY_FINALLY_EXPR bodies fine. From-SVN: r46209
Per Bothner committed -
* exp_ch7.adb (Make_Transient_Block): if statement is within exception handler, always use new transient scope to place Clean procedure. From-SVN: r46208
Ed Schonberg committed -
* parse.y (patch_if_else_statement): If the condition is constant, optimize away the test. From-SVN: r46207
Per Bothner committed -
(GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o (GNATLS_RTL_OBJS): add g-crc32.o (GNATMAKE_RTL_OBJS): add g-crc32.o * ali-util.adb: (CRC_Match): new function. (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit instead of the previous simple checksum algorithm. (Time_Stamp_Mismatch): use CRC_Match for comparison. (Set_Source_Table): idem. * ali-util.ads: (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC instead of simple checksum. (CRC_Match): new function. (CRC_Error): new constant. * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling a CRC now and not a simple checksum. A CRC uses lower-case hex letters, fixes ambiguity in parsing. * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this is what this variable will store. * bcheck.adb: Change reference to chechsum in comments by CRC. (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC. rename All_Checksum_Match to All_CRC_Match. Change due to API renaming since now GNAT does not use a simple checksum but a CRC using GNAT.CRC32. * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC now and not anymore a simple checksum. * lib-load.adb: Use Source_CRC instead of Source_Checksum in many places. * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum. * scans.adb: (Restore_Scan_State): rename Checksum to CRC. (Save_Scan_State): idem. * scans.ads: With GNAT.CRC32. (Checksum): rename to CRC. (Saved_Scan_State): Save_Checksum field renamed to Save_CRC * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from GNAT.CRC32). Update copyright notice. * scn-slit.adb: Rename many Accumulate_Checksum to Update (from GNAT.CRC32). Update copyright notice. * scn.adb: (Accumulate_Checksum): removed. (Update): new procedure. Add a wide-character into the CRC. * sinput-l.adb: (Complete_Source_File_Entry): use CRC32 instead of simple checksum. (Load_File): fix initialization of S (change Source_Checksum to Source_CRC) * sinput-p.adb (Load_Project_File): rename Source_Checksum to Source_CRC in S initialization. * sinput.adb (Source_Checksum): renamed to Source_CRC. * sinput.ads (Source_Checksum): renamed to Source_CRC. Update comments for the CRC. * types.adb (Hex): Use lowercase for the letter part. * types.ads (Get_Hex_String): Returns the hexadecimal representation for a word. This is currently used only for CRC. In previous version, the checksum was using a representation with all letter being upper-case. With the new implementation (using CRC) we do not remove the 32th bit of the CRC, so we can have an upper-case starting letter in the CRC. This is not possible to parse in Scan_ALI (ali.adb). It is ambigous since the CRC was optional and could be followed by options like EB, EE. So now this routines uses lower-case letter for the hexadecimal representation. Strange enough only lower case letters where checked in Scan_ALI (even if this was not a possible case). * gnatvsn.ads (Library_Version): changed to 3.15a. * s-crc32.ads: Initial version from GNAT.CRC32. This is the version for the compiler. * s-crc32.adb: Initial version from GNAT.CRC32. This is the version for the compiler. * ali-util.adb: Redo previous change to avoid using word CRC everywhere Add 2001 to copyright notice (Accumulate_Checksum): Modify to use System.CRC32. * ali-util.ads: Redo changes of previous revision to continue to use the word Checksum. Add 2001 to copyright notice. * ali.adb: Undo some of previous changes, not needed. Keep the change for lower case letters in the checksum. * ali.ads: Undo previous change not needed. * bcheck.adb: Undo most of previous change, not needed. But do use Checksums_Match for checksum comparison. * gnatls.adb: Undo most of previous change, not needed. But do use Checksums_Match for comparing checksums. * lib-load.adb: Undo previous change, not needed. * lib-writ.adb: Undo previous change, not needed. * lib-writ.ads: Document that checksums use lower case, not upper case letters. * scans.adb: Undo previous change, not needed * scans.ads: Undo previous change, not needed. * scn-nlit.adb: Undo previous changes, not needed. * scn-slit.adb: Undo previous change, not needed. Fix header format. * scn.adb: (Accumulate_Checksum): Use System.CRC32. (Initialize_Checksum): New procedure. Remove other changes of previous revision. * sinput-p.adb: Undo previous change, not needed. * sinput.adb: Undo previous change, not needed. * sinput-l.adb: Undo previous change, not needed. * sinput.ads: Undo previous change, not needed. Keep only comment on new checksum algorithm * Makefile.in: Add s-crc32 as needed, remove g-crc32. Also remove a-tags and a-stream from GNAT sources. * ali.adb (Scan_ALI): fix typo introduce in latest check-in. * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o. From-SVN: r46206
Pascal Obry committed -
From-SVN: r46205
Richard Henderson committed -
dwarf2out.c (add_const_value_attribute): If long < HOST_WIDE_INT, fall back to add_AT_long_long for large CONST_INT. * dwarf2out.c (add_const_value_attribute): If long < HOST_WIDE_INT, fall back to add_AT_long_long for large CONST_INT. From-SVN: r46204
Richard Henderson committed -
i386.md (setcc splitters): Add four splitters to simplify compound compares that simplify_comparison can't... * config/i386/i386.md (setcc splitters): Add four splitters to simplify compound compares that simplify_comparison can't handle. From-SVN: r46203
Richard Henderson committed -
* typeck2.c (store_init_value): Don't re-digest a bracketed initializer. * class.c (finish_struct_anon): Use TYPE_ANONYMOUS_P instead of ANON_AGGR_TYPE_P. From-SVN: r46202
Jason Merrill committed -
From-SVN: r46201
Zack Weinberg committed -
* einfo.h: Regenerate. * nmake.ads: Regenerate. * nmake.adb: Regenerate. * sinfo.h: Regenerate. * treeprs.adb: Regenerate. From-SVN: r46200
Geert Bosch committed -
From-SVN: r46199
J"orn Rennecke committed -
From-SVN: r46198
Geert Bosch committed -
2001-10-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * unroll.c (loop_iterations): Fixup last patch. From-SVN: r46197
Franz Sirl committed -
* rtl.h (REG_VTABLE_REF): New. * rtl.c (reg_note_name): Add it. * combine.c (distribute_notes): Handle it. * final.c (final_scan_insn): Handle it. * tree.def (VTABLE_REF): New. * expr.c (expand_expr): Handle it. * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): New. * output.h: Declare them. cp/ * class.c (build_vtable_entry_ref): Create a VTABLE_REF instead of an asm statement. (build_vtbl_ref_1): Split out from build_vtbl_ref. (build_vfn_ref): Use it to handle vtable descriptors before calling build_vtable_entry_ref. * decl2.c (output_vtable_inherit): Use assemble_vtable_inherit. testsuite/ * g++.old-deja/g++.other/crash18.C: Add -S to options. From-SVN: r46195
Richard Henderson committed -
* docs/html/configopts.html: Quote StyleSheet attribute values. * docs/html/documentation.html: Likewise. * docs/html/explanations.html: Likewise. * docs/html/install.html: Likewise. * docs/html/17_intro/howto.html: Likewise. * docs/html/17_intro/license.html: Likewise. * docs/html/18_support/howto.html: Likewise. * docs/html/19_diagnostics/howto.html: Likewise. * docs/html/20_util/howto.html: Likewise. * docs/html/21_strings/howto.html: Likewise. * docs/html/22_locale/howto.html: Likewise. * docs/html/23_containers/howto.html: Likewise. * docs/html/24_iterators/howto.html: Likewise. * docs/html/25_algorithms/howto.html: Likewise. * docs/html/26_numerics/howto.html: Likewise. * docs/html/27_io/howto.html: Likewise. * docs/html/ext/howto.html: Likewise. * docs/html/ext/sgiexts.html: Likewise. * docs/html/faq/index.html: Likewise. From-SVN: r46194
Matt Kraai committed -
* dwarf2out.c (rtl_for_decl_location): If no DECL_RTL, look for a DECL_INITIAL. From-SVN: r46193
Richard Henderson committed -
* config/rs6000/xcoff.h (UNALIGNED_DOUBLE_INT_ASM_OP): Only available in 64-bit mode. From-SVN: r46192
David Edelsohn committed -
* config.gcc: Add cris-*-aout, cris-*-elf, cris-*-none, cris-*-linux* cases. * config/cris/cris-protos.h: New file. * config/cris/cris.c: New file. * config/cris/cris.h: New file. * config/cris/cris.md: New file. * config/cris/linux.h: New file. * config/cris/aout.h: New file. * config/cris/arit.c: New file. * config/cris/cris_abi_symbol.c: New file. * config/cris/mulsi3.asm: New file. * config/cris/t-aout: New file. * config/cris/t-cris: New file. * config/cris/t-elfmulti: New file. * config/cris/t-linux: New file. * doc/invoke.texi: Add CRIS options. * doc/install.texi (Specific): Add blurb for CRIS. From-SVN: r46191
Hans-Peter Nilsson committed -
From-SVN: r46190
Hans-Peter Nilsson committed -
From-SVN: r46189
Hans-Peter Nilsson committed
-