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 target/11303] [3.3/3.4 regression] ICE in stor-layout.c:304 in int_mode_for_mode


------- Additional Comments From gdr at integrable-solutions dot net  2003-12-05 16:59 -------
Subject: Re:  [3.3/3.4 regression] ICE in stor-layout.c:304 in int_mode_for_mode

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

| Has this been fixed? I don't get any ICE with my mainline snapshot from 
| 2003-12-02. Do I have to give some special flags? The only thing I get is 
|  
| g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ x.cc 
| x.cc: In instantiation of `int (test<int>::*test<int>::s_callbacks[2])(int)': 
| x.cc:13:   instantiated from `int test<T>::run(int) [with T = int]' 
| x.cc:26:   instantiated from here 
| x.cc:18: error: argument of type `int (test<int>::)(int)' does not match `int 
| (test<int>::*)(int)' 
|  
| and from the branch: 
| g/x> /home/bangerth/bin/gcc-3.3.3-pre/bin/c++ x.cc 
| x.cc: In instantiation of `int (test<int>::*test<int>::s_callbacks[2])(int)': 
| x.cc:13:   instantiated from `int test<T>::run(int) [with T = int]' 
| x.cc:26:   instantiated from here 
| x.cc:18: error: assuming pointer to member `int test<T>::c1(int) [with T = 
| int] 
|    ' 
| x.cc:18: error: (a pointer to member can only be formed with `&test<T>::c1  
|    [with T = int]') 

The pretty-printing we have in 3.4 is better, but the hint we have in
3.3.x is lost. That worries me.

-- Gaby


-- 


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


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