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



--- Comment #28 from Jack Howarth <howarth at nitro dot med.uc.edu> 2013-02-01 
03:00:37 UTC ---

qsort version of patch works with trivial shared lib test code of...



% cat libcov.C

struct c18 { 

  virtual void bar() { }

};

c18 ret;

% cat covmain.C

int main () {

}

% g++-fsf-4.8 -shared -fsanitize=address -o libcov.dylib libcov.C

% g++-fsf-4.8 -fsanitize=address covmain.C libcov.dylib

% ./a.out

%



This test case segfaults when compiled stock gcc trunk.

Reply via email to