public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/22404] New: [4.1 regression] ICE in first_vi_for_offset
@ 2005-07-11  9:52 reichelt at gcc dot gnu dot org
  2005-07-11 16:37 ` [Bug tree-optimization/22404] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-07-11  9:52 UTC (permalink / raw)
  To: gcc-bugs

Yet another ICE in first_vi_for_offset. Compile the following code snippet
with "g++ -O":

=========================
struct A { A(); };

struct B : A
{
    A a;
};

struct C : B { };

C c;
=========================

bug.cc: In function 'void __static_initialization_and_destruction_0(int, int)':
bug.cc:10: internal compiler error: in first_vi_for_offset, at
tree-ssa-structalias.c:2829
Please submit a full bug report, [etc.]

Probably different from PR22277, since I can trigger PR22277 with a 20050709
snapshot, but not the one above (which I can trigger since 20050710).

Actually the problem seems to be related to PR22071.

-- 
           Summary: [4.1 regression] ICE in first_vi_for_offset
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org
                CC: dberlin at gcc dot gnu dot org,gcc-bugs at gcc dot gnu
                    dot org


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


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

* [Bug tree-optimization/22404] [4.1 regression] ICE in first_vi_for_offset
  2005-07-11  9:52 [Bug tree-optimization/22404] New: [4.1 regression] ICE in first_vi_for_offset reichelt at gcc dot gnu dot org
@ 2005-07-11 16:37 ` pinskia at gcc dot gnu dot org
  2005-07-11 18:54 ` cvs-commit at gcc dot gnu dot org
  2005-07-11 23:20 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-11 16:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-11 16:35 -------
Confirmed.  I think fixing PR 19816 will also fix this.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |19816
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-07-11 16:35:32
               date|                            |
   Target Milestone|---                         |4.1.0


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


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

* [Bug tree-optimization/22404] [4.1 regression] ICE in first_vi_for_offset
  2005-07-11  9:52 [Bug tree-optimization/22404] New: [4.1 regression] ICE in first_vi_for_offset reichelt at gcc dot gnu dot org
  2005-07-11 16:37 ` [Bug tree-optimization/22404] " pinskia at gcc dot gnu dot org
@ 2005-07-11 18:54 ` cvs-commit at gcc dot gnu dot org
  2005-07-11 23:20 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-07-11 18:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-07-11 18:28 -------
Subject: Bug 22404

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	dberlin@gcc.gnu.org	2005-07-11 18:28:36

Modified files:
	gcc            : ChangeLog print-tree.c tree-ssa-structalias.c 
	                 tree.h 
Added files:
	gcc/testsuite/g++.dg/tree-ssa: pr22404.C 

Log message:
	2005-07-11  Daniel Berlin  <dberlin@dberlin.org>
	
	* print-tree.c (print_node): Use DECL_ARGUMENT_FLD.
	* tree.h (DECL_ARGUMENT_FLD): New macro.
	
	2005-07-11  Daniel Berlin  <dberlin@dberlin.org>
	
	Fix PR tree-optimization/22404
	
	* tree-ssa-structalias.c (create_variable_info_for): Use
	correct offset.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9408&r2=2.9409
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/print-tree.c.diff?cvsroot=gcc&r1=1.103&r2=1.104
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-structalias.c.diff?cvsroot=gcc&r1=2.16&r2=2.17
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.h.diff?cvsroot=gcc&r1=1.745&r2=1.746
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/tree-ssa/pr22404.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug tree-optimization/22404] [4.1 regression] ICE in first_vi_for_offset
  2005-07-11  9:52 [Bug tree-optimization/22404] New: [4.1 regression] ICE in first_vi_for_offset reichelt at gcc dot gnu dot org
  2005-07-11 16:37 ` [Bug tree-optimization/22404] " pinskia at gcc dot gnu dot org
  2005-07-11 18:54 ` cvs-commit at gcc dot gnu dot org
@ 2005-07-11 23:20 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-11 23:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-11 23:10 -------
Fixed.

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


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


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

end of thread, other threads:[~2005-07-11 23:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-11  9:52 [Bug tree-optimization/22404] New: [4.1 regression] ICE in first_vi_for_offset reichelt at gcc dot gnu dot org
2005-07-11 16:37 ` [Bug tree-optimization/22404] " pinskia at gcc dot gnu dot org
2005-07-11 18:54 ` cvs-commit at gcc dot gnu dot org
2005-07-11 23:20 ` pinskia 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).