1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-24 06:20:43 -08:00
emacs/mps/code
Richard Brooksby 5a604a2f51 Fixing bugs introduced by type puns passed through scanning methods, discovered by offsetting mps_ss_s from the beginning of scanstatestruct.
Adding a pseudo-target "find-puns" which, on FreeBSD mostly, prints useful warnings about strict aliasing rule violations.
Fixing more strict aliasing rule violations found by the above.

Copied from Perforce
 Change: 179358
 ServerID: perforce.ravenbrook.com
2012-09-07 23:48:14 +01:00
..
mps.xcodeproj Fixing xcode project to exclude table, which cet-transform moved into the mpm. 2012-09-06 17:20:42 +01:00
.gdbinit
abq.c Tidy up code from unused variable warnings. 2012-07-31 14:19:26 +01:00
abq.h
abqtest.c Mps br/timing: tabs in test source files. (p4 diff -db -- confirms whitespace changes only). 2008-11-07 13:45:50 +00:00
amcss.c Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface. 2012-09-07 12:58:57 +01:00
amcsshe.c Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface. 2012-09-07 12:58:57 +01:00
amcssth.c Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface. 2012-09-07 12:58:57 +01:00
amsss.c Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface. 2012-09-07 12:58:57 +01:00
amssshe.c Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface. 2012-09-07 12:58:57 +01:00
apss.c Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface. 2012-09-07 12:58:57 +01:00
arena.c Merging branch/2012-08-21/diagnostic-telemetry. 2012-09-05 23:45:31 +01:00
arenacl.c Merging branch/2012-08-21/diagnostic-telemetry. 2012-09-05 23:45:31 +01:00
arenacv.c mps br/timing: tabs in source files. (p4 diff -db -- confirms whitespace changes only). 2008-11-07 13:56:12 +00:00
arenavm.c Merging branch/2012-08-21/diagnostic-telemetry. 2012-09-05 23:45:31 +01:00
awlut.c Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface. 2012-09-07 12:58:57 +01:00
awluthe.c Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface. 2012-09-07 12:58:57 +01:00
awlutth.c Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface. 2012-09-07 12:58:57 +01:00
boot.c
boot.h
bt.c Fixing bt to use count for bit table length (and size for sizes throughout), rather than unsigned long. 2012-03-27 16:30:33 +01:00
bt.h Fixing bt to use count for bit table length (and size for sizes throughout), rather than unsigned long. 2012-03-27 16:30:33 +01:00
btcv.c Fixing up occurences of "unsigned long" in the main mps and test code so that we no longer assume that "unsigned long" is large enough for a pointer or size, or that it's the longest available integer type, since these are not true on 64-bit windows. 2012-04-23 16:20:40 +01:00
bttest.c Removing obsolete platforms: 2012-08-12 23:27:35 +01:00
buffer.c Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface. 2012-09-07 12:58:57 +01:00
cbs.c Merging branch/2012-08-21/diagnostic-telemetry. 2012-09-05 23:45:31 +01:00
cbs.h
cbstest.c Removing obsolete platforms: 2012-08-12 23:27:35 +01:00
chain.h Mps from br/gcdiag to master: branch/2007-07-19/gcdiag/...@162965, 967, 969. 2007-08-06 17:30:02 +01:00
check.h Responding to nb's review of variety-reform. 2012-09-06 16:47:44 +01:00
comm.gmk Fixing bugs introduced by type puns passed through scanning methods, discovered by offsetting mps_ss_s from the beginning of scanstatestruct. 2012-09-07 23:48:14 +01:00
commpost.nmk Partial merge of branch/2012-07-23/cet-transform, excluding cet-specific parts. 2012-09-06 17:17:18 +01:00
commpre.nmk Merging recent review changes from variety-reform branch. 2012-09-06 16:59:31 +01:00
config.h Merging recent review changes from variety-reform branch. 2012-09-06 16:59:31 +01:00
dbgpool.c Fixing type puns discovered by gcc 4.2.1 on freebsd with -o3. 2012-09-07 22:03:41 +01:00
dbgpool.h Added reference to design document. 2012-05-17 15:05:31 +01:00
dbgpooli.c Renaming some check* macros with more accurate names, making remaining check* macros similar in function. 2012-09-01 10:18:08 +01:00
diag.c Fixing type puns discovered by gcc 4.2.1 on freebsd with -o3. 2012-09-07 22:03:41 +01:00
event.c Responding to nb's review comments. 2012-09-07 15:46:18 +01:00
event.h Responding to nb's review comments. 2012-09-07 15:46:18 +01:00
eventcnv.c Responding to nb's review comments. 2012-09-07 15:46:18 +01:00
eventcom.h Responding to nb's review comments. 2012-09-07 15:46:18 +01:00
eventdef.h Responding to nb's review comments. 2012-09-07 15:46:18 +01:00
eventpro.c Merging recent review responses from branch/2012-08-23/diagnostic-telemetry. 2012-09-07 15:49:18 +01:00
eventpro.h Removing unnecessary "event" override. 2012-08-31 21:54:43 +01:00
eventrep.c Merging branch/2012-08-21/diagnostic-telemetry. 2012-09-05 23:45:31 +01:00
eventrep.h
exposet0.c Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface. 2012-09-07 12:58:57 +01:00
expt825.c Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface. 2012-09-07 12:58:57 +01:00
finalcv.c Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface. 2012-09-07 12:58:57 +01:00
finaltest.c Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface. 2012-09-07 12:58:57 +01:00
fmtdy.c Renaming duplicate mps_word_* macros in fmtdy.c so that it can be concatenated with mps.c for open dylan. 2012-09-06 18:12:30 +01:00
fmtdy.h
fmtdytst.c Removing obsolete platforms: 2012-08-12 23:27:35 +01:00
fmtdytst.h Partial merge of branch/2012-07-23/cet-transform, excluding cet-specific parts. 2012-09-06 17:17:18 +01:00
fmthe.c Insert cast to int to get it to compile on 64 bit. 2012-05-03 18:06:58 +01:00
fmthe.h Insert cast to int to get it to compile on 64 bit. 2012-05-03 18:06:58 +01:00
fmtno.c Removing obsolete platforms: 2012-08-12 23:27:35 +01:00
fmtno.h
format.c mps br/timing: tabs in source files. (p4 diff -db -- confirms whitespace changes only). 2008-11-07 13:56:12 +00:00
fri3gc.gmk Eliminating pfmdefs from makefiles by moving them to mpstd.h so that the mps can be built with a simpler compiler command. 2012-09-03 00:49:02 +01:00
fri6gc.gmk Downgrading hot optimisation from -o3 to -o2. 2012-09-05 18:20:38 +01:00
gc.gmk Fixing type puns discovered by gcc 4.2.1 on freebsd with -o3. 2012-09-07 22:03:41 +01:00
global.c Partial merge of branch/2012-07-23/cet-transform, excluding cet-specific parts. 2012-09-06 17:17:18 +01:00
gp.gmk Abolishing a bunch of varieties and reforming the hot variety to run about as fast as white-hot. 2012-09-01 00:01:03 +01:00
ld.c Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface. 2012-09-07 12:58:57 +01:00
libcbt.c Fixed some places where casts are missing in vararg arguments. 2012-05-01 16:58:22 +01:00
lii3gc.gmk Eliminating pfmdefs from makefiles by moving them to mpstd.h so that the mps can be built with a simpler compiler command. 2012-09-03 00:49:02 +01:00
lii6gc.gmk Eliminating pfmdefs from makefiles by moving them to mpstd.h so that the mps can be built with a simpler compiler command. 2012-09-03 00:49:02 +01:00
lo.h
locbwcss.c Fixing up occurences of "unsigned long" in the main mps and test code so that we no longer assume that "unsigned long" is large enough for a pointer or size, or that it's the longest available integer type, since these are not true on 64-bit windows. 2012-04-23 16:20:40 +01:00
lock.h
lockan.c
lockcov.c
lockix.c
lockli.c Fixing up platform definitions after test build on ubuntu 12. 2012-09-03 01:09:09 +01:00
lockutw3.c
lockw3.c
locus.c Adding more events corresponding to diagnostics. 2012-08-31 19:33:45 +01:00
locusss.c Fixed some places where casts are missing in vararg arguments. 2012-05-01 16:58:22 +01:00
locv.c Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface. 2012-09-07 12:58:57 +01:00
message.c Mps br/timing: (cosmetic): 2008-11-24 16:53:12 +00:00
messtest.c Mps br/timing: move field "messagetype type" out of messagestruct 2008-11-24 15:44:27 +00:00
meter.c Abolishing eventgen.pl. event structures are now expanded by the preprocessor. 2012-08-21 22:48:11 +01:00
meter.h
misc.h Fixing warnings found by lii6gc build. 2012-08-31 21:27:55 +01:00
mpm.c Fixing type puns discovered by gcc 4.2.1 on freebsd with -o3. 2012-09-07 22:03:41 +01:00
mpm.h Fixing bugs introduced by type puns passed through scanning methods, discovered by offsetting mps_ss_s from the beginning of scanstatestruct. 2012-09-07 23:48:14 +01:00
mpmss.c Cleanup tests. these were mostly alignment issues. i have made them vary the alignments used according to the platform, using sizeof(void *) and mps_pf_align. 2012-06-18 14:47:53 +01:00
mpmst.h Adding references to critical path design. 2012-09-07 20:49:05 +01:00
mpmtypes.h Fixing bugs introduced by type puns passed through scanning methods, discovered by offsetting mps_ss_s from the beginning of scanstatestruct. 2012-09-07 23:48:14 +01:00
mps.c Partial merge of branch/2012-07-23/cet-transform, excluding cet-specific parts. 2012-09-06 17:17:18 +01:00
mps.h Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface. 2012-09-07 12:58:57 +01:00
mpsacl.h
mpsavm.h Mps br/vmarenagrow: new mps interface function mps_arena_vm_growth(): 2008-01-11 16:07:51 +00:00
mpscamc.h
mpscams.h
mpscawl.h
mpsclo.h
mpscmv.h
mpscmv2.h
mpscmvff.h
mpscsnc.h
mpsi.c Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface. 2012-09-07 12:58:57 +01:00
mpsicv.c Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface. 2012-09-07 12:58:57 +01:00
mpsio.h mps br/timing: tabs in header files. (p4 diff -db -- confirms whitespace changes only). 2008-11-07 13:58:56 +00:00
mpsioan.c Responding to nb's review comments. 2012-09-07 15:46:18 +01:00
mpsiw3.c
mpslib.h Mps br/timing: hack in mps_clock_t 2008-10-31 17:14:37 +00:00
mpsliban.c Writing event dumper to print recent events, and adding it to the default assertion handler. 2012-08-31 14:12:23 +01:00
mpstd.h Removing unnecessary definition of _reentrant on freebsd. cc -dm -e reveals that this is not set by -pthread, and inspection of headers reveals no effect. checked on freebsd 7 and 9. 2012-09-03 14:48:51 +01:00
mpsw3.h
mpswin.h Mps br/vc9: undo #pragma warning (4996) in mpslib.h and mpswin.h; testlib.c is where it is needed 2008-09-10 18:50:13 +01:00
mv2test.c Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface. 2012-09-07 12:58:57 +01:00
ntbuild.cmd Mainline changes to make a standard nt build environment based on nt6.1 2011-08-29 13:09:37 +01:00
osxc.h
pool.c Partial merge of branch/2012-07-23/cet-transform, excluding cet-specific parts. 2012-09-06 17:17:18 +01:00
poolabs.c Fix weak band assert. we now trace weak segments as weak on a fault if we are in the weak band. 2012-09-03 17:05:51 +01:00
poolamc.c Fixing bugs introduced by type puns passed through scanning methods, discovered by offsetting mps_ss_s from the beginning of scanstatestruct. 2012-09-07 23:48:14 +01:00
poolams.c Fixing bugs introduced by type puns passed through scanning methods, discovered by offsetting mps_ss_s from the beginning of scanstatestruct. 2012-09-07 23:48:14 +01:00
poolams.h mps br/timing: tabs in header files. (p4 diff -db -- confirms whitespace changes only). 2008-11-07 13:58:56 +00:00
poolamsi.c
poolawl.c Fixing bugs introduced by type puns passed through scanning methods, discovered by offsetting mps_ss_s from the beginning of scanstatestruct. 2012-09-07 23:48:14 +01:00
poollo.c Abolishing eventgen.pl. event structures are now expanded by the preprocessor. 2012-08-21 22:48:11 +01:00
poolmfs.c Expanded event parameters into separate macros annotated with parameter names, simplifying event definition macros. 2012-08-31 04:25:18 +01:00
poolmfs.h
poolmrg.c Merging branch/2012-08-21/diagnostic-telemetry. 2012-09-05 23:45:31 +01:00
poolmrg.h
poolmv.c Fixing type puns discovered by gcc 4.2.1 on freebsd with -o3. 2012-09-07 22:03:41 +01:00
poolmv.h
poolmv2.c Merging branch/2012-08-21/diagnostic-telemetry. 2012-09-05 23:45:31 +01:00
poolmv2.h
poolmvff.c Merging branch/2012-08-21/diagnostic-telemetry. 2012-09-05 23:45:31 +01:00
pooln.c Abolishing eventgen.pl. event structures are now expanded by the preprocessor. 2012-08-21 22:48:11 +01:00
pooln.h
poolncv.c
poolsnc.c Fixing bugs introduced by type puns passed through scanning methods, discovered by offsetting mps_ss_s from the beginning of scanstatestruct. 2012-09-07 23:48:14 +01:00
prmcan.c
prmci3.h
prmci3fr.c Adding fri6gc (freebsd on amd64/x86_64) platform. 2012-08-14 17:30:22 +01:00
prmci3li.c Correcting misnamed i4 architecture to i3. this distinction was once slightly useful for optimisation, but no longer makes any sense. 2012-08-15 15:37:42 +01:00
prmci3w3.c
prmci6.h Port instruction stepper to x64 with stub instruction decode 2012-05-24 17:13:04 +01:00
prmci6fr.c Adding fri6gc (freebsd on amd64/x86_64) platform. 2012-08-14 17:30:22 +01:00
prmci6li.c Moving linux-specific parts out of thli.c in order to unify with freebsd. 2012-08-14 17:05:11 +01:00
prmci6w3.c Port instruction stepper to x64 with stub instruction decode 2012-05-24 17:13:04 +01:00
prmcix.h Update the linux threading implementation, this means using the new posix style pthreads, which is much closer to the bsd implementation. prmcfr.h and prmcli.h have now been replaced by prmcix.h. this doesn't quite compile yet. 2012-07-31 14:43:34 +01:00
prmcw3.h
protan.c mps br/timing: tabs in source files. (p4 diff -db -- confirms whitespace changes only). 2008-11-07 13:56:12 +00:00
proti3.c Mps: style improvements. 2007-07-05 14:22:42 +01:00
proti6.c Port instruction stepper to x64 with stub instruction decode 2012-05-24 17:13:04 +01:00
protix.c Fixing up platform definitions after test build on ubuntu 12. 2012-09-03 01:09:09 +01:00
protli.c Unifying code-identical protection implementations for linux. 2012-08-15 16:47:50 +01:00
protocol.c
protocol.h
protsgix.c Partial merge of branch/2012-07-23/cet-transform, excluding cet-specific parts. 2012-09-06 17:17:18 +01:00
protw3.c Removing obsolete platforms: 2012-08-12 23:27:35 +01:00
pthrdext.c Update the linux threading implementation, this means using the new posix style pthreads, which is much closer to the bsd implementation. prmcfr.h and prmcli.h have now been replaced by prmcix.h. this doesn't quite compile yet. 2012-07-31 14:43:34 +01:00
pthrdext.h mps br/timing: tabs in header files. (p4 diff -db -- confirms whitespace changes only). 2008-11-07 13:58:56 +00:00
qs.c Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface. 2012-09-07 12:58:57 +01:00
ref.c Fixed up long constants and shifts that needed to be cast to correct type. 2012-05-03 16:38:47 +01:00
replay.c Fixing remaining fixmes. 2012-08-31 21:39:56 +01:00
reserv.c Abolishing eventgen.pl. event structures are now expanded by the preprocessor. 2012-08-21 22:48:11 +01:00
ring.c
ring.h
root.c Fixing bugs introduced by type puns passed through scanning methods, discovered by offsetting mps_ss_s from the beginning of scanstatestruct. 2012-09-07 23:48:14 +01:00
sac.c
sac.h
sacss.c Removing obsolete platforms: 2012-08-12 23:27:35 +01:00
seg.c Fixing type puns discovered by gcc 4.2.1 on freebsd with -o3. 2012-09-07 22:03:41 +01:00
segsmss.c Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface. 2012-09-07 12:58:57 +01:00
shield.c Added single compilation unit version of mps library to allow global optimization and universal binary building. minor fixes to other sources to avoid clashing symbols. 2012-05-22 21:27:55 +01:00
span.c
spi3.c
splay.c Fixing up occurences of "unsigned long" in the main mps and test code so that we no longer assume that "unsigned long" is large enough for a pointer or size, or that it's the longest available integer type, since these are not true on 64-bit windows. 2012-04-23 16:20:40 +01:00
splay.h Cbs and splay now pass size through as closure parameters, rather than messing with unsigned long. 2012-03-27 17:15:25 +01:00
ss.c Partial merge of branch/2012-07-23/cet-transform, excluding cet-specific parts. 2012-09-06 17:17:18 +01:00
ss.h Partial merge of branch/2012-07-23/cet-transform, excluding cet-specific parts. 2012-09-06 17:17:18 +01:00
ssan.c
ssixi3.c Partial merge of branch/2012-07-23/cet-transform, excluding cet-specific parts. 2012-09-06 17:17:18 +01:00
ssixi6.c Partial merge of branch/2012-07-23/cet-transform, excluding cet-specific parts. 2012-09-06 17:17:18 +01:00
ssw3i3mv.c Partial merge of branch/2012-07-23/cet-transform, excluding cet-specific parts. 2012-09-06 17:17:18 +01:00
ssw3i6mv.c Partial merge of branch/2012-07-23/cet-transform, excluding cet-specific parts. 2012-09-06 17:17:18 +01:00
steptest.c Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface. 2012-09-07 12:58:57 +01:00
table.c Partial merge of branch/2012-07-23/cet-transform, excluding cet-specific parts. 2012-09-06 17:17:18 +01:00
table.h Partial merge of branch/2012-07-23/cet-transform, excluding cet-specific parts. 2012-09-06 17:17:18 +01:00
teletest.c mps br/timing: tabs in source files. (p4 diff -db -- confirms whitespace changes only). 2008-11-07 13:56:12 +00:00
testlib.c Partial merge of branch/2012-07-23/cet-transform, excluding cet-specific parts. 2012-09-06 17:17:18 +01:00
testlib.h Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface. 2012-09-07 12:58:57 +01:00
th.h
than.c
thix.c Renaming thli.c to thix.c as it is now general to posix threads. 2012-08-14 17:10:48 +01:00
thw3.c Split windows thread implementation into two files so that the non-architecture specific part can be shared. 2012-05-22 16:08:49 +01:00
thw3.h Adding w3i3mv to mps.c, allowing simple builds. this now works: 2012-07-30 16:48:02 +01:00
thw3i3.c Split windows thread implementation into two files so that the non-architecture specific part can be shared. 2012-05-22 16:08:49 +01:00
thw3i6.c Add native thread scanning routines for windows x64 2012-05-22 16:38:55 +01:00
trace.c Fixing bugs introduced by type puns passed through scanning methods, discovered by offsetting mps_ss_s from the beginning of scanstatestruct. 2012-09-07 23:48:14 +01:00
traceanc.c Partial merge of branch/2012-07-23/cet-transform, excluding cet-specific parts. 2012-09-06 17:17:18 +01:00
tract.c Adding references to critical path design. 2012-09-07 20:49:05 +01:00
tract.h mps br/vmem: simple-chunk-return: 2010-03-22 13:39:36 +00:00
version.c Mps master: version.c and w3build.bat for release/1.109.0 2010-03-04 17:22:53 +00:00
vman.c Abolishing eventgen.pl. event structures are now expanded by the preprocessor. 2012-08-21 22:48:11 +01:00
vmix.c Abolishing eventgen.pl. event structures are now expanded by the preprocessor. 2012-08-21 22:48:11 +01:00
vmw3.c Merging branch/2012-08-21/diagnostic-telemetry. 2012-09-05 23:45:31 +01:00
w3build.bat Partial merge of branch/2012-07-23/cet-transform, excluding cet-specific parts. 2012-09-06 17:17:18 +01:00
w3i3mv.nmk Partial merge of branch/2012-07-23/cet-transform, excluding cet-specific parts. 2012-09-06 17:17:18 +01:00
w3i6mv.nmk Partial merge of branch/2012-07-23/cet-transform, excluding cet-specific parts. 2012-09-06 17:17:18 +01:00
walk.c Partial merge of branch/2012-07-23/cet-transform, excluding cet-specific parts. 2012-09-06 17:17:18 +01:00
walkt0.c Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface. 2012-09-07 12:58:57 +01:00
xci3gc.gmk Removing obsolete swpf definitions from makefiles. 2012-09-03 00:32:49 +01:00
zcoll.c Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface. 2012-09-07 12:58:57 +01:00
zmess.c Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface. 2012-09-07 12:58:57 +01:00