public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/35443] New: [4.1/4.2/4.3/4.4 regression] Completely broken diagnostic with bind_expr
@ 2008-03-03 21:45 reichelt at gcc dot gnu dot org
2008-03-03 21:46 ` [Bug c/35443] " reichelt at gcc dot gnu dot org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-03-03 21:45 UTC (permalink / raw)
To: gcc-bugs
A broken diagnostic is issued for the following invalid code snippet
since GCC 4.1.0:
==================================================
void foo()
{
({ int i; })();
}
==================================================
#'bind_expr' not supported by pp_c_expression#'bug.c: In function 'foo':
bug.c:3: error: called object is not a function
Similar to PR35441.
--
Summary: [4.1/4.2/4.3/4.4 regression] Completely broken
diagnostic with bind_expr
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: diagnostic, monitored
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35443
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/35443] [4.1/4.2/4.3/4.4 regression] Completely broken diagnostic with bind_expr
2008-03-03 21:45 [Bug c/35443] New: [4.1/4.2/4.3/4.4 regression] Completely broken diagnostic with bind_expr reichelt at gcc dot gnu dot org
@ 2008-03-03 21:46 ` reichelt at gcc dot gnu dot org
2008-03-15 19:01 ` rguenth at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-03-03 21:46 UTC (permalink / raw)
To: gcc-bugs
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |35441
Target Milestone|--- |4.1.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35443
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/35443] [4.1/4.2/4.3/4.4 regression] Completely broken diagnostic with bind_expr
2008-03-03 21:45 [Bug c/35443] New: [4.1/4.2/4.3/4.4 regression] Completely broken diagnostic with bind_expr reichelt at gcc dot gnu dot org
2008-03-03 21:46 ` [Bug c/35443] " reichelt at gcc dot gnu dot org
@ 2008-03-15 19:01 ` rguenth at gcc dot gnu dot org
2008-07-04 22:39 ` [Bug c/35443] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-03-15 19:01 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Priority|P3 |P2
Last reconfirmed|0000-00-00 00:00:00 |2008-03-15 19:01:11
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35443
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/35443] [4.2/4.3/4.4 regression] Completely broken diagnostic with bind_expr
2008-03-03 21:45 [Bug c/35443] New: [4.1/4.2/4.3/4.4 regression] Completely broken diagnostic with bind_expr reichelt at gcc dot gnu dot org
2008-03-03 21:46 ` [Bug c/35443] " reichelt at gcc dot gnu dot org
2008-03-15 19:01 ` rguenth at gcc dot gnu dot org
@ 2008-07-04 22:39 ` jsm28 at gcc dot gnu dot org
2008-08-12 15:31 ` aldyh at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 22:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from jsm28 at gcc dot gnu dot org 2008-07-04 22:38 -------
Closing 4.1 branch.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.1/4.2/4.3/4.4 regression]|[4.2/4.3/4.4 regression]
|Completely broken diagnostic|Completely broken diagnostic
|with bind_expr |with bind_expr
Target Milestone|4.1.3 |4.2.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35443
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/35443] [4.2/4.3/4.4 regression] Completely broken diagnostic with bind_expr
2008-03-03 21:45 [Bug c/35443] New: [4.1/4.2/4.3/4.4 regression] Completely broken diagnostic with bind_expr reichelt at gcc dot gnu dot org
` (2 preceding siblings ...)
2008-07-04 22:39 ` [Bug c/35443] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
@ 2008-08-12 15:31 ` aldyh at gcc dot gnu dot org
2008-12-08 18:07 ` jakub at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: aldyh at gcc dot gnu dot org @ 2008-08-12 15:31 UTC (permalink / raw)
To: gcc-bugs
--
aldyh at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |aldyh at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35443
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/35443] [4.2/4.3/4.4 regression] Completely broken diagnostic with bind_expr
2008-03-03 21:45 [Bug c/35443] New: [4.1/4.2/4.3/4.4 regression] Completely broken diagnostic with bind_expr reichelt at gcc dot gnu dot org
` (3 preceding siblings ...)
2008-08-12 15:31 ` aldyh at gcc dot gnu dot org
@ 2008-12-08 18:07 ` jakub at gcc dot gnu dot org
2008-12-08 18:13 ` jakub at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-12-08 18:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jakub at gcc dot gnu dot org 2008-12-08 18:06 -------
Subject: Bug 35443
Author: jakub
Date: Mon Dec 8 18:04:58 2008
New Revision: 142559
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142559
Log:
PR c/35443
* c-pretty-print.c (pp_c_expression): Handle BIND_EXPR.
* gcc.dg/pr35443.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr35443.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-pretty-print.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35443
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/35443] [4.2/4.3/4.4 regression] Completely broken diagnostic with bind_expr
2008-03-03 21:45 [Bug c/35443] New: [4.1/4.2/4.3/4.4 regression] Completely broken diagnostic with bind_expr reichelt at gcc dot gnu dot org
` (4 preceding siblings ...)
2008-12-08 18:07 ` jakub at gcc dot gnu dot org
@ 2008-12-08 18:13 ` jakub at gcc dot gnu dot org
2010-04-20 13:52 ` rguenth at gcc dot gnu dot org
2010-04-20 13:53 ` rguenth at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-12-08 18:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jakub at gcc dot gnu dot org 2008-12-08 18:07 -------
Fixed.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35443
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/35443] [4.2/4.3/4.4 regression] Completely broken diagnostic with bind_expr
2008-03-03 21:45 [Bug c/35443] New: [4.1/4.2/4.3/4.4 regression] Completely broken diagnostic with bind_expr reichelt at gcc dot gnu dot org
` (5 preceding siblings ...)
2008-12-08 18:13 ` jakub at gcc dot gnu dot org
@ 2010-04-20 13:52 ` rguenth at gcc dot gnu dot org
2010-04-20 13:53 ` rguenth at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-20 13:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2010-04-20 13:51 -------
Subject: Bug 35443
Author: rguenth
Date: Tue Apr 20 13:51:24 2010
New Revision: 158557
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158557
Log:
2010-04-20 Richard Guenther <rguenther@suse.de>
Backport from mainline
2008-12-08 Jakub Jelinek <jakub@redhat.com>
PR c/35443
* c-pretty-print.c (pp_c_expression): Handle BIND_EXPR.
* gcc.dg/pr35443.c: New test.
2009-01-09 Jakub Jelinek <jakub@redhat.com>
PR c/35742
* c-pretty-print.c (pp_c_expression): Handle GOTO_EXPR like
BIND_EXPR.
* gcc.dg/pr35742.c: New test.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/pr35443.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/pr35742.c
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/c-pretty-print.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35443
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/35443] [4.2/4.3/4.4 regression] Completely broken diagnostic with bind_expr
2008-03-03 21:45 [Bug c/35443] New: [4.1/4.2/4.3/4.4 regression] Completely broken diagnostic with bind_expr reichelt at gcc dot gnu dot org
` (6 preceding siblings ...)
2010-04-20 13:52 ` rguenth at gcc dot gnu dot org
@ 2010-04-20 13:53 ` rguenth at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-20 13:53 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.3.4
Target Milestone|4.2.5 |4.3.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35443
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2010-04-20 13:52 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-03 21:45 [Bug c/35443] New: [4.1/4.2/4.3/4.4 regression] Completely broken diagnostic with bind_expr reichelt at gcc dot gnu dot org
2008-03-03 21:46 ` [Bug c/35443] " reichelt at gcc dot gnu dot org
2008-03-15 19:01 ` rguenth at gcc dot gnu dot org
2008-07-04 22:39 ` [Bug c/35443] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2008-08-12 15:31 ` aldyh at gcc dot gnu dot org
2008-12-08 18:07 ` jakub at gcc dot gnu dot org
2008-12-08 18:13 ` jakub at gcc dot gnu dot org
2010-04-20 13:52 ` rguenth at gcc dot gnu dot org
2010-04-20 13:53 ` rguenth 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).