re PR middle-end/39497 (dfp.c:239: warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules)

2009-03-24  Richard Guenther  <rguenther@suse.de>

	PR middle-end/39497
	* Makefile.in (dfp.o-warn): Use -fno-strict-aliasing instead
	of -Wno-error.

From-SVN: r145057
This commit is contained in:
Richard Guenther 2009-03-25 12:00:32 +00:00 committed by Richard Biener
parent cd510f15b8
commit ae56044005
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2009-03-25 Richard Guenther <rguenther@suse.de>
PR middle-end/39497
* Makefile.in (dfp.o-warn): Use -fno-strict-aliasing instead
of -Wno-error.
2009-03-25 Andrey Belevantsev <abel@ispras.ru> 2009-03-25 Andrey Belevantsev <abel@ispras.ru>
* config/ia64/ia64.c (ia64_set_sched_flags): Zero spec_info->mask when * config/ia64/ia64.c (ia64_set_sched_flags): Zero spec_info->mask when

View File

@ -177,8 +177,8 @@ GCC_WARN_CFLAGS = $(LOOSE_WARN) $($(@D)-warn) $(NOCOMMON_FLAG) $($@-warn)
build/gengtype-lex.o-warn = -Wno-error build/gengtype-lex.o-warn = -Wno-error
# SYSCALLS.c misses prototypes # SYSCALLS.c misses prototypes
SYSCALLS.c.X-warn = -Wno-strict-prototypes -Wno-error SYSCALLS.c.X-warn = -Wno-strict-prototypes -Wno-error
# dfp.c contains alias violations # dfp.c contains many alias violations
dfp.o-warn = -Wno-error dfp.o-warn = -fno-strict-aliasing
# mips-tfile.c contains -Wcast-qual warnings. # mips-tfile.c contains -Wcast-qual warnings.
mips-tfile.o-warn = -Wno-error mips-tfile.o-warn = -Wno-error