Ulrich Lauther <[EMAIL PROTECTED]> writes: > on a AMD Opteron(tm) Processor 252 with gcc compiled for > x86_64-unknown-linux-gnu my program crashes when __builtin_return_address() > is called.
With what parameter? __builtin_return_address(0) should always work > This happens only in 64-bit mode AND optimization switched on. > The documentation says, __builtin_return_address may not work on all > hosts, but it doesn't speak about crash. > > Any hints? With non-zero parameter, the work __builtin_return_address() has to do to work correctly (and not crash) is so complicated, that you should abandon all hope. Cheers, -- In order to understand recursion you must first understand recursion. Remove /-nsp/ for email. _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus