This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/21568] [4.0/4.1 regression] Casts in folding *& omitted


------- Additional Comments From wilson at specifix dot com  2005-07-08 00:41 -------
Subject: Re:  [4.0/4.1 regression] Casts in folding
 *& omitted

gcc2eran at tromer dot org wrote:
> And here is what N1124 [6.3.2.1/1] says:
>   "When an object is said to have a particular type, the type is
>    specified by the lvalue used to designate the object."
> See my point?

In the C99 standard, 6.5.4 Cast Operators, Footnote 85 "A cast does not 
yield an lvalue.  Thus, a cast to a qualified type has the same effect 
as a cast to the unqualified version of the type."


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]