public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/19192] [4.0/4.1 Regression] Current development gcc generates inaccurate line info for example code
       [not found] <bug-19192-9863@http.gcc.gnu.org/bugzilla/>
@ 2005-10-31  2:09 ` mmitchel at gcc dot gnu dot org
  2006-03-11  3:21 ` [Bug debug/19192] [4.0/4.1/4.2 " mmitchel at gcc dot gnu dot org
                   ` (19 subsequent siblings)
  20 siblings, 0 replies; 21+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-10-31  2:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from mmitchel at gcc dot gnu dot org  2005-10-31 02:09 -------
Marked as P5; this will never be release-critical.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug debug/19192] [4.0/4.1/4.2 Regression] Current development gcc generates inaccurate line info for example code
       [not found] <bug-19192-9863@http.gcc.gnu.org/bugzilla/>
  2005-10-31  2:09 ` [Bug debug/19192] [4.0/4.1 Regression] Current development gcc generates inaccurate line info for example code mmitchel at gcc dot gnu dot org
@ 2006-03-11  3:21 ` mmitchel at gcc dot gnu dot org
  2007-01-18  3:36 ` [Bug debug/19192] [4.0/4.1/4.2/4.3 " gdr at gcc dot gnu dot org
                   ` (18 subsequent siblings)
  20 siblings, 0 replies; 21+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-03-11  3:21 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.3                       |4.0.4


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug debug/19192] [4.0/4.1/4.2/4.3 Regression] Current development gcc generates inaccurate line info for example code
       [not found] <bug-19192-9863@http.gcc.gnu.org/bugzilla/>
  2005-10-31  2:09 ` [Bug debug/19192] [4.0/4.1 Regression] Current development gcc generates inaccurate line info for example code mmitchel at gcc dot gnu dot org
  2006-03-11  3:21 ` [Bug debug/19192] [4.0/4.1/4.2 " mmitchel at gcc dot gnu dot org
@ 2007-01-18  3:36 ` gdr at gcc dot gnu dot org
  2007-01-21 21:51 ` pinskia at gcc dot gnu dot org
                   ` (17 subsequent siblings)
  20 siblings, 0 replies; 21+ messages in thread
From: gdr at gcc dot gnu dot org @ 2007-01-18  3:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from gdr at gcc dot gnu dot org  2007-01-18 03:35 -------
won't fix for GCC-4.0.x


-- 

gdr at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.4                       |---


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug debug/19192] [4.0/4.1/4.2/4.3 Regression] Current development gcc generates inaccurate line info for example code
       [not found] <bug-19192-9863@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2007-01-18  3:36 ` [Bug debug/19192] [4.0/4.1/4.2/4.3 " gdr at gcc dot gnu dot org
@ 2007-01-21 21:51 ` pinskia at gcc dot gnu dot org
  2007-02-14  9:32 ` mmitchel at gcc dot gnu dot org
                   ` (16 subsequent siblings)
  20 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-21 21:51 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.2


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug debug/19192] [4.0/4.1/4.2/4.3 Regression] Current development gcc generates inaccurate line info for example code
       [not found] <bug-19192-9863@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2007-01-21 21:51 ` pinskia at gcc dot gnu dot org
@ 2007-02-14  9:32 ` mmitchel at gcc dot gnu dot org
  2008-07-04 16:49 ` [Bug debug/19192] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
                   ` (15 subsequent siblings)
  20 siblings, 0 replies; 21+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-14  9:32 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.2                       |4.1.3


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug debug/19192] [4.2/4.3/4.4 Regression] Current development gcc generates inaccurate line info for example code
       [not found] <bug-19192-9863@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2007-02-14  9:32 ` mmitchel at gcc dot gnu dot org
@ 2008-07-04 16:49 ` jsm28 at gcc dot gnu dot org
  2009-03-31 16:44 ` [Bug debug/19192] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  20 siblings, 0 replies; 21+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 16:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from jsm28 at gcc dot gnu dot org  2008-07-04 16:48 -------
Closing 4.1 branch.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.1/4.2/4.3/4.4 Regression]|[4.2/4.3/4.4 Regression]
                   |Current development gcc     |Current development gcc
                   |generates inaccurate line   |generates inaccurate line
                   |info for example code       |info for example code
   Target Milestone|4.1.3                       |4.2.5


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug debug/19192] [4.3/4.4/4.5 Regression] Current development gcc generates inaccurate line info for example code
       [not found] <bug-19192-9863@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2008-07-04 16:49 ` [Bug debug/19192] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
