From bp at ten15.org Sat Dec 3 12:21:52 2005 From: bp at ten15.org (Boris Popov) Date: Sat, 3 Dec 2005 03:21:52 -0800 (PST) Subject: cvs commit: tendra/src/installers/common/reader read_fns.c Message-ID: <200512031121.jB3BLqN0063648@spill.ten15.org> bp 2005/12/03 03:21:52 PST Modified files: src/installers/common/reader read_fns.c Log: Rename find_index() function to cap_get_link_index(), make it static and constify its parameter. Revision Changes Path 1.16 +17 -15 tendra/src/installers/common/reader/read_fns.c From bp at ten15.org Sat Dec 3 13:39:48 2005 From: bp at ten15.org (Boris Popov) Date: Sat, 3 Dec 2005 04:39:48 -0800 (PST) Subject: cvs commit: tendra/src/installers/common/reader read_fns.c Message-ID: <200512031239.jB3CdmCO070752@spill.ten15.org> bp 2005/12/03 04:39:48 PST Modified files: src/installers/common/reader read_fns.c Log: Give local variables static linkage. Revision Changes Path 1.17 +7 -7 tendra/src/installers/common/reader/read_fns.c From bp at ten15.org Sun Dec 11 09:24:52 2005 From: bp at ten15.org (Boris Popov) Date: Sun, 11 Dec 2005 00:24:52 -0800 (PST) Subject: cvs commit: tendra/src/installers/80x86/common spec_tok.c Message-ID: <200512110824.jBB8OsVZ012519@spill.ten15.org> bp 2005/12/11 00:24:52 PST Modified files: src/installers/80x86/common spec_tok.c Log: Fix invalid condition caused by misplaced bracket. Revision Changes Path 1.13 +1 -1 tendra/src/installers/80x86/common/spec_tok.c From bp at ten15.org Sun Dec 11 09:33:28 2005 From: bp at ten15.org (Boris Popov) Date: Sun, 11 Dec 2005 00:33:28 -0800 (PST) Subject: cvs commit: tendra/src/installers/80x86/common trans.c Message-ID: <200512110833.jBB8XSSi012659@spill.ten15.org> bp 2005/12/11 00:33:28 PST Modified files: src/installers/80x86/common trans.c Log: Add missing comma and remove extra "break" keyword. Both escaped md5 reviews due to NEWDWARF ifdefs. At this point at least x86/solaris installer capable to produce DWARF debug symbols. Revision Changes Path 1.15 +1 -2 tendra/src/installers/80x86/common/trans.c From bp at ten15.org Mon Dec 12 10:42:13 2005 From: bp at ten15.org (Boris Popov) Date: Mon, 12 Dec 2005 01:42:13 -0800 (PST) Subject: cvs commit: tendra/src/installers/common/diag dg_fns.c diag_fns.c tendra/src/installers/common/reader read_fns.c readglob.c readglob.h table_fns.c Message-ID: <200512120942.jBC9gEIq019654@spill.ten15.org> bp 2005/12/12 01:42:13 PST Modified files: src/installers/common/diag dg_fns.c diag_fns.c src/installers/common/reader read_fns.c readglob.c readglob.h table_fns.c Log: Gather global variables related to capsule reading into the single structure. Revision Changes Path 1.11 +4 -4 tendra/src/installers/common/diag/dg_fns.c 1.10 +8 -8 tendra/src/installers/common/diag/diag_fns.c 1.18 +21 -21 tendra/src/installers/common/reader/read_fns.c 1.8 +1 -31 tendra/src/installers/common/reader/readglob.c 1.8 +20 -34 tendra/src/installers/common/reader/readglob.h 1.12 +2 -2 tendra/src/installers/common/reader/table_fns.c From bp at ten15.org Tue Dec 13 07:25:57 2005 From: bp at ten15.org (Boris Popov) Date: Mon, 12 Dec 2005 22:25:57 -0800 (PST) Subject: cvs commit: tendra/src/installers/common/diag diag_out_stabs.c Message-ID: <200512130625.jBD6PvjI003930@spill.ten15.org> bp 2005/12/12 22:25:57 PST Modified files: src/installers/common/diag diag_out_stabs.c Log: Forced commit to note that this file were repocopied from installers/80x86/linux/diag_out.c. Diagnostics output routines are mostly the same from x86 and hppa installers, and differ only in minor details. Solaris's installer also supports dwarf2 diagnostic symbols (wrapped into NEWDIAG). Revision Changes Path 1.10 +0 -0 tendra/src/installers/common/diag/diag_out_stabs.c From bp at ten15.org Tue Dec 13 07:32:30 2005 From: bp at ten15.org (Boris Popov) Date: Mon, 12 Dec 2005 22:32:30 -0800 (PST) Subject: cvs commit: tendra/src/installers/80x86/common cproc.c trans.c tendra/src/installers/80x86/cygwin32 Makefile diag_out.c installer.h machine.c tendra/src/installers/80x86/freebsd Makefile assembler.c diag_out.c installer.h machine.c ... Message-ID: <200512130632.jBD6WUOB004216@spill.ten15.org> bp 2005/12/12 22:32:30 PST Modified files: src/installers/80x86/common cproc.c trans.c src/installers/80x86/cygwin32 Makefile installer.h machine.c src/installers/80x86/freebsd Makefile assembler.c installer.h machine.c src/installers/80x86/linux Makefile assembler.c installer.h machine.c src/installers/80x86/netbsd Makefile src/installers/80x86/openbsd Makefile src/installers/common/construct installglob.c installglob.h src/installers/common/diag diag_out_stabs.c Removed files: src/installers/80x86/cygwin32 diag_out.c src/installers/80x86/freebsd diag_out.c src/installers/80x86/linux diag_out.c src/installers/80x86/netbsd diag_out.c src/installers/80x86/openbsd diag_out.c Log: Use functions from diag_out_stabs.c file. Revision Changes Path 1.13 +2 -10 tendra/src/installers/80x86/common/cproc.c 1.16 +2 -6 tendra/src/installers/80x86/common/trans.c 1.3 +1 -1 tendra/src/installers/80x86/cygwin32/Makefile 1.10 +0 -1025 tendra/src/installers/80x86/cygwin32/diag_out.c (dead) 1.8 +0 -1 tendra/src/installers/80x86/cygwin32/installer.h 1.8 +0 -2 tendra/src/installers/80x86/cygwin32/machine.c 1.5 +1 -1 tendra/src/installers/80x86/freebsd/Makefile 1.9 +8 -7 tendra/src/installers/80x86/freebsd/assembler.c 1.11 +0 -1036 tendra/src/installers/80x86/freebsd/diag_out.c (dead) 1.8 +3 -4 tendra/src/installers/80x86/freebsd/installer.h 1.8 +2 -3 tendra/src/installers/80x86/freebsd/machine.c 1.4 +1 -1 tendra/src/installers/80x86/linux/Makefile 1.9 +8 -7 tendra/src/installers/80x86/linux/assembler.c 1.10 +0 -1025 tendra/src/installers/80x86/linux/diag_out.c (dead) 1.8 +4 -5 tendra/src/installers/80x86/linux/installer.h 1.8 +2 -3 tendra/src/installers/80x86/linux/machine.c 1.2 +1 -1 tendra/src/installers/80x86/netbsd/Makefile 1.6 +0 -1023 tendra/src/installers/80x86/netbsd/diag_out.c (dead) 1.2 +1 -1 tendra/src/installers/80x86/openbsd/Makefile 1.7 +0 -1023 tendra/src/installers/80x86/openbsd/diag_out.c (dead) 1.8 +1 -1 tendra/src/installers/common/construct/installglob.c 1.8 +2 -0 tendra/src/installers/common/construct/installglob.h 1.11 +5 -5 tendra/src/installers/common/diag/diag_out_stabs.c From stefanf at ten15.org Sun Dec 18 12:12:09 2005 From: stefanf at ten15.org (Stefan Farfeleder) Date: Sun, 18 Dec 2005 03:12:09 -0800 (PST) Subject: cvs commit: doc/en/tcpplus book.sgml Message-ID: <200512181112.jBIBC9F2092014@spill.ten15.org> stefanf 2005/12/18 03:12:09 PST Modified files: en/tcpplus book.sgml Log: Remove the section that describes that the C++ producer is written in the OSSG coding style. It's been a while since that was true. Revision Changes Path 1.17 +6 -139 doc/en/tcpplus/book.sgml From stefanf at ten15.org Sun Dec 18 12:23:52 2005 From: stefanf at ten15.org (Stefan Farfeleder) Date: Sun, 18 Dec 2005 03:23:52 -0800 (PST) Subject: cvs commit: doc/en/tcpplus book.sgml Message-ID: <200512181123.jBIBNqms092168@spill.ten15.org> stefanf 2005/12/18 03:23:52 PST Modified files: en/tcpplus book.sgml Log: The functionality to split the output into several files is built into sid, there is no 'sidsplit' tool anymore. Correct the size of the generated code. Revision Changes Path 1.18 +2 -3 doc/en/tcpplus/book.sgml From stefanf at ten15.org Sun Dec 18 14:24:52 2005 From: stefanf at ten15.org (Stefan Farfeleder) Date: Sun, 18 Dec 2005 05:24:52 -0800 (PST) Subject: cvs commit: doc/en/tcpplus book.sgml Message-ID: <200512181324.jBIDOq95002352@spill.ten15.org> stefanf 2005/12/18 05:24:52 PST Modified files: en/tcpplus book.sgml Log: Update the section about the error catalogue to to reflect changes done in the last years (some still at DERA too). Revision Changes Path 1.19 +21 -21 doc/en/tcpplus/book.sgml From bp at ten15.org Sun Dec 18 17:16:19 2005 From: bp at ten15.org (Boris Popov) Date: Sun, 18 Dec 2005 08:16:19 -0800 (PST) Subject: cvs commit: tendra/src/installers/common/diag dg_fns.c diag_fns.c diag_fns.h diag_out_stabs.c diagglob.h tendra/src/installers/common/linkinfo li_fns.c tendra/src/installers/common/reader read_fns.c read_fns.h table_fns.c Message-ID: <200512181616.jBIGGKem013627@spill.ten15.org> bp 2005/12/18 08:16:19 PST Modified files: src/installers/common/diag dg_fns.c diag_fns.c diag_fns.h diag_out_stabs.c diagglob.h src/installers/common/linkinfo li_fns.c src/installers/common/reader read_fns.c read_fns.h table_fns.c Log: Significantly reduce code duplication responsible for unit data allocation. Give some functions parameters meaningful and uniform names. Revision Changes Path 1.12 +9 -60 tendra/src/installers/common/diag/dg_fns.c 1.11 +43 -244 tendra/src/installers/common/diag/diag_fns.c 1.7 +1 -0 tendra/src/installers/common/diag/diag_fns.h 1.12 +1 -0 tendra/src/installers/common/diag/diag_out_stabs.c 1.7 +0 -4 tendra/src/installers/common/diag/diagglob.h 1.11 +11 -55 tendra/src/installers/common/linkinfo/li_fns.c 1.19 +92 -111 tendra/src/installers/common/reader/read_fns.c 1.7 +9 -0 tendra/src/installers/common/reader/read_fns.h 1.13 +1 -0 tendra/src/installers/common/reader/table_fns.c From stefanf at ten15.org Sun Dec 18 22:39:44 2005 From: stefanf at ten15.org (Stefan Farfeleder) Date: Sun, 18 Dec 2005 13:39:44 -0800 (PST) Subject: cvs commit: doc/en/manpages/tcpplus manpage.sgml Message-ID: <200512182139.jBILdkhQ034059@spill.ten15.org> stefanf 2005/12/18 13:39:44 PST Modified files: en/manpages/tcpplus manpage.sgml Log: Add a few 'id's so that they can be referenced by the tcpplus documentation. Revision Changes Path 1.9 +6 -6 doc/en/manpages/tcpplus/manpage.sgml From stefanf at ten15.org Sun Dec 18 22:48:46 2005 From: stefanf at ten15.org (Stefan Farfeleder) Date: Sun, 18 Dec 2005 13:48:46 -0800 (PST) Subject: cvs commit: doc/en/tcpplus book.sgml Message-ID: <200512182148.jBILmkZd034209@spill.ten15.org> stefanf 2005/12/18 13:48:46 PST Modified files: en/tcpplus book.sgml Log: Use s instead of s as they were always inserting 'Section xyz - Title' as the link name. Revision Changes Path 1.20 +372 -235 doc/en/tcpplus/book.sgml From bp at ten15.org Sat Dec 24 17:37:47 2005 From: bp at ten15.org (Boris Popov) Date: Sat, 24 Dec 2005 08:37:47 -0800 (PST) Subject: cvs commit: tendra/src/installers/80x86/sco cv_fns.c tendra/src/installers/80x86/solaris diag_out.c tendra/src/installers/alpha/common alphadiags.c tendra/src/installers/common/diag dg_fns.c dg_fns.h diag_fns.c diag_fns.h tendra/src/installers/common/reader read_fns.c ... Message-ID: <200512241637.jBOGbl97085121@spill.ten15.org> bp 2005/12/24 08:37:47 PST Modified files: src/installers/80x86/sco cv_fns.c src/installers/80x86/solaris diag_out.c src/installers/alpha/common alphadiags.c src/installers/common/diag dg_fns.c dg_fns.h diag_fns.c diag_fns.h src/installers/common/reader read_fns.c readglob.c readglob.h table_fns.c toktypes.h src/installers/hppa/common hppadiags.c src/installers/mips/common mipsdiags.c src/installers/power/common diagout.c src/installers/sparc/solaris sparcdiags.c src/installers/sparc/sunos sparcdiags.c Log: Combine common unit related variables into single structure. This reduces complexity of context substitutions when token is applied. Rename most of the moved variables in the uniform way. unit_diagvar_tab left untouched. At this point reader still leaves unnecessarily allocated memory. Revision Changes Path 1.8 +3 -2 tendra/src/installers/80x86/sco/cv_fns.c 1.10 +2 -2 tendra/src/installers/80x86/solaris/diag_out.c 1.9 +3 -2 tendra/src/installers/alpha/common/alphadiags.c 1.13 +6 -13 tendra/src/installers/common/diag/dg_fns.c 1.8 +0 -4 tendra/src/installers/common/diag/dg_fns.h 1.12 +12 -20 tendra/src/installers/common/diag/diag_fns.c 1.8 +0 -4 tendra/src/installers/common/diag/diag_fns.h 1.20 +73 -77 tendra/src/installers/common/reader/read_fns.c 1.9 +1 -36 tendra/src/installers/common/reader/readglob.c 1.9 +28 -34 tendra/src/installers/common/reader/readglob.h 1.14 +10 -32 tendra/src/installers/common/reader/table_fns.c 1.10 +1 -6 tendra/src/installers/common/reader/toktypes.h 1.13 +3 -2 tendra/src/installers/hppa/common/hppadiags.c 1.8 +3 -2 tendra/src/installers/mips/common/mipsdiags.c 1.9 +2 -2 tendra/src/installers/power/common/diagout.c 1.8 +3 -2 tendra/src/installers/sparc/solaris/sparcdiags.c 1.8 +3 -2 tendra/src/installers/sparc/sunos/sparcdiags.c From stefanf at ten15.org Sat Dec 24 18:24:17 2005 From: stefanf at ten15.org (Stefan Farfeleder) Date: Sat, 24 Dec 2005 09:24:17 -0800 (PST) Subject: cvs commit: doc/en/tcpplus book.sgml Message-ID: <200512241724.jBOHOHsi088982@spill.ten15.org> stefanf 2005/12/24 09:24:17 PST Modified files: en/tcpplus book.sgml Log: Rework of Appendix A whichs describes the #pragma syntax. Use literal text and links to make the grammar easier to read. Revision Changes Path 1.21 +2783 -2561 doc/en/tcpplus/book.sgml From bp at ten15.org Sun Dec 25 04:07:41 2005 From: bp at ten15.org (Boris Popov) Date: Sat, 24 Dec 2005 19:07:41 -0800 (PST) Subject: cvs commit: tendra/src/installers/common/diag diag_out_stabs.c Message-ID: <200512250307.jBP37fHG032217@spill.ten15.org> bp 2005/12/24 19:07:41 PST Modified files: src/installers/common/diag diag_out_stabs.c Log: Use cunit variable instead of unit_ global ones. (This file escaped from previous commit due to improper merge in svn <-> cvs chain). Revision Changes Path 1.13 +3 -2 tendra/src/installers/common/diag/diag_out_stabs.c From stefanf at ten15.org Sun Dec 25 10:57:26 2005 From: stefanf at ten15.org (Stefan Farfeleder) Date: Sun, 25 Dec 2005 01:57:26 -0800 (PST) Subject: cvs commit: tendra/src/producers/common/construct function.c tendra/src/producers/cpp/syntax syntax.act syntax.sid Message-ID: <200512250957.jBP9vR3B066989@spill.ten15.org> stefanf 2005/12/25 01:57:26 PST Modified files: src/producers/common/construct function.c src/producers/cpp/syntax syntax.act syntax.sid Log: Implement __func__ in the C++ producer as an extension. Note that __func__ is only set for ordinary functions (including member functions); for constructors, destructors, conversion functions and overloaded operators __func__ is defined but contains just an empty string. Revision Changes Path 1.12 +4 -1 tendra/src/producers/common/construct/function.c 1.7 +6 -0 tendra/src/producers/cpp/syntax/syntax.act 1.10 +2 -0 tendra/src/producers/cpp/syntax/syntax.sid From stefanf at ten15.org Sun Dec 25 16:24:49 2005 From: stefanf at ten15.org (Stefan Farfeleder) Date: Sun, 25 Dec 2005 07:24:49 -0800 (PST) Subject: cvs commit: tendra/src/lib/startup/Modes.c99 Xc tendra/src/producers/common/utility catalog.err Message-ID: <200512251524.jBPFOoFv095208@spill.ten15.org> stefanf 2005/12/25 07:24:49 PST Modified files: src/lib/startup/Modes.c99 Xc src/producers/common/utility catalog.err Log: Since C90 has no bool/_Bool, we can directly allow the ++ and -- operators in catalog.err. Revision Changes Path 1.27 +0 -6 tendra/src/lib/startup/Modes.c99/Xc 1.22 +4 -2 tendra/src/producers/common/utility/catalog.err From stefanf at ten15.org Sun Dec 25 18:17:11 2005 From: stefanf at ten15.org (Stefan Farfeleder) Date: Sun, 25 Dec 2005 09:17:11 -0800 (PST) Subject: cvs commit: tendra/src/producers/common/utility catalog.err Message-ID: <200512251717.jBPHHB0L003129@spill.ten15.org> stefanf 2005/12/25 09:17:11 PST Modified files: src/producers/common/utility catalog.err Log: Use a new option 'init_dynamic_aggr' to control whether constant expressions are required in initialisers for structs and union. Previously this was coupled with whether file-scope variables can be initialised dynamically. Using a combined option doesn't work for C99 which allows the former but not the latter. Revision Changes Path 1.23 +2 -1 tendra/src/producers/common/utility/catalog.err From stefanf at ten15.org Sun Dec 25 18:38:56 2005 From: stefanf at ten15.org (Stefan Farfeleder) Date: Sun, 25 Dec 2005 09:38:56 -0800 (PST) Subject: cvs commit: tendra/src/producers/c/syntax syntax.sid tendra/src/producers/common/parse psyntax.act psyntax.sid symbols.h tendra/src/producers/common/utility catalog.err tendra/src/producers/cpp/syntax syntax.sid Message-ID: <200512251738.jBPHcuLV008862@spill.ten15.org> stefanf 2005/12/25 09:38:56 PST Modified files: src/producers/c/syntax syntax.sid src/producers/common/parse psyntax.act psyntax.sid symbols.h src/producers/common/utility catalog.err src/producers/cpp/syntax syntax.sid Log: Provide real pragmas for the C99 features I added in the last months and years. Revision Changes Path 1.17 +3 -3 tendra/src/producers/c/syntax/syntax.sid 1.9 +12 -0 tendra/src/producers/common/parse/psyntax.act 1.10 +57 -8 tendra/src/producers/common/parse/psyntax.sid 1.16 +3 -0 tendra/src/producers/common/parse/symbols.h 1.24 +14 -4 tendra/src/producers/common/utility/catalog.err 1.11 +3 -3 tendra/src/producers/cpp/syntax/syntax.sid From stefanf at ten15.org Sun Dec 25 18:40:15 2005 From: stefanf at ten15.org (Stefan Farfeleder) Date: Sun, 25 Dec 2005 09:40:15 -0800 (PST) Subject: cvs commit: tendra/src/lib/startup/Modes.c99 Xc Message-ID: <200512251740.jBPHeFSx008937@spill.ten15.org> stefanf 2005/12/25 09:40:15 PST Modified files: src/lib/startup/Modes.c99 Xc Log: Use the new #pragmas. Revision Changes Path 1.28 +12 -12 tendra/src/lib/startup/Modes.c99/Xc From stefanf at ten15.org Mon Dec 26 11:19:45 2005 From: stefanf at ten15.org (Stefan Farfeleder) Date: Mon, 26 Dec 2005 02:19:45 -0800 (PST) Subject: cvs commit: doc/en/tcpplus book.sgml Message-ID: <200512261019.jBQAJj4K074239@spill.ten15.org> stefanf 2005/12/26 02:19:44 PST Modified files: en/tcpplus book.sgml Log: Document some of the supported C99 features and the #pragmas used to enable them. Revision Changes Path 1.22 +241 -2 doc/en/tcpplus/book.sgml From bp at ten15.org Mon Dec 26 13:48:13 2005 From: bp at ten15.org (Boris Popov) Date: Mon, 26 Dec 2005 04:48:13 -0800 (PST) Subject: cvs commit: tendra/src/installers/680x0/common codec.c coder.c codex.c evaluate.c expmacs.h exptypes.h general_proc.c glopt.c inliner.c instr.c ops_float.c ops_int.c ops_logic.c ops_misc.c scan2.c spec_tok.c special_exps.c stab_types.c tests.c tests.h ... Message-ID: <200512261248.jBQCmEGS083870@spill.ten15.org> bp 2005/12/26 04:48:13 PST Modified files: src/installers/680x0/common codec.c coder.c codex.c evaluate.c expmacs.h exptypes.h general_proc.c glopt.c inliner.c instr.c ops_float.c ops_int.c ops_logic.c ops_misc.c scan2.c spec_tok.c special_exps.c stab_types.c tests.c tests.h trans.c weights.c where.c xdb_basics.c xdb_output.c xdb_types.c src/installers/680x0/sunos main.c src/installers/80x86/common codec.c coder.c cproc.c dw2_extra.c evaluate.c expmacs.h exptypes.h glopt.c inlinechoice.c instr.c instr386.c is_worth.c operand.c overlap.c reg_record.c scan2.c spec.c spec_tok.c trans.c translate.c tv_callees.c weights.c src/installers/80x86/cygwin32 assembler.c machine.c src/installers/80x86/freebsd assembler.c machine.c src/installers/80x86/linux assembler.c machine.c src/installers/80x86/netbsd assembler.c machine.c src/installers/80x86/openbsd assembler.c machine.c src/installers/80x86/sco assembler.c cv_fns.c cv_outtype.c machine.c src/installers/80x86/solaris assembler.c diag_out.c machine.c src/installers/80x86/svr4.2 assembler.c machine.c src/installers/alpha/common alphadiags.c code_here.c coder.c comp_eq_exp.c cross.c dump_distr.c eval.c expmacs.h exptypes.h extern_adds.c float.c frames.c getregs.c glopt.c handle_sregs.c inlinechoice.c is_worth.c locate.c machine.c move.c oddtest.c operators.c regable.c regalloc.c regexps.c scan.c spec.c spec_tok.c special.c symbol.c symdiags.c syms.c tempdecs.c translate.c type_to_aux.c weights.c src/installers/common/construct case_opt.c check.c check_id.c complex_eq.c const.c exp.c exp.h f64.c flpt_fns.c foralls.c global_opt.c inl_norm.c inline.c install_fns.c label_ops.c me_fns.c misc_c.c unroll.c src/installers/common/diag dg_aux.c dg_fns.c diag_fns.c diag_info.c diag_out_stabs.c mark_scope.c src/installers/common/dwarf dwarf_info.c dwarf_loc.c dwarf_out.c dwarf_proc.c dwarf_type.c src/installers/common/dwarf2 dw2_basic.c dw2_iface.c dw2_info.c dw2_locdata.c dw2_types.c src/installers/common/linkinfo li_fns.c src/installers/common/reader common_types.h read_fns.c read_sort.c table_fns.c src/installers/hppa/common bitsmacs.h codehere.c eval.c expmacs.h exptypes.h frames.c getregs.c glopt.c hppadiags.c inlinechoice.c inst_fmt.c is_worth.c locate.c machine.c makecode.c muldvrem.c needscan.c oprators.c proc.c regable.c regalloc.c regexps.c spec_tok.c special.c tempdecs.c translat.c weights.c src/installers/mips/common code_here.c comp_eq_exp.c dump_distr.c eval.c expmacs.h exptypes.h extern_adds.c frames.c getregs.c glopt.c handle_sregs.c inlinechoice.c is_worth.c locate.c machine.c mipsdiags.c needs_scan.c new_code.c oddtest.c operators.c regable.c regalloc.c regexps.c spec.c spec_tok.c special.c syms.c tempdecs.c translate.c type_to_aux.c weights.c src/installers/power/common bitsmacs.h expmacs.h exptypes.h glopt.c inlinechoice.c is_worth.c needscan.c pp.c spec.c spec_tok.c tempdecs.c weights.c src/installers/sparc/common bitsmacs.h codehere.c dw2_extra.c eval.c expmacs.h exptypes.h getregs.c glopt.c inlinechoice.c is_worth.c locate.c machine.c makecode.c muldvrem.c needscan.c oprators.c proc.c regable.c regalloc.c regexps.c spec_tok.c special.c tempdecs.c translat.c weights.c src/installers/sparc/solaris sparcdiags.c src/installers/sparc/sunos sparcdiags.c Log: Gather macros and types from */exptypes.h and */expmacs.h into installers/common/construct/exp.h. Some files left empty after that and some are not. exptypes.h and expmacs.h should not be included directly. Revision Changes Path 1.9 +0 -1 tendra/src/installers/680x0/common/codec.c 1.9 +0 -1 tendra/src/installers/680x0/common/coder.c 1.9 +0 -1 tendra/src/installers/680x0/common/codex.c 1.7 +0 -1 tendra/src/installers/680x0/common/evaluate.c 1.7 +2 -319 tendra/src/installers/680x0/common/expmacs.h 1.7 +0 -65 tendra/src/installers/680x0/common/exptypes.h 1.9 +0 -1 tendra/src/installers/680x0/common/general_proc.c 1.7 +0 -1 tendra/src/installers/680x0/common/glopt.c 1.7 +0 -1 tendra/src/installers/680x0/common/inliner.c 1.7 +0 -1 tendra/src/installers/680x0/common/instr.c 1.7 +0 -1 tendra/src/installers/680x0/common/ops_float.c 1.8 +0 -1 tendra/src/installers/680x0/common/ops_int.c 1.8 +0 -1 tendra/src/installers/680x0/common/ops_logic.c 1.9 +1 -2 tendra/src/installers/680x0/common/ops_misc.c 1.8 +0 -1 tendra/src/installers/680x0/common/scan2.c 1.10 +0 -1 tendra/src/installers/680x0/common/spec_tok.c 1.7 +0 -1 tendra/src/installers/680x0/common/special_exps.c 1.7 +0 -1 tendra/src/installers/680x0/common/stab_types.c 1.8 +0 -1 tendra/src/installers/680x0/common/tests.c 1.7 +0 -2 tendra/src/installers/680x0/common/tests.h 1.8 +0 -1 tendra/src/installers/680x0/common/trans.c 1.7 +0 -1 tendra/src/installers/680x0/common/weights.c 1.8 +0 -1 tendra/src/installers/680x0/common/where.c 1.7 +0 -1 tendra/src/installers/680x0/common/xdb_basics.c 1.8 +0 -1 tendra/src/installers/680x0/common/xdb_output.c 1.7 +0 -1 tendra/src/installers/680x0/common/xdb_types.c 1.8 +0 -1 tendra/src/installers/680x0/sunos/main.c 1.10 +0 -1 tendra/src/installers/80x86/common/codec.c 1.14 +0 -1 tendra/src/installers/80x86/common/coder.c 1.14 +0 -1 tendra/src/installers/80x86/common/cproc.c 1.8 +0 -1 tendra/src/installers/80x86/common/dw2_extra.c 1.10 +0 -1 tendra/src/installers/80x86/common/evaluate.c 1.9 +4 -285 tendra/src/installers/80x86/common/expmacs.h 1.8 +0 -36 tendra/src/installers/80x86/common/exptypes.h 1.9 +0 -1 tendra/src/installers/80x86/common/glopt.c 1.9 +0 -1 tendra/src/installers/80x86/common/inlinechoice.c 1.12 +0 -1 tendra/src/installers/80x86/common/instr.c 1.20 +0 -1 tendra/src/installers/80x86/common/instr386.c 1.8 +0 -1 tendra/src/installers/80x86/common/is_worth.c 1.10 +0 -1 tendra/src/installers/80x86/common/operand.c 1.9 +0 -1 tendra/src/installers/80x86/common/overlap.c 1.9 +0 -1 tendra/src/installers/80x86/common/reg_record.c 1.13 +0 -1 tendra/src/installers/80x86/common/scan2.c 1.9 +0 -1 tendra/src/installers/80x86/common/spec.c 1.14 +0 -1 tendra/src/installers/80x86/common/spec_tok.c 1.17 +0 -1 tendra/src/installers/80x86/common/trans.c 1.10 +0 -1 tendra/src/installers/80x86/common/translate.c 1.8 +0 -1 tendra/src/installers/80x86/common/tv_callees.c 1.9 +0 -1 tendra/src/installers/80x86/common/weights.c 1.9 +0 -1 tendra/src/installers/80x86/cygwin32/assembler.c 1.9 +0 -1 tendra/src/installers/80x86/cygwin32/machine.c 1.10 +0 -1 tendra/src/installers/80x86/freebsd/assembler.c 1.9 +0 -1 tendra/src/installers/80x86/freebsd/machine.c 1.10 +0 -1 tendra/src/installers/80x86/linux/assembler.c 1.9 +0 -1 tendra/src/installers/80x86/linux/machine.c 1.6 +0 -1 tendra/src/installers/80x86/netbsd/assembler.c 1.4 +0 -1 tendra/src/installers/80x86/netbsd/machine.c 1.7 +0 -1 tendra/src/installers/80x86/openbsd/assembler.c 1.5 +0 -1 tendra/src/installers/80x86/openbsd/machine.c 1.9 +0 -1 tendra/src/installers/80x86/sco/assembler.c 1.9 +0 -1 tendra/src/installers/80x86/sco/cv_fns.c 1.9 +0 -1 tendra/src/installers/80x86/sco/cv_outtype.c 1.8 +0 -1 tendra/src/installers/80x86/sco/machine.c 1.9 +0 -1 tendra/src/installers/80x86/solaris/assembler.c 1.11 +0 -1 tendra/src/installers/80x86/solaris/diag_out.c 1.8 +0 -1 tendra/src/installers/80x86/solaris/machine.c 1.8 +0 -1 tendra/src/installers/80x86/svr4.2/assembler.c 1.8 +0 -1 tendra/src/installers/80x86/svr4.2/machine.c 1.10 +0 -1 tendra/src/installers/alpha/common/alphadiags.c 1.7 +0 -1 tendra/src/installers/alpha/common/code_here.c 1.13 +0 -1 tendra/src/installers/alpha/common/coder.c 1.3 +0 -1 tendra/src/installers/alpha/common/comp_eq_exp.c 1.7 +0 -1 tendra/src/installers/alpha/common/cross.c 1.5 +0 -1 tendra/src/installers/alpha/common/dump_distr.c 1.12 +0 -1 tendra/src/installers/alpha/common/eval.c 1.2 +53 -318 tendra/src/installers/alpha/common/expmacs.h 1.2 +56 -53 tendra/src/installers/alpha/common/exptypes.h 1.4 +0 -1 tendra/src/installers/alpha/common/extern_adds.c 1.3 +0 -1 tendra/src/installers/alpha/common/float.c 1.4 +0 -1 tendra/src/installers/alpha/common/frames.c 1.7 +0 -2 tendra/src/installers/alpha/common/getregs.c 1.3 +0 -1 tendra/src/installers/alpha/common/glopt.c 1.4 +0 -1 tendra/src/installers/alpha/common/handle_sregs.c 1.8 +0 -1 tendra/src/installers/alpha/common/inlinechoice.c 1.4 +0 -1 tendra/src/installers/alpha/common/is_worth.c 1.9 +0 -1 tendra/src/installers/alpha/common/locate.c 1.3 +0 -1 tendra/src/installers/alpha/common/machine.c 1.8 +0 -1 tendra/src/installers/alpha/common/move.c 1.7 +0 -1 tendra/src/installers/alpha/common/oddtest.c 1.8 +0 -1 tendra/src/installers/alpha/common/operators.c 1.7 +0 -1 tendra/src/installers/alpha/common/regable.c 1.7 +0 -1 tendra/src/installers/alpha/common/regalloc.c 1.8 +0 -1 tendra/src/installers/alpha/common/regexps.c 1.9 +0 -1 tendra/src/installers/alpha/common/scan.c 1.3 +0 -1 tendra/src/installers/alpha/common/spec.c 1.10 +0 -1 tendra/src/installers/alpha/common/spec_tok.c 1.7 +0 -1 tendra/src/installers/alpha/common/special.c 1.11 +0 -1 tendra/src/installers/alpha/common/symbol.c 1.9 +0 -1 tendra/src/installers/alpha/common/symdiags.c 1.11 +0 -1 tendra/src/installers/alpha/common/syms.c 1.5 +0 -1 tendra/src/installers/alpha/common/tempdecs.c 1.13 +0 -1 tendra/src/installers/alpha/common/translate.c 1.11 +0 -1 tendra/src/installers/alpha/common/type_to_aux.c 1.7 +0 -1 tendra/src/installers/alpha/common/weights.c 1.8 +0 -1 tendra/src/installers/common/construct/case_opt.c 1.11 +0 -1 tendra/src/installers/common/construct/check.c 1.9 +0 -1 tendra/src/installers/common/construct/check_id.c 1.7 +0 -1 tendra/src/installers/common/construct/complex_eq.c 1.9 +0 -1 tendra/src/installers/common/construct/const.c 1.10 +0 -1 tendra/src/installers/common/construct/exp.c 1.7 +421 -0 tendra/src/installers/common/construct/exp.h 1.8 +0 -1 tendra/src/installers/common/construct/f64.c 1.11 +0 -1 tendra/src/installers/common/construct/flpt_fns.c 1.10 +0 -3 tendra/src/installers/common/construct/foralls.c 1.8 +0 -1 tendra/src/installers/common/construct/global_opt.c 1.11 +0 -1 tendra/src/installers/common/construct/inl_norm.c 1.8 +0 -1 tendra/src/installers/common/construct/inline.c 1.13 +0 -1 tendra/src/installers/common/construct/install_fns.c 1.8 +0 -1 tendra/src/installers/common/construct/label_ops.c 1.8 +0 -1 tendra/src/installers/common/construct/me_fns.c 1.8 +0 -1 tendra/src/installers/common/construct/misc_c.c 1.8 +0 -1 tendra/src/installers/common/construct/unroll.c 1.11 +0 -1 tendra/src/installers/common/diag/dg_aux.c 1.14 +0 -1 tendra/src/installers/common/diag/dg_fns.c 1.13 +0 -1 tendra/src/installers/common/diag/diag_fns.c 1.8 +0 -1 tendra/src/installers/common/diag/diag_info.c 1.14 +0 -1 tendra/src/installers/common/diag/diag_out_stabs.c 1.9 +0 -1 tendra/src/installers/common/diag/mark_scope.c 1.8 +0 -2 tendra/src/installers/common/dwarf/dwarf_info.c 1.7 +0 -2 tendra/src/installers/common/dwarf/dwarf_loc.c 1.9 +0 -2 tendra/src/installers/common/dwarf/dwarf_out.c 1.7 +0 -2 tendra/src/installers/common/dwarf/dwarf_proc.c 1.8 +0 -1 tendra/src/installers/common/dwarf/dwarf_type.c 1.8 +0 -1 tendra/src/installers/common/dwarf2/dw2_basic.c 1.8 +0 -1 tendra/src/installers/common/dwarf2/dw2_iface.c 1.9 +0 -1 tendra/src/installers/common/dwarf2/dw2_info.c 1.9 +0 -1 tendra/src/installers/common/dwarf2/dw2_locdata.c 1.8 +0 -1 tendra/src/installers/common/dwarf2/dw2_types.c 1.12 +0 -1 tendra/src/installers/common/linkinfo/li_fns.c 1.9 +1 -1 tendra/src/installers/common/reader/common_types.h 1.21 +0 -1 tendra/src/installers/common/reader/read_fns.c 1.8 +0 -1 tendra/src/installers/common/reader/read_sort.c 1.15 +0 -1 tendra/src/installers/common/reader/table_fns.c 1.7 +1 -3 tendra/src/installers/hppa/common/bitsmacs.h 1.8 +0 -1 tendra/src/installers/hppa/common/codehere.c 1.8 +0 -1 tendra/src/installers/hppa/common/eval.c 1.7 +0 -292 tendra/src/installers/hppa/common/expmacs.h 1.7 +4 -58 tendra/src/installers/hppa/common/exptypes.h 1.8 +0 -1 tendra/src/installers/hppa/common/frames.c 1.8 +0 -2 tendra/src/installers/hppa/common/getregs.c 1.7 +0 -1 tendra/src/installers/hppa/common/glopt.c 1.14 +0 -1 tendra/src/installers/hppa/common/hppadiags.c 1.9 +0 -1 tendra/src/installers/hppa/common/inlinechoice.c 1.12 +0 -5 tendra/src/installers/hppa/common/inst_fmt.c 1.7 +0 -1 tendra/src/installers/hppa/common/is_worth.c 1.8 +0 -1 tendra/src/installers/hppa/common/locate.c 1.8 +0 -1 tendra/src/installers/hppa/common/machine.c 1.12 +0 -1 tendra/src/installers/hppa/common/makecode.c 1.10 +0 -1 tendra/src/installers/hppa/common/muldvrem.c 1.11 +0 -1 tendra/src/installers/hppa/common/needscan.c 1.10 +0 -1 tendra/src/installers/hppa/common/oprators.c 1.10 +0 -1 tendra/src/installers/hppa/common/proc.c 1.7 +0 -1 tendra/src/installers/hppa/common/regable.c 1.8 +0 -1 tendra/src/installers/hppa/common/regalloc.c 1.9 +0 -1 tendra/src/installers/hppa/common/regexps.c 1.10 +0 -1 tendra/src/installers/hppa/common/spec_tok.c 1.8 +0 -1 tendra/src/installers/hppa/common/special.c 1.9 +0 -1 tendra/src/installers/hppa/common/tempdecs.c 1.9 +0 -1 tendra/src/installers/hppa/common/translat.c 1.9 +0 -1 tendra/src/installers/hppa/common/weights.c 1.7 +0 -1 tendra/src/installers/mips/common/code_here.c 1.7 +0 -1 tendra/src/installers/mips/common/comp_eq_exp.c 1.8 +0 -1 tendra/src/installers/mips/common/dump_distr.c 1.8 +0 -1 tendra/src/installers/mips/common/eval.c 1.7 +0 -248 tendra/src/installers/mips/common/expmacs.h 1.7 +0 -33 tendra/src/installers/mips/common/exptypes.h 1.7 +0 -1 tendra/src/installers/mips/common/extern_adds.c 1.7 +0 -1 tendra/src/installers/mips/common/frames.c 1.7 +0 -2 tendra/src/installers/mips/common/getregs.c 1.7 +0 -1 tendra/src/installers/mips/common/glopt.c 1.7 +0 -1 tendra/src/installers/mips/common/handle_sregs.c 1.7 +0 -1 tendra/src/installers/mips/common/inlinechoice.c 1.7 +0 -1 tendra/src/installers/mips/common/is_worth.c 1.8 +0 -1 tendra/src/installers/mips/common/locate.c 1.7 +0 -1 tendra/src/installers/mips/common/machine.c 1.9 +0 -1 tendra/src/installers/mips/common/mipsdiags.c 1.8 +0 -1 tendra/src/installers/mips/common/needs_scan.c 1.9 +0 -1 tendra/src/installers/mips/common/new_code.c 1.7 +0 -1 tendra/src/installers/mips/common/oddtest.c 1.8 +0 -1 tendra/src/installers/mips/common/operators.c 1.7 +0 -1 tendra/src/installers/mips/common/regable.c 1.7 +0 -1 tendra/src/installers/mips/common/regalloc.c 1.8 +0 -1 tendra/src/installers/mips/common/regexps.c 1.7 +0 -1 tendra/src/installers/mips/common/spec.c 1.10 +0 -1 tendra/src/installers/mips/common/spec_tok.c 1.7 +0 -1 tendra/src/installers/mips/common/special.c 1.8 +0 -1 tendra/src/installers/mips/common/syms.c 1.8 +0 -1 tendra/src/installers/mips/common/tempdecs.c 1.8 +0 -1 tendra/src/installers/mips/common/translate.c 1.9 +0 -1 tendra/src/installers/mips/common/type_to_aux.c 1.7 +0 -1 tendra/src/installers/mips/common/weights.c 1.7 +1 -3 tendra/src/installers/power/common/bitsmacs.h 1.7 +2 -269 tendra/src/installers/power/common/expmacs.h 1.7 +0 -35 tendra/src/installers/power/common/exptypes.h 1.8 +0 -1 tendra/src/installers/power/common/glopt.c 1.8 +0 -1 tendra/src/installers/power/common/inlinechoice.c 1.8 +0 -1 tendra/src/installers/power/common/is_worth.c 1.9 +0 -1 tendra/src/installers/power/common/needscan.c 1.5 +0 -1 tendra/src/installers/power/common/pp.c 1.7 +0 -1 tendra/src/installers/power/common/spec.c 1.10 +0 -1 tendra/src/installers/power/common/spec_tok.c 1.8 +0 -1 tendra/src/installers/power/common/tempdecs.c 1.8 +0 -1 tendra/src/installers/power/common/weights.c 1.7 +1 -11 tendra/src/installers/sparc/common/bitsmacs.h 1.7 +0 -1 tendra/src/installers/sparc/common/codehere.c 1.7 +0 -1 tendra/src/installers/sparc/common/dw2_extra.c 1.7 +0 -1 tendra/src/installers/sparc/common/eval.c 1.7 +0 -319 tendra/src/installers/sparc/common/expmacs.h 1.7 +0 -46 tendra/src/installers/sparc/common/exptypes.h 1.7 +0 -2 tendra/src/installers/sparc/common/getregs.c 1.7 +0 -1 tendra/src/installers/sparc/common/glopt.c 1.8 +0 -1 tendra/src/installers/sparc/common/inlinechoice.c 1.7 +0 -1 tendra/src/installers/sparc/common/is_worth.c 1.7 +0 -1 tendra/src/installers/sparc/common/locate.c 1.7 +0 -1 tendra/src/installers/sparc/common/machine.c 1.8 +0 -1 tendra/src/installers/sparc/common/makecode.c 1.7 +0 -1 tendra/src/installers/sparc/common/muldvrem.c 1.7 +0 -1 tendra/src/installers/sparc/common/needscan.c 1.6 +0 -1 tendra/src/installers/sparc/common/oprators.c 1.6 +0 -1 tendra/src/installers/sparc/common/proc.c 1.6 +0 -1 tendra/src/installers/sparc/common/regable.c 1.6 +0 -1 tendra/src/installers/sparc/common/regalloc.c 1.6 +0 -1 tendra/src/installers/sparc/common/regexps.c 1.9 +0 -1 tendra/src/installers/sparc/common/spec_tok.c 1.6 +0 -1 tendra/src/installers/sparc/common/special.c 1.6 +0 -1 tendra/src/installers/sparc/common/tempdecs.c 1.7 +0 -1 tendra/src/installers/sparc/common/translat.c 1.7 +0 -1 tendra/src/installers/sparc/common/weights.c 1.9 +0 -1 tendra/src/installers/sparc/solaris/sparcdiags.c 1.9 +0 -1 tendra/src/installers/sparc/sunos/sparcdiags.c From bp at ten15.org Mon Dec 26 15:24:35 2005 From: bp at ten15.org (Boris Popov) Date: Mon, 26 Dec 2005 06:24:35 -0800 (PST) Subject: cvs commit: tendra/src/installers/common/construct exp.h Message-ID: <200512261424.jBQEOZPU091253@spill.ten15.org> bp 2005/12/26 06:24:35 PST Modified files: src/installers/common/construct exp.h Log: Zap line which were scheduled for removal. Revision Changes Path 1.8 +0 -1 tendra/src/installers/common/construct/exp.h From stefanf at ten15.org Mon Dec 26 20:27:30 2005 From: stefanf at ten15.org (Stefan Farfeleder) Date: Mon, 26 Dec 2005 11:27:30 -0800 (PST) Subject: cvs commit: tendra/src/producers/common/construct assign.c Message-ID: <200512261927.jBQJRWNR017189@spill.ten15.org> stefanf 2005/12/26 11:27:30 PST Modified files: src/producers/common/construct assign.c Log: It's actually legal to use b1 op= b2 where b1 and b2 are bools. Don't generate an error for that. I looked at the old C++ draft that is referenced in the C++ Producer Guide but it's legal there too. Probably just a misunderstanding of the original authors. Revision Changes Path 1.8 +0 -7 tendra/src/producers/common/construct/assign.c From stefanf at ten15.org Mon Dec 26 21:07:32 2005 From: stefanf at ten15.org (Stefan Farfeleder) Date: Mon, 26 Dec 2005 12:07:32 -0800 (PST) Subject: cvs commit: tendra/src/producers/common/utility catalog.err Message-ID: <200512262007.jBQK7WaO026298@spill.ten15.org> stefanf 2005/12/26 12:07:32 PST Modified files: src/producers/common/utility catalog.err Log: Down-grade the stmt_return_fall error which is issued if a function misses a return statement at its end from 'error' to 'wall' in C++ (that means nothing is printed by default, a warning if -Wall is passed to tcpplus). A program that returns from a function without executing a return statement invokes undefined behaviour, so generating an error seems to be alright, but: 1) The function have been left via a return statement not at the end of the function, or 2) the function might never be called at all. Revision Changes Path 1.25 +2 -3 tendra/src/producers/common/utility/catalog.err From stefanf at ten15.org Tue Dec 27 15:21:29 2005 From: stefanf at ten15.org (Stefan Farfeleder) Date: Tue, 27 Dec 2005 06:21:29 -0800 (PST) Subject: cvs commit: tendra/src/producers/common/output struct.c Message-ID: <200512271421.jBRELTdD004484@spill.ten15.org> stefanf 2005/12/27 06:21:29 PST Modified files: src/producers/common/output struct.c Log: Test whether a point is not a null pointer before passing its VTABLE to __TCPPLUS_dynamic_cast(). The lack of this test caused a segfault in code like this: struct A { virtual void f() {} }; struct B : public A {}; int main(void) { A *a = 0; B *b = dynamic_cast(a); } Revision Changes Path 1.11 +15 -1 tendra/src/producers/common/output/struct.c From bp at ten15.org Tue Dec 27 15:32:48 2005 From: bp at ten15.org (Boris Popov) Date: Tue, 27 Dec 2005 06:32:48 -0800 (PST) Subject: cvs commit: tendra/src/installers/common/construct exp.h Message-ID: <200512271432.jBREWmJl004649@spill.ten15.org> bp 2005/12/27 06:32:48 PST Modified files: src/installers/common/construct exp.h Log: Remove stray semicolon at the end of EXP_MD_FIELDS. Submitted by: stefanf Revision Changes Path 1.9 +1 -1 tendra/src/installers/common/construct/exp.h From bp at ten15.org Tue Dec 27 15:34:55 2005 From: bp at ten15.org (Boris Popov) Date: Tue, 27 Dec 2005 06:34:55 -0800 (PST) Subject: cvs commit: tendra/src/installers/alpha/common expmacs.h extern_adds.c guard.c operators.c regalloc.c Message-ID: <200512271434.jBREYto3004721@spill.ten15.org> bp 2005/12/27 06:34:55 PST Modified files: src/installers/alpha/common expmacs.h extern_adds.c guard.c operators.c regalloc.c Log: Fix build of alpha installer. Revision Changes Path 1.3 +2 -0 tendra/src/installers/alpha/common/expmacs.h 1.5 +1 -1 tendra/src/installers/alpha/common/extern_adds.c 1.4 +1 -0 tendra/src/installers/alpha/common/guard.c 1.9 +1 -1 tendra/src/installers/alpha/common/operators.c 1.8 +1 -1 tendra/src/installers/alpha/common/regalloc.c From bp at ten15.org Wed Dec 28 10:47:26 2005 From: bp at ten15.org (Boris Popov) Date: Wed, 28 Dec 2005 01:47:26 -0800 (PST) Subject: cvs commit: tendra/src/installers/680x0/common evaluate.c tendra/src/installers/common/construct aldefs.c check.c exp.h install_fns.c installtypes.h tendra/src/installers/common/reader read_fns.c tendra/src/installers/hppa/common makecode.c spec_tok.c tendra/src/installers/sparc/common ... Message-ID: <200512280947.jBS9lQdE085238@spill.ten15.org> bp 2005/12/28 01:47:26 PST Modified files: src/installers/680x0/common evaluate.c src/installers/common/construct aldefs.c check.c exp.h install_fns.c installtypes.h src/installers/common/reader read_fns.c src/installers/hppa/common makecode.c spec_tok.c src/installers/sparc/common makecode.c Log: Reduce by 3 number of structures used in the definition of alignmnet type. Give symbolic names for alignment states. Revision Changes Path 1.8 +1 -1 tendra/src/installers/680x0/common/evaluate.c 1.8 +14 -14 tendra/src/installers/common/construct/aldefs.c 1.12 +6 -6 tendra/src/installers/common/construct/check.c 1.10 +5 -5 tendra/src/installers/common/construct/exp.h 1.14 +76 -76 tendra/src/installers/common/construct/install_fns.c 1.7 +14 -17 tendra/src/installers/common/construct/installtypes.h 1.22 +3 -3 tendra/src/installers/common/reader/read_fns.c 1.13 +2 -2 tendra/src/installers/hppa/common/makecode.c 1.11 +1 -1 tendra/src/installers/hppa/common/spec_tok.c 1.9 +1 -1 tendra/src/installers/sparc/common/makecode.c From bp at ten15.org Wed Dec 28 11:07:33 2005 From: bp at ten15.org (Boris Popov) Date: Wed, 28 Dec 2005 02:07:33 -0800 (PST) Subject: cvs commit: tendra/src/installers/common/construct aldefs.c messages.cat messages_c.h Message-ID: <200512281007.jBSA7X6I094238@spill.ten15.org> bp 2005/12/28 02:07:33 PST Modified files: src/installers/common/construct aldefs.c messages.cat messages_c.h Log: Minor rearrangement of the code. Use message catalog for error messages. Revision Changes Path 1.9 +31 -45 tendra/src/installers/common/construct/aldefs.c 1.3 +13 -0 tendra/src/installers/common/construct/messages.cat 1.7 +0 -2 tendra/src/installers/common/construct/messages_c.h From stefanf at ten15.org Wed Dec 28 11:07:35 2005 From: stefanf at ten15.org (Stefan Farfeleder) Date: Wed, 28 Dec 2005 02:07:35 -0800 (PST) Subject: cvs commit: tendra/src/producers/cpp/syntax syntax.act syntax.sid Message-ID: <200512281007.jBSA7Zqm094270@spill.ten15.org> stefanf 2005/12/28 02:07:35 PST Modified files: src/producers/cpp/syntax syntax.act syntax.sid Log: In the declaration class C : { ... }; access to the base classes must not be done as from within C itself but as from the enclosing class, function or namespace (11.4#2). This makes a difference if a base class B is a private nested class and C is a friend of B's enclosing class (we allowed access to B although we shouldn't) or if C's enclosing class is a friend of B's enclosing class (we denied access to B although we shouldn't). Revision Changes Path 1.8 +11 -0 tendra/src/producers/cpp/syntax/syntax.act 1.12 +2 -0 tendra/src/producers/cpp/syntax/syntax.sid From stefanf at ten15.org Wed Dec 28 12:38:04 2005 From: stefanf at ten15.org (Stefan Farfeleder) Date: Wed, 28 Dec 2005 03:38:04 -0800 (PST) Subject: cvs commit: tendra/src/producers/common/construct declare.c tendra/src/producers/common/utility catalog.err Message-ID: <200512281138.jBSBc44W004695@spill.ten15.org> stefanf 2005/12/28 03:38:04 PST Modified files: src/producers/common/construct declare.c src/producers/common/utility catalog.err Log: A friend function shall only be defined if the function name is unqualified (11.4#5). Revision Changes Path 1.20 +6 -1 tendra/src/producers/common/construct/declare.c 1.26 +5 -0 tendra/src/producers/common/utility/catalog.err From bp at ten15.org Wed Dec 28 15:35:57 2005 From: bp at ten15.org (Boris Popov) Date: Wed, 28 Dec 2005 06:35:57 -0800 (PST) Subject: cvs commit: tendra/src/installers/common/construct aldefs.c aldefs.h install_fns.c install_fns.h installglob.c installglob.h me_fns.c me_fns.h messages.cat messages_c.h tendra/src/installers/common/reader read_fns.c Message-ID: <200512281435.jBSEZxUG016760@spill.ten15.org> bp 2005/12/28 06:35:57 PST Modified files: src/installers/common/construct aldefs.c aldefs.h install_fns.c install_fns.h installglob.c installglob.h me_fns.c me_fns.h messages.cat messages_c.h src/installers/common/reader read_fns.c Log: Cleanup functions and data related to alignment management. Most of them now located in the aldefs.c file with prototypes in the aldefs.h file. Due to significant mess in the include files, aldefs.h file temporary included from the install_fns.h file. Revision Changes Path 1.10 +265 -0 tendra/src/installers/common/construct/aldefs.c 1.7 +14 -2 tendra/src/installers/common/construct/aldefs.h 1.15 +0 -167 tendra/src/installers/common/construct/install_fns.c 1.10 +1 -1 tendra/src/installers/common/construct/install_fns.h 1.9 +0 -8 tendra/src/installers/common/construct/installglob.c 1.9 +0 -1 tendra/src/installers/common/construct/installglob.h 1.9 +0 -18 tendra/src/installers/common/construct/me_fns.c 1.7 +0 -1 tendra/src/installers/common/construct/me_fns.h 1.4 +6 -0 tendra/src/installers/common/construct/messages.cat 1.8 +0 -1 tendra/src/installers/common/construct/messages_c.h 1.23 +3 -14 tendra/src/installers/common/reader/read_fns.c From stefanf at ten15.org Wed Dec 28 17:49:59 2005 From: stefanf at ten15.org (Stefan Farfeleder) Date: Wed, 28 Dec 2005 08:49:59 -0800 (PST) Subject: cvs commit: tendra/src/producers/common/construct declare.c tendra/src/producers/common/utility catalog.err Message-ID: <200512281649.jBSGnxM6035636@spill.ten15.org> stefanf 2005/12/28 08:49:59 PST Modified files: src/producers/common/construct declare.c src/producers/common/utility catalog.err Log: A friend function in a local class must be defined in the enclosing namespace. 11.4#9: "For a friend declaration, if there is no prior declaration, the program is ill-formed." Revision Changes Path 1.21 +8 -3 tendra/src/producers/common/construct/declare.c 1.27 +6 -0 tendra/src/producers/common/utility/catalog.err From stefanf at ten15.org Wed Dec 28 17:53:49 2005 From: stefanf at ten15.org (Stefan Farfeleder) Date: Wed, 28 Dec 2005 17:53:49 +0100 Subject: cvs commit: tendra/src/producers/common/construct declare.c tendra/src/producers/common/utility catalog.err In-Reply-To: <200512281649.jBSGnxM6035636@spill.ten15.org> References: <200512281649.jBSGnxM6035636@spill.ten15.org> Message-ID: <20051228165346.GL63814@wombat.fafoe.narf.at> On Wed, Dec 28, 2005 at 08:49:59AM -0800, Stefan Farfeleder wrote: > > 11.4#9: "For a friend declaration, if there is no prior declaration, the ^+function > program is ill-formed." From bp at ten15.org Thu Dec 29 05:44:40 2005 From: bp at ten15.org (Boris Popov) Date: Wed, 28 Dec 2005 20:44:40 -0800 (PST) Subject: cvs commit: tendra/src/installers/common/construct aldefs.c Message-ID: <200512290444.jBT4iecF086393@spill.ten15.org> bp 2005/12/28 20:44:40 PST Modified files: src/installers/common/construct aldefs.c Log: Set initial value of al_frame to zero as it can cause undefined behavior later. Set some other fields to zero too. Revision Changes Path 1.11 +3 -0 tendra/src/installers/common/construct/aldefs.c From stefanf at ten15.org Thu Dec 29 10:22:50 2005 From: stefanf at ten15.org (Stefan Farfeleder) Date: Thu, 29 Dec 2005 01:22:50 -0800 (PST) Subject: cvs commit: tendra/src/producers/common c_class.alg tendra/src/producers/common/construct class.c declare.c identifier.c overload.c redeclare.c tendra/src/producers/common/utility catalog.err Message-ID: <200512290922.jBT9Momx017275@spill.ten15.org> stefanf 2005/12/29 01:22:50 PST Modified files: src/producers/common c_class.alg src/producers/common/construct class.c declare.c identifier.c overload.c redeclare.c src/producers/common/utility catalog.err Log: Fix a delicate issue with friend declarations. Apparently this was changed rather late in the standardisation process, so the original C++ producer authors probably used the old specification. If in a declaration class A { friend class B; friend void c(); }; the class B or the function c were not declared before, their identifiers are added to the innermost enclosing namespace of class A. Until here we did everything right. This injection caused pain and was very much disliked, so another rule was added which says that the injected name was not visible until a further declaration (it is "not found by simple name lookup" in standardese). To implement this, I've added a 'invisible' flag to the identifier. If a type or a function was first declared in a friend declaration like above, the flag is set. On a proper redeclaration it is cleared. If an identifier is used with the flag set, an error is emitted. The flag is also used to exclude functions from the candidates for overloading. The invisible flag only needs a single bit. I had to add a new field because in 'storage' all bits were already used. If we need another bit later, we can turn the invisible field to a second field for various flags. Revision Changes Path 1.19 +1 -0 tendra/src/producers/common/c_class.alg 1.9 +10 -0 tendra/src/producers/common/construct/class.c 1.22 +5 -0 tendra/src/producers/common/construct/declare.c 1.9 +8 -0 tendra/src/producers/common/construct/identifier.c 1.9 +5 -1 tendra/src/producers/common/construct/overload.c 1.11 +8 -6 tendra/src/producers/common/construct/redeclare.c 1.28 +6 -0 tendra/src/producers/common/utility/catalog.err From stefanf at ten15.org Sat Dec 31 17:17:13 2005 From: stefanf at ten15.org (Stefan Farfeleder) Date: Sat, 31 Dec 2005 08:17:13 -0800 (PST) Subject: cvs commit: tendra/src/producers/common/construct template.c template.h Message-ID: <200512311617.jBVGHDSR060136@spill.ten15.org> stefanf 2005/12/31 08:17:12 PST Modified files: src/producers/common/construct template.c template.h Log: White-space cleanup. Checked with: md5 Revision Changes Path 1.14 +664 -664 tendra/src/producers/common/construct/template.c 1.5 +5 -5 tendra/src/producers/common/construct/template.h From stefanf at ten15.org Sat Dec 31 17:46:14 2005 From: stefanf at ten15.org (Stefan Farfeleder) Date: Sat, 31 Dec 2005 08:46:14 -0800 (PST) Subject: cvs commit: tendra/src/producers/common/construct template.c Message-ID: <200512311646.jBVGkEFF065933@spill.ten15.org> stefanf 2005/12/31 08:46:14 PST Modified files: src/producers/common/construct template.c Log: Don't report an error if a type following 'typename' is not dependent on a template argument (14.6#5). This affected eg. struct A { typedef int t; }; template typename A::t b(); which is valid code but which the producer refused to compile. Revision Changes Path 1.15 +2 -0 tendra/src/producers/common/construct/template.c