public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/20505] New: internal error when compiling with -ggdb2 and no error with -ggdb1
@ 2005-03-16 22:11 ivanr at syncad dot com
  2005-03-16 22:15 ` [Bug c++/20505] " ivanr at syncad dot com
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: ivanr at syncad dot com @ 2005-03-16 22:11 UTC (permalink / raw)
  To: gcc-bugs

When I try to compile with -ggdb2, it fails. When I try with -ggdb1, it doesn't.

version of GCC:
4.1.0 20050309 (experimental)

system type:
SunOS 5.8

GCC configure options:
./configure   --prefix=/usr/local/toolchain-4.0.0 --with-gnu-as --with-gnu-l
d --enable-languages=c,c++

command line:
g++ -v -save-temps -ggdb2 -c -o clockevent.41.o clockevent.41.ii

compiler output:
Using built-in specs.
Target: sparc-sun-solaris2.8
Configured with: ../gcc/configure --prefix=/usr/local/toolchain-4.0.0 --with-
gnu-as --with-gnu-ld --enable-languages=c,c++
Thread model: posix
gcc version 4.1.0 20050309 (experimental)
 /space/home/usr.local/toolchain-4.0.0/bin/../libexec/gcc/sparc-sun-
solaris2.8/4.1.0/cc1plus -fpreprocessed clockevent.41.ii -quiet -dumpbase 
clockevent.41.ii -mcpu=v7 -auxbase-strip clockevent.41.o -ggdb2 -version -o 
clockevent.41.s
GNU C++ version 4.1.0 20050309 (experimental) (sparc-sun-solaris2.8)
        compiled by GNU C version 4.0.0 20050221 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
clockevent.41.ii: In member function 'TClockEventBlock* 
TClock::GetClockEventBlock()':
clockevent.41.ii:72515: warning: taking address of temporary
clockevent.41.ii: In member function 'TClockEventBlock* 
TClock::GetUnbufferedClockEventBlock()':
clockevent.41.ii:72520: warning: taking address of temporary
clockevent.41.ii: At global scope:
clockevent.41.ii:72546: internal compiler error: tree check: expected 
integer_cst, have minus_expr in tree_add_const_value_attribute, at 
dwarf2out.c:10173
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: internal error when compiling with -ggdb2 and no error
                    with -ggdb1
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ivanr at syncad dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc-sun-solaris2.8
  GCC host triplet: sparc-sun-solaris2.8


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


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

* [Bug c++/20505] internal error when compiling with -ggdb2 and no error with -ggdb1
  2005-03-16 22:11 [Bug c++/20505] New: internal error when compiling with -ggdb2 and no error with -ggdb1 ivanr at syncad dot com
@ 2005-03-16 22:15 ` ivanr at syncad dot com
  2005-03-16 22:36 ` [Bug debug/20505] " pinskia at gcc dot gnu dot org
                   ` (16 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: ivanr at syncad dot com @ 2005-03-16 22:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ivanr at syncad dot com  2005-03-16 22:15 -------
Created an attachment (id=8408)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8408&action=view)
preprocessed and assembler files for clockevent.41.cpp

untar and apply this commmand:
g++ -v -save-temps -ggdb2 -c -o clockevent.41.o clockevent.41.ii

-- 


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


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