@ 2009-03-31 16:44 ` jsm28 at gcc dot gnu dot org
  2009-08-04 12:28 ` rguenth at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  20 siblings, 0 replies; 21+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31 16:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from jsm28 at gcc dot gnu dot org  2009-03-31 16:44 -------
Closing 4.2 branch.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.2/4.3/4.4/4.5 Regression]|[4.3/4.4/4.5 Regression]
                   |Current development gcc     |Current development gcc
                   |generates inaccurate line   |generates inaccurate line
                   |info for example code       |info for example code
   Target Milestone|4.2.5                       |4.3.4


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug debug/19192] [4.3/4.4/4.5 Regression] Current development gcc generates inaccurate line info for example code
       [not found] <bug-19192-9863@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2009-03-31 16:44 ` [Bug debug/19192] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
@ 2009-08-04 12:28 ` rguenth at gcc dot gnu dot org
  2010-03-21 12:23 ` steven at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  20 siblings, 0 replies; 21+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-04 12:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from rguenth at gcc dot gnu dot org  2009-08-04 12:26 -------
GCC 4.3.4 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.4                       |4.3.5


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug debug/19192] [4.3/4.4/4.5 Regression] Current development gcc generates inaccurate line info for example code
       [not found] <bug-19192-9863@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2009-08-04 12:28 ` rguenth at gcc dot gnu dot org
@ 2010-03-21 12:23 ` steven at gcc dot gnu dot org
  2010-03-21 12:23 ` steven at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  20 siblings, 0 replies; 21+ messages in thread
From: steven at gcc dot gnu dot org @ 2010-03-21 12:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from steven at gcc dot gnu dot org  2010-03-21 12:22 -------
With all attention going out to debug info in GCC 4.5, and with TER
more-or-less rewritten for GCC 4.5 -- perhaps re-evaluate this bug's priority?


-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu dot
                   |                            |org, matz at gcc dot gnu dot
                   |                            |org


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug debug/19192] [4.3/4.4/4.5 Regression] Current development gcc generates inaccurate line info for example code
       [not found] <bug-19192-9863@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2010-03-21 12:23 ` steven at gcc dot gnu dot org
@ 2010-03-21 12:23 ` steven at gcc dot gnu dot org
  2010-03-23 13:37 ` rguenth at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  20 siblings, 0 replies; 21+ messages in thread
From: steven at gcc dot gnu dot org @ 2010-03-21 12:23 UTC (permalink / raw)
  To: gcc-bugs



-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P5                          |P3


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug debug/19192] [4.3/4.4/4.5 Regression] Current development gcc generates inaccurate line info for example code
       [not found] <bug-19192-9863@http.gcc.gnu.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2010-03-21 12:23 ` steven at gcc dot gnu dot org
@ 2010-03-23 13:37 ` rguenth at gcc dot gnu dot org
  2010-03-23 15:23 ` jakub at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  20 siblings, 0 replies; 21+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-23 13:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from rguenth at gcc dot gnu dot org  2010-03-23 13:37 -------
Unassinging Andrew.  Raising priority to P2.

At -O2 we now optimize main () to

main ()
{
<bb 2>:
  # DEBUG a => 2
  # DEBUG b => 3
  # DEBUG c => 4
  # DEBUG a => 3
  # DEBUG b => 4
  [t.c : 13:22] printf ([t.c : 13] &[t.c : 13] "%d\n"[0], 9); [tail call]
  [t.c : 14:13] return;

}

at -O1 we get

