Changes 86 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992
  1. -*- change-log -*-
  2. Started on CPAN with B-C-1.04_12
  3. The Perl compiler was in CORE from alpha4 until Perl 5.9.4
  4. and worked quite fine with Perl 5.6 and 5.8
  5. 1.43 2013-?? rurban
  6. 5.16 + partial 5.18 support, some more fixes
  7. * C: Fix -u<module> without file extension.
  8. With hek do not drop FAKE, only for const pv.
  9. Fixed $$ ($PID) to be dynamic, issue 108. Thanks to flexvault for reporting this.
  10. Fixed double precision to 16 digits. The nbody shootout test passes now.
  11. Fixed refcounts of *ENV, issue 111.
  12. Fixed wrong boot_ arg for the xs version check with --staticxs
  13. Better fix for overwriting of @ARGV <O3, test c_argv:1 and c_allow_opts.t:1
  14. Fixed refinition warnings of XS CONSTSUB. Ignore them as they are
  15. loaded later.
  16. Add $dlmodule::VERSION as 2nd arg to boot_$dlmodule resp. $dlmodule::bootstrap
  17. to get rid of the pesky Invalid version format error in xs_version_bootcheck
  18. if the $VERSION had already version magic attached. (no testcase, hard to repro)
  19. perl 5.16.0 shipped a slightly broken B without cop_stashlen. As workaround
  20. we do not support utf8 stashes nor null bytes in stashes on 5.16.0 threaded.
  21. Fixed Null COP storage for 5.16 and 5.17
  22. Fix amagic_generation which was removed with 5.17
  23. Fix ALLOW_PERL_OPTIONS: add -e behind all processed options, not before
  24. Fixed HvAUX init. Previously only with magic hashes, now on all OOK hashes (OOK+SHAREKEYS)
  25. e.g. %warning::Bits
  26. Added support for new PADLIST type since 5.17.4 (with xpadl_id) and 5.17.6 (without)
  27. $^X returns now the real executable name, not just perl or perl.exe
  28. Adjust COW string lengths to hold the COW_REFCNT byte at the end
  29. * perlcc (2.14): new option --dryrun, -v5 does not -Dsp,-v
  30. new option -f passthru to C and CC
  31. * perlcc (2.15): fixed default --spawn: use waitpid which was broken for parallel builds.
  32. fixed warning Prototype mismatch: sub main::gettimeofday: none vs () at perlcc line 261
  33. improved --version
  34. added --perlopts to handle -DALLOW_PERL_OPTIONS
  35. * CC (1.13): Use the B::C integer and double precision logic (ivx, nvx).
  36. Fixed double precision to 16 digits. The nbody shootout is now 2x faster than perl.
  37. Added optimizations: -fno-magic, -fno-autovivify
  38. Detect "no autovivification;" pragma.
  39. New -fno-taint, deprecate -fomit_taint
  40. Fix amagic_generation which was removed with 5.17
  41. * Bytecode (1.14): fixed require and op_first, issue 97
  42. Fixed regex_pad offset in threaded perls >= 5.11, issue 68.
  43. New type B::PAD isa B::AV (PADLIST for 5.17.5),
  44. New bytecodes newpadlx, padl_name, padl_sym (PADLIST for 5.17.5)
  45. Fixed CvGV_set causing Attempt to free unreferenced scalar in push_begin (42,43)
  46. Fixed -Do (peek ops)
  47. Renamed option -f to -F for files.
  48. Fixed READONLY magic and restricted hashes, issue 98
  49. Support IsCOW xpvshared strings (>=5.18)
  50. Fixed wrong xpvshared logic (5.10-5.17), issue 138
  51. Optimized away 0=default op and gp flags and pointers
  52. * Assembler (1.11): allow "newpadlx 0"
  53. * Disassembler (1.12): use B::Concise op_flags and private_flags
  54. * Stash (1.03): fix compilation for 5.8.8 and below: gv_fetchsv missing
  55. * t/perldoc.t: perlcc fails with 5.8 because Cwd disturbs the
  56. fragile method package finder for File::Spec. Use cc_harness.
  57. 1.42 2012-02-01 rurban
  58. stable up to 5.14
  59. * C: Improved finding methods in parent classes (Warning: method not found),
  60. Save @ISA of those child classes.
  61. Re-implement and simplify my_share_hek, now in terms of share_hek.
  62. PL_strtab hack gone. This fixed the shared_hek destruction
  63. problems.
  64. Turn off CvDYNFILE needed since 5.15.4, use static CvFILE. (DateTime)
  65. * perlcc: perlcc -stash does not hang anymore, renabled t/e_perlcc.t -stash section
  66. * Stash (1.02): '-xs' does not load B anymore.
  67. Now in seperate directory Stash
  68. * Stash/Stash.xs: new with CvIsXSUB() to get rid of B, polluting the stashes.
  69. * Stash/Makefile.PL: new
  70. * Bytecode (1.13): support shared hek (42,43)
  71. * ByteLoader (0.09), ByteLoader/bytecode.h, bytecode.pl: support shared hek (42,43),
  72. added xpvshared
  73. * t/issue95.t: added, isa methods not found
  74. 1.41 2012-01-30 rurban
  75. * t/modules.t: Fixed syntax error
  76. 1.40 2012-01-30 rurban
  77. static PerlIO Layers (e.g. __DATA__)
  78. * C: fixed deferred %INC, %INC is now stored and cleaned up at the end.
  79. Improved __DATA__ handle as PerlIO layer, PerlIO::scalar now
  80. loaded static (test 15).
  81. Defer eval section after dl_init (e.g. for PerlIO::scalar) (test 15)
  82. Check for XSLoader now at the very end (test 27)
  83. Fixed MUTABLE_CV for 5.10.0
  84. Improved 5.8 method lifting for not-found methods a bit (5.8. perldoc.t)
  85. * Bytecode: fixed test 22
  86. Cannot locate object method "fileno" via package "IO::File"
  87. * Makefile.PL: readonly $lib fix for MSWin32
  88. * t/testc.sh: silence ulimit -m warnings + errors
  89. 1.39 2012-01-25 rurban
  90. * C: improved eval AUTOLOAD, avoid some POSIX and Storable .al compile-time
  91. side-effects such as creating files and dirs. First try loading
  92. .al files, only then eval the dangerous AUTOLOAD.
  93. * Makefile.PL: typo in -fav-init2 independent_comalloc detection.
  94. Added LICENSE key, META and the files were not enough to please pause.
  95. 1.38 2012-01-24 rurban
  96. * t/issue93.t: fixed syntax error
  97. 1.37 2012-01-24 rurban
  98. Enabled copy-on-grow strings >= 5.10.
  99. Save %main:: stashes w/o -fno-stash. Switched to git, added github mirror
  100. Fixed hashes and share_hek, when mixed compiled and load-time for >5.8.
  101. Stability: This release is the first which passes almost all tests and
  102. is used in production with --staticxs -O3, but copy-on-grow hek's and
  103. further logical improvements (deferred %INC cleanup) fail so far, so it's
  104. still considered unstable.
  105. * C: save stashes optionally with -fstash, but only values which are also
  106. stashes to avoid a second walker besides savecv, and thus do not
  107. walk into unneeded territory; B::STASHGV (46, issue 79)
  108. New -fno-stash with -O2 to omit stashes which are rarely needed.
  109. Fixed vulnerability to oCERT-2011-003 style DOS attacks. Do not
  110. pre-compute hashes for hv_store(), use fresh random hash seed.
  111. But shared_hek() has a limited API which does not allow this.
  112. UNIVERSAL methods were not correctly stored, which led to method not
  113. found at run-time errors.
  114. New debug option -Dr "runtime" to add debug output to the .c code (as in CC)
  115. New option -Upackage to skip package, mark_skip()
  116. Re-implemented sharepvn via share_hek() and SvLEN=0 (issue 71),
  117. Special FAKE+READONLY handling: LEN = 0 if pv_copy_on_grow or shared_hek.
  118. Fixed !SvIsCOW_shared_hash + FAKE+READONLY conflict (test 13, issue 82).
  119. Shared COW hashkeys which are optimized to static const strings
  120. may not be marked as IsCOW (remove SVf_FAKE).
  121. Re-implemented CORE share_hek with hash=0
  122. Otherwise shared HEK's (post-5.10) come up with duplicate entries
  123. for the same keys; one compile-time created and one run-time created with
  124. a different random hash seed. E.g. observed by such warnings
  125. "Prototype mismatch: sub bytes::length (_) vs (_)"
  126. Added Internals::hv_clear_placeholders XS name exception, similar
  127. to version:: (issue 83)
  128. Store CV prototypes, issue 81 and issue 84 for empty () vs NULL prototypes.
  129. Fixed 5.15.2 hang at hfree_next_entry (issue 78)
  130. Defer writing of READONLY hash keys since 5.15 (issue 88)
  131. Enable -fcog copy-on-grow with static strings for >= 5.10
  132. Improved Errno vs. *main::! and Tie::Hash::NamedCapture vs
  133. *main::+ / - logic (issue 90)
  134. Updated version XS methods, default to noop for (...
  135. Strip version object overload from XS packages (issue 91), XS needs plain PVs
  136. Do not initialize CONSTSUB XS methods twice, boot does it for us
  137. Pass proper cv to XS boot_$name, fixes boot of
  138. Tie::Hash::NamedCapture (issue 86)
  139. Fixed share_hek strings with -O1 (test 13)
  140. Fixed bootstrapping the XS/core part of attributes,
  141. thereby fixed threads tests 41-43.
  142. Fixed most 5.8.[45] problems by ignoring aelemfast SPECIAL pads.
  143. Fixed magic -> PTR when SV (>5.6)
  144. Moved -fsave-sig-hash from -O3 to -O0. You need -fno-save-sig-hash
  145. to disable it.
  146. Removed -fno-stash from -O2, -fno-stash is now the default. You
  147. need -fstash to add stashes. It caused not understood problems.
  148. Fixed saving %SIG signals and more -2 SV magic (issue 92)
  149. Adjusted IO logic, was erronously skipped (issue 59)
  150. inc_cleanup: save only those %INC keys which are stored.
  151. Save ext/mro only if the ext mro methods were loaded, and
  152. utf8_heavy.pl similarly.
  153. Force loading of -u arguments to avoid runtime loading.
  154. Call boot_core_PerlIO, mro, UNIVERSAL and xsutils.
  155. Warn on unsavable IO objects from BEGIN blocks.
  156. Fixed >&STD... handles (issue 93),
  157. i.e. Test::Builder, Test::NoWarnings and parts of the core testing.
  158. See http://blogs.perl.org/users/rurban/2012/01/what-to-avoid-in-begin-blocks.html
  159. Add B::COP::stashflags workaround, >5.15.4 threaded.
  160. Add fix for lost PL_regex_pad, 5.15 threaded.
  161. * CC (1.12): allow overriding of -f<opt> B::C flags.
  162. Skip internal packages with mark_skip (fixes cc_o2 tests).
  163. Move -ftype-attr from -O2 to -O1.
  164. Always define int, double and string package versions, parallel to types.
  165. * Bytecode (1.12): detect Tie::Hash::NamedCapture (issue 90) -
  166. works only partially.
  167. Fixed >&STD... handles (issue 93)
  168. Support -d debugging without -MOd
  169. * Stackobj (1.00_03): add UL or L to overlong integers. doubles
  170. not yet
  171. * perlcc (2.13): added options -O[1-4], -u, -U, --Wc, --Wl, --version,
  172. Keep cfile if output is empty.
  173. Change -o output C file directory and name with -S or -c:
  174. Before in current directory, now in -o directory.
  175. Before with input name, now with -o name.
  176. Add -rpath for all --staticxs libs if supported.
  177. Changed verbosity levels and output wording.
  178. * bytecode.pl: added xio_ifp
  179. * bytecode.h: added BSET_xio_ifp
  180. * META.yml: remove from MANIFEST and repo, let make dist
  181. autogenerate it.
  182. * t/test.pl, t/TESTS: changed test 46 (Exporter:: and other stashes in
  183. %main:: stash) to cover issue 79.
  184. use Exporter; print q(ok) if %main::Exporter::
  185. * t/test.pl: use general comments with optional TODO. Before only TODO
  186. * t/perldoc.t: fixed for 5.8 with manually adding -uFile::Spec -uIO::Handle
  187. * t/issue59.t, t/issue81.t, t/issue90.t, t/issue93.t: added
  188. 1.36 2011-10-19 rurban
  189. lexical warnings and more 5.15 fixes
  190. * C: new B::LEXWARN, fixed representation of lexical warnings which was broken
  191. since 8e01d9a6 5.8.9/5.9.4 (issue 76)
  192. Added section free, use it for lexical cop_warnings (const STRLEN*)
  193. (TODO: static PV, HEK + COPs)
  194. Workaround for utf8::SWASHNEW adjusted to 5.15
  195. PAD* sv flags changed in 5.15.3
  196. XSLoader API changed (HEK in caller i.e.): had to add a
  197. XSLoader::load_file for [perl #101336] >= 5.15.3,
  198. also use mXPUSH for sp instead of 1-arg targ
  199. Set SvLEN=0 for static PVs to skip sv_clear (problem with 13)
  200. Handle overlarge negative 64bit ints, double not yet.
  201. Move -fwarn-sv from -O2 to -O1
  202. Move -fsave-data from -O3 to -O2
  203. Compile *main::DATA IO handle automatically (__DATA__), just package __DATA__
  204. handles need -fsave-data (15)
  205. Die with 5.8.4/5.8.5 threaded with split->pushre on invalid
  206. pmreplroot. This is a core B::walkoptree bug and can not be
  207. easily fixed.
  208. Tests 15 and 103 do not hang anymore, 15 and 29 pass mostly
  209. * C.xs: added -Dts support to runloop to check internal compiler
  210. problems
  211. * t/issue76.t: added
  212. 1.35 2011-10-02 rurban
  213. tested from 5.6.2 until 5.15.3
  214. * C: allow debugging without -MOd=C
  215. improve package_pv detection for methods, two more tests.
  216. detect previously missing packages within the main sourcefile
  217. (50,35,72,73)
  218. -O1 now includes also -fav-init2 and -fppaddr, which are all
  219. stable. -O2 string handling (-fro-inc) still unstable.
  220. added B::REGEXP::save for \$qr (Encode::Alias), issue 71. Still
  221. not fully fixed. Encode::Alias unusable.
  222. fixed empty HV assertions since 5.15, new HV default keys = 7
  223. (3,4,36), but still unsolved 5.15 problem with endless loop in
  224. Perl_hfree_next_entry hv.c:1716 (3,4,36)
  225. workaround 5.15.2 inability to walk with from %INC deleted
  226. stashes, also workaround adding already deleted DynaLoader.
  227. CORE patch [perl #100138] for new 5.15.2-5.15.3 DynaLoader XS_INTERNAL
  228. problem required (16,29,44,45). Fixed with 5.15.4
  229. 0001-Export-DynaLoader-symbols-from-libperl-again.patch
  230. use proper PL_envgv for *main::ENV which is inited in perl_parse
  231. (fixes e.g. CGI apps using run-time values, not compile-time)
  232. * CC (1.11): allow debugging without -MOd=CC
  233. Try to jump from last to unknown label, put labels also onto cxstack.
  234. Fixed cc_last.t test 4, jump out of anonsub, but not across C
  235. functions yet (this is disallowed in C, need to split).
  236. * C.xs: added B::REGEXP::EXTFLAGS (missing from B).
  237. * perlcc (2.12): omit also inc_version_list dirs from perlcc as
  238. leaving them in could lead to unexpected crashes
  239. * t/cc_last.t: Fixed test 2. This works compiled and uncompiled,
  240. but the returned errcode is not compared. Skip if so.
  241. * t/TESTS: add all 5 possible method/sub calls to test 35 =>01234.
  242. See http://blogs.perl.org/users/rurban/2011/06/how-perl-calls-subs-and-methods.html
  243. * t/stash.t: fixed 5.8.8 stashes (overload, threads, ...)
  244. * t/issue71.t: added, but not fixed yet
  245. * ramblings/*.patches: CORE patches added and recommended in README.
  246. * ramblings/blogs-debugging-article[1-4].pod: added to MANIFEST.
  247. * perlcompile.pod, perloptree.pod: improved.
  248. * ramblings/yapceu_2010.pod: added.
  249. 1.34 2011-06-12 rurban
  250. * Makefile.PL: fixed make install < 5.13.7
  251. * issue24.t, test.pl, bytecode.t: TODO more failing tests from cpantesters
  252. 1.33 2011-06-12 rurban
  253. * Makefile.PL: fixed make install > 5.13.7
  254. * test.pl, bytecode.t: TODO more failing tests from cpantesters
  255. * stash.t: fixed freebsd test 4
  256. 1.32 2011-06-10 rurban
  257. more darwin and package scan fixes, Bytecode -i includeall.
  258. all top100 modules can be now be compiled on most perls
  259. * Bytecode.pm (1.11): fixed const xsub xsubany ptr >=5.10 <5.14 (27).
  260. save_cq => save_begin+save_init_end: moved push_begin upfront for the same
  261. init order (44).
  262. add CVf_CVGV_RC flag (refcount) on CV with no backref magic, e.g. END (48)
  263. added option -i includeall which adds no BEGIN require ops, but adds
  264. all included symbols.
  265. better BEGIN block @INC manipulation detection (33)
  266. print newsvx flags if -S or Comment
  267. print hex IV < 8 as int with -S
  268. * C.pm (1.32): check PERL_TRACK_MEMPOOL for AV malloc (25).
  269. fixed init chunk splitting for CV and -fav-init2, if >10000 lines.
  270. fixed overlarge AvFILL=3 of endav. Undefined subroutine &main:: (48)
  271. fixed shared GPs on typeglob assignment. do not gp_free shared GPs,
  272. just set them once.
  273. added try_isa before try_autoload. use mro::get_linear_isa instead of @ISA
  274. mark_package force: detect and fix already discarded packages which
  275. are brought back in directly or by someone else's @ISA. (e.g. Sub::Name
  276. needs DynaLoader::dl_load_flags)
  277. improved method_named package search, still not exact though (LWP)
  278. add manually compiled packages to %INC to avoid a runtime require
  279. special case Config detection, AUTOLOAD = launcher, included by Dynaloader
  280. added -Ds to print all sub names
  281. do not compile any B::C subs, esp. our %SIG handler
  282. add our own Internals::V as it is not exported by libperl
  283. inc the REFCNT of stashes (Path::Class)
  284. * Assembler.pm (1.10): archflag bit 2 for MULTPLICITY
  285. * Disassembler.pm (1.10): archflag bit 2 for MULTPLICITY
  286. use longsize resp. ivsize from .plc not from perl
  287. print newsvx flags
  288. print hex IV < 8 as int
  289. * ByteLoader (0.08): support archflag 2 MULTPLICITY,
  290. [perl #86186] force binary IO for __DATA__ handles, which changed
  291. in core with 5.14
  292. * bytecode.pl: support m for MULTIPLICITY (yet unused)
  293. * Makefile.PL: move cc_runtime.h installation to make install step
  294. (sudo). Tested ok on darwin gcc, does use -I. internally.
  295. * cc_runtime.h: renamed from cc_runtime514.h
  296. * cc_harness: fixed darwin coredir
  297. * perlcc (2.11): fixed darwin coredir.
  298. omit darwin linking to dynamic .bundle - generate .a via libtool
  299. * TESTS: removed END block from test 28, only test run-time require (fixed 28)
  300. added 48 for previous test 28 END block lexvar del_backref failure
  301. added 49 for m//i blowup and -fno-fold testing
  302. added 50 empty @ISA issue 64
  303. * assembler.t: fix for hex->int IV roundtrips
  304. 1.31 2011-03-21 rurban
  305. multiplicity support and more darwin fixes
  306. * C.pm (1.31): replace $ITHREADS by $MULTI (darwin),
  307. my_perl_destruct: disable CopFILE_set NULL and CopSTASHPV_set NULL
  308. on $MULTI, PL_sv_yes|no special on MULTI
  309. * CC.pm (1.10): replace $ITHREADS by $MULTI (darwin)
  310. * t/test.pl, issue34.t, issue35.t: -ofile => -o file (darwin cc)
  311. * cc_harness: -Wl,--warn-once invalid on darwin gcc
  312. * log.modules: encode MULTI without threads as -m
  313. 1.30 2011-03-06 rurban
  314. dbmopen, cc_runtime.h, perlcc, --staticxs
  315. * C.pm (1.30): support dbmopen, fixes issue 24.
  316. fixed xpvmgsect (was xpvsect) !-fcog < 5.10 (YAML, test 41,42,43).
  317. fixed m//i since 5.13.10: swash_init("utf8::Cased").
  318. fixed method_common package_pv detection in most cases.
  319. still two cases open, without tests. PADOP GV NULL 0x20000, GV RV 0x40802.
  320. fixed method_named with >= 1 arg, checking for const PV package_pv (test 35)
  321. support GvCV_set and GvGP_set introduced with 5.13.10. [RT#65630]
  322. implement -staticxs for perlcc --staticxs
  323. either link to found static libs or link to shared lib with
  324. fixed LD_LIBRARY_PATH/PATH (nyi in C, just perlcc).
  325. optimize -fav-init use_av_undef_speedup &PL_sv_undef initialization (again).
  326. reserved -mPackagename (NYI)
  327. added verbose(),module() for CC.
  328. implement outline of -m module, name detection missing.
  329. added -fno-fold recommended since 5.13.9 to omit the huge utf8 tables.
  330. added -fno-warnings, recommended since 5.13.5.
  331. added special workaround for Scalar::Util bootstrapping which did not detect
  332. List::Util, since it is not in its ISA, only required. need a better scan.
  333. fixes test 44.
  334. init XS within Od.
  335. prevent autoloaded STDERR printing on non-debugging perls (e.g. "Storablelogcarp").
  336. * CC.pm (1.09): support dbmopen, issue 24 failing due to XSLoader (test 45)
  337. no pp_name shortnames in embed.h since 5.13.9, use Perl_pp_name(aTHX).
  338. implemented dorassign, fixes issue 45.
  339. fixed XSLoader detection, moved use_xsloader to save_unused_subs()
  340. skip duplicate cc(pp_sub_*) functions (freebsd 45)
  341. added missing END block code (test 28).
  342. added B::C::verbose on -v
  343. fixed B::C::verbose crash by adding B::FAKEOP::fake_ppaddr.
  344. fixed compile_stats
  345. renamed -n module_name to init_name.
  346. check and set -f options from C also.
  347. implement outline of -m module, name detection missing.
  348. added option -fno-name-magic.
  349. added experimental option -ftype-attr.
  350. added TYPES pod section.
  351. added pod for some funcs: load_pad, cc_queue, label.
  352. option -strict only used with DEBUGGING perls.
  353. be less chatty with compiling bblocks.
  354. light layout cleanup of generated code sections.
  355. added Vishal Bhatia <vishal at deja.com> to AUTHORS.
  356. * Bytecode.pm (1.10): support dbmopen, fixes issue 24.
  357. re-added -m, compile as module to .pmc
  358. store AV elems for non-tied AV->MAGICAL >5.6 (i.e. @ISA, ...) (new test 47).
  359. -DA: limcheck PV.
  360. verbosity: added nice1 (condense elements).
  361. name SV indices also.
  362. * Byteloader: support GvCV_set introduced with 5.13.10 [RT#65630]
  363. * perlcc (2.10): fixed -B -r, -B output and run bytecode.
  364. implement --staticxs to workaround DynaLoader problems. use it in t/modules.t
  365. add sopath to PATH on -r. Without -r the sofile should be symlinked so that the
  366. process can find it.
  367. implement --shared and --static, --shared fails on strawberry due to core problems.
  368. implemented getopts bundling: -ScO -e'bla' -v4 -oa is now possible.
  369. disabled some old single-minus switches: -testsuite, -time, -log, ...
  370. requires now double-minus --testsuite, --time, --log, ...
  371. kept legacy handling only for -Wb=.. and -stash.
  372. fixed -B -e'oneliner'.
  373. fixed -B @ARGV, no duplication of @ARGV, c_argv.t 3.
  374. re-added -m|--sharedlib for Bytecode and C (NYI).
  375. print C and CC filtered compiler output.
  376. -v5 adds -v to the compiler options.
  377. -v6 adds -Dfull to the compiler options.
  378. support -Wb= for -B.
  379. fixed -Br for 5.6: add -MByteLoader.
  380. * Stash (1.01): add option xs to print xs modules with -x prefix.
  381. usable via -MO=Stash also.
  382. new option -D for debugging.
  383. omit PerlIO::Layer.
  384. added pod
  385. * Disassembler (1.08): 5.6: fix ldop comments.
  386. add op_type names, add @svnames, add indices, add ldspecsvx type.
  387. * Assembler (0.10): print more flags (as hex) and indices.
  388. better limcheck diagnostics (op,sv,pv).
  389. * cc_runtime514.h: removed from CORE with 5.13.9. [RT#65628]
  390. If so, cp it back. You might need sudo cp. (unchecked)
  391. Renamed not to pollute tests with older perls.
  392. Expanded PERL_MAGIC_taint 't' for 5.6.
  393. * C.xs: added experimental method_cv for the hash-only case, untested.
  394. * t/modules.t: try --staticxs first, try crosscheck without perlcc.
  395. * t/issue24.t: added.
  396. * t/issue45.t: fixed and added 3 more tests.
  397. * t/e_perlcc.t: added to test the new option handling.
  398. * t/testc.sh, t/TESTS: fixed wrong test 39 for 5.8, added 47, 104 (reset), 105 (type-attr).
  399. * t/testplc.sh: added 47.
  400. * t/stash.t: rewritten. allow 5.6, use Test::More, more stable
  401. * t/todomod.pl: added. interactive tool to check log.modules reports and fix TODOs
  402. * status_upd: recommend and fix ./status_upd -f -q -d
  403. -q -d prints only the actual tests
  404. * Changes: added more missing history ca. 1997-2000.
  405. 1.29 2011-01-08 rurban
  406. improve dl_init
  407. * C.pm (1.29):
  408. use DynaLoader::bootstrap_inherit, fixes dl_init when the module has no ISA
  409. DynaLoader. eg. Test::Harness with Time::HiRes
  410. improved CopFILE detection as context for dl_init (test 29)
  411. fix cop_warning cast warnings
  412. print debug messages for beginav and endav
  413. protect against undefined strings, and % in regex
  414. protect against undefined gvcv->GV->EGV (Spiffy)
  415. latefree r-magic regex strings >5.10, fixes a couple of modules
  416. * t/modules.pm: subset use 10 not 11 modules. run tests with -O1
  417. less TODO tests, esp for 5.13
  418. * t/modules.t: fixed binary detection on non-windows (a.out)
  419. * ByteLoader: fixed -Dt for GV
  420. 1.28 2010-12-31 rurban
  421. fixed XSLoader, pmflags, CV and most named methods for 5.14
  422. * Bytecode.pm (1.09):
  423. fixed cv_gv and push_begin del_backref problem (27, ...) > 5.13
  424. special cased op_pmflags: U32 needed since 5.13 (PMf_BASE_SHIFT)
  425. Fixes op_pmflags since 5.12 ((3..4,27..29,31,33), esp. pp_subst
  426. start for Windows 5.12 cop_store_label workaround: Labels disabled for now.
  427. Failed to include CORE hv.c: too large.
  428. mingw 5.12 compiles now again and passes all but 21,33,42..44
  429. Fixed entrytry with Bytecode >= 5.12:
  430. ck_eval upgrades the UNOP entertry to a LOGOP, but B gets us just a
  431. B::OP (BASEOP)
  432. add BEGIN { push|unshift @INC } parts of blocks (test 33)
  433. * Byteloader (0.07):
  434. Support new CvSTASH_set.
  435. Basic op_pmflags U16/U32 support. No version conversion yet.
  436. BSET_gv_fetchpvn_flags: new for empty constant prototypes (fails on 64bit only)
  437. * C.pm: add -fno-destruct (with -O3) with a minimal perl_destruct,
  438. (re-enables -fcog >= 5.10),
  439. add -fro-inc (with -O2) readonly INC and curpad strings,
  440. add -fconst-strings (with -O3) const readonly strings
  441. and const more other fixed strings,
  442. do not boot static core packages (utf8, re, ...),
  443. fixed -O2/-fav-init2: store at wrong avchunk index,
  444. initialise CopFILE and CopSTASHPV static with ITHREADS
  445. improved 5.13 method_named package detection (first and pmreplroot),
  446. in endav still failing (Test::Deep)
  447. fixed overwritten CvSTART for 5.13.x
  448. do not cog/const nullify vars in END blocks
  449. disallow CONST->op_first with CONST_BARE. fixes ExtUtils::Install
  450. better XSLoader::load detection: aliases and defined in END blocks
  451. save XSLoader::load GV (test 46 and modules)
  452. bootstrap also static core packages
  453. add ptr_undef instead of NULL initialization non-threaded
  454. fix many cast warnings
  455. fix AV fill +1
  456. required to run C.xs runloop to find PMOPs for QRs
  457. Fixed entrytry >= 5.12 as in Bytecode:
  458. ck_eval upgrades the UNOP entertry to a LOGOP,
  459. but B gets us just a B::OP (BASEOP)
  460. Fixed XSLoader, loading dynamic modules works now (test 45),
  461. had to set the .pm path in the calling context.
  462. * CC.pm (1.08): many fixes
  463. use new B::C optimizations, new -DF
  464. fixed issue 31 also run C.xs runloop to find PMOPs for QRs,
  465. fixed issue 35 same variable name in different scope (Heinz Knutzen),
  466. fixed issue 36 panic: leaveloop, no cxstack (Heinz Knutzen)
  467. fixed issue 37 orassign (Heinz Knutzen)
  468. fixed issue 38 on and/or return value not just no/yes (Heinz Knutzen)
  469. fixed issue 39 Bizarre copy of ARRAY in leavesub (Heinz Knutzen)
  470. fixed issue 42 remove enter/leave from %no_stack (Heinz Knutzen)
  471. fixed issue 44 aelemfast missing for lexicals (Heinz Knutzen)
  472. fixed issue 47 anonsub in while (Heinz Knutzen)
  473. fixed issue 48 wrong truth value for array assignment in boolean
  474. context (Heinz Knutzen)
  475. fixed issue 49 Can't "last" outside a loop block (Heinz Knutzen)
  476. fixed issue 51 errors on nested if statement with test on multiple variables
  477. (Heinz Knutzen)
  478. fixed issue 52 errors on variable with numeric value used in second
  479. expression of 'and' (Heinz Knutzen)
  480. add labels for alternate ops (e.g. run-time jumps). Not sure yet if the
  481. full alternate subtrees are saved. fixes test 32 (push_label, pop_label),
  482. issue 46. resolve duplicate such labels.
  483. honor $ENV{'PERLMODS'} (by cPanel)
  484. * Disassembler.pm (1.07): read over #! + use Bytecode .plc header.
  485. support pmflags
  486. * Assembler.pm (1.09): support pmflags
  487. * perlcc (2.09): added cc time for --time.
  488. same INC as in caller - omit duplicates
  489. * cc_harness: improve -Bstatic
  490. * t/testc.sh: simplified. Fixed various wrong tests
  491. * t/testm.sh: fixed UAC issues on Win7
  492. * t/test.pl: new faster test functions for the new issues
  493. * t/issue27.t: added (Reported by alexchorny, Apr 25, 2010)
  494. * t/issue29.t: added (Reported by Heinz Knutzen)
  495. * t/issue31.t: added (Reported by Heinz Knutzen)
  496. * t/issue34.t: added (Reported by Heinz Knutzen)
  497. * t/issue35.t: added (Reported and partially fixed by Heinz Knutzen)
  498. * t/issue36.t: added (Reported and fixed by Heinz Knutzen)
  499. * t/issue37.t: added (Reported and fixed by Heinz Knutzen)
  500. * t/issue38.t: added (Reported and fixed by Heinz Knutzen)
  501. * t/issue39.t: added (Reported and fixed by Heinz Knutzen)
  502. * t/issue42.t: added (Reported and fixed by Heinz Knutzen)
  503. * t/issue44.t: added (Reported and fixed by Heinz Knutzen)
  504. * t/issue45.t: added (Reported by Heinz Knutzen), dorassign missing
  505. * t/issue46.t: added (Reported by Heinz Knutzen), fixed by r610
  506. * t/issue47.t: added (Reported and fixed by Heinz Knutzen)
  507. * t/issue48.t: added (Reported and fixed by Heinz Knutzen)
  508. * t/issue49.t: added (Reported and fixed by Heinz Knutzen)
  509. * t/issue50.t: added (Reported by Heinz Knutzen)
  510. * t/issue51.t: added (Reported and fixed by Heinz Knutzen)
  511. * t/issue52.t: added (Reported and fixed by Heinz Knutzen)
  512. * t/issue54.t: added and fixed
  513. 1.27 2010-07-30 rurban
  514. Fixed 1.26 CV regressions for 5.8 and 5.10
  515. * C.pm: add -DF print stringified sv and op flags.
  516. fixed xpvio off-by-one error for 5.10 (test 29)
  517. rewrote XPVCV forwards for >=5.10: (fails before)
  518. 1. only the SV is now forwarded, not the struct.
  519. 2. no duplicate SVs, the CV forward is just a link to one SV (#define CVIX)
  520. removed wrong CVf_ANON check causing CV failures (test 9,10,12). 5.13.3 still failing
  521. fixed CV svsect for 5.8 and 5.10
  522. * Bytecode.pm (1.08): removed wrong CVf_ANON check causing CV failures (test 9,10,12,...)
  523. * perlcc (2.08): added --time, support vprint -1
  524. * t/test.pl, t/bytecode.t: double check failing tests if it works uncompiled
  525. * t/testc.sh: add -D- for no gcc warnings
  526. added -f for testing single optimizations
  527. * t/testm.sh: add -D<args> flags for compiler debugging and link with -g
  528. added -T for perlcc --time
  529. * t/c_argv.t, script/perlcc: properly quote spaces in path of perl and `cwd`/blib
  530. * t/modules.t: add svn rev to B::C::Version
  531. 1.26 2010-07-26 rurban
  532. Start of 5.14 support, CVs broken.
  533. * C.pm: improve -fav-init performance if not usemymalloc: no
  534. calloc, just direct libc malloc.
  535. -O2 uses -fav-init2, i.e. experimental independent_comalloc(),
  536. -O1 uses now -fav-init (Nick Koston + Reini Urban)
  537. Mark a package which is autoloaded from XS.
  538. Fix autoloading of constants AKA const xsubcv via AUTOLOAD [test 27] (Nick Koston)
  539. 5.13.3 support (xpv STASH, MAGIC, ... reorganization), but CVs still failing
  540. Check CVf_ANON when setting cv->GV. Fixes anon subs.
  541. Do not call REGEXP IVX and NVX methods (since 5.11)
  542. * bytecode.pl: CvGv_set since 5.13.3
  543. Fixed byteorder 0x stripping causing wrong bget_swab on 64bit
  544. * B::C::Flags: new. added by Makefile.PL probing independent_comalloc()
  545. * CC.pm: the default -fno-slow-signals adds PERL_ASYNC_CHECK at
  546. the same ops as with 5.13, a major improvement.
  547. * Bytecode.pm (1.07), bytecode.pl: xpvav.xiv_u was removed with 5.13.2 but not
  548. used anymore. read and set av_flags only until 5.12, compile only before 5.10
  549. Check CVv_ANON when setting cv->GV. Fixes anon subs
  550. * bytecode.h: do not PM_SETRE with empty arg. fails since 5.13 debugging
  551. * t/testc.sh, t/TESTS: fail test 44, change threads tests 41-43 to TODO
  552. * perlcc (2.07), cc_harness, t/test.pl: debian specific fixes for their broken
  553. -lperl linker args for ExtUtils::Embed::ldopts.
  554. * t/test.pl: Have complete c/cc TODO/SKIP status in one place.
  555. Fixed killing hangling tests with IPC::Run.
  556. Fixed new cc TODO.
  557. Run CC test 18 even not as AUTHOR
  558. * t/c*.t: make test 27 easier to debug (Nick Koston)
  559. Added test 45 (Nick Koston)
  560. 1.25 2010-04-11 rurban
  561. * C.pm: remove global my_perl, pass it properly around.
  562. * t/c*.t: added test 40 \000 byte in PV failing on ori 5.6.2 (Nick Koston),
  563. added more magic tests for shared vars - n,p,P magic: 39-43. 41 nyi
  564. * t/modules.t: fix -t (run module tests), print header only on full test
  565. * t/modules.pm: do not test core or deprecated modules, esp. do not download perl
  566. Added is_subset.
  567. * t/testm.sh: implement -k
  568. * t/testc.sh, t/TESTS: add 44 for weaken import and magic_killbackrefs #72922
  569. 1.24 2010-02-15 rurban
  570. * C.pm: Fixed off by one array access in magic array init (34)
  571. - valgrind is your friend.
  572. Fixed aelemfast padsv access crash (Text::Tabs on freebsd7)
  573. Fixed wrong stash names in gv_stashpv analog to gv_fetchpv
  574. (Text-Tabs+Wrap t/dandv.t)
  575. * t/testm.sh: implement -s without log file
  576. * t/modules.pm: export skip_modules, silence module scanning STDERR
  577. 1.23 2010-02-14 rurban
  578. * t/testm.sh: chmod +x
  579. * t/modules.t: fix $have_IPC_Run
  580. 1.22 2010-02-14 rurban
  581. Tested with ActivePerl 5.10.0
  582. * bytecode.h: unshare_hek exception for WIN32, not only MINGW
  583. * t/modules.t: Added list of to be skipped modules, which cycle endlessly.
  584. Improve todo message.
  585. * t/testm.sh: add option -s "install skipped modules"
  586. * Makefile.PL, cc_harness, perlcc: fix ldflags for ActivePerl 5.10.0
  587. for MSVC6 (ccversion 12) -opt:ref,icf leads to invalid outfile "pt:ref,icf"
  588. * c+cc test 29 fails on 5.10 randomly. Make it a TODO
  589. 1.21 2010-02-14 rurban
  590. * C.pm: Add missing Nullop for CC on 5.11.4 (cc 12).
  591. Test 38 passes
  592. 1.20 2010-02-14 rurban
  593. * C.pm: #define PERL_CORE broke Null macros on 5.11.4. Define those.
  594. 1.19 2010-02-13 rurban
  595. Almost fixed evaltry (12) with proper cop_seq setup, just solaris and debian
  596. fail sometimes. Tested ok with strawberry 5.10.1
  597. * C.pm: fixed evaltry (test 12) mostly, NVX was shared with 2 xpad_cop_seq ints
  598. which accidently just worked before 1.17 with %s, but not after changing
  599. to the %g representation.
  600. Ignore unused random (overlong) xpviv IV, causing
  601. "warning: this decimal constant is unsigned only in ISO C90"
  602. Defer rv => cv to run-time < 5.10. Fixes ExtUtils::Install
  603. Defer xpvmg->pv init to run-time < 5.10. Fixes MooseX::Types
  604. Check for NV inf. Fixes compilation of DateTime
  605. Defined PERL_CORE: Fxied Windows problems with setjmp undef'ed in XSUB.h
  606. Added Win32 workaround for missing PL_do_undump
  607. Stripped perl_ prefix from perl_get_cv, perl_call_pv, perl_call_method
  608. * CC.pm (1.07): added -fslow-signals.
  609. Disabled inlined pp_enter: Fails on empty cxstack.
  610. Backed out inlining of enterloop: GIMME_V fails on freebsd7
  611. Remove strawberry PerlProc_setjmp definition, #define PERL_CORE fixed that
  612. * Bytecode.pm (1.06): same NVX => xpad_cop_seq fix as in C.pm, added 2 new
  613. bytecodes (cop_seq_low, cop_seq_high), fixed tests 9,10,12. Passes
  614. all tests > 5.6 now.
  615. * bytecode.pl: added cop_seq_low (155), cop_seq_high (156) instead of xnv.
  616. No conversion code for loading older bytecode needed, but fragile (double => 2 int)
  617. * t/modules.t: refactored by Todd Rinaldo (toddr). 4*tests per module:
  618. -s a, exitcode 0, ok, no warnings on stderr
  619. * t/TESTS: added 38, failing on CC (Nick Koston).
  620. added 39, failing everywhere.
  621. * t/test.pl: refactor: Try to timeout on all tests (compiler and exec) if
  622. IPC::Run is installed
  623. * MANIFEST, *.pod: Moved conference pods to ramblings,
  624. removed lib/B/Asmdata.pm again, added t/qr_loaded_module.pm
  625. * t/testm.sh, t/modules.pm: added, -t not working yet though
  626. * t/b.t: $[ => $]
  627. 1.18 2010-02-06 rurban
  628. evaltry (test 12) still broken on most systems.
  629. * C.pm, C.xs: fixed r-magic for 5.6 (ExtUtils::Install,
  630. File::Temp, Template::Stash). need tests for run-time checks (33).
  631. 5.6 misses MG->pregcomp
  632. * t/modules.t: check for a.out (test from toddr)
  633. * Makefile.PL: create lib/B/Asmdata.pm beforehand (toddr)
  634. * ByteLoader: fixed duplicate + missing bl_header for bsd and Darwin
  635. (test from toddr)
  636. * test 37 added - AV self-refs, analog to HVs (never failed, just to
  637. be sure).
  638. Removed -qq from 5.6 tests.
  639. 1.17 2010-02-03 rurban
  640. Fixed now most module failures, non-threaded at least: bootstrap was in
  641. the way. strawberry perl fixes. Fixed test 29, broke evaltry test 12
  642. * C.pm: Added option -Dfull for all full debugging info, set all options.
  643. Skip saving XS bootstrap. Fixes most XS module failures. i.e.
  644. Digest::MD5, Data::Dumper, ..
  645. Fail: Attribute::Handlers, B::Hooks::EndOfScope, YAML, MooseX::Types
  646. 4 for 5.8.9-nt from the top100, and 3 for 5.11.4-nt: Attribute::Handlers,
  647. File::Temp, ExtUtils::Install.
  648. Fixed AV self-references causing endless loops, analog to HVs (test 27)
  649. Fixed Getopt::Long crash with AV D magic (regdata),
  650. save_magic returns now the magic types as string.
  651. Fixed unescaped savere (test ExtUtils::Install).
  652. Fixed GvSTASH "initializer element is not constant" (Test::Harness)
  653. Fixed xrv_list "initializer element is not constant" (Class::MOP < 5.10)
  654. * CC.pm (1.06): Added missing unexported definitions for MSWin32,
  655. >=5.10: newGP, vivify_ref, prepare_SV_for_RV (tests 18, 29).
  656. PerlProc_setjmp, PerlProc_longjmp (tests 12, 32).
  657. Fixed cxinc for 5.11.0
  658. * t/bytecode.t: mixed up 32 with 33.
  659. * t/modules.t, t/top100: new module test, see also the log.modules*
  660. results in the svn repo.
  661. * t/mymodules: added as reference, executed optionally.
  662. * script/cc_harness: ldopts -std if no -B<opt>
  663. 1.16 2010-01-27 rurban
  664. use Moose and benchmark still fails. IO even a regression.
  665. * C.pm: Fixed braces warning for empty xpvcv startfield (Nullany),
  666. register int for warn_sv loop
  667. Fixed hv init for magic hashes, pre-allocate array and xpvhv_aux. (test 34)
  668. Fixed method_named (CPAN #53889, test 35) for B::C, better fix than for B::CC.
  669. Added -DH for HV debuggging.
  670. Fixed HV self-references causing endless loops, i.e. with use Moose, test 36.
  671. * CC.pm (1.05): added experimental -finline-ops. Always on. Can be removed if
  672. it works okay for the new inlined versions.
  673. Inlined pp_enter, pp_reset, pp_regcreset, pp_stringify.
  674. Fixed pp_padsv DEREF for 5.10.
  675. Documented test coverage for each op.
  676. Fixed wrong $PERL511 definition.
  677. Added Opcodes support (no_stack), on CPAN as 0.01.
  678. added pp_pushmark pp_break pp_continue to no_stack handling.
  679. Fixed method_named (CPAN #53889, test 35) assuming there is only const
  680. before method_named. No counter examples found so far.
  681. Changed new OBJ => OBJ->new
  682. More curcop->write_back protection.
  683. * Stackobj.pm (1.00_02): RV fix for 5.11.
  684. * t/testc.sh, t/test.pl: added CC specific tests to increase CC op coverage
  685. after 100.
  686. Switched test 32->101 (arith) with 33->32 (evaltry catch die) as it fails
  687. with 5.11.3.
  688. Added new qr test 33 (Nick Koston), test 34 for magic hashes, test 35 for
  689. broken methodcall syntax (method_named), test 36 for HV self-references.
  690. * TESTS: added test 32 (evaltry catch die): Fails on 5.11.3 C/CC only,
  691. <5.11.3 it works okay. Also tests 33, 34, 35, 36.
  692. * ByteLoader/Makefile.PL: removed cygwin gcc specific stack-protector removal.
  693. It was a bug of mine.
  694. Added more AUTHOR gcc -ansi warnings, just -pedantic not.
  695. * Makefile.PL: Added more AUTHOR gcc warnings, also -pedantic.
  696. Added optional Opcodes PREREQ_PM
  697. 1.15 2010-01-03 rurban
  698. * t/test.pl: Fixed MSWin32 tests again. Lost the 1.13 patches with 1.14.
  699. 1.14 2010-01-02 rurban
  700. * CC.pm (1.04): Fixed entereval/leaveeval for 5.10. Fixes eval "", test 12.
  701. The end of the string CALLRUNOPS needed to be nullified, as in 5.8.
  702. 5.11 CORE also needs a patch for this.
  703. Optimized away SP save/restore for %no_stack ops. Need to read this
  704. from opcode.pl eventually.
  705. PERL_ASYNC_CHECK (pending signals) added after every basic blocks with -O1
  706. and every loop.
  707. * C.pm: More 5.10 union braces.
  708. * Stackobj.pm (1.00_01): Added iv and nv to peek.
  709. Added documentation.
  710. * Bblock.pm (1.03_01): Print the argument (sub) to inspect.
  711. Added missing documentation.
  712. * t/testcore.t: improved. added -fail and a list of failing tests.
  713. C now always with -O3.
  714. * t/c_allow_opts.t: Added for -DALLOW_PERL_OPTIONS.
  715. 1.13 2009-12-31 rurban
  716. Tested with MSVC (MSVC compiles test29 and bigger examples awfully slow!
  717. 7:30min, 30MB mem, 98% CPU, 2GHz)
  718. * C.pm: MSVC fix for "(OP*)Nullany" i.e "(OP*){0}" => "{0}". Fixes
  719. test 27 on MSVC. CC test 12 broken on MSVC AS 5.8
  720. * bytecode.pl: Restore C strictness, printf before declaration.
  721. Undefine debop for MSVC also. Fixed [cpan #53228].
  722. * t/test.pl: Cleanup intermediate MSVC .obj. Skip too slow tests 29
  723. on MSVC, only c.t
  724. Remove >nul for test results on Win32.
  725. More run_cc_perl fixes for Win32.
  726. Be more quiet on MSWin32 also (no 2>/dev/null)
  727. Skip stderr redirection to stdout on cmd.exe tests, t/o.t 5,9.
  728. * t/bytecode.pl: ditto.
  729. * t/TESTS: Fixed 28 for MSWin32 MSVC
  730. 1.12 2009-12-31 rurban
  731. __DATA__ handles work now. Also more Bytecode fixes.
  732. * t/testplc.sh: Added -S: skip all but -S and Concise
  733. * Bytecode.pm (1.05): Adapt RV 5.11 change from SV to IV, detect ROK at
  734. B::IV::bsave analog to C.pm. Fixes test 16.
  735. Set prototype sv_flags at first, so it cannot assert. Fixes tests 27 and 29.
  736. More work on 5.6 compat.
  737. * bytecode.pl: Fixed 5.6 %alias_to sizes.
  738. * bytecode.h: Fix BSET_cop_label for 5.11. Fixes test 21.
  739. * t/bytecode.t: Added DEBUGGING to the mix. 5.11 is now completely the
  740. same as 5.10. Remaining failures are now 9,10,12 for DEBUGGING (or
  741. non-threaded?).
  742. * C.pm: Added xpvuv (coverage in 5.6.2 test 21).
  743. Added PMOP->pmstash/pmstashpv (no coverage yet).
  744. Checked against -Wall -Wextra:
  745. Added missing pmop->stash for 5.8.
  746. Added missing cop->cop_io for 5.8.
  747. Added braces to union inits (MSVC Todo).
  748. Remove unused dTARG and dSP.
  749. Fixed CC test 29 on 5.6.2, not checked why.
  750. Fixed __DATA__ test 15 on 5.10 and 5.11.
  751. * TESTS: Updated with 5.10.1 CORE results
  752. 1.11 2009-12-29 rurban
  753. Fixed 5.11 RVs, added C optimizations to CC
  754. * C.pm: Adapt RV 5.11 change from SV to IV, detect ROK at B::IV::save.
  755. Fixes test 16.
  756. Added -DW for walk, together with -Dp only.
  757. Forced fullname optimization scalars for B::CC.
  758. Export save_sig and fixup_ppaddr for CC.
  759. * CC.pm (1.03): Fixed Perl_gv_SVadd cast warning.
  760. Added most B::C optimizations. This fixes all threaded tests 15 >= 5.10.
  761. Call save_sig, fixup_ppaddr not yet.
  762. * t/test.pl: simplified (and fixed) keep logic
  763. * t/c_argv.t: cleanup
  764. 1.10 2009-12-29 rurban
  765. Fixed @ARGV
  766. * C.pm: fixed couple of minor bugs detected with new t/testcore.t:
  767. t/CORE/comp/retainedlines.t => Use of uninitialized value $len, save_hek
  768. Use of uninitialized value $i in printf at C.pm line 49
  769. Undefined value assigned to typeglob at C.pm line 2901
  770. Do not overwrite run-time @ARGV on >= 5.10 (GP and AV). Fixes test c_argv.t
  771. * t/testcore.t: added
  772. * t/c_argv.t: added. test @ARGV and perlcc
  773. * perlcc (2.06): grab_stash only via new -stash, not automatically;
  774. B::C is better.
  775. ldopts -std only when modules are given.
  776. fix for empty options.
  777. add -sharedxs, -sharedlib; -shared is now for shared linkage,
  778. -sharedlib to create a shared lib (was -shared before but never worked),
  779. -sharedxs to also link shared xsubs, no run-time DynaLoader/XSLoader needed.
  780. 1.09 2009-12-27 rurban
  781. * C.pm: Cut down the number of AUTOLOAD'ed optrees, search only on
  782. empty gv->cv (31).
  783. Added very unsafe -O4/-fcop to eliminate most cops and file + line numbers.
  784. Added faster -fav-init to -O2, less unneeded av_extend().
  785. Get rid of fbm_compile (11). Only 5.8.9 is broken.
  786. * CC.pm (1.02): partially fix eval "" for >=5.8.9, wrong CORE cc_runtime.h
  787. definition. (test 29 - eval "")
  788. * t/test.pl, t/c*.t: Simplify C/CC testsuite.
  789. * t/testc.sh: fixed -E
  790. Added -o for orig, no -Mblib
  791. * t/c_o3.t, t/c_o4.t: added
  792. 1.08 2009-12-23 rurban
  793. Adapt coding guidelines, add C and cperl coda. Reformat sources.
  794. * C.pm: Detect AUTOLOAD and CLONE (test 27 and 31).
  795. 5.10 is now the best release for unoptimized B::C. 5.8 is faster optimized,
  796. but misses some autoloaded xsubs.
  797. Simplify PVMG exclusion; all non-magical, not just PAD_OUR, as in Bytecode.
  798. * Bytecode.pm (1.04): Add missing BM logic to GV >= 5.10. Fixes test 11.
  799. Fixed op_pmflags logic for 5.10 threaded only, no += 2. Fixes test 2.
  800. Protect empty match from setting op_reflags. Fixes test 20.
  801. Add perlversion to the -S generated header.
  802. Document more options -TI, -TF, -u<package>
  803. * perlcc: improve help. use Pod::Usage as module, not via cmdline.
  804. fix previous installation quirks.
  805. * assemble: improve pod. make it installable.
  806. * disassemble: make it installable.
  807. * cc_harness: ditto.
  808. * Makefile.PL: added script/* as EXE_FILES to install them.
  809. * t/TESTS, t/testc.sh, t/testplc.sh: test 31 non-xs AUTOLOAD added
  810. * ByteLoader/Makefile: tuning, bytecode.h triggers now byterun.c
  811. * bytecode.h: Specialize pregcomp on 5.10; add PL_regex_pad[0] for
  812. pregcomp if missing. fixes tests 3,4,5,7,31 on 5.10.
  813. 1.07 2009-12-19 rurban
  814. * C.pm: fix fbm_compile (INDEX) for >= 5.10. gv_list is already a pointer.
  815. rewrite PVGV (ie PVBM) init for >= 5.10. (test 11)
  816. Added CV->save_magic (untested)
  817. Fixed two wrong my decelarations detected by the new Od debugger.
  818. * README: Clarify DIFFERENCES section for CC only. Esp. the
  819. Context of ".." section. New test 30
  820. * t/TESTS, t/testc.sh, t/testplc.sh: test 30 added for Context of ".."
  821. * t/testc.sh: fix -k logic, keep .pl for -O tests
  822. 1.06 2009-12-18 rurban
  823. Going public on the Perl birthday
  824. The first public compiler re-release since it was removed from CORE.
  825. * C.pm: Had to disable -O1 -fcog (pv_copy_on_grow) on 5.10 and higher
  826. until I find out how to fool S_unshare_hek_or_pvn. This fixes all C
  827. -O1 and -O2 tests. Warn about this.
  828. Fix wrong RV init on *5.10* for test 29 also, as with 5.11.
  829. Simplify __DATA__ handling. Warn when -O3 or -fsava-data is missing.
  830. Enable working -fsava-data on 5.8 and 5.10 threaded. Fixes couple of tests 15.
  831. Fix 5.8/5.10 PVMG pv = &PL_sv_undef for empty comppadnames
  832. * t/testc.sh: -k keep added. Delete temporaries on PASS as new default.
  833. -E added. Dump preprocessed source file with cc -E as _E.c (was default before)
  834. * Version bump to official:
  835. B::C 1.06 (1.05 is in 5.8.9)
  836. B::CC 1.01
  837. B::Bytecode 1.03
  838. B::Asmdata 1.03
  839. B::Assembler 0.09
  840. B::Disassembler 1.06
  841. B::Bblock 1.03
  842. ByteLoader 0.07
  843. 1.04_33 2009-12-17 rurban
  844. * t/cc*.t: skip some memory eating failing tests.
  845. * MANIFEST: dummy lib/B/Asmdata.pm added to fix cpan smokes on BSD.
  846. Thanks to Slaven Rezic.
  847. * C.pm: fix tests 14,16,23 on >=5.10, missing AV magic for
  848. CV main::a, protect PVMG from SvPAD_OUR.
  849. fix wrong RV init on 5.11 for test 29
  850. * CC.pm: fix ARGS >=5.10 (in require, test 28).
  851. Enable quiet. No -q for quiet, just -v (verbose) or any -D switch turns
  852. on verbose.
  853. * t/testc.sh: Added test 27 (import), test 28 (require), test 29 (use)
  854. [Nick Koston]
  855. 1.04_32 2009-12-14 rurban
  856. Only two 5.10 B::C bugs remaining!
  857. * C.pm: added missing FBM logic to GV >= 5.10 (test 11).
  858. Forbid MAGIC on non-magival SVs >= 5.10 (tests 14 + 23).
  859. Special PVMG PL_sv_undef string. (namesv problem on 10,14,23)
  860. 1.04_31 2009-12-14 rurban
  861. * C.pm: fix test 21 on 5.10 "Bad free() ignored". Dynamically
  862. allocate CopLABEL.
  863. * Makefile.PL: fix the make depend section > 5.9
  864. * t/testc.sh: fix -D option
  865. 1.04_30 2009-12-13 rurban
  866. Better 5.6 support, but Bytecode compiler still disabled.
  867. Not even the Byteloader works for 5.6 assembled code. The Disassembler
  868. does not stop at ret. Fixed several C tests.
  869. * bytecode.pl: renumbering policy: <= 5.6 squeeze, >= 5.8 fixed
  870. to force exact bytecode numbering as with 5.8.
  871. Allow float versions, such as 10.001 for subreleases.
  872. Add perlversion to header.
  873. Add byteorder check logic.
  874. Added logic to include all possible unsupported ops, all holes.
  875. bytecode table checked for 5.6.1, 5.6.2, 5.8.0, 5.8.1-5.11
  876. Note, that I found official and contradicting 5.6.1 releases.
  877. ActiveState 5.6.1.626 had no op_children, the unix release tarball
  878. with 5.6.1 (called Trial 1) still has it.
  879. * ByteLoader.pm (1.06_06): better bytecode numbering.
  880. * Asmdata.pm (1.02_02): strict numbering along 5.8.
  881. Unsupported ops are now also included, with PUT method 0.
  882. * Assembler.pm (0.07_07): Add perlversion to header
  883. * Disassembler.pm (1.05_04): Add perlversion to header.
  884. Print header only for existing.
  885. * BcVersions/Asm*.pm, BcVersions.pod: added for most versions with the
  886. CORE compiler.
  887. * disassemble: Make it work with the older Disassembler.
  888. Make it work with older bytecode >= 5.8 via Asmdata unsupported ops.
  889. * i386.xs, jitcompiler.pl: removed (seperate module)
  890. * bytecode.h, C.xs: Fixed for 5.6, tested with 5.6.1 with MSVC.
  891. * bytecode.h, byterun.c: add static int force = 0. Override it to 1 to
  892. try out executing older bytecodes.
  893. * C.pm: fix test 16 on 5.10 again, non-threaded only (GVAV magic).
  894. first fix in 1.04_24, broken in 1.04_28. On 5.11 I have a broken
  895. RV handling here.
  896. Remove version and Regexp::DESTROY from the automatic methods
  897. (experimental).
  898. First attempts with pv and hek consting failed.
  899. * t/testc.sh, t/testplc.sh: support proper cmdline arguments, add -h for
  900. help
  901. Fixed test 5 by fixing the wrong test.
  902. * perloptree.pod: renamed from perloptreeguts.pod. Added links.
  903. 1.04_29 2009-12-07 rurban
  904. Disable the Bytecode compiler for 5.6. Fixed besides the __DATA__ handle
  905. (test 15) all remaining 5.8 C bugs.
  906. * C.pm: assign the PVX of GV also for empty stashes (main::) to avoid
  907. destruction failures at Perl_pad_undef() SvPVX_const(namesv) == '&'.
  908. Fixes tests 14 and 23
  909. * byterun.c: No assert on empty bs_sv, it is &PL_sv_undef.
  910. Map missing -Dv on 5.6 to -Df i.e. -D256
  911. Added better debugging output: setter values.
  912. * STATUS: re-run CORE tests, list cmdlines, update status
  913. * Disassembler.pm: added gen_header_hash() for gen_header output.
  914. add to documentation.
  915. * Bytecode.pm: -S uses gen_header_hash for gen_header output.
  916. 1.04_28 2009-12-06 rurban
  917. * C.pm: fix -fcog (Copy on Grow with -O1 and -O2) for >= 5.10 by a new
  918. SVPV.
  919. Statically initialize PVs with a union layout trick. Use char* as first
  920. union member.
  921. Revert xpvcv+svsect changes to pre-initialize those structs against
  922. gvcv recursion.
  923. * t/b.t, t/o.t, t/stash.t: fix tests for 5.6.2
  924. * bytecode.c: byteorder swab only if same length.
  925. 1234 => 4321, 12345678 => 87654321.
  926. Skip a 0x prefix for byteorder in the header. Perl 5.6 had this.
  927. * Assembler.pm (0.07_06): 5.6 byteorder fix: until 5.6 the
  928. $Config{byteorder} was falsely dependent on ivsize, we need longsize.
  929. Add 0x to byteorder in header again, as with 5.6.
  930. * t/testc.sh: do not run old leftovers. some 5.6 optimizations
  931. * t/c_o1.t, t/c_o2.t, t/cc_o2.t, t/cc_o2.t: added
  932. * t/test.pl: support -O1 and -O2
  933. * broke ByteLoader
  934. 1.04_27 2009-12-04 rurban
  935. * CC.pm (1.02_03): fixed endless loop in optimized sort. The sortcv
  936. cmp needed a return NULL (test 19).
  937. * c.t, cc.t: add failing tests as TODOs
  938. 1.04_26 2009-12-02 rurban
  939. * C.pm: remove nv->IVX for 5.10 (Can't locate object method "IVX" via
  940. package "B::NV").
  941. protect mg->OBJ when SCALAR (Can't call method "save" on unblessed
  942. reference).
  943. fix NV isa IV, to fix test 23 (Nick Koston).
  944. fix CopLABEL for 5.11 (test 21)
  945. fix PMOP extflags, esp. for split on >= 5.10 (test 5 + 7)
  946. add fbm_compile() to BM::save >= 5.8 (test 11) (Nick Koston)
  947. * t/c.t, t/testc.sh: added tests 23, 24 (Nick Koston)
  948. * Bytecode.pm (1.02_04), bytecode.h: store and set PMOP reflags
  949. as U32. Fixes tests 2-4,7
  950. Start of backporting Perl 5.6
  951. 1.04_25 2009-11-30 rurban
  952. * C.pm: fixed IO for 5.11: LINES => IVX.
  953. specialize GvLINES = -1 and protect against U32 signed-ness.
  954. fixed test 8 main::AUTOLOAD (unoptimized only)
  955. * t/test.pl: enable -Mblib for all Perl versions.
  956. fix 5.6.2 ldopts by explicit checking of (-lperl|CORE\/libperl5).
  957. make test works now for 5.6.2
  958. * t/cc.t: adapt TODOs
  959. * t/c.t: add TODOs 15 for 5.6
  960. * script/perlcc: a.exe for cygwin also
  961. 1.04_24 2009-11-29 rurban
  962. * C.pm: fixed more CV basics (test 9), just stash for autoload missing
  963. (test 8).
  964. PVLV adjusted, but no testcase yet.
  965. IO adjusted. Fixes test 4.
  966. re-enabled Perl 5.6, all tests but 8,15 pass with t/testc.sh. make test not.
  967. added option -DO, more OP info than with -Do.
  968. added saving "main::" CVs. Fixes test 16.
  969. Fixed PMOP op_pmreplroot for >= 5.10 (for SUBST). No test
  970. * t/TESTS, t/testc.sh: added 20 for qr// bug in 5.10
  971. * t/c.t: remove TODO status from tests 14-16
  972. 1.04_23 2009-11-22 rurban
  973. * yapc_bratislava08.pod: title fix
  974. * SIGNATURE: added
  975. * C.pm: GvGP handling improved. added more sect comments.
  976. added -u option "unused" not to print verbose debugging info
  977. for unused subs.
  978. Fixed CV XPVCVIX initialisation - off-by-one error, wrong CvFLAGS.
  979. Fixes test 6.
  980. * run perltidy -i=2
  981. 1.04_22 2009-11-16 rurban
  982. * C.pm, CC.pm: fixed illegal pad in ASSERT_CURPAD_ACTIVE("pad_sv")
  983. with DEBUGGING. Simply forgot to set PL_comppad
  984. 1.04_21 2009-11-07 rurban
  985. * yapc_bratislava08.pod: added
  986. * C.pm: fixed CALLREGCOMP >=5.10 by using dynamic newSVpvn as in ByteLoader
  987. 1.04_20 2008-06-25 rurban
  988. * t/TESTS: numbered.
  989. * t/TESTS: added sub FETCHSIZE to test 16. required now
  990. * C.pm, CC.pm: change debug globals to hash.
  991. * C.pm: Fix B::RV::save for 5.10
  992. * CC.pm: 5.10 fixed GvSV to GvSVn (PERL_DONT_CREATE_GVSV), fix cc test 3+4 crash
  993. * Artistic, Copying: added. Clarified perl license.
  994. * Bytecode.pm: fixed IO=>PVNV problem in test 15.
  995. * bytecode.pl, bytecode.h: rewrote gp_sv and gp_file setters
  996. with x (special setters). Fixes unshare hek assert in test 15, and force
  997. creation of GVSV.
  998. * Assembler.pm 0.07_05: cygwin text-mount fixes with \r\n
  999. * t/testplc.sh, t/testc.sh: require bash, accept testnumber args
  1000. * Asmdata.pm: fix PORTABILITY docs
  1001. * t/testc.sh: -Bdynamic: link to shared libperl
  1002. * cc_harness: simplify. fixed for -Bdynamic -E
  1003. 1.04_19 2008-06-08 rurban
  1004. * CC.pm: CXt_LOOP check rewrite, use now CxTYPE_no_LOOP()
  1005. * CC.pm, t/*.t: useithreads, not usethreads
  1006. * bytecode.t, test.pl: TODO handling: do not print "ok 1 #"
  1007. * b.t: fixed skip logic, better skip message
  1008. * Bblock: fixed to work without B::Concise (5.6.2)
  1009. * C.xs: add PM_GETRE for 5.6.2 and earlier
  1010. * CC.pm: Fix PP_EVAL hack from 1.04_18
  1011. * Bytecode: fixed IO::SUBPROCESS error (test 15)
  1012. * cc_harness: check static libperl.a, else try dynamic. Support -E
  1013. * ByteLoader: support different byteorders (Disassembler not yet)
  1014. * ByteLoader, Assembler, bytecode.pl: add archflags to header, relax
  1015. platform strictness.
  1016. * t/stash.t fixed for 5.10
  1017. * Disassembler: added hashref return for get_header in scalar context.
  1018. * Bytecode: fixed compiler crash/assertions for GV without GP (test 11)
  1019. 1.04_18 2008-06-04 rurban
  1020. * Fixed t/assembler.t on 5.6.2
  1021. * Added ByteLoader::unimport (from 5.6.2)
  1022. * ByteLoader: Fixed bytecode crashes for 5.10+5.11 in 2-5,7 by
  1023. removing PMf_COMPILETIME from op_pmflags. Reason: empty
  1024. check_substr in INTUIT. (6 still failing)
  1025. * ByteLoader: Fixes for 5.11 by using PM_SETRE (test 7 still failing)
  1026. * Bytecode: removed op_reflags. pregcomp with op_pmflags alone
  1027. is enough to reconstruct it.
  1028. * C,CC: enabled static_ext + DynaLoader boot section again. Fixed in
  1029. cygperl.
  1030. * CC: fixed Bug#55302 PP_EVAL by adding PP_EVAL_thr for threaded perl.
  1031. cc_runtime.h was always wrong on this!
  1032. 1.04_17 2008-04-20 rurban
  1033. Added Fedora Core 1 as test system (5.6.2, 5.8.3, 5.11.0@33708 + valgrind)
  1034. * ByteLoader: Fixed broken BYTEORDER check (for 32int)
  1035. * ByteLoader: Remove allowing older versions until we have
  1036. an opcode table for older versions.
  1037. * ByteLoader: Fixed SIGSEGV with older gcc (3.3.2) at
  1038. bstate->bs_obj_list[0] = NULL
  1039. * ByteLoader, C.xs: Newx() support and more for older perl's.
  1040. Tested with 5.8.3
  1041. * bytecode.pl: Fixed <11 op_reflags (double definition)
  1042. * bytecode.pl: Support 8-10 version syntax (op_pmstash, cop_io)
  1043. * Makefile.PL: added MKPATH blib/bin
  1044. * added ByteLoader/ppport.h
  1045. * fixed t/stash.t for 5.11
  1046. 1.04_16 2008-04-14 rurban
  1047. * ByteLoader: Fix PL_tokenbuf for older perls without PL_parser
  1048. * B::C: walkoptree_slow for verbose statistics op_count.
  1049. * Consistent in -v verbose and not verbose.
  1050. * Workaround for invalid pad in save_context.
  1051. * Added -Dp for verbose package cache printing.
  1052. * -v verbose adds more generated comments: op struct fields
  1053. * Fixed cop_label for 5.11 (Change #33656)
  1054. * Fixed make subdirs-test error in 5.8.8
  1055. * Fixed RT#52920 "invalid cop_free of nullified cop" for B::C
  1056. 1.04_15 2008-04-11 rurban
  1057. Highlights: bytecode and ByteLoader portability preparation and
  1058. commented disassembler output. PVGV and new REGEX still broken.
  1059. Fixes for no ithreads.
  1060. * Fixed verbose Bytecode for old B::Concise (5.8.8). t/testplc.sh
  1061. failed before.
  1062. * ByteLoader: Work on portability (different arch, version and sizes).
  1063. Added bl_header.
  1064. Changed macro BYTECODE_HEADER_CHECK to function bytecode_header_check().
  1065. Fixes for no threads.
  1066. * bytecode.h: pregcomp fix for 5.10 w/o threads
  1067. (Thanks to david@cantrell.org.uk for his cpantest for netbsd).
  1068. use xpv_cur and not xpv_len for the rx length (len - 1) to strip off
  1069. the ending nul byte.
  1070. 5.10: new minlen check aborts
  1071. * ByteLoader security: added strconst maxsize flag to bytecode.pl
  1072. for buffer overflow checks.
  1073. * Bytecode -DA for devel assertions of absolute or probably wrong opindex
  1074. pointers (nyi)
  1075. * disassemble, B::Assembler: commented output, similar to -MO=Bytecode,-S
  1076. Added backwards option --bare for older assemblers.
  1077. * assemble, disassemble: added pod
  1078. * B::Disassembler:
  1079. Provide default printers print_insn (commented) and print_insn_bare.
  1080. Portability: Use the header settings from the .plc and not the current
  1081. perl settings.
  1082. * B::Assembler 0.07_03, B::Disassembler 1.05_02, ByteLoader 0.06_03:
  1083. Added longsize to the bytecode header, just for xcv_depth.
  1084. * B::Debug 1.05_03: Fixes for no threads.
  1085. * Makefile.PL: Fixed script/perlcc.PL dependency
  1086. make: *** No rule to make target `script/perlcc', needed by
  1087. `blib/bin/perlcc'.
  1088. (Thanks to david@cantrell.org.uk for his cpantest for solaris)
  1089. * Added test TODO's, Added perloptreeguts.pod
  1090. 1.04_14 2008-03-24 rurban
  1091. * Fixed some 1.04_13 +x executable permissions in docs. Windows habits.
  1092. 1.04_13 2008-03-24 rurban
  1093. * Fixed B::C pv init in 5.10. Forgot refcnt and flags.
  1094. * Added "Other perl to exe compilers" section to perlcompile.pod.
  1095. This is even a FAQ.
  1096. * Added the NOTES to perlcompile.pod
  1097. * Added temp. perloptreeguts.pod. In work, also at the wiki.
  1098. * Fixed Bytecode op_pmflags assertions.
  1099. * Added orangesect for enough regexp space in RE's sv_any.
  1100. Engine not initialized though.
  1101. * Hangs in C/CC executables at an op_free(PL_main_root) trying to free
  1102. the static op structs because the earlier op_seq -1 hack is gone now,
  1103. and opt_static was replaced by opt_latefree. Set now opt_latefree = 1.
  1104. This fixed tests 1 and 13. Slowly making progress step by step.
  1105. 1.04_12 2008-03-16 rurban (first upload)
  1106. * Fixed bug #40435 CC: Can't locate object method "_save_common_middle"
  1107. via package "B::FAKEOP"
  1108. * move tests from [bc]*.t into shared TESTS file.
  1109. * fixed remaining ugly Bytecode bug in B::AV::bsave
  1110. $_ = $_->ix for @array.
  1111. Now we are at the same state as with 5.9.4
  1112. * fixed wrong bc cop_warning cast for 5.8
  1113. * fixed CC pmreplroot and pmreplstart fields
  1114. * make C and CC less verbose, honor -v, -q ignored.
  1115. 1.04_11 2008-03-09 rurban
  1116. * removed Jit and Asm stuff. Maybe as seperate packages somewhen.
  1117. But targeting PIR makes more sense.
  1118. * added STATUS
  1119. * added old Changes from the new git clone repo by Sam Vilain
  1120. * fix C cop
  1121. * fix C savepvn apparently
  1122. * work on HV init - crashes at invalid entry
  1123. * use run_cc_test
  1124. 1.04_10 2008-02-26 rurban
  1125. * change bc pvx access
  1126. dummy struct bytestate_xpv, so pv has the same fields as with 5.8,
  1127. seperated from the sv. The sv is seperated from the pv.
  1128. TODO: different strategy for B::C, must link xpv to sv
  1129. * add and parse Assembler comments
  1130. * add Bytecode comments to -S output unless -q
  1131. * change op_reflags from U16 to U32
  1132. * guarantee ByteLoader backwards compatibility: Accept lower versions also.
  1133. 1.04_09 2008-02-25 rurban
  1134. * restored 5.8 backwards compatibility, mainly for test comparison.
  1135. CPAN installation will abort.
  1136. * make t/test*.sh PERL independent
  1137. * fixed B::C GV init crashes (SvPOK assertion)
  1138. * added B::C RE section
  1139. * fixed B::C xpvcv and xpvnv section
  1140. * comment Bytecode -S nice ops to re-assemble them without errors
  1141. * added new asm opcode op_reflags
  1142. * removed Bytecode cop_arybase for 5.10
  1143. * 5.8 compatibility: fixed bytecode.pl versioning, Asmdata creation
  1144. (exact same for 5.8.8), asmdata.t, b.t tests
  1145. * improved make clean
  1146. * add ByteLoader -Dt and -Dv debugging
  1147. * don't link against jit code against possible sideeffects
  1148. * fixed c.t and cc.t tests
  1149. 1.04_08 2008-02-22 rurban
  1150. * fixed t/b.t tests for 5.11 (REGEXP, ref RV => IV)
  1151. * fixed Makefile.PL deps to ignore the interim .pl files
  1152. * added PMOP reflags
  1153. * added madprop to B-1.18_01 and B::C (if provided by B)
  1154. * enhanced B::Debug 1.05_02
  1155. * fixed B::C PL_cshlen (already initialized since 5.10)
  1156. * fixed B::C GvFILE
  1157. * fixed various (SV)xpv list casts and inits,
  1158. * fixed B::C xpvnv_list for 5.10
  1159. * fixed B::C xpvio_list for 5.10
  1160. * fixed B::C pmopsect for 5.11
  1161. * bootstrap also all $Config{static_ext}, not only dynamic stashes
  1162. 1.04_07 2008-02-20 rurban
  1163. * moved bstate->bs_pv.xpv_pv slot to bs_pv.xiv_u.xivu_p1
  1164. * fixed pv_free
  1165. * added op_pmflags 2 to match PMOP
  1166. * moved B into lib/B
  1167. * fixed ByteLoader Makefile deps
  1168. * added -DM flag to Bytecode backend
  1169. * added perlcompile.pod and Perl_5_Internals.htm
  1170. 1.04_06 2008-02-19 rurban
  1171. * no crashes anymore for 5.10, just op_pmflags & PMf_ONCE assertions.
  1172. * blead@32980 crashes in tests 11,16,17,18
  1173. * enhanced B::Debug (no version bump)
  1174. * fixed general op_list inits, and specials for av, hv
  1175. * almost fixed pv within sv handling
  1176. * added -O=C,-DS for SV debugging
  1177. 1.04_05 2008-02-18 rurban
  1178. * added t/test.pl and t/test*.sh to MANIFEST.
  1179. * fixed ByteLoader reading from the <DATA> filter.
  1180. * fixed -H .plc header parsing
  1181. * updated Bytecode options in NOTES and pod
  1182. * added -O=Bytecode,-v option
  1183. * fixed PL_preprocess and SvREPADTMP_off for 5.11
  1184. 1.04_04 2008-02-08 rurban
  1185. * added jitcompiler macros
  1186. 1.04_03 2008-02-05 rurban
  1187. * added Jit and Asm layout, fixed Makefile deps
  1188. 1.04_02 2008-01-22 rurban (never uploaded)
  1189. * removed from CORE, now on CPAN.
  1190. * added byteorder to bytecode header.
  1191. * added support for 5.10 (NOT WORKING!), 5.9.5 not tested.
  1192. up to 5.8.x already in CORE, so disabled.
  1193. add back support later, when C/CC is improved or more features
  1194. are added.
  1195. * added type hekindex
  1196. * added c.t and cc.t tests
  1197. * extended bytecode.pl format: added version logic
  1198. to have strictly consecutive indices
  1199. 1.04_01 2008-01-15 rurban (never uploaded)
  1200. * first package layout for all now non-CORE packages.
  1201. ===================================================================
  1202. B::C was at 1.05 when removed from core with 5.9.4.
  1203. Nicholas Clark <nwc10+p5p4@colon.colondot.net> 2007-05-07 15:35:56
  1204. bytecode.pl: Exterminate!
  1205. ext/B/B/Asmdata.pm: Exterminate!
  1206. Nicholas Clark <nwc10+p5p4@colon.colondot.net> 2007-05-07 14:53:05
  1207. Given that @optype and @specialsv_name are hard coded tables, it seems
  1208. more logical for them to be in B.pm, rather than in the "boilerplate"
  1209. for the machine generated B/Asmdata.pm
  1210. Marcus Holland-Moritz <mhx-perl@gmx.net> 2004-08-29 13:22:48
  1211. Fix typo in B::Assembler.
  1212. Marcus Holland-Moritz <mhx-perl@gmx.net> 2004-08-29 13:21:50
  1213. Skip ext/B/t/assembler.t when configured without B.
  1214. Rafael Garcia-Suarez <rgarciasuarez@gmail.com> 2003-08-09 21:13:27
  1215. Remove ByteLoader from the list of modules whose compilability should
  1216. be tested : it's loaded (at runtime) by ext/B/t/bytecode.t (as Enache
  1217. pointed out.)
  1218. chromatic <chromatic@rmci.net> 2002-05-10 07:43:25
  1219. added ext/B/t/o.t
  1220. Mattia Barbon <mbarbon@dsi.unive.it> 2002-01-12 00:29:48
  1221. @14216 B::C, perlcc.PL, B.xs, B.pm, t/TEST, C.xs
  1222. Message-ID: <3C3F756C.4581.2E2A938@localhost>
  1223. B::C (1.01): added B::C::InitSection, ...
  1224. Mattia Barbon <mbarbon@dsi.unive.it> 2002-01-06 12:44:30
  1225. @14104 B, B::C, perlcc, t/TEST
  1226. Message-ID: <3C38389E.7831.493570@localhost>
  1227. Jarkko Hietaniemi <jhi@iki.fi> 2001-12-21 14:42:31
  1228. @13830 packing I32 with L is not nice, need l; from Wolfgang Laun.
  1229. Jarkko Hietaniemi <jhi@iki.fi> 2001-12-19 16:59:02
  1230. @13807 One more embedded (?sx) de-embedded, from Wolfgang Laun.
  1231. Jarkko Hietaniemi <jhi@iki.fi> 2001-12-19 15:25:27
  1232. @13802 B::Assembler/B::Disassembler patches and test;
  1233. from Wolfgang Laun.
  1234. TODO: getting perlcc working.
  1235. Michael G. Schwern <schwern@pobox.com> 2001-12-14 20:59:13
  1236. @13697 BBlock: Some weak docs
  1237. Message-ID: <20011215005913.GC28596@blackrider>
  1238. Michael G. Schwern <schwern@pobox.com> 2001-12-14 20:14:14
  1239. @13695 Adding B::Asmdata docs
  1240. Message-ID: <20011215001414.GA25077@blackrider>
  1241. Jarkko Hietaniemi <jhi@iki.fi> 2001-11-29 02:22:02
  1242. @13346 Change $=, $., $*, $%, and $- to be IVs instead of longs.
  1243. Jarkko Hietaniemi <jhi@iki.fi> 2001-11-16 01:38:41
  1244. @13034 Add the fruits of Larry Shatzer's version verifying script.
  1245. (There are some straddlers, but they will be fixed in the
  1246. upcoming releases of the modules.)
  1247. (Stamped with v1.00)
  1248. Jarkko Hietaniemi <jhi@iki.fi> 2001-09-16 22:36:58
  1249. @12040 Stamp B::Assembler with v0.03
  1250. Jarkko Hietaniemi <jhi@iki.fi> 2001-07-01 17:20:38
  1251. @11061 Make 'compile' target a little less broken.
  1252. Still very broken, though: -Wall warnings from
  1253. the generated code, boot_Foo prototypes missing,
  1254. can't autoload Fcntl::SEEK_CUR et alia, ...
  1255. Jarkko Hietaniemi <jhi@iki.fi> 2001-06-27 13:36:40
  1256. @10979 "lose the looses", from Abhijit Menon-Sen
  1257. Richard Soderberg <p5-authors@crystalflame.net> 2001-06-21 09:01:22
  1258. @10780 Step 2: Use the new PM_GETRE/SETRE macros everywhere.
  1259. Message-ID: <Pine.LNX.4.21.0106210657400.1693-100000@oregonnet.com>
  1260. Gurusamy Sarathy <gsar@cpan.org> 2001-03-19 08:07:09
  1261. Subject: Re: sync sync sync: have I missed any patches?
  1262. Replace djSP with dSP.
  1263. Mark-Jason Dominus <mjd@plover.com> 2001-01-16 14:43:18
  1264. Subject: [PATCH @8436] Eliminate op_children
  1265. (Replaced by #8448) Traces of op_children (cleanup of #8442)
  1266. (Replaced by #8448) More op_children traces (cleanup of #8442).
  1267. Subject: [PATCH #3 @8436] Re: Eliminate op_children
  1268. Replace #8444 and #8445.
  1269. Gurusamy Sarathy <gsar@cpan.org> 2001-01-30 14:20:24
  1270. integrate changes#7984,7987,8010 from mainline (gets rid of
  1271. dTHR which has been a noop for a while now, except for the
  1272. compatibility definition in thread.h)
  1273. @8010 remove dTHR;
  1274. Gurusamy Sarathy <gsar@cpan.org> 2000-12-18 03:37:02
  1275. @7518 UNIVERSAL::can
  1276. Gurusamy Sarathy <gsar@cpan.org> 2000-12-18 00:03:38
  1277. Fix a couple of compiler-noted nits in #7235.
  1278. Fix of sorts for bug id 20000901.092. There seems to be no trace
  1279. of a 'pmshort' anywhere in the B, so the offending line was simply
  1280. removed.
  1281. Gurusamy Sarathy <gsar@cpan.org> 2000-12-17 22:49:13
  1282. Subject: [ID 20000928.002] perlcc & ByteCode.pm option mismatch
  1283. Did not apply cleanly, manual intervention was needed.
  1284. Subject: [ID 20001003.006] B::Debug not -w clean
  1285. Test harness update to sync with the new perlcc,
  1286. from Simon Cozens.
  1287. Gurusamy Sarathy <gsar@cpan.org> 2000-11-27 18:11:21
  1288. Bytecompiler patches from Benjamin Stuhl.
  1289. More bytecompiler.
  1290. Subject: [PATCH blead] B:: missing dependency
  1291. Byteloader 0.04
  1292. Gurusamy Sarathy <gsar@cpan.org> 2000-11-27 13:53:18
  1293. U8->U16 CvFLAGS(cv)
  1294. Jarkko Hietaniemi <jhi@iki.fi> 2001-10-25 18:07:58
  1295. * make re, Opcode, File::Glob and B threadsafe
  1296. * include XS_VERSION in MY_CXT_KEY (tweak for change#12652)
  1297. Jarkko Hietaniemi <jhi@iki.fi> 2001-04-05 04:00:33
  1298. Integrate changes #9544,9547,9549(perlio),9550,9551 from
  1299. maintperl into mainline.
  1300. "double" should be "NV"; standard typemap is missing entry
  1301. for NV
  1302. bailey <bailey@bailey_vms> 2000-02-09 09:09:45
  1303. Resync with mainline
  1304. Gurusamy Sarathy <gsar@cpan.org> 2000-02-25 02:50:04
  1305. @5250 more Compiler tweaks for useithreads
  1306. Gurusamy Sarathy <gsar@cpan.org> 2000-02-21 08:02:16
  1307. @5178 get Compiler "working" under useithreads
  1308. Gurusamy Sarathy <gsar@cpan.org> 2000-02-19 18:33:05
  1309. @5150 more B fixups to cope with empty GVs (these can only happen in pads)
  1310. Gurusamy Sarathy <gsar@cpan.org> 2000-02-18 04:57:43
  1311. @5125 Compiler fixups from Jan Dubois
  1312. Gurusamy Sarathy <gsar@cpan.org> 2000-01-27 04:56:48
  1313. @4910 various pod nits identified by installhtml (all fixed except
  1314. unresolved links)
  1315. Gurusamy Sarathy <gsar@cpan.org> 2000-01-26 20:10:26
  1316. @4905 s/STOP/CHECK/ blocks
  1317. bailey <bailey@bailey_vms> 2000-01-20 00:25:30
  1318. @4821 Quick integration of mainline changes to date
  1319. Gurusamy Sarathy <gsar@cpan.org> 2000-01-06 11:51:07
  1320. @4763 fix various C-backend shenanigans
  1321. Gurusamy Sarathy <gsar@cpan.org> 1999-12-08 00:16:21
  1322. @4662 typos in change#4546
  1323. Gurusamy Sarathy <gsar@cpan.org> 1999-12-03 07:52:50
  1324. @4631 support -a switch to append bytecode to an existing file and make
  1325. perlcc use it (from Tom Hughes <tom@compton.nu>)
  1326. Gurusamy Sarathy <gsar@cpan.org> 1999-12-01 02:00:09
  1327. @4602 more complete pseudo-fork() support for Windows
  1328. Gurusamy Sarathy <gsar@cpan.org> 1999-11-11 11:32:54
  1329. @4546 avoid stash pointers in optree under USE_ITHREADS
  1330. Gurusamy Sarathy <gsar@cpan.org> 1999-11-11 07:04:20
  1331. @4545 another change towards a shareable optree: avoid pointer to filegv
  1332. in COP; revert parts of change#4485 and s/xcv_filegv/xcv_file/
  1333. (CvFILE() may yet come in handy somewhere); adjust compiler doodads
  1334. to suit
  1335. Gurusamy Sarathy <gsar@cpan.org> 1999-11-04 19:25:45
  1336. @4516 change#4485 didn't do the right thing for B::Bytecode
  1337. Gurusamy Sarathy <gsar@cpan.org> 1999-11-04 18:28:29
  1338. @4515 implement STOP blocks and fix compiler to use them (minimally
  1339. tested)
  1340. Gurusamy Sarathy <gsar@cpan.org> 1999-10-29 08:08:50
  1341. @4485 more cleanup: avoid unused knowledge of "file GV" notion in CV and GV
  1342. Gurusamy Sarathy <gsar@cpan.org> 1999-10-29 05:00:21
  1343. @4484 usurp GVOP slot for new PADOP (one small step to making optree
  1344. shareable across interpreters)
  1345. Vishal Bhatia <vishal@deja.com> 1999-09-30 01:27:28
  1346. @4254 [patch _61] Minor corrections in C.pm
  1347. Message-ID: <Pine.LNX.4.10.9909292326280.5599-100000@localhost.localdomain>
  1348. Charles Bailey <bailey@newman.upenn.edu> 1999-09-29 04:21:31
  1349. @4249 resync with mainline 5.05_61
  1350. ($handle_VC_problem, @4198: $sv->REFCNT - 1)
  1351. Vishal Bhatia <vishal@deja.com> 1999-08-25 02:31:33
  1352. @4198 add arenas for managing allocations of remaining xpv*v structures
  1353. Message-ID: <Pine.LNX.4.10.9908250031000.11727-100000@localhost.localdomain>
  1354. Subject: [PATCH 5.005_60] removing extra ref count (compiler)
  1355. Doug MacEachern <dougm@covalent.net> 1999-07-25 17:49:00
  1356. @4129 B::clearsym
  1357. Vishal Bhatia <vishal@deja.com> 1999-08-11 03:43:28
  1358. @4095 applied suggested patch with suitable test to detect MSVC
  1359. Message-ID: <GFCJELIOGEENAAAA@my-deja.com>
  1360. Subject: compiler on win32
  1361. Gurusamy Sarathy <gsar@cpan.org> 1999-09-06 22:16:58
  1362. @4092 support bytecode and C backends in perlcc (patch suggested
  1363. by Tom Hughes <tom@compton.au>); s/-opt/-noopt/ and make the
  1364. C backend the default; describe new switches in pod; introduce
  1365. PERLCC_OPTS and s/COMPILE_TIMEOUT/PERLCC_TIMEOUT/;
  1366. s/COMPILE_TEST/HARNESS_COMPILE_TEST/; document these %ENV
  1367. entries
  1368. Nick Ing-Simmons <nik@tiuk.ti.com> 1999-08-08 15:53:57
  1369. @3925 Will now correctly re-call
  1370. bootstrap "Foo";
  1371. if requested. This should allow build on Win32 and other
  1372. platforms where you cannot link to loadables directly.
  1373. Nick Ing-Simmons <nik@tiuk.ti.com> 1999-08-07 14:23:55
  1374. @3934 Vishal Bhatia <vishalb@my-deja.com>
  1375. [PATCH 5.005_60] fix for some obscure bugs (compiler)
  1376. Message-ID: <HLPEBPHPAKHKAAAA@my-deja.com>
  1377. Nick Ing-Simmons <nik@tiuk.ti.com> 1999-08-07 14:19:46
  1378. @3933 B::C changes to get simple Tk app. compiling again
  1379. Nathan Torkington <gnat@frii.com> 1999-08-05 23:25:47
  1380. @3927 Fix for Nathan's fix (#3920) from Guy Decoux.
  1381. Subject: Bugfix for my bugfix
  1382. Message-ID: <14250.21947.765134.940583@localhost.frii.com>
  1383. Nathan Torkington <gnat@frii.com> 1999-08-04 13:24:56
  1384. @3920 [5.005_60 PATCH] Make B::Bytecode work
  1385. Vishal Bhatia <vishal@deja.com> 1999-07-31 21:08:33
  1386. @3869 "use constant" in the compiler
  1387. Nathan Torkington <gnat@frii.com> 1999-08-01 11:23:35
  1388. @3859 ext/B/B/Disassembler.pm patch
  1389. Message-ID: <14244.33431.739419.806927@localhost.frii.com>
  1390. Gurusamy Sarathy <gsar@cpan.org> 1999-08-01 20:34:41
  1391. @3848 fix defined(@foo) encarpments
  1392. Gurusamy Sarathy <gsar@cpan.org> 1999-07-27 05:56:17
  1393. @3784 change#3762 wasn't needed
  1394. Gurusamy Sarathy <gsar@cpan.org> 1999-07-26 10:59:47
  1395. @3762 setstate stop-gap from Vishal Bhatia
  1396. Gurusamy Sarathy <gsar@cpan.org> 1999-07-26 10:06:39
  1397. @3761 patch for pp_foo -> Perl_pp_foo changes from Vishal Bhatia
  1398. Gurusamy Sarathy <gsar@cpan.org> 1999-07-17 22:43:27
  1399. @3687 make CC.pm use a distinct CCPP() macro rather than PP()
  1400. (suggested by Vishal Bhatia <vishalb@my-deja.com>)
  1401. Vishal Bhatia <vishal@deja.com> 1999-06-30 16:02:42
  1402. @3644 Compiler and XSUBS
  1403. Stephen McCamant <smcc@mit.edu> 1999-06-25 15:38:44
  1404. @3637 Eliminate CONDOPs
  1405. Vishal Bhatia <vishal@deja.com> 1999-06-20 19:17:17
  1406. @3630 Minor bug fix in pp_require
  1407. Vishal Bhatia <vishal@deja.com> 1999-06-12 10:23:59
  1408. @3622 applied patch after demunging headers with appropriate paths
  1409. Message-ID: <JIHEJPFDFKIBDAAA@my-deja.com>
  1410. Subject: [Patch 5.005_57] unsigned arithmetic (Compiler)
  1411. Vishal Bhatia <vishal@deja.com> 1999-06-05 10:42:17
  1412. @3593 applied parts not duplicated by previous patches
  1413. Message-ID: <JAMCAJKJEJDPAAAA@my-deja.com>
  1414. Subject: Fwd: [PATCH 5.005_57] consolidated compiler changes
  1415. Vishal Bhatia <vishal@deja.com> 1999-06-03 02:57:48
  1416. @3584 [PATCH 5.005_57] pp_sort sorted out
  1417. Gurusamy Sarathy <gsar@cpan.org> 1999-06-10 10:38:00
  1418. @3526 fix small nits (ARGS => aTHX)
  1419. Gurusamy Sarathy <gsar@cpan.org> 1999-06-02 06:47:10
  1420. @3518 remove _() non-ansism
  1421. Tom Hughes <tom@compton.nu> 1999-05-27 01:59:49
  1422. @3499 ByteLoader mark 2
  1423. To: perl5-porters@perl.org
  1424. Message-ID: <bf337a0849.tom@compton.compton.nu>
  1425. plus resolve tiny conflict with #3479
  1426. plus regen_headers.
  1427. Gurusamy Sarathy <gsar@cpan.org> 1999-05-11 11:34:13
  1428. @3367 various fixes for clean build and test on win32; configpm broken,
  1429. needed to open myconfig.SH rather than myconfig; sundry adjustments
  1430. to bytecode stuff; tweaks to DYNAMIC_ENV_FETCH code to make it
  1431. work under win32; getenv_sv() changed to getenv_len() since SVs
  1432. aren't visible in the lower echelons; remove bogus exports from
  1433. config.sym; PERL_OBJECT-ness for C++ exception support; null out
  1434. IoDIRP in filter_del() or sv_free() will attempt to close it
  1435. Gurusamy Sarathy <gsar@cpan.org> 1999-05-10 09:49:26
  1436. @3359 more Compiler patches from Vishal Bhatia <vishalb@my-dejanews.com>
  1437. Date: Tue, 27 Apr 1999 23:47:24 PDT
  1438. Message-ID: <19990428064724.95244.qmail@hotmail.com>
  1439. Subject: [PATCH 5.005_56] Saving Tied hashes ( C.pm)
  1440. --
  1441. Date: Thu, 29 Apr 1999 18:21:06 -0700
  1442. Message-ID: <GEFPBFDJADFJBAAA@my-dejanews.com>
  1443. Subject: [PATCH 5.005_56] double constants ( C.pm)
  1444. --
  1445. Date: Mon, 03 May 1999 20:21:31 PDT
  1446. Message-ID: <19990504032131.81113.qmail@hotmail.com>
  1447. Subject: [PATCH 5.005_56] Overloading implementation ( Compiler)
  1448. --
  1449. Date: Thu, 06 May 1999 17:57:09 -0700
  1450. Message-ID: <FCJELBLAJBOBAAAA@my-dejanews.com>
  1451. Subject: Stash.pm
  1452. Tom Hughes <tom@compton.nu> 1999-04-24 20:11:59
  1453. @3356 applied suggested patch, with win32 and PERL_OBJECT additions
  1454. Message-ID: <609bdff748.tom@compton.compton.nu>
  1455. Subject: ByteLoader patch
  1456. Gurusamy Sarathy <gsar@cpan.org> 1999-05-06 10:01:23
  1457. @3314 compiler fixes from Vishal Bhatia <vishalb@hotmail.com>
  1458. Date: Tue, 30 Mar 1999 23:40:34 PST
  1459. Message-ID: <19990331074034.6117.qmail@hotmail.com>
  1460. Subject: [PATCH 5.005_56] pp_entersub and pp_leavewrite(CC.pm)
  1461. --
  1462. Date: Wed, 07 Apr 1999 00:28:23 -0800
  1463. Message-ID: <FGBNLNPOEELFAAAA@my-dejanews.com>
  1464. Subject: [PATCH 5.005_56] function prototypes(B.pm)
  1465. --
  1466. Date: Thu, 22 Apr 1999 23:40:52 -0700
  1467. Message-ID: <OEAOMKBMLDADCAAA@my-dejanews.com>
  1468. Subject: [PATCH 5.005_56 ] discarding worthless padsvs
  1469. --
  1470. Date: Tue, 27 Apr 1999 01:14:49 PDT
  1471. Message-ID: <19990427081449.28615.qmail@hotmail.com>
  1472. Subject: [PATCH 5.005_56] pp_ncmp implementation ( CC.pm)
  1473. Vishal Bhatia <vishal@deja.com> 1999-03-23 17:21:43
  1474. @3168 applied needful parts of suggested patch
  1475. Message-ID: <OOOKJGFMLFLHBAAA@my-dejanews.com>
  1476. Subject: [PATCH 5.005_56] pp_formline correction
  1477. Gurusamy Sarathy <gsar@cpan.org> 1999-03-25 07:21:05
  1478. @3165 fix refcnt on PL_main_cv (variant of suggestion by Vishal Bhatia
  1479. <vishalb@hotmail.com>)
  1480. Vishal Bhatia <vishal@deja.com> 1999-03-11 08:40:27
  1481. @3142 applied suggested patch, modulo bogus hunk
  1482. Message-ID: <19990311154027.25891.qmail@hotmail.com>
  1483. Subject: [PATCH 5.005_56] Minor fixes in perlcc
  1484. Vishal Bhatia <vishal@deja.com> 1999-03-03 00:27:25
  1485. @3066 updates to compiler modules
  1486. Message-ID: <19990303072725.779.qmail@hotmail.com>
  1487. Subject: PATCH 5.005_56 + Test procedure
  1488. Vishal Bhatia <vishal@deja.com> 1999-02-08 02:14:41
  1489. @2940 enable dynaloading in C.pm-compiled programs (non-conflicting part
  1490. of suggested patch)
  1491. Message-ID: <DHIDFFOPMEFDBAAA@my-dejanews.com>
  1492. Subject: [PATCH 5.005_54] some pending C.pm stuff
  1493. Gurusamy Sarathy <gsar@cpan.org> 1999-02-12 12:09:27
  1494. @2894 add missing hunk in change#2657 from Vishal Bhatia <vishal@deja.com>
  1495. Vishal Bhatia <vishal@deja.com> 1999-01-18 02:32:31
  1496. @2657 pp_mapstart & pp_grepstart return val (CC.pm)
  1497. To: perl5-porters@perl.org
  1498. Message-ID: <19990118093231.18443.qmail@hotmail.com>
  1499. Vishal Bhatia <vishal@deja.com> 1999-01-17 17:41:10
  1500. @2639 Duplicate saved ops (CC.pm)
  1501. Message-Id: <19990118004111.29667.qmail@hotmail.com>
  1502. Gurusamy Sarathy <gsar@cpan.org> 1999-01-17 10:12:42
  1503. @2621 fix change#2602 to not used hard coded constants
  1504. Vishal Bhatia <vishal@deja.com> 1999-01-11 09:02:41
  1505. @2602 B::MAGIC::PTR doesnot check for valid length.
  1506. Lines: 134
  1507. Message-ID: <MLIST_19990111052126.27966.qmail@hotmail.com>
  1508. Vishal Bhatia <vishal@deja.com> 1999-01-08 13:43:36
  1509. @2600 B::CC::pp_rv2cv problem
  1510. To: perl5-porters@perl.org
  1511. Message-ID: <MLIST_19990108101557.4481.qmail@hotmail.com>
  1512. Vishal Bhatia <vishal@deja.com> 1998-12-16 04:17:03
  1513. @2525 More minor Fixes in CC.pm/C.pm
  1514. To: perl5-porters@perl.org
  1515. Message-ID: <MLIST_199812160055.QAA06272@f10.hotmail.com>
  1516. Vishal Bhatia <vishal@deja.com> 1998-12-10 09:30:02
  1517. @2524 Re:perlcc -e 'my $x = shift; print +($x ?...' failure
  1518. To: perl5-porters@perl.org
  1519. Cc: rmb1@cise.npl.co.uk, nick@ni-s.u-net.com
  1520. Message-ID: <MLIST_19981210061651.29891.qmail@hotmail.com>
  1521. (Nick's part was applied earlier, in change #2460)
  1522. Vishal Bhatia <vishal@deja.com> 1998-12-09 07:50:30
  1523. @2523 return value of perlcc/B::CC generated functions.
  1524. To: nick@ni-s.u-net.com
  1525. Cc: perl5-porters@perl.org
  1526. Message-ID: <MLIST_19981209043146.16829.qmail@hotmail.com>
  1527. Vishal Bhatia <vishal@deja.com> 1998-12-20 20:03:25
  1528. @2492 pp_next/pp_last/pp_redo problems
  1529. To: perl5-porters@perl.org
  1530. Message-ID: <19981221030326.27660.qmail@hotmail.com>
  1531. (slightly reformatted)
  1532. Nick Ing-Simmons <nick@ing-simmons.net> 1999-01-02 14:06:30
  1533. @2551 Export constant subs from B.xs for op.h, cop.h and a few others.
  1534. Use them in various B::* rather than have local defs.
  1535. Nick Ing-Simmons <nick@ing-simmons.net> 1999-01-02 10:04:02
  1536. @2550 Integrate ext/B changes from //depot/cfgperl
  1537. 'copy in' ext/B/B.xs
  1538. (@2460..) 'merge in' ext/B/B/C.pm ext/B/B/CC.pm
  1539. ext/B/B/Stackobj.pm (@2524..)
  1540. Nick Ing-Simmons <nick@ing-simmons.net> 1999-01-02 10:04:02
  1541. @2491 Integrate ext/B changes from //depot/cfgperl
  1542. Gurusamy Sarathy <gsar@cpan.org> 1998-09-23 09:52:46
  1543. B::Asmdata define PUT_svindex(), PUT_opindex()
  1544. Nick Ing-Simmons <nick@ing-simmons.net> 1998-12-20 14:21:29
  1545. @2491 Save _all_ GV's which have SV, AV or HV set.
  1546. Vishal Bhatia <vishal@deja.com> 1998-12-09 23:16:50
  1547. @2461 1. Fixes the bug reported by Robin Barker <rmb1@cise.npl.co.uk>
  1548. 2. Fixes the bug regarding return value of c-functions generated out
  1549. of perl subs. ( Just includes the patch I sent earlier)
  1550. 3. Incorporates the other changes that need to be done to get CC.pm
  1551. use ISA search for packages and methods on the same lines as C.pm
  1552. Vishal would appreciate comments about B::Stackobj changes from
  1553. someone knowing that module well.
  1554. Nick Ing-Simmons <nik@tiuk.ti.com> 1998-12-05 17:14:42
  1555. @2453 Avoid hard-coding op numbers
  1556. Update CC.pm to save %INC, and to co-exist with new C.pm
  1557. Nick Ing-Simmons <nik@tiuk.ti.com> 1998-12-05 11:44:28
  1558. @2452 B.xs had its own code to calculate hash() which differed from
  1559. PERL_HASH in hv.h - so all saved HV's were mangled - including %INC
  1560. which meant that run-time require was re-done.
  1561. Removed some debug from C.pm
  1562. Nick Ing-Simmons <nik@tiuk.ti.com> 1998-12-04 22:58:49
  1563. @2451 Snapshot of re-worked B::C which compiles Tk apps at least as
  1564. well as _54, but with pre-scan for classes and save the ISA scheme.
  1565. Vishal Bhatia <vishal@deja.com> 1998-12-04 18:58:44
  1566. @2450 Vishal Bhatia's patch as a basis.
  1567. Nick Ing-Simmons <nik@tiuk.ti.com> 1998-11-28 23:46:57
  1568. @2378 More C.pm tweaks
  1569. Save globs even if we have saved cv itself before - may be imported.
  1570. While we don't save "bootstrap" CV we need to provide a stub,
  1571. so that if we require it later we don't fall through and attempt
  1572. to DynaLoad module again.
  1573. Attempt to save %INC so that "require" does not reload things
  1574. we have compiled-in (does not work right yet - seems to be due
  1575. to PL_incgv being created in perl_parse() current scheme setting
  1576. GvHV() is "better" than saving the glob, but still does not
  1577. work as I expect).
  1578. Nick Ing-Simmons <nik@tiuk.ti.com> 1998-11-27 22:10:27
  1579. @2332 Handle INIT list in C.pm
  1580. 1. Provide init_av() from B.xs
  1581. 2. Export it in B.pm
  1582. 3. Use it in C.pm
  1583. Also disable some pruning in savecv() which seems to undo
  1584. my previous patch.
  1585. Experimental feature - save pathnames of .so files in easily
  1586. grep-able form for use in wrapper to feed to linker.
  1587. Gurusamy Sarathy <gsar@cpan.org> 1998-11-27 15:41:38
  1588. @2324 B::C tweaks to allow Tk compiles from Nick Ing-Simmons
  1589. Vishal Bhatia <vishal@deja.com> 1998-10-29 00:45:32
  1590. @2146 hand-apply whitespace-mutiliated patch
  1591. Message-ID: <19981029074534.2334.qmail@hotmail.com>
  1592. Subject: [PATCH 5.005_52]Compiling modules,more bugfixes for B
  1593. Vishal Bhatia <vishal@deja.com> 1998-10-22 00:59:03
  1594. @2072 implement C<goto &func> and other fixes (via private mail)
  1595. Message-Id: <19981022055904.20083.qmail@hotmail.com>
  1596. Subject: [PATCH 5.005_52] More fixes for B
  1597. Vishal Bhatia <vishal@deja.com> 1998-10-11 20:41:38
  1598. @1993 fix bug in B::CC::pp_sassign()
  1599. Message-ID: <19981012014139.19614.qmail@hotmail.com>
  1600. Subject: B::CC problems with pp_sassign routine
  1601. Jarkko Hietaniemi <jhi@iki.fi> 1998-10-17 15:17:19
  1602. @2005 Integrate mainperl.
  1603. Gurusamy Sarathy <gsar@cpan.org> 1998-09-23 11:52:46
  1604. @1842 define PUT_svindex(), PUT_opindex()
  1605. Gurusamy Sarathy <gsar@cpan.org> 1998-08-02 07:09:35
  1606. @1708 fixes for pod noises
  1607. Gurusamy Sarathy <gsar@cpan.org> 1998-07-22 02:08:00
  1608. @1618 fix up B modules for PL_* changes
  1609. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1998-07-21 18:13:16
  1610. @1617 Compiler docs for 5.005
  1611. Message-Id: <199807211713.SAA20735@sable.ox.ac.uk>
  1612. Gurusamy Sarathy <gsar@cpan.org> 1998-07-22 01:29:09
  1613. @1616 s/PL_sv/PL_bytecode_sv/ etc., so we have unique, case-insensitive
  1614. names
  1615. Gurusamy Sarathy <gsar@cpan.org> 1998-07-21 07:12:00
  1616. @1611 fix bytecode.pl with moved var names
  1617. Gurusamy Sarathy <gsar@cpan.org> 1998-07-21 05:31:13
  1618. @1608 part 2 of PERL_OBJECT fixes (globals in bytecode.h moved to intrpvar.h)
  1619. Gurusamy Sarathy <gsar@cpan.org> 1998-07-21 05:29:10
  1620. @1607 part 1 of PERL_OBJECT fixes for new var names
  1621. Gurusamy Sarathy <gsar@cpan.org> 1998-07-20 09:38:39
  1622. @1578 complete s/foo/PL_foo/ changes (all escaped cases identified with
  1623. brute force search script). Result builds and passes all tests on
  1624. Solaris. win32 and PERL_OBJECT are still untested.
  1625. Nick Ing-Simmons <nick@ing-simmons.net> 1998-07-18 13:53:03
  1626. PL_ prefix to all perlvars, part1
  1627. Builds and passes all tests at one limit i.e. -DPERL_GLOBAL_STRUCT
  1628. Ilya Zakharevich <ilya@math.ohio-state.edu> 1998-07-15 06:10:36
  1629. @1548 Minor improvements to perlcc
  1630. Message-Id: <199807151010.GAA11270@monk.mps.ohio-state.edu>
  1631. Gurusamy Sarathy <gsar@cpan.org> 1998-07-15 10:01:41
  1632. @1516 add stub docs for ext/B, other minor tweaks
  1633. Gurusamy Sarathy <gsar@cpan.org> 1998-07-09 05:37:48
  1634. get it building again on win32
  1635. Gurusamy Sarathy <gsar@cpan.org> 1998-07-04 05:02:01
  1636. @1292 fix perlcc to not rm output file, and other -w(arts)
  1637. Stephen McCamant <alias@mcs.com> 1998-06-22 21:19:43
  1638. @1200 Inheritance of B:: classes
  1639. Message-Id: <m0yoIgR-000EP2C@alias-2.pr.mcs.net>
  1640. Gurusamy Sarathy <gsar@cpan.org> 1998-06-19 17:22:23
  1641. update repository copy of Asmdata.pm after `perl bytecode.pl`
  1642. Gurusamy Sarathy <gsar@cpan.org> 1998-06-11 02:59:23
  1643. @1113 fix outdated bytecode.pl
  1644. Nick Ing-Simmons <nick@ing-simmons.net> 1998-05-14 18:09:01
  1645. @972 Changes to allow compiler with gcc-2.8.1 in C++ mode,
  1646. Remove K&R style functions, avoid struct/typedef clash.
  1647. Ed Peschko <epeschko@den-mdev1> 1998-04-29 21:02:36
  1648. @963 [ PATCH 5.004_64 ] Integrated regression tests for compiler
  1649. added perlcc.PL
  1650. Ilya Zakharevich <ilya@math.ohio-state.edu> 1998-04-08 03:21:03
  1651. @942 Subject: [PATCH 5.004_64] Cryptic error from B::CC
  1652. Date: Sat, 11 Apr 1998 19:52:25 -0400 (EDT)
  1653. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1998-04-14 16:22:51
  1654. @888 [compiler] CC did "<<" instead of ">>" for right-shift on ints.
  1655. Charles Bailey <bailey@newman.upenn.edu> 1998-03-02 01:48:27
  1656. Miscellaneous minor fixes
  1657. Spider Boardman <spider@orb.nashua.nh.us> 1998-03-01 02:02:47
  1658. Almost OK: 5.004_61 (threads, perlio)
  1659. Andrew Cohen <cohen@andy.bu.edu> 1998-02-27 20:03:29
  1660. Change getc/fread to PerlIO_getc/fread in bytecode.h:
  1661. Subject: [PATCH 5.004_61] bunch of small patches
  1662. Nick Ing-Simmons <nick@ing-simmons.net> 1998-02-28 11:31:15
  1663. Missed FREAD in bytecode.h
  1664. Cannot export svref_mutex in non-threaded perl
  1665. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1998-02-27 18:35:27
  1666. Change FREAD/FGETC to BGET_FREAD/BGET_FGETC to avoid clash with
  1667. preprocessor symbol on Digital UNIX.
  1668. Gurusamy Sarathy <gsar@cpan.org> 1998-02-26 03:56:19
  1669. @589 [win32] various cleanups so that B can be built as "just another extension"
  1670. - export symbols needed for building B
  1671. - bset_obj_store() is needed by byterun(), so define it there instead
  1672. of at B.xs, and export it
  1673. - freadpv() is only used in B.xs, so move it there
  1674. - byte*.h are now included by perl.h
  1675. - regenerate embed*.h
  1676. Gurusamy Sarathy <gsar@cpan.org> 1998-02-22 02:40:56
  1677. @568 [win32] get compiler building under win32 (needed Makefile.PL
  1678. hacks that could be applicable to other platforms)
  1679. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1998-02-25 17:44:34
  1680. @585 More compiler tweaks.
  1681. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1998-02-20 18:23:47
  1682. @565 Remove compiler files from their old lib/B locations. The compiler
  1683. now builds by default (without the byteperl executable so far) and
  1684. seems to work at least minimally.
  1685. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1998-02-20 18:05:33
  1686. @564 Move lib/B/... and lib/[BO].pm over to where they should be,
  1687. under ext/B.
  1688. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1998-02-20 17:54:58
  1689. @563 Start getting compiler to work when built with the core.
  1690. [Still won't work as of this change.]
  1691. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1998-02-20 16:42:13
  1692. * Merge perlext/Compiler/... into mainline. Some files move to
  1693. ext/B/..., some to lib/B/..., O.pm and B.pm go in lib and some
  1694. move to the base perl directory (e.g. headers). Will need some
  1695. cleaning up before it builds properly, I would guess.
  1696. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1998-02-20 16:39:38
  1697. * [compiler] Win32 changes from Sarathy, tweaked slightly by me.
  1698. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1998-02-17 17:50:50
  1699. * Assorted changes to the compiler
  1700. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1997-12-17 10:59:40
  1701. * Fix typo in compiler B/C.pm.
  1702. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1997-12-10 18:33:53
  1703. Alpha5
  1704. * Start overhauling compiler. It was working at least minimally
  1705. right up until the final tweak of B.xs to add threadsv_names
  1706. at which point building it provokes a seg fault in perl while
  1707. doing the xsubpp :-(.
  1708. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1997-09-03 12:31:48
  1709. * Make compiler build/work with devel 5.005
  1710. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1997-07-05 11:58:05
  1711. * Change %lx to %x in B::CV::save to prevent some CV
  1712. fields becoming 0 in the init section. Add missing
  1713. write_back in B::Stackobj::Padsv::load_double to fix
  1714. test 22 of op/my.t.
  1715. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1997-07-05 11:58:05
  1716. * B::CC::pp_padsv must cope with vivify_ref (5.004)
  1717. as well as provide_ref (5.003)
  1718. Malcolm Beattie <mbeattie@sable.ox.ac.uk> 1997-05-03 14:47:06
  1719. Alpha 4
  1720. * initial check in of compiler
  1721. from version Alpha a3 to a4