Major release of xocc C compiler, 0.9.2, based on BSD license!

2019-06-09 Thread steven.known
Hello everybody, I'm glad to announce the major release of xocc C compiler, 0.9.2, based on BSD license. xocc is a C compiler that based on XOC infrastructure, XGEN code generator and XOCFE C frontend. Both xocc, XOC, XGEN, and XOCFE are based on BSD license. XOC provides multi-level

Re: Building libssp on a system without gets()

2019-06-09 Thread Gerald Pfeifer
On Sun, 5 Aug 2018, Florian Weimer wrote: >> some folks in FreeBSD-land have worked to remove all uses of gets() >> and in fact the gets() function itself. >> >> Generally GCC builds just fine in such an environment, except for >> libssp where libssp/gets-chk.c has the following: >> >>char * >

calling exit in response to an error shouldn't be an error...

2019-06-09 Thread L A Walsh
If I have a function returning NULL on error (including EOF). So the program calls exit if the function doesn't return a non-zero value (func() || exit(1)). I have: --/tmp/ex.c-- main() { char * buf[512]; while (gets(buf) || exit(0)) puts(buf); } -- compile w/: gcc -fpermissive --no-warnin

Re: calling exit in response to an error shouldn't be an error...

2019-06-09 Thread Zan Lynx
I am not a GCC developer, just a regular user of C. But I have some comments below: On 6/9/2019 3:21 PM, L A Walsh wrote: If I have a function returning NULL on error (including EOF). So the program calls exit if the function doesn't return a non-zero value (func() || exit(1)). I have: --/tm

gcc-10-20190609 is now available

2019-06-09 Thread gccadmin
Snapshot gcc-10-20190609 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/10-20190609/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 10 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk revision