[Bug target/51934] FAIL: g++.dg/torture/pr51344.C -O0 (test for excess errors) due to cdecl attribute ignored warning

2012-03-06 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51934 --- Comment #24 from Jakub Jelinek jakub at gcc dot gnu.org 2012-03-06 08:26:03 UTC --- Author: jakub Date: Tue Mar 6 08:25:51 2012 New Revision: 184976 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184976 Log: Backported from 4.6

[Bug target/51934] FAIL: g++.dg/torture/pr51344.C -O0 (test for excess errors) due to cdecl attribute ignored warning

2012-03-06 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51934 --- Comment #25 from Jakub Jelinek jakub at gcc dot gnu.org 2012-03-06 08:26:32 UTC --- Author: jakub Date: Tue Mar 6 08:26:22 2012 New Revision: 184977 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184977 Log: Backported from 4.6

[Bug target/51934] FAIL: g++.dg/torture/pr51344.C -O0 (test for excess errors) due to cdecl attribute ignored warning

2012-01-25 Thread danglin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51934 John David Anglin danglin at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|REOPENED

[Bug target/51934] FAIL: g++.dg/torture/pr51344.C -O0 (test for excess errors) due to cdecl attribute ignored warning

2012-01-25 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51934 --- Comment #22 from Jason Merrill jason at gcc dot gnu.org 2012-01-25 16:33:56 UTC --- Author: jason Date: Wed Jan 25 16:33:50 2012 New Revision: 183526 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=183526 Log: PR target/51934 *

[Bug target/51934] FAIL: g++.dg/torture/pr51344.C -O0 (test for excess errors) due to cdecl attribute ignored warning

2012-01-25 Thread danglin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51934 John David Anglin danglin at gcc dot gnu.org changed: What|Removed |Added Status|REOPENED|RESOLVED

[Bug target/51934] FAIL: g++.dg/torture/pr51344.C -O0 (test for excess errors) due to cdecl attribute ignored warning

2012-01-23 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51934 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added Target|powerpc*-*-*

[Bug target/51934] FAIL: g++.dg/torture/pr51344.C -O0 (test for excess errors) due to cdecl attribute ignored warning

2012-01-23 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51934 --- Comment #11 from Jason Merrill jason at gcc dot gnu.org 2012-01-23 14:43:30 UTC --- Author: jason Date: Mon Jan 23 14:43:25 2012 New Revision: 183434 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=183434 Log: PR target/51934 *

[Bug target/51934] FAIL: g++.dg/torture/pr51344.C -O0 (test for excess errors) due to cdecl attribute ignored warning

2012-01-23 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51934 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug target/51934] FAIL: g++.dg/torture/pr51344.C -O0 (test for excess errors) due to cdecl attribute ignored warning

2012-01-23 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51934 --- Comment #13 from Dominique d'Humieres dominiq at lps dot ens.fr 2012-01-23 14:55:08 UTC --- Log: PR target/51934 * g++.dg/torture/pr51344.C: Use noreturn instead of cdecl. Should be fixed now. The use of 'noreturn' yields a

[Bug target/51934] FAIL: g++.dg/torture/pr51344.C -O0 (test for excess errors) due to cdecl attribute ignored warning

2012-01-23 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51934 --- Comment #14 from Jakub Jelinek jakub at gcc dot gnu.org 2012-01-23 15:10:42 UTC --- Well, if it hangs before the fix with the noreturn attribute, then it is trivial to replace the return a; with for (;;);

[Bug target/51934] FAIL: g++.dg/torture/pr51344.C -O0 (test for excess errors) due to cdecl attribute ignored warning

2012-01-23 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51934 --- Comment #15 from Dominique d'Humieres dominiq at lps dot ens.fr 2012-01-23 15:19:37 UTC --- Well, if it hangs before the fix with the noreturn attribute, then it is trivial to replace the return a; with for (;;); It does not hang:

[Bug target/51934] FAIL: g++.dg/torture/pr51344.C -O0 (test for excess errors) due to cdecl attribute ignored warning

2012-01-23 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51934 --- Comment #16 from Jason Merrill jason at gcc dot gnu.org 2012-01-23 15:30:58 UTC --- Author: jason Date: Mon Jan 23 15:30:48 2012 New Revision: 183436 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=183436 Log: PR target/51934 *

[Bug target/51934] FAIL: g++.dg/torture/pr51344.C -O0 (test for excess errors) due to cdecl attribute ignored warning

2012-01-23 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51934 --- Comment #17 from Dominique d'Humieres dominiq at lps dot ens.fr 2012-01-23 15:50:16 UTC --- g++.dg/torture/pr51344.C: Limit to x86. Note that using 'format' instead of 'cdecl' hangs also on powerpc-apple-darwin9: [karma] f90/bug% time

[Bug target/51934] FAIL: g++.dg/torture/pr51344.C -O0 (test for excess errors) due to cdecl attribute ignored warning

2012-01-23 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51934 --- Comment #18 from Jakub Jelinek jakub at gcc dot gnu.org 2012-01-23 15:58:01 UTC --- I bet you'd have to instantiate the template to see the errors. Nevertheless, it would be a bad idea to add __attribute__((format)) to the testcase and expect

[Bug target/51934] FAIL: g++.dg/torture/pr51344.C -O0 (test for excess errors) due to cdecl attribute ignored warning

2012-01-23 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51934 --- Comment #19 from Dominique d'Humieres dominiq at lps dot ens.fr 2012-01-23 22:05:44 UTC --- g++.dg/torture/pr51344.C: Limit to x86. -/* { dg-do compile } */ +/* { dg-do compile { target { i?86-*-* ilp32 } } } */ Any reason to limit the

[Bug target/51934] FAIL: g++.dg/torture/pr51344.C -O0 (test for excess errors) due to cdecl attribute ignored warning

2012-01-23 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51934 --- Comment #20 from Jason Merrill jason at gcc dot gnu.org 2012-01-24 02:45:28 UTC --- cdecl only applies to the 32-bit ABI. ix86_handle_cconv_attribute normally warns about using it in 64-bit mode, I wonder why it doesn't on darwin?