[hackers] [scc] [cc2]Fix segmentation fault in writeout function || Pekka Jylhä-Ollila

2016-04-11 Thread git
commit a1db98fafab9e5f348a1a1e16564caad4fb59f52 Author: Pekka Jylhä-Ollila AuthorDate: Tue Apr 12 07:46:13 2016 +0200 Commit: Roberto E. Vargas Caballero CommitDate: Tue Apr 12 07:46:38 2016 +0200 [cc2]Fix segmentation

[hackers] [scc][PATCH] Fix NULL pointer dereference

2016-04-11 Thread Alexander Krotov
--- cc1/decl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cc1/decl.c b/cc1/decl.c index 1a22c44..f82e996 100644 --- a/cc1/decl.c +++ b/cc1/decl.c @@ -216,7 +216,7 @@ krfun(Type *tp, Type *types[], Symbol *syms[], int *ntypes, int *nsyms)

[hackers] [PATCH] [cc2] Fix segmentation fault in writeout function

2016-04-11 Thread Pekka Jylhä-Ollila
This patch fixes a segfault when more than one function is defined in the IR input. --- cc2/node.c | 2 +- cc2/parser.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cc2/node.c b/cc2/node.c index 4bfc353..ef91dce 100644 --- a/cc2/node.c +++ b/cc2/node.c @@ -69,7 +69,7 @@

Re: [hackers] [farbfeld] Remove dimension checks || FRIGN

2016-04-11 Thread FRIGN
On Sun, 10 Apr 2016 23:49:49 +0100 Dimitris Papastamos wrote: Hey Dimitris, > One problem I see with this approach is that an error will potentially go > unnoticed and require more time to diagnose than necessary. it's the same debate as with UTF-parsers and how liberal they

Re: [hackers] [farbfeld] Remove dimension checks || FRIGN

2016-04-11 Thread Markus Teich
k...@shike2.com wrote: > > One problem I see with this approach is that an error will potentially go > > unnoticed and require more time to diagnose than necessary. > > Indeed. Heyho, what about still checking dimensions, but removing the `return 1`, so you get garbage with an error message?

Re: [hackers] [farbfeld] Remove dimension checks || FRIGN

2016-04-11 Thread k0ga
> One problem I see with this approach is that an error will potentially go > unnoticed and require more time to diagnose than necessary. Indeed.

[hackers] [scc] [cc2-qbe] Add skeleton for function code generation || Roberto E. Vargas Caballero

2016-04-11 Thread git
commit 734448b3325cec5c59a3ecc611a524a9719c4c75 Author: Roberto E. Vargas Caballero AuthorDate: Mon Apr 11 17:16:01 2016 +0200 Commit: Roberto E. Vargas Caballero CommitDate: Mon Apr 11 17:16:01 2016 +0200 [cc2-qbe] Add

[hackers] [scc] [cc2] Fix initialization of parser variables || Roberto E. Vargas Caballero

2016-04-11 Thread git
commit b054b416db6ea7150a34823cb898e45c42d5574c Author: Roberto E. Vargas Caballero AuthorDate: Mon Apr 11 16:52:23 2016 +0200 Commit: Roberto E. Vargas Caballero CommitDate: Mon Apr 11 16:52:23 2016 +0200 [cc2] Fix