<bb 2>:
  # DEBUG a => 2
  # DEBUG b => 3
  # DEBUG c => 4
  [t.c : 8:32] D.2741_4 = add2 (3, 4);
  [t.c : 8:15] D.2740_5 = D.2741_4 + 2;
  [t.c : 13:22] printf ([t.c : 13] &[t.c : 13] "%d\n"[0], D.2740_5);
  [t.c : 14:13] return;

which seems to be close to the reported case.  the + 2 has line 8 and thus
is ok before TER.  We still expand to

(insn 12 11 13 t.c:13 (parallel [
            (set (reg:SI 61)
                (plus:SI (reg:SI 58 [ D.2741 ])
                    (const_int 2 [0x2])))
            (clobber (reg:CC 17 flags))
        ]) -1 (nil))

(insn 13 12 14 t.c:13 (set (reg:SI 4 si)
        (reg:SI 61)) -1 (nil))

(insn 14 13 15 t.c:13 (set (reg:DI 5 di)
        (symbol_ref/f:DI ("*.LC0") [flags 0x2] <string_cst 0x7ffff5b36820>)) -1
(nil))

(insn 15 14 16 t.c:13 (set (reg:QI 0 ax)
        (const_int 0 [0x0])) -1 (nil))

(call_insn 16 15 0 t.c:13 (set (reg:SI 0 ax)
        (call (mem:QI (symbol_ref:DI ("printf") [flags 0x41] <function_decl
0x7ffff7efc000 printf>) [0 S1 A8])
            (const_int 0 [0x0]))) -1 (nil)
    (expr_list:REG_DEP_TRUE (use (reg:QI 0 ax))
        (expr_list:REG_DEP_TRUE (use (reg:DI 5 di))

thus expanding a TERd expression does not properly reset location infromation.

CC'ing Micha.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|amacleod at redhat dot com  |unassigned at gcc dot gnu
                   |                            |dot org
             Status|ASSIGNED                    |NEW


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug debug/19192] [4.3/4.4/4.5 Regression] Current development gcc generates inaccurate line info for example code
       [not found] <bug-19192-9863@http.gcc.gnu.org/bugzilla/>
                   ` (10 preceding siblings ...)
  2010-03-23 13:37 ` rguenth at gcc dot gnu dot org
@ 2010-03-23 15:23 ` jakub at gcc dot gnu dot org
  2010-03-23 15:57 ` jakub at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  20 siblings, 0 replies; 21+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-03-23 15:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from jakub at gcc dot gnu dot org  2010-03-23 15:22 -------
Thus we are talking about:
extern int printf (const char *, ...);

__attribute__((noinline))
int add2 (int a, int b)
{
  return a + b;
}

static inline int add3 (int a, int b, int c)
{
  return a + add2 (b, c);
}

int
main ()
{
  printf ("%d\n", add3 (2, 3, 4));
  return 0;
}

right?  Seems get_gimple_for_ssa_name indeed provides correct location on the
created trees, it is just that the expansion ignores it.


-- 


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug debug/19192] [4.3/4.4/4.5 Regression] Current development gcc generates inaccurate line info for example code
       [not found] <bug-19192-9863@http.gcc.gnu.org/bugzilla/>
                   ` (11 preceding siblings ...)
  2010-03-23 15:23 ` jakub at gcc dot gnu dot org
@ 2010-03-23 15:57 ` jakub at gcc dot gnu dot org
  2010-03-23 16:17 ` matz at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  20 siblings, 0 replies; 21+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-03-23 15:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from jakub at gcc dot gnu dot org  2010-03-23 15:56 -------
Created an attachment (id=20169)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20169&action=view)
gcc45-pr19192.patch

Untested fix.


-- 


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug debug/19192] [4.3/4.4/4.5 Regression] Current development gcc generates inaccurate line info for example code
       [not found] <bug-19192-9863@http.gcc.gnu.org/bugzilla/>
                   ` (13 preceding siblings ...)
  2010-03-23 16:17 ` matz at gcc dot gnu dot org
@ 2010-03-23 16:17 ` jakub at gcc dot gnu dot org
  2010-03-23 16:20 ` jakub at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  20 siblings, 0 replies; 21+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-03-23 16:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from jakub at gcc dot gnu dot org  2010-03-23 16:17 -------
