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 c++/15264] [3.3 regression] ICE in maybe_push_cleanup_level


------- Additional Comments From gdr at integrable-solutions dot net  2004-05-03 19:47 -------
Subject: Re:  New: [3.3 regression] ICE in maybe_push_cleanup_level

"reichelt at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| Hi Gaby,
| 
| your patch
| 
| http://gcc.gnu.org/ml/gcc-cvs/2004-05/msg00020.html
| 
| causes ICEs on invalid code like the following (see PR14810):
| 
| ===========================================
| template <class T> void make_pair(T x);
| 
| void foo(){
|   struct fps_chan_ID fps; // { dg-error "incomplete" "" }
|   make_pair(fps); // { dg-error "no matching function" "" }
| }
| ===========================================
| 
| But fear not, there's hope, i.e. Mark's patch, which should be trivial
| enough for the 3.3 branch:
| 
| http://gcc.gnu.org/ml/gcc-cvs/2004-04/msg00122.html
| 
| I'll a attach a backported version shortly.
| (It does cure the ICE, but I didn't do a full bootstrap or run the testsuite).

If it passes regression testing, the please apply.

Thanks!

-- Gaby
 


-- 


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


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