https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064
Daniel Gutson <daniel.gutson at tallertechnologies dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daniel.gutson@tallertechnol
| |ogies.com
--- Comment #5 from Daniel Gutson <daniel.gutson at tallertechnologies dot com>
---
FWIW, g++ 4.8.4 and clang 3.5 do not complain in the following code:
struct s {
int i;
};
//register struct s *reg __asm__( "1" );
s* reg;
int f(void)
{
int i;
i = reg->i;
i = (reg)->i;
return i;
}
As from the same paragraphs of the standard, I don't think that a adding
parenthesis should alter the "valueness type" outside a decltype, meaning that
this could be an error lately introduced. I'll ask for a Committee member help
here.