public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/60409] New: [4.9 Regression] [c++1y] ICE on valid with template function
@ 2014-03-04 11:16 paolo.carlini at oracle dot com
2014-03-05 14:26 ` [Bug c++/60409] " jakub at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: paolo.carlini at oracle dot com @ 2014-03-04 11:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60409
Bug ID: 60409
Summary: [4.9 Regression] [c++1y] ICE on valid with template
function
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: paolo.carlini at oracle dot com
ICE with -std=c++1y for:
struct A
{
void foo();
};
template<typename T> void bar(T)
{
(A().foo)();
}
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/60409] [4.9 Regression] [c++1y] ICE on valid with template function
2014-03-04 11:16 [Bug c++/60409] New: [4.9 Regression] [c++1y] ICE on valid with template function paolo.carlini at oracle dot com
@ 2014-03-05 14:26 ` jakub at gcc dot gnu.org
2014-03-05 17:55 ` jason at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-03-05 14:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60409
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r197248.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/60409] [4.9 Regression] [c++1y] ICE on valid with template function
2014-03-04 11:16 [Bug c++/60409] New: [4.9 Regression] [c++1y] ICE on valid with template function paolo.carlini at oracle dot com
2014-03-05 14:26 ` [Bug c++/60409] " jakub at gcc dot gnu.org
@ 2014-03-05 17:55 ` jason at gcc dot gnu.org
2014-03-05 19:26 ` jason at gcc dot gnu.org
2014-03-05 19:31 ` jason at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: jason at gcc dot gnu.org @ 2014-03-05 17:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60409
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |jason at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/60409] [4.9 Regression] [c++1y] ICE on valid with template function
2014-03-04 11:16 [Bug c++/60409] New: [4.9 Regression] [c++1y] ICE on valid with template function paolo.carlini at oracle dot com
2014-03-05 14:26 ` [Bug c++/60409] " jakub at gcc dot gnu.org
2014-03-05 17:55 ` jason at gcc dot gnu.org
@ 2014-03-05 19:26 ` jason at gcc dot gnu.org
2014-03-05 19:31 ` jason at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: jason at gcc dot gnu.org @ 2014-03-05 19:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60409
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Mar 5 19:25:37 2014
New Revision: 208352
URL: http://gcc.gnu.org/viewcvs?rev=208352&root=gcc&view=rev
Log:
PR c++/60409
* semantics.c (force_paren_expr): Only add a PAREN_EXPR to a
dependent expression.
Added:
trunk/gcc/testsuite/g++.dg/cpp1y/regress1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/60409] [4.9 Regression] [c++1y] ICE on valid with template function
2014-03-04 11:16 [Bug c++/60409] New: [4.9 Regression] [c++1y] ICE on valid with template function paolo.carlini at oracle dot com
` (2 preceding siblings ...)
2014-03-05 19:26 ` jason at gcc dot gnu.org
@ 2014-03-05 19:31 ` jason at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: jason at gcc dot gnu.org @ 2014-03-05 19:31 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60409
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-03-05 19:31 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-04 11:16 [Bug c++/60409] New: [4.9 Regression] [c++1y] ICE on valid with template function paolo.carlini at oracle dot com
2014-03-05 14:26 ` [Bug c++/60409] " jakub at gcc dot gnu.org
2014-03-05 17:55 ` jason at gcc dot gnu.org
2014-03-05 19:26 ` jason at gcc dot gnu.org
2014-03-05 19:31 ` jason at gcc dot gnu.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).