public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "aoliva at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/47590] var tracking produces wrong debug in code where optimization is turned off using pragma
Date: Sat, 04 Jun 2011 10:16:00 -0000	[thread overview]
Message-ID: <bug-47590-4-MAkjxnPINK@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-47590-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #6 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2011-06-04 10:15:51 UTC ---
Author: aoliva
Date: Sat Jun  4 10:15:48 2011
New Revision: 174637

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174637
Log:
PR debug/47590
* target.def (delay_sched2, delay_vartrack): New.
* doc/tm.texi.in: Update.
* doc/tm.texi: Rebuild.
* sched-rgn.c (gate_handle_sched2): Fail if delay_sched2.
* var-tracking.c (gate_handle_var_tracking): Likewise.
* config/bfin/bfin.c (bfin_flag_schedule_insns2): Drop.
(bfin_flag_var_tracking): Drop.
(output_file_start): Don't save and override flag_var_tracking.
(bfin_option_override): Ditto flag_schedule_insns_after_reload.
(bfin_reorg): Test original variables.
(TARGET_DELAY_SCHED2, TARGET_DELAY_VARTRACK): Define.
* config/ia64/ia64.c (ia64_flag_schedule_insns2): Drop.
(ia64_flag_var_tracking): Drop.
(TARGET_DELAY_SCHED2, TARGET_DELAY_VARTRACK): Define.
(ia64_file_start): Don't save and override flag_var_tracking.
(ia64_override_options_after_change): Ditto
flag_schedule_insns_after_reload.
(ia64_reorg): Test original variables.
* config/picochip/picochip.c (picochip_flag_schedule_insns2): Drop.
(picochip_flag_var_tracking): Drop.
(TARGET_DELAY_SCHED2, TARGET_DELAY_VARTRACK): Define.
(picochip_option_override): Don't save and override
flag_schedule_insns_after_reload.
(picochip_asm_file_start): Ditto flag_var_tracking.
(picochip_reorg): Test original variables.
* config/spu/spu.c (spu_flag_var_tracking): Drop.
(TARGET_DELAY_VARTRACK): Define.
(spu_var_tracking): New.
(spu_machine_dependent_reorg): Call it.
(asm_file_start): Don't save and override flag_var_tracking.

Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/config/bfin/bfin.c
    branches/gcc-4_6-branch/gcc/config/ia64/ia64.c
    branches/gcc-4_6-branch/gcc/config/picochip/picochip.c
    branches/gcc-4_6-branch/gcc/config/spu/spu.c
    branches/gcc-4_6-branch/gcc/doc/tm.texi
    branches/gcc-4_6-branch/gcc/doc/tm.texi.in
    branches/gcc-4_6-branch/gcc/sched-rgn.c
    branches/gcc-4_6-branch/gcc/target.def
    branches/gcc-4_6-branch/gcc/var-tracking.c


  parent reply	other threads:[~2011-06-04 10:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-02 16:06 [Bug debug/47590] New: " hariharans at picochip dot com
2011-02-02 16:08 ` [Bug debug/47590] " hariharans at picochip dot com
2011-02-02 16:09 ` hariharans at picochip dot com
2011-03-27 14:31 ` aoliva at gcc dot gnu.org
2011-03-27 14:36 ` aoliva at gcc dot gnu.org
2011-06-03  1:42 ` aoliva at gcc dot gnu.org
2011-06-04 10:16 ` aoliva at gcc dot gnu.org [this message]
2011-06-04 10:22 ` aoliva at gcc dot gnu.org
2011-11-10 16:40 ` hariharans at picochip dot com
2012-03-25 11:56 ` [Bug debug/47590] pragma optimize doesn't recompute derived options (was: var tracking produces wrong debug in code where optimization is turned off using pragma) aoliva at gcc dot gnu.org
2022-01-01  7:44 ` [Bug middle-end/47590] " pinskia at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-47590-4-MAkjxnPINK@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).