public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/11646] New: [3.3 regression] ICE with -fnon-call-exceptions -fgcse -O
@ 2003-07-23 18:09 nick at ilm dot com
  2003-07-23 18:10 ` [Bug optimization/11646] " nick at ilm dot com
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: nick at ilm dot com @ 2003-07-23 18:09 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: [3.3 regression] ICE with -fnon-call-exceptions -fgcse -
                    O
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: nick at ilm dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu

The following code ICE's the 3.3.1 prerelease with -fnon-call-exceptions
and -fgcse.  Disabling either of the two flags results in successful
compilation.  This compiles succeffully with the 3.2.3 release.

---------------
#include <vector>
using std::vector;

struct A {
  float l() const;
  A operator - (const A &) const;
  const A & operator = (float) const;
};

struct B {
  float d();
};

struct C {
    int i;
};

float
f(const A& a, B& b)
{
    vector<C> vc;
    int index = vc[0].i;
    A aa;
    float d = (aa - a).l();
    if (d > b.d()) aa = 0;
    return b.d();
}
------------------

> /dept/rnd/vendor/gcc-3.3.1-20030720/bin/g++ -fnon-call-exceptions -fgcse -O -c
fnce-gcse.C
fnce-gcse.C: In function `float f(const A&, B&)':
fnce-gcse.C:27: internal compiler error: in split_edge, at cfgrtl.c:1326
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-nick


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

* [Bug optimization/11646] [3.3 regression] ICE with -fnon-call-exceptions -fgcse -O
  2003-07-23 18:09 [Bug optimization/11646] New: [3.3 regression] ICE with -fnon-call-exceptions -fgcse -O nick at ilm dot com
@ 2003-07-23 18:10 ` nick at ilm dot com
  2003-07-23 18:25 ` [Bug optimization/11646] [3.3/3.4 regression] ICE in commit_one_edge_insertion " bangerth at dealii dot org
                   ` (14 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: nick at ilm dot com @ 2003-07-23 18:10 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From nick at ilm dot com  2003-07-23 18:10 -------
Created an attachment (id=4467)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4467&action=view)
3.3.1 prerelease preprocessed source triggering bug


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

* [Bug optimization/11646] [3.3/3.4 regression] ICE in commit_one_edge_insertion with -fnon-call-exceptions -fgcse -O
  2003-07-23 18:09 [Bug optimization/11646] New: [3.3 regression] ICE with -fnon-call-exceptions -fgcse -O nick at ilm dot com
  2003-07-23 18:10 ` [Bug optimization/11646] " nick at ilm dot com
@ 2003-07-23 18:25 ` bangerth at dealii dot org
  2003-07-23 18:54 ` bangerth at dealii dot org
                   ` (13 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: bangerth at dealii dot org @ 2003-07-23 18:25 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-07-23 18:25:23
               date|                            |
            Summary|[3.3 regression] ICE with - |[3.3/3.4 regression] ICE in
                   |fnon-call-exceptions -fgcse |commit_one_edge_insertion
                   |-O                          |with -fnon-call-exceptions -
                   |                            |fgcse -O


------- Additional Comments From bangerth at dealii dot org  2003-07-23 18:25 -------
The error happens in commit_on_edge_insertion, which is why I thought for
a second that it might be the same bug as PR 11083, but that one is fixed
(I double-checked). On the other hand, that as well as this report both
ICE in commit_one_edge_insertion when using -fnon-call-exceptions.

Eric, you fixed 11083 -- would you mind to take a look at this one, too?
It's a regression on 3.3 and 3.4 against 3.2.

Here's a slightly smaller testcase (not really, since the include file
is still there):
---------------------------------
#include <vector>
using std::vector;

struct C {
    int i;
};

void f()
{
  vector<C> vc;
  int index = vc[0].i;
}
------------------------------
tmp/gg> ../build-gcc/gcc-install/bin/c++ -c x.cc -fgcse -fnon-call-exceptions -O
x.cc: In function `void f()':
x.cc:12: internal compiler error: in commit_one_edge_insertion, at cfgrtl.c:
   1546
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


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

