public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/40473] -mno-sched-prolog breaks function parameter debug location lists
2009-06-17 9:21 [Bug target/40473] New: -mno-sched-prolog breaks function parameter debug location lists amodra at bigpond dot net dot au
@ 2009-06-17 9:21 ` amodra at bigpond dot net dot au
2009-06-17 13:12 ` Andrew Thomas Pinski
2009-06-17 13:13 ` pinskia at gmail dot com
` (6 subsequent siblings)
7 siblings, 1 reply; 10+ messages in thread
From: amodra at bigpond dot net dot au @ 2009-06-17 9:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from amodra at bigpond dot net dot au 2009-06-17 09:21 -------
See http://sourceware.org/bugzilla/show_bug.cgi?id=10231
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40473
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/40473] New: -mno-sched-prolog breaks function parameter debug location lists
@ 2009-06-17 9:21 amodra at bigpond dot net dot au
2009-06-17 9:21 ` [Bug target/40473] " amodra at bigpond dot net dot au
` (7 more replies)
0 siblings, 8 replies; 10+ messages in thread
From: amodra at bigpond dot net dot au @ 2009-06-17 9:21 UTC (permalink / raw)
To: gcc-bugs
/* When compiled with -g -O -mno-sched-prolog, the debug info location
lists for p1 and p2 do not cover the start of f. There are other
inaccuracies, but not covering the start of the function is specific
to -nno-sched-prolog. */
int f (int p1, int p2)
{
extern int bar (int);
int x, y;
for (x = p1, y = 0; x < p2; x++)
y += bar (x);
return y;
}
--
Summary: -mno-sched-prolog breaks function parameter debug
location lists
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: amodra at bigpond dot net dot au
GCC target triplet: powerpc-*-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40473
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Bug target/40473] -mno-sched-prolog breaks function parameter debug location lists
2009-06-17 9:21 ` [Bug target/40473] " amodra at bigpond dot net dot au
@ 2009-06-17 13:12 ` Andrew Thomas Pinski
0 siblings, 0 replies; 10+ messages in thread
From: Andrew Thomas Pinski @ 2009-06-17 13:12 UTC (permalink / raw)
To: gcc-bugzilla; +Cc: gcc-bugs
This option should just be removed.
Sent from my iPhone
On Jun 17, 2009, at 2:21 AM, "amodra at bigpond dot net dot au" <gcc-bugzilla@gcc.gnu.org
> wrote:
>
>
> ------- Comment #1 from amodra at bigpond dot net dot au 2009-06-17
> 09:21 -------
> See http://sourceware.org/bugzilla/show_bug.cgi?id=10231
>
>
> --
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40473
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/40473] -mno-sched-prolog breaks function parameter debug location lists
2009-06-17 9:21 [Bug target/40473] New: -mno-sched-prolog breaks function parameter debug location lists amodra at bigpond dot net dot au
2009-06-17 9:21 ` [Bug target/40473] " amodra at bigpond dot net dot au
@ 2009-06-17 13:13 ` pinskia at gmail dot com
2009-06-17 14:36 ` amodra at bigpond dot net dot au
` (5 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: pinskia at gmail dot com @ 2009-06-17 13:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gmail dot com 2009-06-17 13:12 -------
Subject: Re: -mno-sched-prolog breaks function parameter debug location lists
This option should just be removed.
Sent from my iPhone
On Jun 17, 2009, at 2:21 AM, "amodra at bigpond dot net dot au"
<gcc-bugzilla@gcc.gnu.org
> wrote:
>
>
> ------- Comment #1 from amodra at bigpond dot net dot au 2009-06-17
> 09:21 -------
> See http://sourceware.org/bugzilla/show_bug.cgi?id=10231
>
>
> --
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40473
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40473
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/40473] -mno-sched-prolog breaks function parameter debug location lists
2009-06-17 9:21 [Bug target/40473] New: -mno-sched-prolog breaks function parameter debug location lists amodra at bigpond dot net dot au
2009-06-17 9:21 ` [Bug target/40473] " amodra at bigpond dot net dot au
2009-06-17 13:13 ` pinskia at gmail dot com
@ 2009-06-17 14:36 ` amodra at bigpond dot net dot au
2009-09-23 0:23 ` amodra at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: amodra at bigpond dot net dot au @ 2009-06-17 14:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from amodra at bigpond dot net dot au 2009-06-17 14:36 -------
Created an attachment (id=18016)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18016&action=view)
patch proposal
Actually, it doesn't look all that hard to fix. The attached patch is a little
horrible in that it doesn't use the normal method of insert_insn_on_edge(),
commit_edge_insertions(), but we are too late for that. I tried, and found
verify_flow_info() in commit_edge_insertions() was bombing on stuff already
present. Patch currently bootstrapping with BOOT_CFLAGS="-g -O2
-mno-sched-prolog".
--
amodra at bigpond dot net dot au changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |amodra at bigpond dot net
|dot org |dot au
Status|UNCONFIRMED |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40473
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/40473] -mno-sched-prolog breaks function parameter debug location lists
2009-06-17 9:21 [Bug target/40473] New: -mno-sched-prolog breaks function parameter debug location lists amodra at bigpond dot net dot au
` (2 preceding siblings ...)
2009-06-17 14:36 ` amodra at bigpond dot net dot au
@ 2009-09-23 0:23 ` amodra at gcc dot gnu dot org
2009-09-23 22:19 ` amodra at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: amodra at gcc dot gnu dot org @ 2009-09-23 0:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from amodra at gcc dot gnu dot org 2009-09-23 00:23 -------
Subject: Bug 40473
Author: amodra
Date: Wed Sep 23 00:23:24 2009
New Revision: 152056
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152056
Log:
PR target/40473
* config/rs6000/rs6000.c (rs6000_output_function_prologue): Don't
call final to emit non-scheduled prologue, instead insert at entry.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/rs6000/rs6000.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40473
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/40473] -mno-sched-prolog breaks function parameter debug location lists
2009-06-17 9:21 [Bug target/40473] New: -mno-sched-prolog breaks function parameter debug location lists amodra at bigpond dot net dot au
` (3 preceding siblings ...)
2009-09-23 0:23 ` amodra at gcc dot gnu dot org
@ 2009-09-23 22:19 ` amodra at gcc dot gnu dot org
2009-09-23 22:30 ` amodra at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: amodra at gcc dot gnu dot org @ 2009-09-23 22:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from amodra at gcc dot gnu dot org 2009-09-23 22:19 -------
Subject: Bug 40473
Author: amodra
Date: Wed Sep 23 22:19:05 2009
New Revision: 152103
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152103
Log:
PR target/40473
* config/rs6000/rs6000.c (rs6000_output_function_prologue): Don't
call final to emit non-scheduled prologue, instead insert at entry.
Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/config/rs6000/rs6000.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40473
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/40473] -mno-sched-prolog breaks function parameter debug location lists
2009-06-17 9:21 [Bug target/40473] New: -mno-sched-prolog breaks function parameter debug location lists amodra at bigpond dot net dot au
` (4 preceding siblings ...)
2009-09-23 22:19 ` amodra at gcc dot gnu dot org
@ 2009-09-23 22:30 ` amodra at gcc dot gnu dot org
2009-09-23 22:39 ` amodra at bigpond dot net dot au
2009-10-02 17:12 ` bergner at gcc dot gnu dot org
7 siblings, 0 replies; 10+ messages in thread
From: amodra at gcc dot gnu dot org @ 2009-09-23 22:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from amodra at gcc dot gnu dot org 2009-09-23 22:30 -------
Subject: Bug 40473
Author: amodra
Date: Wed Sep 23 22:30:05 2009
New Revision: 152105
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152105
Log:
PR target/40473
* config/rs6000/rs6000.c (rs6000_output_function_prologue): Don't
call final to emit non-scheduled prologue, instead insert at entry.
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/config/rs6000/rs6000.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40473
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/40473] -mno-sched-prolog breaks function parameter debug location lists
2009-06-17 9:21 [Bug target/40473] New: -mno-sched-prolog breaks function parameter debug location lists amodra at bigpond dot net dot au
` (5 preceding siblings ...)
2009-09-23 22:30 ` amodra at gcc dot gnu dot org
@ 2009-09-23 22:39 ` amodra at bigpond dot net dot au
2009-10-02 17:12 ` bergner at gcc dot gnu dot org
7 siblings, 0 replies; 10+ messages in thread
From: amodra at bigpond dot net dot au @ 2009-09-23 22:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from amodra at bigpond dot net dot au 2009-09-23 22:39 -------
.
--
amodra at bigpond dot net dot au changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40473
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/40473] -mno-sched-prolog breaks function parameter debug location lists
2009-06-17 9:21 [Bug target/40473] New: -mno-sched-prolog breaks function parameter debug location lists amodra at bigpond dot net dot au
` (6 preceding siblings ...)
2009-09-23 22:39 ` amodra at bigpond dot net dot au
@ 2009-10-02 17:12 ` bergner at gcc dot gnu dot org
7 siblings, 0 replies; 10+ messages in thread
From: bergner at gcc dot gnu dot org @ 2009-10-02 17:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from bergner at gcc dot gnu dot org 2009-10-02 17:12 -------
Subject: Bug 40473
Author: bergner
Date: Fri Oct 2 17:12:31 2009
New Revision: 152411
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152411
Log:
Backport from mainline:
2009-08-23 Alan Modra <amodra@bigpond.net.au>
PR target/41081
* config/rs6000/rs6000.md (rotlsi3_64, ashlsi3_64, lshrsi3_64,
ashrsi3_64): New.
Backport from 4.3 branch:
2009-09-25 Alan Modra <amodra@bigpond.net.au>
* config/rs6000/rs6000.md (load_toc_v4_PIC_3c): Correct POWER
form of instruction.
2009-09-23 Alan Modra <amodra@bigpond.net.au>
PR target/40473
* config/rs6000/rs6000.c (rs6000_output_function_prologue): Don't
call final to emit non-scheduled prologue, instead insert at entry.
Modified:
branches/ibm/gcc-4_3-branch/gcc/ChangeLog.ibm
branches/ibm/gcc-4_3-branch/gcc/config/rs6000/rs6000.c
branches/ibm/gcc-4_3-branch/gcc/config/rs6000/rs6000.md
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40473
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2009-10-02 17:12 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-17 9:21 [Bug target/40473] New: -mno-sched-prolog breaks function parameter debug location lists amodra at bigpond dot net dot au
2009-06-17 9:21 ` [Bug target/40473] " amodra at bigpond dot net dot au
2009-06-17 13:12 ` Andrew Thomas Pinski
2009-06-17 13:13 ` pinskia at gmail dot com
2009-06-17 14:36 ` amodra at bigpond dot net dot au
2009-09-23 0:23 ` amodra at gcc dot gnu dot org
2009-09-23 22:19 ` amodra at gcc dot gnu dot org
2009-09-23 22:30 ` amodra at gcc dot gnu dot org
2009-09-23 22:39 ` amodra at bigpond dot net dot au
2009-10-02 17:12 ` bergner at gcc dot gnu dot org
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).