public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c/59280] New: [4.8/4.9 Regression] ICE with attribute((constructor(invalid))) @ 2013-11-24 22:49 glisse at gcc dot gnu.org 2013-11-25 9:11 ` [Bug c/59280] " rguenth at gcc dot gnu.org ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: glisse at gcc dot gnu.org @ 2013-11-24 22:49 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59280 Bug ID: 59280 Summary: [4.8/4.9 Regression] ICE with attribute((constructor(invalid))) Product: gcc Version: 4.9.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: glisse at gcc dot gnu.org //void foo (void) { } void func3 (char *) __attribute__((constructor(foo))); This ICEs in C (not in C++) because of the call to default_conversion. I noticed while trying to use the same call to default_conversion in other builtins that have a more extensive testsuite. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/59280] [4.8/4.9 Regression] ICE with attribute((constructor(invalid))) 2013-11-24 22:49 [Bug c/59280] New: [4.8/4.9 Regression] ICE with attribute((constructor(invalid))) glisse at gcc dot gnu.org @ 2013-11-25 9:11 ` rguenth at gcc dot gnu.org 2013-11-28 17:15 ` jakub at gcc dot gnu.org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu.org @ 2013-11-25 9:11 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59280 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Target Milestone|--- |4.8.3 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/59280] [4.8/4.9 Regression] ICE with attribute((constructor(invalid))) 2013-11-24 22:49 [Bug c/59280] New: [4.8/4.9 Regression] ICE with attribute((constructor(invalid))) glisse at gcc dot gnu.org 2013-11-25 9:11 ` [Bug c/59280] " rguenth at gcc dot gnu.org @ 2013-11-28 17:15 ` jakub at gcc dot gnu.org 2013-11-29 7:42 ` jakub at gcc dot gnu.org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: jakub at gcc dot gnu.org @ 2013-11-28 17:15 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59280 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2013-11-28 Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 31321 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31321&action=edit gcc49-pr59280.patch Untested fix. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/59280] [4.8/4.9 Regression] ICE with attribute((constructor(invalid))) 2013-11-24 22:49 [Bug c/59280] New: [4.8/4.9 Regression] ICE with attribute((constructor(invalid))) glisse at gcc dot gnu.org 2013-11-25 9:11 ` [Bug c/59280] " rguenth at gcc dot gnu.org 2013-11-28 17:15 ` jakub at gcc dot gnu.org @ 2013-11-29 7:42 ` jakub at gcc dot gnu.org 2013-11-29 7:43 ` jakub at gcc dot gnu.org 2013-11-29 7:51 ` jakub at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: jakub at gcc dot gnu.org @ 2013-11-29 7:42 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59280 --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Nov 29 07:42:23 2013 New Revision: 205510 URL: http://gcc.gnu.org/viewcvs?rev=205510&root=gcc&view=rev Log: PR c/59280 * c-common.c (get_priority): If TREE_VALUE (args) is IDENTIFIER_NODE, goto invalid. If it is error_mark_node, don't issue further diagnostics. testsuite/ * c-c++-common/pr59280.c: New test. Added: trunk/gcc/testsuite/c-c++-common/pr59280.c Modified: trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-common.c trunk/gcc/testsuite/ChangeLog ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/59280] [4.8/4.9 Regression] ICE with attribute((constructor(invalid))) 2013-11-24 22:49 [Bug c/59280] New: [4.8/4.9 Regression] ICE with attribute((constructor(invalid))) glisse at gcc dot gnu.org ` (2 preceding siblings ...) 2013-11-29 7:42 ` jakub at gcc dot gnu.org @ 2013-11-29 7:43 ` jakub at gcc dot gnu.org 2013-11-29 7:51 ` jakub at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: jakub at gcc dot gnu.org @ 2013-11-29 7:43 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59280 --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Nov 29 07:43:48 2013 New Revision: 205511 URL: http://gcc.gnu.org/viewcvs?rev=205511&root=gcc&view=rev Log: PR c/59280 * c-common.c (get_priority): If TREE_VALUE (args) is IDENTIFIER_NODE, goto invalid. If it is error_mark_node, don't issue further diagnostics. testsuite/ * c-c++-common/pr59280.c: New test. Added: branches/gcc-4_8-branch/gcc/testsuite/c-c++-common/pr59280.c Modified: branches/gcc-4_8-branch/gcc/c-family/ChangeLog branches/gcc-4_8-branch/gcc/c-family/c-common.c branches/gcc-4_8-branch/gcc/testsuite/ChangeLog ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/59280] [4.8/4.9 Regression] ICE with attribute((constructor(invalid))) 2013-11-24 22:49 [Bug c/59280] New: [4.8/4.9 Regression] ICE with attribute((constructor(invalid))) glisse at gcc dot gnu.org ` (3 preceding siblings ...) 2013-11-29 7:43 ` jakub at gcc dot gnu.org @ 2013-11-29 7:51 ` jakub at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: jakub at gcc dot gnu.org @ 2013-11-29 7:51 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59280 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Fixed. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-11-29 7:51 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2013-11-24 22:49 [Bug c/59280] New: [4.8/4.9 Regression] ICE with attribute((constructor(invalid))) glisse at gcc dot gnu.org 2013-11-25 9:11 ` [Bug c/59280] " rguenth at gcc dot gnu.org 2013-11-28 17:15 ` jakub at gcc dot gnu.org 2013-11-29 7:42 ` jakub at gcc dot gnu.org 2013-11-29 7:43 ` jakub at gcc dot gnu.org 2013-11-29 7:51 ` jakub 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).