public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/15989] New: Reference initialization with conditionally dependent argument causes spontaneous termination
@ 2004-06-14 16:28 v dot lesk at imperial dot ac dot uk
  2004-06-14 16:37 ` [Bug c++/15989] " bangerth at dealii dot org
  2004-09-13  7:55 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: v dot lesk at imperial dot ac dot uk @ 2004-06-14 16:28 UTC (permalink / raw)
  To: gcc-bugs

Programme spontaneously terminates during execution. Cause seems to be related
to presence in the code of statements of the form

int b,c;

Instance d,e;

..some statements involving d,e <<----spontaneously terminates here 

..lots of code

Instance & a ( b > c ? d : e); <<-----successfully executes without these lines

Programme


Source is v long and too complicated to post, I am just sending this on the
possibility that this is a reported bug and that there is a workaround.
Compiling with -Wall reveals nothing.

I tried this again on another linux machine running older gcc (3.2.2), and the
programme executed correctly. At optimization level -O3 only, however, the
programme did not execute correctly and the same symptom described above was
observed.

-- 
           Summary: Reference initialization with conditionally dependent
                    argument causes spontaneous termination
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: v dot lesk at imperial dot ac dot uk
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: Redhat Linux  2.4.7-10
GCC target triplet: Redhat Linux  2.4.7-10


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/15989] Reference initialization with conditionally dependent argument causes spontaneous termination
  2004-06-14 16:28 [Bug c++/15989] New: Reference initialization with conditionally dependent argument causes spontaneous termination v dot lesk at imperial dot ac dot uk
@ 2004-06-14 16:37 ` bangerth at dealii dot org
  2004-09-13  7:55 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: bangerth at dealii dot org @ 2004-06-14 16:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at dealii dot org  2004-06-14 16:37 -------
We can't do much without any source code. Please review what we need in 
  http://gcc.gnu.org/bugs.html 
 
W. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
            Summary|Reference initialization    |Reference initialization
                   |with conditionally dependent|with conditionally dependent
                   |argument causes spontaneous |argument causes spontaneous
                   |termination                 |termination


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/15989] Reference initialization with conditionally dependent argument causes spontaneous termination
  2004-06-14 16:28 [Bug c++/15989] New: Reference initialization with conditionally dependent argument causes spontaneous termination v dot lesk at imperial dot ac dot uk
  2004-06-14 16:37 ` [Bug c++/15989] " bangerth at dealii dot org
@ 2004-09-13  7:55 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-13  7:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-13 07:55 -------
No feedback in 3 months (T-1 day).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-09-13  7:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-14 16:28 [Bug c++/15989] New: Reference initialization with conditionally dependent argument causes spontaneous termination v dot lesk at imperial dot ac dot uk
2004-06-14 16:37 ` [Bug c++/15989] " bangerth at dealii dot org
2004-09-13  7:55 ` 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).