* [Bug debug/20505] internal error when compiling with -ggdb2 and no error with -ggdb1
  2005-03-16 22:11 [Bug c++/20505] New: internal error when compiling with -ggdb2 and no error with -ggdb1 ivanr at syncad dot com
  2005-03-16 22:15 ` [Bug c++/20505] " ivanr at syncad dot com
@ 2005-03-16 22:36 ` pinskia at gcc dot gnu dot org
  2005-03-16 22:41 ` [Bug debug/20505] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
                   ` (15 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-16 22:36 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |debug


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


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

* [Bug debug/20505] [4.0/4.1 Regression] internal error when compiling with -ggdb2 and no error with -ggdb1
  2005-03-16 22:11 [Bug c++/20505] New: internal error when compiling with -ggdb2 and no error with -ggdb1 ivanr at syncad dot com
  2005-03-16 22:15 ` [Bug c++/20505] " ivanr at syncad dot com
  2005-03-16 22:36 ` [Bug debug/20505] " pinskia at gcc dot gnu dot org
@ 2005-03-16 22:41 ` pinskia at gcc dot gnu dot org
  2005-03-16 22:42 ` pinskia at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-16 22:41 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
            Summary|internal error when         |[4.0/4.1 Regression]
                   |compiling with -ggdb2 and no|internal error when
                   |error with -ggdb1           |compiling with -ggdb2 and no
                   |                            |error with -ggdb1
   Target Milestone|---                         |4.0.0


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


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

* [Bug debug/20505] [4.0/4.1 Regression] internal error when compiling with -ggdb2 and no error with -ggdb1
  2005-03-16 22:11 [Bug c++/20505] New: internal error when compiling with -ggdb2 and no error with -ggdb1 ivanr at syncad dot com
                   ` (2 preceding siblings ...)
  2005-03-16 22:41 ` [Bug debug/20505] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-03-16 22:42 ` pinskia at gcc dot gnu dot org
  2005-03-16 23:25 ` pinskia at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-16 22:42 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  GCC build triplet|sparc-sun-solaris2.8        |
   GCC host triplet|sparc-sun-solaris2.8        |
 GCC target triplet|                            |dwarf-2


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


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

* [Bug debug/20505] [4.0/4.1 Regression] internal error when compiling with -ggdb2 and no error with -ggdb1
  2005-03-16 22:11 [Bug c++/20505] New: internal error when compiling with -ggdb2 and no error with -ggdb1 ivanr at syncad dot com
                   ` (3 preceding siblings ...)
  2005-03-16 22:42 ` pinskia at gcc dot gnu dot org
@ 2005-03-16 23:25 ` pinskia at gcc dot gnu dot org
  2005-03-16 23:45 ` pinskia at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-16 23:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-16 23:25 -------
Confirmed, reduce testcase:
struct a
{
  int b,c;
};
template <int>
struct b
{
  static const int d;
  virtual bool f() const=0;
};
template <>
const int b<2>::d = ((int)(&((a*)1)->c) - 1);

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-03-16 23:25:28
               date|                            |


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


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

* [Bug debug/20505] [4.0/4.1 Regression] internal error when compiling with -ggdb2 and no error with -ggdb1
  2005-03-16 22:11 [Bug c++/20505] New: internal error when compiling with -ggdb2 and no error with -ggdb1 ivanr at syncad dot com
                   ` (4 preceding siblings ...)
  2005-03-16 23:25 ` pinskia at gcc dot gnu dot org
@ 2005-03-16 23:45 ` pinskia at gcc dot gnu dot org
  2005-03-16 23:48 ` [Bug c++/20505] " pinskia at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-16 23:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-16 23:45 -------
Reduced a little further, no templates now:
struct b
{
  static const int d;
  virtual bool IsEmpty() const=0;
  int e,c;
};
const int b::d = ((int)(&((b*)1)->c) - 1);


: Search converges between 2004-08-30-trunk (#529) and 2004-08-31-trunk (#530).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org


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


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

* [Bug c++/20505] [4.0/4.1 Regression] internal error when compiling with -ggdb2 and no error with -ggdb1
  2005-03-16 22:11 [Bug c++/20505] New: internal error when compiling with -ggdb2 and no error with -ggdb1 ivanr at syncad dot com
                   ` (5 preceding siblings ...)
  2005-03-16 23:45 ` pinskia at gcc dot gnu dot org
@ 2005-03-16 23:48 ` pinskia at gcc dot gnu dot org
  2005-03-17 17:35 ` nathan at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-16 23:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-16 23:48 -------
Hmm, I think this was caused by:
2004-08-30  Richard Henderson  <rth@redhat.com>
        
        * class.c (build_base_path): Use build_address directly.
        * typeck.c (build_unary_op): Don't lower &a.b to pointer
        arithmetic directly.
        * typeck2.c (store_init_value): Don't assume !TREE_CONSTANT 
        means !initializer_constant_valid_p.
        

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rth at gcc dot gnu dot org
          Component|debug                       |c++


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


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

* [Bug c++/20505] [4.0/4.1 Regression] internal error when compiling with -ggdb2 and no error with -ggdb1
  2005-03-16 22:11 [Bug c++/20505] New: internal error when compiling with -ggdb2 and no error with -ggdb1 ivanr at syncad dot com
                   ` (6 preceding siblings ...)
  2005-03-16 23:48 ` [Bug c++/20505] " pinskia at gcc dot gnu dot org
@ 2005-03-17 17:35 ` nathan at gcc dot gnu dot org
  2005-03-24 17:48 ` mmitchel at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: nathan at gcc dot gnu dot org @ 2005-03-17 17:35 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |nathan at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-03-16 23:25:28         |2005-03-17 17:35:07
               date|                            |


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


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

* [Bug c++/20505] [4.0/4.1 Regression] internal error when compiling with -ggdb2 and no error with -ggdb1
  2005-03-16 22:11 [Bug c++/20505] New: internal error when compiling with -ggdb2 and no error with -ggdb1 ivanr at syncad dot com
                   ` (7 preceding siblings ...)
  2005-03-17 17:35 ` nathan at gcc dot gnu dot org
@ 2005-03-24 17:48 ` mmitchel at gcc dot gnu dot org
  2005-03-24 18:58 ` nathan at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-03-24 17:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-03-24 17:48 -------
This is a missed-optimization bug as well, in that the initialization expression
should be simplified to a constant.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization


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


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

* [Bug c++/20505] [4.0/4.1 Regression] internal error when compiling with -ggdb2 and no error with -ggdb1
  2005-03-16 22:11 [Bug c++/20505] New: internal error when compiling with -ggdb2 and no error with -ggdb1 ivanr at syncad dot com
                   ` (8 preceding siblings ...)
  2005-03-24 17:48 ` mmitchel at gcc dot gnu dot org
@ 2005-03-24 18:58 ` nathan at gcc dot gnu dot org
  2005-03-30  2:16 ` wilson at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: nathan at gcc dot gnu dot org @ 2005-03-24 18:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From nathan at gcc dot gnu dot org  2005-03-24 18:58 -------
actually, it'd be a miscompile if it had a dynamic initializer (because
the std says such a thing *must* be static initialized).  Fortunately
the assembly is correct (which is kind of bizarre)

        .type   _ZN1b1dE, @object
        .size   _ZN1b1dE, 4
_ZN1b1dE:
        .long   8


-- 


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


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

* [Bug c++/20505] [4.0/4.1 Regression] internal error when compiling with -ggdb2 and no error with -ggdb1
  2005-03-16 22:11 [Bug c++/20505] New: internal error when compiling with -ggdb2 and no error with -ggdb1 ivanr at syncad dot com
                   ` (9 preceding siblings ...)
  2005-03-24 18:58 ` nathan at gcc dot gnu dot org
@ 2005-03-30  2:16 ` wilson at gcc dot gnu dot org
  2005-04-01  3:58 ` cvs-commit at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: wilson at gcc dot gnu dot org @ 2005-03-30  2:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From wilson at gcc dot gnu dot org  2005-03-30 02:16 -------
See
    http://gcc.gnu.org/ml/gcc/2005-03/msg01274.html
for comments.

-- 


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


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

* [Bug c++/20505] [4.0/4.1 Regression] internal error when compiling with -ggdb2 and no error with -ggdb1
  2005-03-16 22:11 [Bug c++/20505] New: internal error when compiling with -ggdb2 and no error with -ggdb1 ivanr at syncad dot com
                   ` (10 preceding siblings ...)
  2005-03-30  2:16 ` wilson at gcc dot gnu dot org
@ 2005-04-01  3:58 ` cvs-commit at gcc dot gnu dot org
  2005-04-01  4:05 ` wilson at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-01  3:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-04-01 03:58 -------
Subject: Bug 20505

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	wilson@gcc.gnu.org	2005-04-01 03:58:44

Modified files:
	gcc            : ChangeLog dwarf2out.c 

Log message:
	Handle static const initializers that contain arithmetic.
	PR c++/20505
	* dwarf2out.c (rtl_for_decl_init): New function.
	(rtl_for_decl_location): Extracted from here.
	(tree_add_const_value_attribute): Call rtl_for_decl_init and
	add_const_value_attribute.  Delete initializer_constant_valid_p call.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.8063&r2=2.8064
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/dwarf2out.c.diff?cvsroot=gcc&r1=1.578&r2=1.579



-- 


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


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

* [Bug c++/20505] [4.0/4.1 Regression] internal error when compiling with -ggdb2 and no error with -ggdb1
  2005-03-16 22:11 [Bug c++/20505] New: internal error when compiling with -ggdb2 and no error with -ggdb1 ivanr at syncad dot com
                   ` (11 preceding siblings ...)
  2005-04-01  3:58 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-01  4:05 ` wilson at gcc dot gnu dot org
  2005-04-04  8:45 ` [Bug c++/20505] [4.0 " cvs-commit at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: wilson at gcc dot gnu dot org @ 2005-04-01  4:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From wilson at gcc dot gnu dot org  2005-04-01 04:04 -------
Fixed on mainline.  Still needs to be fixed on the gcc-4.0 branch, which I
assume Nathan is doing.

I had to back off a bit from my earlier plans.  Aggregate types and constructor
initializers pose complications that don't appear to be worth fixing, so I only
handle integral types, scalar real types, and STRING_CST.  I commonized the code
in rtl_for_decl_location and tree_add_const_value_attribute so that they both
work the same.

The testcase by the way isn't portable.  It requires that int and pointer be the
same size.  I had to do s/int/long to make it work on my ia64 and x86_64
systems.  But still that assumes long and pointers are the same size which is
not true for all ABIs supported by all targets.  This is why I didn't already
add the testcase to the testsuite on mainline.

-- 


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


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

* [Bug c++/20505] [4.0 Regression] internal error when compiling with -ggdb2 and no error with -ggdb1
  2005-03-16 22:11 [Bug c++/20505] New: internal error when compiling with -ggdb2 and no error with -ggdb1 ivanr at syncad dot com
                   ` (12 preceding siblings ...)
  2005-04-01  4:05 ` wilson at gcc dot gnu dot org
@ 2005-04-04  8:45 ` cvs-commit at gcc dot gnu dot org
  2005-04-04  9:46 ` nathan at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-04  8:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-04-04 08:45 -------
Subject: Bug 20505

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	nathan@gcc.gnu.org	2005-04-04 08:44:59

Modified files:
	gcc            : ChangeLog dwarf2out.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/debug: const2.C 

Log message:
	.:
	PR debug/20505
	* dwarf2out.c (tree_add_const_value_attribute): Only add if it's
	an INTEGER_CST.
	testsuite:
	PR debug/20505
	* g++.dg/debug/const2.C: New.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.118&r2=2.7592.2.119
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/dwarf2out.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.570.2.5&r2=1.570.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.92&r2=1.5084.2.93
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/debug/const2.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1



-- 


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


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

* [Bug c++/20505] [4.0 Regression] internal error when compiling with -ggdb2 and no error with -ggdb1
  2005-03-16 22:11 [Bug c++/20505] New: internal error when compiling with -ggdb2 and no error with -ggdb1 ivanr at syncad dot com
                   ` (13 preceding siblings ...)
  2005-04-04  8:45 ` [Bug c++/20505] [4.0 " cvs-commit at gcc dot gnu dot org
@ 2005-04-04  9:46 ` nathan at gcc dot gnu dot org
  2005-04-04 12:05 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: nathan at gcc dot gnu dot org @ 2005-04-04  9:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From nathan at gcc dot gnu dot org  2005-04-04 09:46 -------
2005-04-04  Nathan Sidwell  <nathan@codesourcery.com>

	PR debug/20505
	* dwarf2out.c (tree_add_const_value_attribute): Only add if it's
	an INTEGER_CST.

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


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


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

* [Bug c++/20505] [4.0 Regression] internal error when compiling with -ggdb2 and no error with -ggdb1
  2005-03-16 22:11 [Bug c++/20505] New: internal error when compiling with -ggdb2 and no error with -ggdb1 ivanr at syncad dot com
                   ` (14 preceding siblings ...)
  2005-04-04  9:46 ` nathan at gcc dot gnu dot org
@ 2005-04-04 12:05 ` cvs-commit at gcc dot gnu dot org
  2005-04-08  2:37 ` ivanr at syncad dot com
  2005-04-08  3:45 ` wilson at tuliptree dot org
  17 siblings, 0 replies; 19+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-04 12:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-04-04 12:04 -------
Subject: Bug 20505

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	nathan@gcc.gnu.org	2005-04-04 12:04:39

Modified files:
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/debug: const2.C 

Log message:
	PR debug/20505
	* g++.dg/debug/const2.C: New.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5276&r2=1.5277
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/debug/const2.C.diff?cvsroot=gcc&r1=1.1&r2=1.2



-- 


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


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

* [Bug c++/20505] [4.0 Regression] internal error when compiling with -ggdb2 and no error with -ggdb1
  2005-03-16 22:11 [Bug c++/20505] New: internal error when compiling with -ggdb2 and no error with -ggdb1 ivanr at syncad dot com
                   ` (15 preceding siblings ...)
  2005-04-04 12:05 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-08  2:37 ` ivanr at syncad dot com
  2005-04-08  3:45 ` wilson at tuliptree dot org
  17 siblings, 0 replies; 19+ messages in thread
From: ivanr at syncad dot com @ 2005-04-08  2:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ivanr at syncad dot com  2005-04-08 02:37 -------
Subject: Re:  [4.0 Regression] internal error when compiling
 with -ggdb2 and no error with -ggdb1

patch tested. works fine.
thanks!

I found another ICE connected to the gdb2 format. Is it posible to send 
a preprocessed file without publishing it?



-- 


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


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

* [Bug c++/20505] [4.0 Regression] internal error when compiling with -ggdb2 and no error with -ggdb1
  2005-03-16 22:11 [Bug c++/20505] New: internal error when compiling with -ggdb2 and no error with -ggdb1 ivanr at syncad dot com
                   ` (16 preceding siblings ...)
  2005-04-08  2:37 ` ivanr at syncad dot com
@ 2005-04-08  3:45 ` wilson at tuliptree dot org
  17 siblings, 0 replies; 19+ messages in thread
From: wilson at tuliptree dot org @ 2005-04-08  3:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From wilson at tuliptree dot org  2005-04-08 03:45 -------
Subject: Re:  [4.0 Regression] internal error when compiling
	with -ggdb2 and no error with -ggdb1

On Thu, 2005-04-07 at 19:37, ivanr at syncad dot com wrote:
> I found another ICE connected to the gdb2 format. Is it posible to send
> a preprocessed file without publishing it?

If you hire someone to do gcc work for you, and sign an NDA with them,
then yes.  Otherwise, if you want someone to volunteer to work on it,
then generally you have to publish it.  You can try cutting down the
testcase to a small size, to try to get a non-proprietary one.





-- 


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


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

end of thread, other threads:[~2005-04-08  3:45 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-16 22:11 [Bug c++/20505] New: internal error when compiling with -ggdb2 and no error with -ggdb1 ivanr at syncad dot com
2005-03-16 22:15 ` [Bug c++/20505] " ivanr at syncad dot com
2005-03-16 22:36 ` [Bug debug/20505] " pinskia at gcc dot gnu dot org
2005-03-16 22:41 ` [Bug debug/20505] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-03-16 22:42 ` pinskia at gcc dot gnu dot org
2005-03-16 23:25 ` pinskia at gcc dot gnu dot org
2005-03-16 23:45 ` pinskia at gcc dot gnu dot org
2005-03-16 23:48 ` [Bug c++/20505] " pinskia at gcc dot gnu dot org
2005-03-17 17:35 ` nathan at gcc dot gnu dot org
2005-03-24 17:48 ` mmitchel at gcc dot gnu dot org
2005-03-24 18:58 ` nathan at gcc dot gnu dot org
2005-03-30  2:16 ` wilson at gcc dot gnu dot org
2005-04-01  3:58 ` cvs-commit at gcc dot gnu dot org
2005-04-01  4:05 ` wilson at gcc dot gnu dot org
2005-04-04  8:45 ` [Bug c++/20505] [4.0 " cvs-commit at gcc dot gnu dot org
2005-04-04  9:46 ` nathan at gcc dot gnu dot org
2005-04-04 12:05 ` cvs-commit at gcc dot gnu dot org
2005-04-08  2:37 ` ivanr at syncad dot com
2005-04-08  3:45 ` wilson at tuliptree 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).