fixed bug. Reenabled O3.

This commit is contained in:
Daniel Holden
2015-11-09 13:34:39 +00:00
parent f8c9429a10
commit 613fc26729
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
CC = gcc
STND=-ansi
CFLAGS = $(STND) -pedantic -O0 -g -Wall -Werror -Wextra -Wformat=2 -Wshadow \
CFLAGS = $(STND) -pedantic -O3 -g -Wall -Werror -Wextra -Wformat=2 -Wshadow \
-Wno-long-long -Wno-overlength-strings -Wno-format-nonliteral -Wcast-align \
-Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wredundant-decls \
-Wnested-externs -Wmissing-include-dirs -Wswitch-default

2
mpc.c
View File

@@ -2301,7 +2301,7 @@ mpc_val_t *mpcf_trd_free(int n, mpc_val_t **xs) { return mpcf_nth_free(n, xs, 2)
mpc_val_t *mpcf_strfold(int n, mpc_val_t **xs) {
int i;
size_t l;
size_t l = 0;
if (n == 0) { return calloc(1, 1); }