public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/27100] New: ICE with multiple friend declarations @ 2006-04-10 13:46 reichelt at gcc dot gnu dot org 2006-04-10 16:34 ` [Bug c++/27100] " pinskia at gcc dot gnu dot org 2006-11-19 23:16 ` pinskia at gcc dot gnu dot org 0 siblings, 2 replies; 7+ messages in thread From: reichelt at gcc dot gnu dot org @ 2006-04-10 13:46 UTC (permalink / raw) To: gcc-bugs The compiler segfaults on the following valid code snippet when invoked with "g++ --param ggc-min-expand=0 --param ggc-min-heapsize=0": ============================ struct A { friend void foo() {} friend void foo(); }; ============================ The error message on mainline is: bug.cc:4: warning: 'void foo()' is already a friend of class 'A' bug.cc:4: internal compiler error: Segmentation fault Please submit a full bug report, [etc.] This happens since the two command line parameters were introduced (GCC 3.3). -- Summary: ICE with multiple friend declarations Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, monitored, GC Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27100 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/27100] ICE with multiple friend declarations 2006-04-10 13:46 [Bug c++/27100] New: ICE with multiple friend declarations reichelt at gcc dot gnu dot org @ 2006-04-10 16:34 ` pinskia at gcc dot gnu dot org 2006-11-19 23:16 ` pinskia at gcc dot gnu dot org 1 sibling, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2006-04-10 16:34 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-10 16:34 ------- Confirmed. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-04-10 16:34:49 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27100 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/27100] ICE with multiple friend declarations 2006-04-10 13:46 [Bug c++/27100] New: ICE with multiple friend declarations reichelt at gcc dot gnu dot org 2006-04-10 16:34 ` [Bug c++/27100] " pinskia at gcc dot gnu dot org @ 2006-11-19 23:16 ` pinskia at gcc dot gnu dot org 1 sibling, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2006-11-19 23:16 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from pinskia at gcc dot gnu dot org 2006-11-19 23:16 ------- *** Bug 29896 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |baraclese at googlemail dot | |com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27100 ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <bug-27100-4@http.gcc.gnu.org/bugzilla/>]
* [Bug c++/27100] ICE with multiple friend declarations [not found] <bug-27100-4@http.gcc.gnu.org/bugzilla/> @ 2011-10-12 19:52 ` paolo.carlini at oracle dot com 2011-10-12 19:53 ` paolo.carlini at oracle dot com ` (2 subsequent siblings) 3 siblings, 0 replies; 7+ messages in thread From: paolo.carlini at oracle dot com @ 2011-10-12 19:52 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27100 Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC|gcc-bugs at gcc dot gnu.org | Resolution| |FIXED --- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-10-12 19:51:40 UTC --- Fixed long time ago. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/27100] ICE with multiple friend declarations [not found] <bug-27100-4@http.gcc.gnu.org/bugzilla/> 2011-10-12 19:52 ` paolo.carlini at oracle dot com @ 2011-10-12 19:53 ` paolo.carlini at oracle dot com 2012-07-30 23:36 ` steven at gcc dot gnu.org 2012-07-30 23:48 ` steven at gcc dot gnu.org 3 siblings, 0 replies; 7+ messages in thread From: paolo.carlini at oracle dot com @ 2011-10-12 19:53 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27100 Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-10-12 19:52:46 UTC --- Oops, sorry, didn't notice the ggc. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/27100] ICE with multiple friend declarations [not found] <bug-27100-4@http.gcc.gnu.org/bugzilla/> 2011-10-12 19:52 ` paolo.carlini at oracle dot com 2011-10-12 19:53 ` paolo.carlini at oracle dot com @ 2012-07-30 23:36 ` steven at gcc dot gnu.org 2012-07-30 23:48 ` steven at gcc dot gnu.org 3 siblings, 0 replies; 7+ messages in thread From: steven at gcc dot gnu.org @ 2012-07-30 23:36 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27100 Steven Bosscher <steven at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEW Last reconfirmed|2006-09-03 21:39:42 |2012-07-31 1:35 Known to fail| |4.7.0, 4.7.1, 4.8.0 --- Comment #5 from Steven Bosscher <steven at gcc dot gnu.org> 2012-07-30 23:35:50 UTC --- Still happens. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/27100] ICE with multiple friend declarations [not found] <bug-27100-4@http.gcc.gnu.org/bugzilla/> ` (2 preceding siblings ...) 2012-07-30 23:36 ` steven at gcc dot gnu.org @ 2012-07-30 23:48 ` steven at gcc dot gnu.org 3 siblings, 0 replies; 7+ messages in thread From: steven at gcc dot gnu.org @ 2012-07-30 23:48 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27100 --- Comment #6 from Steven Bosscher <steven at gcc dot gnu.org> 2012-07-30 23:48:39 UTC --- It's not clear to me how instantiate_pending_templates protects its instantiations from GGC. ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-07-30 23:48 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2006-04-10 13:46 [Bug c++/27100] New: ICE with multiple friend declarations reichelt at gcc dot gnu dot org 2006-04-10 16:34 ` [Bug c++/27100] " pinskia at gcc dot gnu dot org 2006-11-19 23:16 ` pinskia at gcc dot gnu dot org [not found] <bug-27100-4@http.gcc.gnu.org/bugzilla/> 2011-10-12 19:52 ` paolo.carlini at oracle dot com 2011-10-12 19:53 ` paolo.carlini at oracle dot com 2012-07-30 23:36 ` steven at gcc dot gnu.org 2012-07-30 23:48 ` steven at gcc dot gnu.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).