public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/10483] Spurious reference created to integer constant in ternary op
[not found] <20030424161600.10483.dej@inode.org>
@ 2005-08-03 5:54 ` dank at kegel dot com
2005-08-03 5:59 ` pinskia at gcc dot gnu dot org
2005-08-03 5:59 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 3+ messages in thread
From: dank at kegel dot com @ 2005-08-03 5:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dank at kegel dot com 2005-08-03 05:53 -------
Should this be revisited now that gcc-4.x has disallowed
ternaries as lvalues? My users are somewhat mystified
as to why they need to declare storage for integer
constants whose address is never taken.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10483
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/10483] Spurious reference created to integer constant in ternary op
[not found] <20030424161600.10483.dej@inode.org>
2005-08-03 5:54 ` [Bug c++/10483] Spurious reference created to integer constant in ternary op dank at kegel dot com
2005-08-03 5:59 ` pinskia at gcc dot gnu dot org
@ 2005-08-03 5:59 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-03 5:59 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-03 05:58 -------
(In reply to comment #2)
> Should this be revisited now that gcc-4.x has disallowed
> ternaries as lvalues? My users are somewhat mystified
> as to why they need to declare storage for integer
> constants whose address is never taken.
Because that is what the standard allows. Also if you turn on optimization, the references go away.
Reopening to ...
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10483
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/10483] Spurious reference created to integer constant in ternary op
[not found] <20030424161600.10483.dej@inode.org>
2005-08-03 5:54 ` [Bug c++/10483] Spurious reference created to integer constant in ternary op dank at kegel dot com
@ 2005-08-03 5:59 ` pinskia at gcc dot gnu dot org
2005-08-03 5:59 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-03 5:59 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-03 05:59 -------
Mark as invalid.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10483
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-08-03 5:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20030424161600.10483.dej@inode.org>
2005-08-03 5:54 ` [Bug c++/10483] Spurious reference created to integer constant in ternary op dank at kegel dot com
2005-08-03 5:59 ` pinskia at gcc dot gnu dot org
2005-08-03 5:59 ` 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).