This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/11646] [3.3/3.4 regression] ICE in commit_one_edge_insertion with -fnon-call-exceptions -fgcse -O


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]