https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81182
Andrew Pinski changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81182
Marcin Grzebieluch changed:
What|Removed |Added
CC||grzebieluch at me dot com
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81182
--- Comment #7 from bartek 'basz' szurgot ---
maybe it's more related to a particular set of configuration parameters /
features enabled, then the released version?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81182
--- Comment #6 from Jonathan Wakely ---
There's something strange about the Debian package then.
$ cat np.cc
struct S
{
int i;
};
template
struct T
{
auto operator->() { return }
S s;
};
template
void problem(T& t)
{
t->i;
}
$
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81182
--- Comment #5 from bartek 'basz' szurgot ---
Created attachment 41626
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41626=edit
gcc 6.3 vs gcc 7.1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81182
--- Comment #4 from bartek 'basz' szurgot ---
on my Debian it works on GCC 7.1.0, but not on GCC 6.3.0 (test script
attached):
+ g++-6 -v
Using built-in specs.
COLLECT_GCC=g++-6
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81182
--- Comment #3 from Jonathan Wakely ---
(In reply to bartek 'basz' szurgot from comment #2)
> looks like the problem is gone in GCC-7.1.
No, doesn't seem to be.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81182
--- Comment #2 from bartek 'basz' szurgot ---
looks like the problem is gone in GCC-7.1.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81182
--- Comment #1 from Jonathan Wakely ---
Reduced:
struct S
{
int i;
};
template
struct T
{
auto operator->() { return }
S s;
};
template
void problem(T& t)
{
t->i;
}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81182
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
10 matches
Mail list logo