[Bug c/37921] __builtin_constant_p seems to be giving false positives

2009-04-18 Thread manu at gcc dot gnu dot org
--- Comment #7 from manu at gcc dot gnu dot org 2009-04-18 09:28 --- REOPENED. This testcase is not fixed by the patch in PR 36902. -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/37921] __builtin_constant_p seems to be giving false positives

2008-10-26 Thread manu at gcc dot gnu dot org
--- Comment #6 from manu at gcc dot gnu dot org 2008-10-27 00:20 --- Then the reduction missed something because I have a patch that fixes pr36902 and it doesn't fix this. http://gcc.gnu.org/ml/gcc-patches/2008-10/msg01117.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37921

[Bug c/37921] __builtin_constant_p seems to be giving false positives

2008-10-26 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2008-10-27 00:17 --- (In reply to comment #3) > H.J. Lu > > Why do you think this is a duplicate? I will keep it open and see if the patch > that fixes PR 36902, also fixes this. Because PR 36902 is a reduced testcase from the source p

[Bug c/37921] __builtin_constant_p seems to be giving false positives

2008-10-26 Thread manu at gcc dot gnu dot org
--- Comment #4 from manu at gcc dot gnu dot org 2008-10-26 22:40 --- BTW, this is confirmed in GCC 4.4. -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/37921] __builtin_constant_p seems to be giving false positives

2008-10-26 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2008-10-26 22:24 --- H.J. Lu Why do you think this is a duplicate? I will keep it open and see if the patch that fixes PR 36902, also fixes this. -- manu at gcc dot gnu dot org changed: What|Removed

[Bug c/37921] __builtin_constant_p seems to be giving false positives

2008-10-26 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2008-10-26 22:06 --- *** This bug has been marked as a duplicate of 36902 *** -- hjl dot tools at gmail dot com changed: What|Removed |Added --

[Bug c/37921] __builtin_constant_p seems to be giving false positives

2008-10-26 Thread arjan at linux dot intel dot com
--- Comment #1 from arjan at linux dot intel dot com 2008-10-26 18:17 --- Created an attachment (id=16553) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16553&action=view) test case for bug 37921 gcc -c -Wall -Os -fno-strict-aliasing -o fadt.o fadt.c leads to: fadt.c: In functi