public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/4044: vector<int[]> causes internal compiler error
@ 2002-11-01 14:58 bangerth
  0 siblings, 0 replies; 3+ messages in thread
From: bangerth @ 2002-11-01 14:58 UTC (permalink / raw)
  To: dave, gcc-bugs, gcc-prs, nobody, rodrigc

Synopsis: vector<int[]> causes internal compiler error

State-Changed-From-To: analyzed->closed
State-Changed-By: bangerth
State-Changed-When: Fri Nov  1 14:58:34 2002
State-Changed-Why:
    A proper bug is now reported.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4044


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

* Re: c++/4044: vector<int[]> causes internal compiler error
@ 2001-08-17 18:27 rodrigc
  0 siblings, 0 replies; 3+ messages in thread
From: rodrigc @ 2001-08-17 18:27 UTC (permalink / raw)
  To: dave, gcc-bugs, gcc-prs, nobody, rodrigc

Synopsis: vector<int[]> causes internal compiler error

State-Changed-From-To: open->analyzed
State-Changed-By: rodrigc
State-Changed-When: Fri Aug 17 18:27:44 2001
State-Changed-Why:
    In gcc 3.0, your code does not cause an Internal Compiler Error,
    but it generates a compilation error:
    
    bug.cpp:6:   instantiated from here
    /usr/local/include/g++-v3/bits/stl_vector.h:142: invalid use of array with    unspecified bounds
    
    
    Try using a vector< int * > instead.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4044&database=gcc


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

* c++/4044: vector<int[]> causes internal compiler error
@ 2001-08-16 19:36 dave
  0 siblings, 0 replies; 3+ messages in thread
From: dave @ 2001-08-16 19:36 UTC (permalink / raw)
  To: gcc-gnats

>Number:         4044
>Category:       c++
>Synopsis:       vector<int[]> causes internal compiler error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 16 19:36:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Dave Schweisguth
>Release:        gcc version 2.95.2-6 19991024 (cygwin experimental)
>Organization:
>Environment:
Cygwin, Windows 2000 SP2
>Description:
[FUNES ~/ws/cpp/final] g++ -Wall -o bug bug.cpp
bug.cpp: In instantiation of `_Vector_base<int[],allocator<int[]> >':
bug.cpp:5:   instantiated from `vector<int[],allocator<int[]> >'
bug.cpp:5:   instantiated from here
bug.cpp:5: Internal compiler error.
bug.cpp:5: Please submit a full bug report.
bug.cpp:5: See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.
>How-To-Repeat:
See above
>Fix:
Write legal C++.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/x-unknown-content-type-ft000001; name="bug.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="bug.cpp"

I2luY2x1ZGUgPHZlY3Rvcj4NCg0KaW50IG1haW4oKQ0Kew0KICAgdmVjdG9yPGludFtdPiB2Ow0K
fQ0K


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

end of thread, other threads:[~2002-11-01 22:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-01 14:58 c++/4044: vector<int[]> causes internal compiler error bangerth
  -- strict thread matches above, loose matches on Subject: below --
2001-08-17 18:27 rodrigc
2001-08-16 19:36 dave

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).