From 218b070bfd3eb8a8b4007083cb86d2a30c2d1922 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 21 Jun 2007 18:34:17 +0000 Subject: 2007-06-21 Joel Sherrill * custom/Linux-posix.cfg: Merge patch from Till Straumann which would work except gcc core dumps with an ICE when may_alias is used in this code. I filed a GCC PR and reduced optimization to -O0 and it does run again. --- make/ChangeLog | 7 +++++++ make/custom/Linux-posix.cfg | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'make') diff --git a/make/ChangeLog b/make/ChangeLog index bbaee45046..046a1a6af7 100644 --- a/make/ChangeLog +++ b/make/ChangeLog @@ -1,3 +1,10 @@ +2007-06-21 Joel Sherrill + + * custom/Linux-posix.cfg: Merge patch from Till Straumann which would + work except gcc core dumps with an ICE when may_alias is used in this + code. I filed a GCC PR and reduced optimization to -O0 and it does + run again. + 2007-06-21 Joel Sherrill * Templates/Makefile.leaf: At suggestion of Robert Grimes add commented diff --git a/make/custom/Linux-posix.cfg b/make/custom/Linux-posix.cfg index 7a95d5df5d..7356c3e60a 100644 --- a/make/custom/Linux-posix.cfg +++ b/make/custom/Linux-posix.cfg @@ -19,7 +19,7 @@ include $(RTEMS_ROOT)/make/custom/default.cfg CPU_CFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE # optimize flag: typically -O2 -CFLAGS_OPTIMIZE_V = -O2 -g +CFLAGS_OPTIMIZE_V = -O0 -g define make-exe $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS) -- cgit v1.2.3