* [Bug libstdc++/11126] Error in valarray::operator =
2003-06-08 15:36 [Bug libstdc++/11126] New: Error in valarray::operator = lupoderi@tiscali.it
@ 2003-06-08 15:38 ` lupoderi@tiscali.it
2003-06-08 16:12 ` gdr@integrable-solutions.net
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: lupoderi@tiscali.it @ 2003-06-08 15:38 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=11126
------- Additional Comments From lupoderi@tiscali.it 2003-06-08 15:38 -------
I meaning left side operand. Sorry.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/11126] Error in valarray::operator =
2003-06-08 15:36 [Bug libstdc++/11126] New: Error in valarray::operator = lupoderi@tiscali.it
2003-06-08 15:38 ` [Bug libstdc++/11126] " lupoderi@tiscali.it
@ 2003-06-08 16:12 ` gdr@integrable-solutions.net
2003-06-08 16:12 ` [Bug libstdc++/11126] New: " Gabriel Dos Reis
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: gdr@integrable-solutions.net @ 2003-06-08 16:12 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=11126
------- Additional Comments From gdr@integrable-solutions.net 2003-06-08 16:12 -------
Subject: Re: New: Error in valarray::operator =
"lupoderi@tiscali.it" <gcc-bugzilla@gcc.gnu.org> writes:
| PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
|
| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11126
|
| Summary: Error in valarray::operator =
| Product: gcc
| Version: 3.3
| Status: UNCONFIRMED
| Severity: normal
| Priority: P2
| Component: libstdc++
| AssignedTo: unassigned@gcc.gnu.org
| ReportedBy: lupoderi@tiscali.it
| CC: gcc-bugs@gcc.gnu.org
|
| The valarrat::operator=() doesn't change the size of right side operand.
This is not a bug. It is standard conformant behaviour.
A valarray is not expected to be size-adapting. It is undefined if
the left and the right sides have different sizes. This must be a
FAQ.
-- Gaby
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Bug libstdc++/11126] New: Error in valarray::operator =
2003-06-08 15:36 [Bug libstdc++/11126] New: Error in valarray::operator = lupoderi@tiscali.it
2003-06-08 15:38 ` [Bug libstdc++/11126] " lupoderi@tiscali.it
2003-06-08 16:12 ` gdr@integrable-solutions.net
@ 2003-06-08 16:12 ` Gabriel Dos Reis
2003-06-09 8:15 ` [Bug libstdc++/11126] " dhazeghi@yahoo.com
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Gabriel Dos Reis @ 2003-06-08 16:12 UTC (permalink / raw)
To: gcc-bugzilla; +Cc: gcc-bugs
"lupoderi@tiscali.it" <gcc-bugzilla@gcc.gnu.org> writes:
| PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
|
| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11126
|
| Summary: Error in valarray::operator =
| Product: gcc
| Version: 3.3
| Status: UNCONFIRMED
| Severity: normal
| Priority: P2
| Component: libstdc++
| AssignedTo: unassigned@gcc.gnu.org
| ReportedBy: lupoderi@tiscali.it
| CC: gcc-bugs@gcc.gnu.org
|
| The valarrat::operator=() doesn't change the size of right side operand.
This is not a bug. It is standard conformant behaviour.
A valarray is not expected to be size-adapting. It is undefined if
the left and the right sides have different sizes. This must be a
FAQ.
-- Gaby
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/11126] Error in valarray::operator =
2003-06-08 15:36 [Bug libstdc++/11126] New: Error in valarray::operator = lupoderi@tiscali.it
` (2 preceding siblings ...)
2003-06-08 16:12 ` [Bug libstdc++/11126] New: " Gabriel Dos Reis
@ 2003-06-09 8:15 ` dhazeghi@yahoo.com
2003-06-09 9:58 ` gdr@integrable-solutions.net
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: dhazeghi@yahoo.com @ 2003-06-09 8:15 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=11126
------- Additional Comments From dhazeghi@yahoo.com 2003-06-09 08:15 -------
Gaby, should this be closed, or marked as a documentation enhancement request?
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/11126] Error in valarray::operator =
2003-06-08 15:36 [Bug libstdc++/11126] New: Error in valarray::operator = lupoderi@tiscali.it
` (3 preceding siblings ...)
2003-06-09 8:15 ` [Bug libstdc++/11126] " dhazeghi@yahoo.com
@ 2003-06-09 9:58 ` gdr@integrable-solutions.net
2003-06-09 16:26 ` pme@gcc.gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: gdr@integrable-solutions.net @ 2003-06-09 9:58 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=11126
------- Additional Comments From gdr@integrable-solutions.net 2003-06-09 09:58 -------
Subject: Re: Error in valarray::operator =
"dhazeghi@yahoo.com" <gcc-bugzilla@gcc.gnu.org> writes:
| Gaby, should this be closed, or marked as a documentation
| enhancement request?
Closed.
Thank you.
-- Gaby
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/11126] Error in valarray::operator =
2003-06-08 15:36 [Bug libstdc++/11126] New: Error in valarray::operator = lupoderi@tiscali.it
` (4 preceding siblings ...)
2003-06-09 9:58 ` gdr@integrable-solutions.net
@ 2003-06-09 16:26 ` pme@gcc.gnu.org
2003-06-09 18:57 ` lupoderi@tiscali.it
2004-10-07 1:02 ` ppluzhnikov at charter dot net
7 siblings, 0 replies; 9+ messages in thread
From: pme@gcc.gnu.org @ 2003-06-09 16:26 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=11126
pme@gcc.gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
------- Additional Comments From pme@gcc.gnu.org 2003-06-09 16:26 -------
Closed, not-a-bug, as per Gaby.
(Possibly a "debug mode" library could throw an exception during the assignment.)
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/11126] Error in valarray::operator =
2003-06-08 15:36 [Bug libstdc++/11126] New: Error in valarray::operator = lupoderi@tiscali.it
` (5 preceding siblings ...)
2003-06-09 16:26 ` pme@gcc.gnu.org
@ 2003-06-09 18:57 ` lupoderi@tiscali.it
2004-10-07 1:02 ` ppluzhnikov at charter dot net
7 siblings, 0 replies; 9+ messages in thread
From: lupoderi@tiscali.it @ 2003-06-09 18:57 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=11126
------- Additional Comments From lupoderi@tiscali.it 2003-06-09 18:57 -------
I think that throwing an exception when NDEBUG is not defined is a good idea.
Thank you to the interest,
Luigi
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/11126] Error in valarray::operator =
2003-06-08 15:36 [Bug libstdc++/11126] New: Error in valarray::operator = lupoderi@tiscali.it
` (6 preceding siblings ...)
2003-06-09 18:57 ` lupoderi@tiscali.it
@ 2004-10-07 1:02 ` ppluzhnikov at charter dot net
7 siblings, 0 replies; 9+ messages in thread
From: ppluzhnikov at charter dot net @ 2004-10-07 1:02 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ppluzhnikov at charter dot net 2004-10-07 01:02 -------
*** Bug 17875 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |ppluzhnikov at charter dot
| |net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11126
^ permalink raw reply [flat|nested] 9+ messages in thread