public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/5247] Memory eating infinite loop on default parameter in constructor which is reference to class
[not found] <20020102075601.5247.schmid@snake.iap.physik.tu-darmstadt.de>
@ 2003-06-02 16:55 ` pinskia@physics.uc.edu
2003-07-16 4:01 ` pinskia at physics dot uc dot edu
` (6 subsequent siblings)
7 siblings, 0 replies; 14+ messages in thread
From: pinskia@physics.uc.edu @ 2003-06-02 16: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=5247
------- Additional Comments From pinskia@physics.uc.edu 2003-06-02 16:55 -------
On the released version of 2.95.3 (2.95.3 20010315 (release)), I get the behavior
discrived here.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/5247] Memory eating infinite loop on default parameter in constructor which is reference to class
[not found] <20020102075601.5247.schmid@snake.iap.physik.tu-darmstadt.de>
2003-06-02 16:55 ` [Bug c++/5247] Memory eating infinite loop on default parameter in constructor which is reference to class pinskia@physics.uc.edu
@ 2003-07-16 4:01 ` pinskia at physics dot uc dot edu
2003-12-08 2:03 ` reichelt at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 14+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-16 4:01 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=5247
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at physics dot uc
| |dot edu
Last reconfirmed|2003-04-01 00:00:00 |2003-07-16 04:01:57
date| |
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-16 04:01 -------
Still happens on the mainline (20030715).
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/5247] Memory eating infinite loop on default parameter in constructor which is reference to class
[not found] <20020102075601.5247.schmid@snake.iap.physik.tu-darmstadt.de>
2003-06-02 16:55 ` [Bug c++/5247] Memory eating infinite loop on default parameter in constructor which is reference to class pinskia@physics.uc.edu
2003-07-16 4:01 ` pinskia at physics dot uc dot edu
@ 2003-12-08 2:03 ` reichelt at gcc dot gnu dot org
2003-12-25 22:44 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 14+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2003-12-08 2:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2003-12-08 02:03 -------
I don't think that the code is valid, since there's no finite
conversion series from int to "a".
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Keywords|ice-on-valid-code |ice-on-invalid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5247
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/5247] Memory eating infinite loop on default parameter in constructor which is reference to class
[not found] <20020102075601.5247.schmid@snake.iap.physik.tu-darmstadt.de>
` (2 preceding siblings ...)
2003-12-08 2:03 ` reichelt at gcc dot gnu dot org
@ 2003-12-25 22:44 ` pinskia at gcc dot gnu dot org
2003-12-26 0:32 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-25 22:44 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-25 21:20 -------
Closely related to bug 13491.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5247
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/5247] Memory eating infinite loop on default parameter in constructor which is reference to class
[not found] <20020102075601.5247.schmid@snake.iap.physik.tu-darmstadt.de>
` (3 preceding siblings ...)
2003-12-25 22:44 ` pinskia at gcc dot gnu dot org
@ 2003-12-26 0:32 ` pinskia at gcc dot gnu dot org
2004-08-05 17:57 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-26 0:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-25 21:23 -------
*** Bug 13491 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |ethouris at o2 dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5247
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/5247] Memory eating infinite loop on default parameter in constructor which is reference to class
[not found] <20020102075601.5247.schmid@snake.iap.physik.tu-darmstadt.de>
` (4 preceding siblings ...)
2003-12-26 0:32 ` pinskia at gcc dot gnu dot org
@ 2004-08-05 17:57 ` pinskia at gcc dot gnu dot org
2004-08-05 18:02 ` bangerth at dealii dot org
2005-08-29 10:09 ` rguenth at gcc dot gnu dot org
7 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-05 17:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-05 17:57 -------
*** Bug 15528 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |igodard at pacbell dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5247
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/5247] Memory eating infinite loop on default parameter in constructor which is reference to class
[not found] <20020102075601.5247.schmid@snake.iap.physik.tu-darmstadt.de>
` (5 preceding siblings ...)
2004-08-05 17:57 ` pinskia at gcc dot gnu dot org
@ 2004-08-05 18:02 ` bangerth at dealii dot org
2005-08-29 10:09 ` rguenth at gcc dot gnu dot org
7 siblings, 0 replies; 14+ messages in thread
From: bangerth at dealii dot org @ 2004-08-05 18:02 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2004-08-05 18:02 -------
PR 15528 actually has the nicer testcase, IMHO.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5247
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/5247] Memory eating infinite loop on default parameter in constructor which is reference to class
[not found] <20020102075601.5247.schmid@snake.iap.physik.tu-darmstadt.de>
` (6 preceding siblings ...)
2004-08-05 18:02 ` bangerth at dealii dot org
@ 2005-08-29 10:09 ` rguenth at gcc dot gnu dot org
7 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-08-29 10:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rguenth at gcc dot gnu dot org 2005-08-29 10:05 -------
EDG manages to produce
pr5247.C(2): error: no suitable constructor exists to convert from "int" to "a"
a (int, const a & = 0) { }
^
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5247
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/5247] Memory eating infinite loop on default parameter in constructor which is reference to class
[not found] <bug-5247-849@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2007-10-27 15:20 ` jason at gcc dot gnu dot org
@ 2007-11-19 5:18 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-11-19 5:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #18 from pinskia at gcc dot gnu dot org 2007-11-19 05:18 -------
Fixed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5247
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/5247] Memory eating infinite loop on default parameter in constructor which is reference to class
[not found] <bug-5247-849@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2006-04-01 13:11 ` bsdfan3 at users dot sourceforge dot net
@ 2007-10-27 15:20 ` jason at gcc dot gnu dot org
2007-11-19 5:18 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 14+ messages in thread
From: jason at gcc dot gnu dot org @ 2007-10-27 15:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #17 from jason at gcc dot gnu dot org 2007-10-27 15:19 -------
Subject: Bug 5247
Author: jason
Date: Sat Oct 27 15:19:45 2007
New Revision: 129681
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129681
Log:
PR c++/5247
* call.c (convert_default_arg): Detect recursion.
Added:
trunk/gcc/testsuite/g++.dg/overload/defarg1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5247
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/5247] Memory eating infinite loop on default parameter in constructor which is reference to class
[not found] <bug-5247-849@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2006-04-01 13:07 ` bsdfan3 at users dot sourceforge dot net
@ 2006-04-01 13:11 ` bsdfan3 at users dot sourceforge dot net
2007-10-27 15:20 ` jason at gcc dot gnu dot org
2007-11-19 5:18 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 14+ messages in thread
From: bsdfan3 at users dot sourceforge dot net @ 2006-04-01 13:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #16 from bsdfan3 at users dot sourceforge dot net 2006-04-01 13:11 -------
MSVC8 also manages a sensible error message on the testcase from this bug:
C:\cygwin\home\Lucas>cl /c pr5247.cc
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.
pr5247.cc
pr5247.cc(2) : fatal error C1202: recursive type or function dependency context
too complex
C:\cygwin\home\Lucas>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5247
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/5247] Memory eating infinite loop on default parameter in constructor which is reference to class
[not found] <bug-5247-849@http.gcc.gnu.org/bugzilla/>
2005-10-06 22:07 ` pinskia at gcc dot gnu dot org
2006-03-29 21:14 ` bsdfan3 at users dot sourceforge dot net
@ 2006-04-01 13:07 ` bsdfan3 at users dot sourceforge dot net
2006-04-01 13:11 ` bsdfan3 at users dot sourceforge dot net
` (2 subsequent siblings)
5 siblings, 0 replies; 14+ messages in thread
From: bsdfan3 at users dot sourceforge dot net @ 2006-04-01 13:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #15 from bsdfan3 at users dot sourceforge dot net 2006-04-01 13:07 -------
(In reply to comment #14)
> GCC 3.4.4 on Cygwin actually breaks. The .ii file looks normal, however, it
> seems to be segfaulting...I'll try the testcase with mainline shortly.
>
> $ gcc --version
> gcc (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
> Copyright (C) 2004 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
Mainline (20060401) breaks too...same (silent) segfault
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5247
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/5247] Memory eating infinite loop on default parameter in constructor which is reference to class
[not found] <bug-5247-849@http.gcc.gnu.org/bugzilla/>
2005-10-06 22:07 ` pinskia at gcc dot gnu dot org
@ 2006-03-29 21:14 ` bsdfan3 at users dot sourceforge dot net
2006-04-01 13:07 ` bsdfan3 at users dot sourceforge dot net
` (3 subsequent siblings)
5 siblings, 0 replies; 14+ messages in thread
From: bsdfan3 at users dot sourceforge dot net @ 2006-03-29 21:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from bsdfan3 at users dot sourceforge dot net 2006-03-29 21:14 -------
GCC 3.4.4 on Cygwin actually breaks. The .ii file looks normal, however, it
seems to be segfaulting...I'll try the testcase with mainline shortly.
$ gcc --version
gcc (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5247
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/5247] Memory eating infinite loop on default parameter in constructor which is reference to class
[not found] <bug-5247-849@http.gcc.gnu.org/bugzilla/>
@ 2005-10-06 22:07 ` pinskia at gcc dot gnu dot org
2006-03-29 21:14 ` bsdfan3 at users dot sourceforge dot net
` (4 subsequent siblings)
5 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-06 22:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from pinskia at gcc dot gnu dot org 2005-10-06 22:07 -------
*** Bug 24247 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jens dot maurer at gmx dot
| |net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5247
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2007-11-19 5:18 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20020102075601.5247.schmid@snake.iap.physik.tu-darmstadt.de>
2003-06-02 16:55 ` [Bug c++/5247] Memory eating infinite loop on default parameter in constructor which is reference to class pinskia@physics.uc.edu
2003-07-16 4:01 ` pinskia at physics dot uc dot edu
2003-12-08 2:03 ` reichelt at gcc dot gnu dot org
2003-12-25 22:44 ` pinskia at gcc dot gnu dot org
2003-12-26 0:32 ` pinskia at gcc dot gnu dot org
2004-08-05 17:57 ` pinskia at gcc dot gnu dot org
2004-08-05 18:02 ` bangerth at dealii dot org
2005-08-29 10:09 ` rguenth at gcc dot gnu dot org
[not found] <bug-5247-849@http.gcc.gnu.org/bugzilla/>
2005-10-06 22:07 ` pinskia at gcc dot gnu dot org
2006-03-29 21:14 ` bsdfan3 at users dot sourceforge dot net
2006-04-01 13:07 ` bsdfan3 at users dot sourceforge dot net
2006-04-01 13:11 ` bsdfan3 at users dot sourceforge dot net
2007-10-27 15:20 ` jason at gcc dot gnu dot org
2007-11-19 5:18 ` pinskia 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).