[Bug debug/56307] FAIL: gcc.dg/tree-ssa/pr55579.c scan-tree-dump esra "Created a debug-only replacement for s"

dave.anglin at bell dot net gcc-bugzilla@gcc.gnu.org
Wed Mar 13 01:50:00 GMT 2013


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

--- Comment #12 from dave.anglin at bell dot net 2013-03-13 01:50:05 UTC ---
On 12-Mar-13, at 1:48 PM, jamborm at gcc dot gnu.org wrote:

> I'm just guessing, but is it possible that MAY_HAVE_DEBUG_STMTS is 0
>
> even with -g on hppa-hpux?

Yes, your guess is correct.

1) In dbx_debug_hooks, var_location is debug_nothing_rtx.
2) This causes flag_var_tracking to be set to 0 at toplev.c:1412.
3) flag_selective_scheduling and flag_selective_scheduling2 are
both 0, so flag_var_tracking_assignments is set to flag_var_tracking
at toplev.c:1435.  This only happens when flag_var_tracking_assignments
initially has the AUTODETECT_VALUE.  Explicitly passing the
-fvar_tracking_assignments option overrides this.

--
John David Anglin    dave.anglin@bell.net



More information about the Gcc-bugs mailing list