On 2012-11-02 15:57 , Dodji Seketeli wrote:
/* AddressSanitizer, a fast memory error detector. - Copyright (C) 2011 Free Software Foundation, Inc. + Copyright (C) 2011, 2012 Free Software Foundation, Inc.
I *think* we should only mention 2012, but I don't know if code in branches counts for the copyright years.
+ /* Address Sanitizer needs porting to each target architecture. */ + if (flag_asan && targetm.asan_shadow_offset == NULL) + { + warning (0, "-fasan not supported for this target");
Hm, ASAN's flag is now -fsanitizer=[asan,tsan,memory] or some such. We will need to make that change. But it can wait until after the initial port is in trunk.
This patch is OK. Diego.