public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/40821] C++ compiler accepts __attribute__ with missing parens [not found] <bug-40821-4@http.gcc.gnu.org/bugzilla/> @ 2012-05-16 12:27 ` paolo.carlini at oracle dot com 2012-05-19 19:24 ` paolo.carlini at oracle dot com ` (2 subsequent siblings) 3 siblings, 0 replies; 6+ messages in thread From: paolo.carlini at oracle dot com @ 2012-05-16 12:27 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40821 Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matias.fontanini at gmail | |dot com --- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-05-16 12:26:42 UTC --- *** Bug 53370 has been marked as a duplicate of this bug. *** ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/40821] C++ compiler accepts __attribute__ with missing parens [not found] <bug-40821-4@http.gcc.gnu.org/bugzilla/> 2012-05-16 12:27 ` [Bug c++/40821] C++ compiler accepts __attribute__ with missing parens paolo.carlini at oracle dot com @ 2012-05-19 19:24 ` paolo.carlini at oracle dot com 2012-05-21 15:21 ` paolo.carlini at oracle dot com 2012-05-21 15:21 ` paolo at gcc dot gnu.org 3 siblings, 0 replies; 6+ messages in thread From: paolo.carlini at oracle dot com @ 2012-05-19 19:24 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40821 Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC|gcc-bugs at gcc dot gnu.org | AssignedTo|unassigned at gcc dot |paolo.carlini at oracle dot |gnu.org |com --- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-05-19 18:48:13 UTC --- Mine. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/40821] C++ compiler accepts __attribute__ with missing parens [not found] <bug-40821-4@http.gcc.gnu.org/bugzilla/> 2012-05-16 12:27 ` [Bug c++/40821] C++ compiler accepts __attribute__ with missing parens paolo.carlini at oracle dot com 2012-05-19 19:24 ` paolo.carlini at oracle dot com @ 2012-05-21 15:21 ` paolo.carlini at oracle dot com 2012-05-21 15:21 ` paolo at gcc dot gnu.org 3 siblings, 0 replies; 6+ messages in thread From: paolo.carlini at oracle dot com @ 2012-05-21 15:21 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40821 Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED Target Milestone|--- |4.8.0 --- Comment #6 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-05-21 15:17:15 UTC --- Fixed for 4.8.0. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/40821] C++ compiler accepts __attribute__ with missing parens [not found] <bug-40821-4@http.gcc.gnu.org/bugzilla/> ` (2 preceding siblings ...) 2012-05-21 15:21 ` paolo.carlini at oracle dot com @ 2012-05-21 15:21 ` paolo at gcc dot gnu.org 3 siblings, 0 replies; 6+ messages in thread From: paolo at gcc dot gnu.org @ 2012-05-21 15:21 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40821 --- Comment #5 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-05-21 15:12:24 UTC --- Author: paolo Date: Mon May 21 15:12:13 2012 New Revision: 187720 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187720 Log: /cp 2012-05-21 Paolo Carlini <paolo.carlini@oracle.com> PR c++/51184 * decl.c (grokdeclarator): Diagnose functions returning abstract class types as TYPENAME. * cp-tree.h (ABSTRACT_CLASS_TYPE_P): Add. * except.c (is_admissible_throw_operand_or_catch_parameter): Use it. * pt.c (tsubst): Likewise. * semantics.c (trait_expr_value): Likewise. /testsuite 2012-05-21 Paolo Carlini <paolo.carlini@oracle.com> PR c++/51184 * g++.dg/other/abstract4.C: New- /cp 2012-05-21 Paolo Carlini <paolo.carlini@oracle.com> PR c++/40821 * parser.c (cp_parser_attributes_opt): Enforce error checking of unbalanced parentheses in the presence of tentative parsing. /testsuite 2012-05-21 Paolo Carlini <paolo.carlini@oracle.com> PR c++/40821 * g++.dg/ext/attrib46.C: New. Added: trunk/gcc/testsuite/g++.dg/ext/attrib46.C trunk/gcc/testsuite/g++.dg/other/abstract4.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-tree.h trunk/gcc/cp/decl.c trunk/gcc/cp/except.c trunk/gcc/cp/parser.c trunk/gcc/cp/pt.c trunk/gcc/cp/semantics.c trunk/gcc/testsuite/ChangeLog ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/40821] New: C++ compiler accepts __attribute__ with missing parens @ 2009-07-21 20:42 pc-wx at bullseye dot com 2009-08-25 14:15 ` [Bug c++/40821] " bangerth at gmail dot com 2009-12-26 19:13 ` paolo dot carlini at oracle dot com 0 siblings, 2 replies; 6+ messages in thread From: pc-wx at bullseye dot com @ 2009-07-21 20:42 UTC (permalink / raw) To: gcc-bugs The declaration of S2 below is accepted by the C++ compiler, but not the C compiler. struct __attribute__((aligned(8))) S1 { int i; }; struct __attribute__( aligned(8) S2 { int i; }; Tentative parsing causes the paren checks to have no effect. -- Summary: C++ compiler accepts __attribute__ with missing parens Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pc-wx at bullseye dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40821 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/40821] C++ compiler accepts __attribute__ with missing parens 2009-07-21 20:42 [Bug c++/40821] New: " pc-wx at bullseye dot com @ 2009-08-25 14:15 ` bangerth at gmail dot com 2009-12-26 19:13 ` paolo dot carlini at oracle dot com 1 sibling, 0 replies; 6+ messages in thread From: bangerth at gmail dot com @ 2009-08-25 14:15 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from bangerth at gmail dot com 2009-08-25 14:15 ------- Confirmed. Very odd. -- bangerth at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bangerth at gmail dot com Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2009-08-25 14:15:38 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40821 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/40821] C++ compiler accepts __attribute__ with missing parens 2009-07-21 20:42 [Bug c++/40821] New: " pc-wx at bullseye dot com 2009-08-25 14:15 ` [Bug c++/40821] " bangerth at gmail dot com @ 2009-12-26 19:13 ` paolo dot carlini at oracle dot com 1 sibling, 0 replies; 6+ messages in thread From: paolo dot carlini at oracle dot com @ 2009-12-26 19:13 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from paolo dot carlini at oracle dot com 2009-12-26 19:12 ------- Maybe related to c++/36625 ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40821 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-05-21 15:21 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-40821-4@http.gcc.gnu.org/bugzilla/> 2012-05-16 12:27 ` [Bug c++/40821] C++ compiler accepts __attribute__ with missing parens paolo.carlini at oracle dot com 2012-05-19 19:24 ` paolo.carlini at oracle dot com 2012-05-21 15:21 ` paolo.carlini at oracle dot com 2012-05-21 15:21 ` paolo at gcc dot gnu.org 2009-07-21 20:42 [Bug c++/40821] New: " pc-wx at bullseye dot com 2009-08-25 14:15 ` [Bug c++/40821] " bangerth at gmail dot com 2009-12-26 19:13 ` paolo dot carlini at oracle dot com
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).