<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tinycc/tests/tests2/61_undefined_enum.expect, branch main</title>
<subtitle>Tiny C Compiler by Fabrice Bellard Git mirror of the final release by Bellard, discarding all changes after. The repository at https://repo.or.cz/tinycc.git has become untrustworthy. Also the tcc sources have become tainted with AI slop.</subtitle>
<id>https://git.datenwolf.net/tinycc/atom/tests/tests2/61_undefined_enum.expect?h=main</id>
<link rel='self' href='https://git.datenwolf.net/tinycc/atom/tests/tests2/61_undefined_enum.expect?h=main'/>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/'/>
<updated>2017-07-20T20:21:27Z</updated>
<entry>
<title>tcc -dt -run ... : simpler is better</title>
<updated>2017-07-20T20:21:27Z</updated>
<author>
<name>grischka</name>
<email>grischka</email>
</author>
<published>2017-07-20T20:21:27Z</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=0cc24d0e8487eaf53bb2849fef7e438a8e8fc94d'/>
<id>urn:sha1:0cc24d0e8487eaf53bb2849fef7e438a8e8fc94d</id>
<content type='text'>
* -dt now with lowercase t

* test snippets now separated by real preprocessor statements
  which is valid C also for other compilers

    #if defined test_xxx
       &lt; test snippet x &gt;
    #elif defined test_yyy
       &lt; test snippet y &gt;
    #elif ...
    #endif

* simpler implementation, behaves like -run if no 'test_...' macros
  are seen, works with -E too

* for demonstration I combined some of the small tests for errors
  and warnings (56..63,74) in "60_errors_and_warnings.c"

Also:
* libtcc.c:
  put tcc_preprocess() and tcc_assemble() under the setjmp clause
  to let them return to caller after errors.  This is for -dt -E.
* tccgen.c:
  - get rid of save/restore_parse_state(), macro_ptr is saved
    by begin_macro anyway, now line_num too.
  - use expr_eq for parsing _Generic's controlling_type
  - set nocode_wanted with const_wanted. too, This is to keep
    VT_JMP on vtop when parsing preprocessor expressions.
* tccpp.c: tcc -E: suppress trailing whitespace from lines with
  comments (that -E removes) such as
       NO_GOTPLT_ENTRY,\t    /* never generate ... */
</content>
</entry>
<entry>
<title>Fix type parsing</title>
<updated>2016-03-24T14:44:01Z</updated>
<author>
<name>Michael Matz</name>
<email>matz@suse.de</email>
</author>
<published>2016-03-24T14:44:01Z</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=f85db99ff0b48b5837fa985dcf9c58190b35f96a'/>
<id>urn:sha1:f85db99ff0b48b5837fa985dcf9c58190b35f96a</id>
<content type='text'>
the check on incomplete struct/union/enum types was too early,
disallowing mixed specifiers and qualifiers.  Simply rely on
the size (-&gt;c) field for that.  See testcases.
</content>
</entry>
<entry>
<title>Add tests for previous fixes</title>
<updated>2014-03-30T04:56:55Z</updated>
<author>
<name>Thomas Preud'homme</name>
<email>robotux@celest.fr</email>
</author>
<published>2014-03-30T04:55:32Z</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=80811671d439e4953961e3bcbe7ce09a34c96d2a'/>
<id>urn:sha1:80811671d439e4953961e3bcbe7ce09a34c96d2a</id>
<content type='text'>
Add tests for the fixes made in commits
76cb1144ef91924c53c57ea71e6f67ce73ce1cc6,
a465b7f58fdea15caa1bfb81ff5e985c94c4df4a,
0f522fb32a635dafce30f3ce3ff2cb15bcec809e,
82969f045c99b4d1ef833de35117c17b326b46c0 and
673befd2d7745a90c1c4fcb6d2f0e266c04f8c97.
</content>
</entry>
</feed>