Created an attachment (id=20170)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20170&action=view)
gcc45-pr19192.patch

Updated patch that also fixes
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43479#c1
testcase.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #20169|0                           |1
        is obsolete|                            |
         AssignedTo|unassigned at gcc dot gnu   |jakub at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug debug/19192] [4.3/4.4/4.5 Regression] Current development gcc generates inaccurate line info for example code
       [not found] <bug-19192-9863@http.gcc.gnu.org/bugzilla/>
                   ` (12 preceding siblings ...)
  2010-03-23 15:57 ` jakub at gcc dot gnu dot org
@ 2010-03-23 16:17 ` matz at gcc dot gnu dot org
  2010-03-23 16:17 ` jakub at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  20 siblings, 0 replies; 21+ messages in thread
From: matz at gcc dot gnu dot org @ 2010-03-23 16:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from matz at gcc dot gnu dot org  2010-03-23 16:16 -------
Simply replace the recursive call to expand_expr_real_1 with a call to
expand_expr_real.  That's the wrapper setting locations.


-- 


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug debug/19192] [4.3/4.4/4.5 Regression] Current development gcc generates inaccurate line info for example code
       [not found] <bug-19192-9863@http.gcc.gnu.org/bugzilla/>
                   ` (14 preceding siblings ...)
  2010-03-23 16:17 ` jakub at gcc dot gnu dot org
@ 2010-03-23 16:20 ` jakub at gcc dot gnu dot org
  2010-03-23 16:37 ` jakub at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  20 siblings, 0 replies; 21+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-03-23 16:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from jakub at gcc dot gnu dot org  2010-03-23 16:19 -------
Actually it is not, it restores neither curr_insn_block or
curr_insn_source_location.
Perhaps the fix would be to fix that function though.


-- 


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug debug/19192] [4.3/4.4/4.5 Regression] Current development gcc generates inaccurate line info for example code
       [not found] <bug-19192-9863@http.gcc.gnu.org/bugzilla/>
                   ` (15 preceding siblings ...)
  2010-03-23 16:20 ` jakub at gcc dot gnu dot org
@ 2010-03-23 16:37 ` jakub at gcc dot gnu dot org
  2010-03-23 16:46 ` matz at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  20 siblings, 0 replies; 21+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-03-23 16:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from jakub at gcc dot gnu dot org  2010-03-23 16:37 -------
Created an attachment (id=20171)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20171&action=view)
gcc45-pr19192.patch

Patch that does that.


-- 


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug debug/19192] [4.3/4.4/4.5 Regression] Current development gcc generates inaccurate line info for example code
       [not found] <bug-19192-9863@http.gcc.gnu.org/bugzilla/>
                   ` (16 preceding siblings ...)
  2010-03-23 16:37 ` jakub at gcc dot gnu dot org
@ 2010-03-23 16:46 ` matz at gcc dot gnu dot org
  2010-03-24 13:42 ` jakub at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  20 siblings, 0 replies; 21+ messages in thread
From: matz at gcc dot gnu dot org @ 2010-03-23 16:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #18 from matz at gcc dot gnu dot org  2010-03-23 16:46 -------
It should mostly not matter anymore as expand_expr_real_[12] and friends use
an explicit location parameter, stored away before expanding operands.
But to be safe, yes, expand_expr_real() should instead also restore
the old location.  You don't need to check for NULL gimple_block(),
set_curr_insn_block does that.


-- 


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug debug/19192] [4.3/4.4/4.5 Regression] Current development gcc generates inaccurate line info for example code
       [not found] <bug-19192-9863@http.gcc.gnu.org/bugzilla/>
                   ` (17 preceding siblings ...)
  2010-03-23 16:46 ` matz at gcc dot gnu dot org
