fixed bug. Reenabled O3.
This commit is contained in:
2
Makefile
2
Makefile
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
CC = gcc
|
CC = gcc
|
||||||
STND=-ansi
|
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 \
|
-Wno-long-long -Wno-overlength-strings -Wno-format-nonliteral -Wcast-align \
|
||||||
-Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wredundant-decls \
|
-Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wredundant-decls \
|
||||||
-Wnested-externs -Wmissing-include-dirs -Wswitch-default
|
-Wnested-externs -Wmissing-include-dirs -Wswitch-default
|
||||||
|
2
mpc.c
2
mpc.c
@@ -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) {
|
mpc_val_t *mpcf_strfold(int n, mpc_val_t **xs) {
|
||||||
int i;
|
int i;
|
||||||
size_t l;
|
size_t l = 0;
|
||||||
|
|
||||||
if (n == 0) { return calloc(1, 1); }
|
if (n == 0) { return calloc(1, 1); }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user