* [Bug optimization/11646] [3.3/3.4 regression] ICE in commit_one_edge_insertion with -fnon-call-exceptions -fgcse -O
  2003-07-23 18:09 [Bug optimization/11646] New: [3.3 regression] ICE with -fnon-call-exceptions -fgcse -O nick at ilm dot com
  2003-07-23 18:10 ` [Bug optimization/11646] " nick at ilm dot com
  2003-07-23 18:25 ` [Bug optimization/11646] [3.3/3.4 regression] ICE in commit_one_edge_insertion " bangerth at dealii dot org
@ 2003-07-23 18:54 ` bangerth at dealii dot org
  2003-07-23 18:55 ` bangerth at dealii dot org
                   ` (12 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: bangerth at dealii dot org @ 2003-07-23 18:54 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From bangerth at dealii dot org  2003-07-23 18:54 -------
OK, this is as short as I can get it (but that should suffice):
-----------------------------
struct A {
    ~A() throw() { }
};

struct B {
    B(const A& __a) : p(0) { }
    int* p;
};

template<typename> struct V : B {
    V() : B(A()) { }
    ~V() {}
    int & foo();
};

void f() {
  int index = V<int>().foo();
}
------------------------------
mp/gg> ../build-gcc/gcc-install/bin/c++ -c z.cc -fgcse -fnon-call-exceptions -O
z.cc: In function `void f()':
z.cc:18: internal compiler error: in commit_one_edge_insertion, at cfgrtl.c:
   1546
Please submit a full bug report,

W.


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

* [Bug optimization/11646] [3.3/3.4 regression] ICE in commit_one_edge_insertion with -fnon-call-exceptions -fgcse -O
  2003-07-23 18:09 [Bug optimization/11646] New: [3.3 regression] ICE with -fnon-call-exceptions -fgcse -O nick at ilm dot com
                   ` (2 preceding siblings ...)
  2003-07-23 18:54 ` bangerth at dealii dot org
@ 2003-07-23 18:55 ` bangerth at dealii dot org
  2003-07-25 23:30 ` janis187 at us dot ibm dot com
                   ` (11 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: bangerth at dealii dot org @ 2003-07-23 18:55 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4                         |3.3.2


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

* [Bug optimization/11646] [3.3/3.4 regression] ICE in commit_one_edge_insertion with -fnon-call-exceptions -fgcse -O
  2003-07-23 18:09 [Bug optimization/11646] New: [3.3 regression] ICE with -fnon-call-exceptions -fgcse -O nick at ilm dot com
                   ` (3 preceding siblings ...)
  2003-07-23 18:55 ` bangerth at dealii dot org
@ 2003-07-25 23:30 ` janis187 at us dot ibm dot com
  2003-08-09 13:17 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: janis187 at us dot ibm dot com @ 2003-07-25 23:30 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


janis187 at us dot ibm dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jh at suse dot cz


------- Additional Comments From janis187 at us dot ibm dot com  2003-07-25 23:30 -------
The regression in PR 11646 was introduced or exposed with this patch:

--- gcc/gcc/ChangeLog ---

Sat Jul 12 03:06:01 CEST 2003  Jan Hubicka  <jh@suse.cz>
                               Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>

        * cgraph.c (cgraph_max_uid): New global variable.
        (cgraph_node): Set uid field.
        (create_edge): Keep inline flags consistent.
        (dump_cgraph): Dump more info.

        [lots more]
                                                                               
The regression hunt took place on i686-pc-linux-gnu using the small test
case from comment #3 compiled with "-O -fgcse -fnon-call-exceptions".


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

* [Bug optimization/11646] [3.3/3.4 regression] ICE in commit_one_edge_insertion with -fnon-call-exceptions -fgcse -O
  2003-07-23 18:09 [Bug optimization/11646] New: [3.3 regression] ICE with -fnon-call-exceptions -fgcse -O nick at ilm dot com
                   ` (4 preceding siblings ...)
  2003-07-25 23:30 ` janis187 at us dot ibm dot com
