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
---
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)
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 @@
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
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?
> One problem I see with this approach is that an error will potentially go
> unnoticed and require more time to diagnose than necessary.
Indeed.
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
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