public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/4512: New ICE in loop_iterations at unroll.c:3510, regression vs. 3.0.1
@ 2001-10-09  8:45 sirl
  0 siblings, 0 replies; 3+ messages in thread
From: sirl @ 2001-10-09  8:45 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, sirl, wolfgang.bangerth

Synopsis: New ICE in loop_iterations at unroll.c:3510, regression vs. 3.0.1

Responsible-Changed-From-To: unassigned->sirl
Responsible-Changed-By: sirl
Responsible-Changed-When: Tue Oct  9 08:45:45 2001
Responsible-Changed-Why:
    Probably related to my patch. I'll take a look.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4512&database=gcc


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

* Re: c++/4512: New ICE in loop_iterations at unroll.c:3510, regression vs. 3.0.1
@ 2001-10-10 14:35 sirl
  0 siblings, 0 replies; 3+ messages in thread
From: sirl @ 2001-10-10 14:35 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, sirl, wolfgang.bangerth

Synopsis: New ICE in loop_iterations at unroll.c:3510, regression vs. 3.0.1

State-Changed-From-To: open->closed
State-Changed-By: sirl
State-Changed-When: Wed Oct 10 14:35:32 2001
State-Changed-Why:
    Fixed.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4512&database=gcc


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

* c++/4512: New ICE in loop_iterations at unroll.c:3510, regression vs. 3.0.1
@ 2001-10-09  8:26 wolfgang.bangerth
  0 siblings, 0 replies; 3+ messages in thread
From: wolfgang.bangerth @ 2001-10-09  8:26 UTC (permalink / raw)
  To: gcc-gnats

>Number:         4512
>Category:       c++
>Synopsis:       New ICE in loop_iterations at unroll.c:3510, regression vs. 3.0.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 09 08:26:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Wolfgang Bangerth
>Release:        unknown-1.0
>Organization:
>Environment:
todays CVS of gcc3.0.2pre
>Description:
This seems like a new ICE, I didn't see it in 3.0.1. Someone
might want to mark it high priority, since it is a regression
on the branch. Here it goes: compile
-------------------- snip ---------------------
int used ();

struct A {
    static void f () {
      while (true)
	if (used())
	  return;
    };
};

int foo () {
  int i;
  for (; used(); A::f())
    i++;
  return i;
};
-------------------- snip ---------------------
with
  c++ -O2 -funroll-all-loops -c a.cc

to see

 > c++ -O2 -funroll-all-loops -c a.cc
a.cc: In function `int foo()':
a.cc:16: Internal compiler error in loop_iterations, at unroll.c:3510


 > c++ -v
Reading specs from /home/people/wolf/Config/sparc-sun-solaris2.7/gcc-ss/lib/gcc-lib/sparc-sun-solaris2.7/3.0.2/specs
Configured with: ../gcc/configure --prefix=/home/people/wolf/Config/sparc-sun-solaris2.7/gcc-ss --with-gnu-ld --with-gnu-as --with-ld=/usr/local/bin/ld --with-as=/usr/local/bin/as : (reconfigured)  : (reconfigured)  : (reconfigured) 
Thread model: posix
gcc version 3.0.2 20011009 (prerelease)

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2001-10-10 14:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-09  8:45 c++/4512: New ICE in loop_iterations at unroll.c:3510, regression vs. 3.0.1 sirl
  -- strict thread matches above, loose matches on Subject: below --
2001-10-10 14:35 sirl
2001-10-09  8:26 wolfgang.bangerth

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).