public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/17479] New: [4.0 regression] ICE in get_indirect_ref_operands
@ 2004-09-14 14:22 bangerth at dealii dot org
  2004-09-14 14:23 ` [Bug tree-optimization/17479] " bangerth at dealii dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bangerth at dealii dot org @ 2004-09-14 14:22 UTC (permalink / raw)
  To: gcc-bugs

With yesterday's CVS I get this ICE: 
 
spec/src> c++ -O3 -c tria.ii  
tria.cc: In member function `typename 
TriaDimensionInfo<dim>::active_quad_iterator 
Triangulation<dim>::last_active_quad(unsigned int) const [with int dim = 3]': 
tria.cc:3876: internal compiler error: in get_indirect_ref_operands, at 
tree-ssa-operands.c:1370 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <URL:http://gcc.gnu.org/bugs.html> for instructions. 
 
W.

-- 
           Summary: [4.0 regression] ICE in get_indirect_ref_operands
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bangerth at dealii dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug tree-optimization/17479] [4.0 regression] ICE in get_indirect_ref_operands
  2004-09-14 14:22 [Bug tree-optimization/17479] New: [4.0 regression] ICE in get_indirect_ref_operands bangerth at dealii dot org
@ 2004-09-14 14:23 ` bangerth at dealii dot org
  2004-09-14 15:11 ` bangerth at dealii dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bangerth at dealii dot org @ 2004-09-14 14:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at dealii dot org  2004-09-14 14:23 -------
Created an attachment (id=7130)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7130&action=view)
Preprocessed sources

Unreduced sources. I won't have time to reduce them for a while, so if
someone wants to beat me to it, I'd be happy.

W.

-- 


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


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

* [Bug tree-optimization/17479] [4.0 regression] ICE in get_indirect_ref_operands
  2004-09-14 14:22 [Bug tree-optimization/17479] New: [4.0 regression] ICE in get_indirect_ref_operands bangerth at dealii dot org
  2004-09-14 14:23 ` [Bug tree-optimization/17479] " bangerth at dealii dot org
@ 2004-09-14 15:11 ` bangerth at dealii dot org
  2004-09-14 16:46 ` dberlin at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bangerth at dealii dot org @ 2004-09-14 15:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at dealii dot org  2004-09-14 15:11 -------
Created an attachment (id=7131)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7131&action=view)
A few thousand lines less, but not really short


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #7130 is|0                           |1
           obsolete|                            |


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


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

* [Bug tree-optimization/17479] [4.0 regression] ICE in get_indirect_ref_operands
  2004-09-14 14:22 [Bug tree-optimization/17479] New: [4.0 regression] ICE in get_indirect_ref_operands bangerth at dealii dot org
  2004-09-14 14:23 ` [Bug tree-optimization/17479] " bangerth at dealii dot org
  2004-09-14 15:11 ` bangerth at dealii dot org
@ 2004-09-14 16:46 ` dberlin at gcc dot gnu dot org
  2004-09-14 17:34 ` bangerth at dealii dot org
  2004-09-14 18:06 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: dberlin at gcc dot gnu dot org @ 2004-09-14 16:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dberlin at gcc dot gnu dot org  2004-09-14 16:46 -------
Created an attachment (id=7132)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7132&action=view)
Smaller testcase

Here is a smaller, 68 line version of the testcase

-- 


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


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

* [Bug tree-optimization/17479] [4.0 regression] ICE in get_indirect_ref_operands
  2004-09-14 14:22 [Bug tree-optimization/17479] New: [4.0 regression] ICE in get_indirect_ref_operands bangerth at dealii dot org
                   ` (2 preceding siblings ...)
  2004-09-14 16:46 ` dberlin at gcc dot gnu dot org
@ 2004-09-14 17:34 ` bangerth at dealii dot org
  2004-09-14 18:06 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: bangerth at dealii dot org @ 2004-09-14 17:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at dealii dot org  2004-09-14 17:34 -------
Good job, Daniel! From your testcase, we get on a straight line to this one: 
------------------ 
struct Base { 
    int state (); 
    int i; 
}; 
 
struct Derived : Base { 
    Derived & foo () { 
      while (state() == 0) 
        return *this; 
      return *this; 
    } 
}; 
 
void bar () { 
  if (Derived().foo().state() != 1) 
    return; 
} 
------------------------ 
g/x> /home/bangerth/bin/gcc-4.0-pre/bin/c++ -c x.ii -O3 
x.ii: In function `void bar()': 
x.ii:14: internal compiler error: in get_indirect_ref_operands, at 
tree-ssa-operands.c:1370 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <URL:http://gcc.gnu.org/bugs.html> for instructions. 
 
W. 

-- 


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


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

* [Bug tree-optimization/17479] [4.0 regression] ICE in get_indirect_ref_operands
  2004-09-14 14:22 [Bug tree-optimization/17479] New: [4.0 regression] ICE in get_indirect_ref_operands bangerth at dealii dot org
                   ` (3 preceding siblings ...)
  2004-09-14 17:34 ` bangerth at dealii dot org
@ 2004-09-14 18:06 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-14 18:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-14 18:06 -------
And one can reduce it further to the testcase in PR 17273.

*** This bug has been marked as a duplicate of 17273 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2004-09-14 18:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-14 14:22 [Bug tree-optimization/17479] New: [4.0 regression] ICE in get_indirect_ref_operands bangerth at dealii dot org
2004-09-14 14:23 ` [Bug tree-optimization/17479] " bangerth at dealii dot org
2004-09-14 15:11 ` bangerth at dealii dot org
2004-09-14 16:46 ` dberlin at gcc dot gnu dot org
2004-09-14 17:34 ` bangerth at dealii dot org
2004-09-14 18:06 ` 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).