@ 2010-03-24 13:42 ` jakub at gcc dot gnu dot org
  2010-03-24 13:51 ` jakub at gcc dot gnu dot org
  2010-03-24 14:48 ` rguenth at gcc dot gnu dot org
  20 siblings, 0 replies; 21+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-03-24 13:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #19 from jakub at gcc dot gnu dot org  2010-03-24 13:41 -------
Subject: Bug 19192

Author: jakub
Date: Wed Mar 24 13:41:30 2010
New Revision: 157693

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157693
Log:
        PR debug/19192
        PR debug/43479
        * cfgexpand.c (gimple_assign_rhs_to_tree): Also set TREE_BLOCK
        from gimple_block.
        * expr.c (expand_expr_real): Restore previous
        curr_insn_source_location and curr_insn_block after
        expand_expr_real_1 call.
        (expand_expr_real_1) <case SSA_NAME>: Call expand_expr_real
        instead of expand_expr_real_1.

        * gcc.dg/guality/pr43479.c: New test.
        * gcc.dg/debug/dwarf2/inline2.c (third): Make a a global var
        and add volatile keyword.

Added:
    trunk/gcc/testsuite/gcc.dg/guality/pr43479.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfgexpand.c
    trunk/gcc/expr.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/debug/dwarf2/inline2.c


-- 


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug debug/19192] [4.3/4.4/4.5 Regression] Current development gcc generates inaccurate line info for example code
       [not found] <bug-19192-9863@http.gcc.gnu.org/bugzilla/>
                   ` (18 preceding siblings ...)
  2010-03-24 13:42 ` jakub at gcc dot gnu dot org
@ 2010-03-24 13:51 ` jakub at gcc dot gnu dot org
  2010-03-24 14:48 ` rguenth at gcc dot gnu dot org
  20 siblings, 0 replies; 21+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-03-24 13:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #20 from jakub at gcc dot gnu dot org  2010-03-24 13:51 -------
Fixed.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug debug/19192] [4.3/4.4/4.5 Regression] Current development gcc generates inaccurate line info for example code
       [not found] <bug-19192-9863@http.gcc.gnu.org/bugzilla/>
                   ` (19 preceding siblings ...)
  2010-03-24 13:51 ` jakub at gcc dot gnu dot org
@ 2010-03-24 14:48 ` rguenth at gcc dot gnu dot org
  20 siblings, 0 replies; 21+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-24 14:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #21 from rguenth at gcc dot gnu dot org  2010-03-24 14:48 -------
For 4.5.0.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.5                       |4.5.0


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2010-03-24 14:48 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-19192-9863@http.gcc.gnu.org/bugzilla/>
2005-10-31  2:09 ` [Bug debug/19192] [4.0/4.1 Regression] Current development gcc generates inaccurate line info for example code mmitchel at gcc dot gnu dot org
2006-03-11  3:21 ` [Bug debug/19192] [4.0/4.1/4.2 " mmitchel at gcc dot gnu dot org
2007-01-18  3:36 ` [Bug debug/19192] [4.0/4.1/4.2/4.3 " gdr at gcc dot gnu dot org
2007-01-21 21:51 ` pinskia at gcc dot gnu dot org
2007-02-14  9:32 ` mmitchel at gcc dot gnu dot org
2008-07-04 16:49 ` [Bug debug/19192] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2009-03-31 16:44 ` [Bug debug/19192] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
2009-08-04 12:28 ` rguenth at gcc dot gnu dot org
2010-03-21 12:23 ` steven at gcc dot gnu dot org
2010-03-21 12:23 ` steven at gcc dot gnu dot org
2010-03-23 13:37 ` rguenth at gcc dot gnu dot org
2010-03-23 15:23 ` jakub at gcc dot gnu dot org
2010-03-23 15:57 ` jakub at gcc dot gnu dot org
2010-03-23 16:17 ` matz at gcc dot gnu dot org
2010-03-23 16:17 ` jakub at gcc dot gnu dot org
2010-03-23 16:20 ` jakub at gcc dot gnu dot org
2010-03-23 16:37 ` jakub at gcc dot gnu dot org
2010-03-23 16:46 ` matz at gcc dot gnu dot org
2010-03-24 13:42 ` jakub at gcc dot gnu dot org
2010-03-24 13:51 ` jakub at gcc dot gnu dot org
2010-03-24 14:48 ` rguenth 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).