@ 2003-08-09 13:17 ` pinskia at gcc dot gnu dot org
  2003-09-04 20:48 ` ebotcazou at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-09 13:17 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
           Keywords|                            |ice-on-valid-code


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-09 13:17 -------
The patch which Janias quoted almost did not cause this ICE as 3.3.1 ICE also and that 
patch went only into the mainline.
Also the patch might have cause the rtl to be generated differently which caused the 
problem but who knows.


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

* [Bug optimization/11646] [3.3/3.4 regression] ICE in commit_one_edge_insertion with -fnon-call-exceptions -fgcse -O
  2003-07-23 18:09 [Bug optimization/11646] New: [3.3 regression] ICE with -fnon-call-exceptions -fgcse -O nick at ilm dot com
                   ` (5 preceding siblings ...)
  2003-08-09 13:17 ` pinskia at gcc dot gnu dot org
@ 2003-09-04 20:48 ` ebotcazou at gcc dot gnu dot org
  2003-09-04 20:58 ` bangerth at ices dot utexas dot edu
                   ` (8 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-09-04 20:48 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bangerth at dealii dot org


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2003-09-04 20:48 -------
Wolfgang, note that your reduced testcases are not valid on the 3.3 branch.


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

* [Bug optimization/11646] [3.3/3.4 regression] ICE in commit_one_edge_insertion with -fnon-call-exceptions -fgcse -O
  2003-07-23 18:09 [Bug optimization/11646] New: [3.3 regression] ICE with -fnon-call-exceptions -fgcse -O nick at ilm dot com
                   ` (6 preceding siblings ...)
  2003-09-04 20:48 ` ebotcazou at gcc dot gnu dot org
@ 2003-09-04 20:58 ` bangerth at ices dot utexas dot edu
  2003-09-04 21:12 ` ebotcazou at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: bangerth at ices dot utexas dot edu @ 2003-09-04 20:58 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From bangerth at ices dot utexas dot edu  2003-09-04 20:58 -------
Subject: Re:  [3.3/3.4 regression] ICE in commit_one_edge_insertion with -fnon-call-exceptions -fgcse -O

> Wolfgang, note that your reduced testcases are not
> valid on the 3.3 branch.

What do you mean by that? I can compile them.

However, I can't reproduce the failure mode any more on neither 3.3 branch nor 
on mainline. Has this been silently fixed? If so, we should ask Janis to 
search for the patch to see whether it is fixed or just papered over.

W.

-------------------------------------------------------------------------
Wolfgang Bangerth              email:            bangerth@ices.utexas.edu
                               www: http://www.ices.utexas.edu/~bangerth/


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

* [Bug optimization/11646] [3.3/3.4 regression] ICE in commit_one_edge_insertion with -fnon-call-exceptions -fgcse -O
  2003-07-23 18:09 [Bug optimization/11646] New: [3.3 regression] ICE with -fnon-call-exceptions -fgcse -O nick at ilm dot com
                   ` (7 preceding siblings ...)
  2003-09-04 20:58 ` bangerth at ices dot utexas dot edu
@ 2003-09-04 21:12 ` ebotcazou at gcc dot gnu dot org
  2003-09-04 21:39 ` bangerth at ices dot utexas dot edu
                   ` (6 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-09-04 21:12 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From ebotcazou at gcc dot gnu dot org  2003-09-04 21:12 -------
They are not valid testcases for the bug on the 3.3 branch, that is they don't
trigger the ICE while the original code still does as of today.


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

* [Bug optimization/11646] [3.3/3.4 regression] ICE in commit_one_edge_insertion with -fnon-call-exceptions -fgcse -O
  2003-07-23 18:09 [Bug optimization/11646] New: [3.3 regression] ICE with -fnon-call-exceptions -fgcse -O nick at ilm dot com
                   ` (8 preceding siblings ...)
  2003-09-04 21:12 ` ebotcazou at gcc dot gnu dot org
@ 2003-09-04 21:39 ` bangerth at ices dot utexas dot edu
  2003-09-12 11:20 ` ebotcazou at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: bangerth at ices dot utexas dot edu @ 2003-09-04 21:39 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From bangerth at ices dot utexas dot edu  2003-09-04 21:39 -------
Subject: Re:  [3.3/3.4 regression] ICE in commit_one_edge_insertion with -fnon-call-exceptions -fgcse -O

> They are not valid testcases for the bug on the
> 3.3 branch, that is they don't trigger the ICE while the original code
> still does as of today.

Ouch. So someone will have to do the work again. Unfortunately, I won't have 
the time to do this in the forseeable future. Let's CC: the bugmasters 
list...

W.

-------------------------------------------------------------------------
Wolfgang Bangerth              email:            bangerth@ices.utexas.edu
                               www: http://www.ices.utexas.edu/~bangerth/


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

* [Bug optimization/11646] [3.3/3.4 regression] ICE in commit_one_edge_insertion with -fnon-call-exceptions -fgcse -O
  2003-07-23 18:09 [Bug optimization/11646] New: [3.3 regression] ICE with -fnon-call-exceptions -fgcse -O nick at ilm dot com
                   ` (10 preceding siblings ...)
  2003-09-12 11:20 ` ebotcazou at gcc dot gnu dot org
@ 2003-09-12 11:20 ` ebotcazou at gcc dot gnu dot org
  2003-09-15  9:13 ` ebotcazou at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-09-12 11:20 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2003-09-12 11:20 -------
...this one.


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

* [Bug optimization/11646] [3.3/3.4 regression] ICE in commit_one_edge_insertion with -fnon-call-exceptions -fgcse -O
  2003-07-23 18:09 [Bug optimization/11646] New: [3.3 regression] ICE with -fnon-call-exceptions -fgcse -O nick at ilm dot com
                   ` (9 preceding siblings ...)
  2003-09-04 21:39 ` bangerth at ices dot utexas dot edu
@ 2003-09-12 11:20 ` ebotcazou at gcc dot gnu dot org
  2003-09-12 11:20 ` ebotcazou at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-09-12 11:20 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


ebotcazou at gcc dot gnu dot org changed:

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


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2003-09-12 11:20 -------
Intermediate step to...


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

* [Bug optimization/11646] [3.3/3.4 regression] ICE in commit_one_edge_insertion with -fnon-call-exceptions -fgcse -O
  2003-07-23 18:09 [Bug optimization/11646] New: [3.3 regression] ICE with -fnon-call-exceptions -fgcse -O nick at ilm dot com
                   ` (11 preceding siblings ...)
  2003-09-12 11:20 ` ebotcazou at gcc dot gnu dot org
@ 2003-09-15  9:13 ` ebotcazou at gcc dot gnu dot org
  2003-09-17  8:19 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-09-15  9:13 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
                   |dot org                     |org
             Status|REOPENED                    |ASSIGNED


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2003-09-15 07:07 -------
Fixing.


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

* [Bug optimization/11646] [3.3/3.4 regression] ICE in commit_one_edge_insertion with -fnon-call-exceptions -fgcse -O
  2003-07-23 18:09 [Bug optimization/11646] New: [3.3 regression] ICE with -fnon-call-exceptions -fgcse -O nick at ilm dot com
                   ` (12 preceding siblings ...)
  2003-09-15  9:13 ` ebotcazou at gcc dot gnu dot org
@ 2003-09-17  8:19 ` cvs-commit at gcc dot gnu dot org
  2003-09-17  9:04 ` cvs-commit at gcc dot gnu dot org
  2003-09-17  9:21 ` ebotcazou at gcc dot gnu dot org
  15 siblings, 0 replies; 17+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-09-17  8:19 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-09-17 07:11 -------
Subject: Bug 11646

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	ebotcazou@gcc.gnu.org	2003-09-17 07:11:02

Modified files:
	gcc            : ChangeLog cfgrtl.c toplev.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/opt: cfg3.C 

Log message:
	PR optimization/11646
	* cfgrtl.c (purge_dead_edges) [JUMP_INSN]: Rematerialize the
	EDGE_ABNORMAL flag for EH edges.
	* toplev.c (rest_of_handle_cse): Delete unreachable blocks
	if dead edges were purged.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.1074&r2=2.1075
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cfgrtl.c.diff?cvsroot=gcc&r1=1.97&r2=1.98
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/toplev.c.diff?cvsroot=gcc&r1=1.825&r2=1.826
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3059&r2=1.3060
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/opt/cfg3.C.diff?cvsroot=gcc&r1=NONE&r2=1.1


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

* [Bug optimization/11646] [3.3/3.4 regression] ICE in commit_one_edge_insertion with -fnon-call-exceptions -fgcse -O
  2003-07-23 18:09 [Bug optimization/11646] New: [3.3 regression] ICE with -fnon-call-exceptions -fgcse -O nick at ilm dot com
                   ` (13 preceding siblings ...)
  2003-09-17  8:19 ` cvs-commit at gcc dot gnu dot org
@ 2003-09-17  9:04 ` cvs-commit at gcc dot gnu dot org
  2003-09-17  9:21 ` ebotcazou at gcc dot gnu dot org
  15 siblings, 0 replies; 17+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-09-17  9:04 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-09-17 07:17 -------
Subject: Bug 11646

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_3-branch
Changes by:	ebotcazou@gcc.gnu.org	2003-09-17 07:17:18

Modified files:
	gcc            : ChangeLog cfgrtl.c toplev.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/opt: cfg3.C 

Log message:
	PR optimization/11646
	* cfgrtl.c (purge_dead_edges) [JUMP_INSN]: Rematerialize the
	EDGE_ABNORMAL flag for EH edges.
	* toplev.c (rest_of_compilation): Delete unreachable blocks
	if dead edges were purged after the first CSE pass.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.739&r2=1.16114.2.740
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cfgrtl.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.61.2.11&r2=1.61.2.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/toplev.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.690.2.21&r2=1.690.2.22
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.2261.2.280&r2=1.2261.2.281
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/opt/cfg3.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.2.1


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

* [Bug optimization/11646] [3.3/3.4 regression] ICE in commit_one_edge_insertion with -fnon-call-exceptions -fgcse -O
  2003-07-23 18:09 [Bug optimization/11646] New: [3.3 regression] ICE with -fnon-call-exceptions -fgcse -O nick at ilm dot com
                   ` (14 preceding siblings ...)
  2003-09-17  9:04 ` cvs-commit at gcc dot gnu dot org
@ 2003-09-17  9:21 ` ebotcazou at gcc dot gnu dot org
  15 siblings, 0 replies; 17+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-09-17  9:21 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


ebotcazou at gcc dot gnu dot org changed:

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


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2003-09-17 07:20 -------
See http://gcc.gnu.org/ml/gcc-patches/2003-09/msg01007.html


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

end of thread, other threads:[~2003-09-17  7:20 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-23 18:09 [Bug optimization/11646] New: [3.3 regression] ICE with -fnon-call-exceptions -fgcse -O nick at ilm dot com
2003-07-23 18:10 ` [Bug optimization/11646] " nick at ilm dot com
2003-07-23 18:25 ` [Bug optimization/11646] [3.3/3.4 regression] ICE in commit_one_edge_insertion " bangerth at dealii dot org
2003-07-23 18:54 ` bangerth at dealii dot org
2003-07-23 18:55 ` bangerth at dealii dot org
2003-07-25 23:30 ` janis187 at us dot ibm dot com
2003-08-09 13:17 ` pinskia at gcc dot gnu dot org
2003-09-04 20:48 ` ebotcazou at gcc dot gnu dot org
2003-09-04 20:58 ` bangerth at ices dot utexas dot edu
2003-09-04 21:12 ` ebotcazou at gcc dot gnu dot org
2003-09-04 21:39 ` bangerth at ices dot utexas dot edu
2003-09-12 11:20 ` ebotcazou at gcc dot gnu dot org
2003-09-12 11:20 ` ebotcazou at gcc dot gnu dot org
2003-09-15  9:13 ` ebotcazou at gcc dot gnu dot org
2003-09-17  8:19 ` cvs-commit at gcc dot gnu dot org
2003-09-17  9:04 ` cvs-commit at gcc dot gnu dot org
2003-09-17  9:21 ` ebotcazou 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).