This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/55309] New: gcc's address-sanitizer 66% slower than clang's


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55309

             Bug #: 55309
           Summary: gcc's address-sanitizer 66% slower than clang's
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: other
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: markus@trippelsdorf.de


Comparing gcc build times:
CC="clang -fsanitize=address -w" CXX="clang++ -fsanitize=address -w"
~/gcc/configure --disable-bootstrap --disable-werror --disable-multilib
--enable-languages=c,c++
with
CC="gcc -faddress-sanitizer" CXX="g++ -faddress-sanitizer" ...
and
CC="gcc -fno-var-tracking -faddress-sanitizer" CXX="g++ -fno-var-tracking
-faddress-sanitizer" ...

Clang : nice -n 19 make -j4  1173.74s user 104.73s system 325% cpu 6:32.18
total
gcc   : nice -n 19 make -j4  3653.30s user 122.27s system 369% cpu 17:00.77
total
gcc_no: nice -n 19 make -j4  2925.20s user 116.42s system 357% cpu 14:11.52
total

"perf top" shows references_value_p() and value_member() on top.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]