[Bug c/41516] sizeof(int) is not a compile time constant??

2009-09-30 Thread arjan at linux dot intel dot com
--- Comment #2 from arjan at linux dot intel dot com 2009-09-30 09:51 --- Created an attachment (id=18673) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18673&action=view) sizeof(int) replaced by 4 and it suddenly optimizes just fine -- http://gcc.gnu.org/b

[Bug c/41516] sizeof(int) is not a compile time constant??

2009-09-30 Thread arjan at linux dot intel dot com
--- Comment #1 from arjan at linux dot intel dot com 2009-09-30 09:50 --- Created an attachment (id=18672) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18672&action=view) the failing case with sizeof(int) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41516

[Bug c/41516] New: sizeof(int) is not a compile time constant??

2009-09-30 Thread arjan at linux dot intel dot com
nu dot org ReportedBy: arjan at linux dot intel dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41516

[Bug c/41477] gcc does not optimize a case that it should to make __builtin_object_size() more useful

2009-09-26 Thread arjan at linux dot intel dot com
--- Comment #2 from arjan at linux dot intel dot com 2009-09-26 18:02 --- Created an attachment (id=18659) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18659&action=view) testcase that shows a slight reorder of the code works around the issue -- http://gcc.gnu.org/b

[Bug c/41477] gcc does not optimize a case that it should to make __builtin_object_size() more useful

2009-09-26 Thread arjan at linux dot intel dot com
--- Comment #1 from arjan at linux dot intel dot com 2009-09-26 18:02 --- Created an attachment (id=18658) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18658&action=view) testcase showing the missed optimization -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41477

[Bug c/41477] New: gcc does not optimize a case that it should to make __builtin_object_size() more useful

2009-09-26 Thread arjan at linux dot intel dot com
eportedBy: arjan at linux dot intel dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41477

[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: fad

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

2008-10-26 Thread arjan at linux dot intel dot com
4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: arjan at linux dot intel dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37921

[Bug target/28281] gcc uses the wrong segment register for TLS access for -fstack-protector in kernel mode

2006-07-29 Thread arjan at linux dot intel dot com
--- Comment #4 from arjan at linux dot intel dot com 2006-07-29 07:46 --- fixed in current SVN -- arjan at linux dot intel dot com changed: What|Removed |Added

[Bug c/28281] gcc uses the wrong segment register for TLS access for -fstack-protector in kernel mode

2006-07-06 Thread arjan at linux dot intel dot com
--- Comment #3 from arjan at linux dot intel dot com 2006-07-06 11:08 --- Created an attachment (id=11844) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11844&action=view) updates with Jakub's comments updates with jakubs comments -- http://gcc.gnu.org/bugzilla/

[Bug c/28281] gcc uses the wrong segment register for TLS access for -fstack-protector in kernel mode

2006-07-06 Thread arjan at linux dot intel dot com
--- Comment #2 from arjan at linux dot intel dot com 2006-07-06 09:49 --- Created an attachment (id=11842) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11842&action=view) updated patch updated patch; it helps if I send the non-test version of the testsuite test so

[Bug c/28281] gcc uses the wrong segment register for TLS access for -fstack-protector in kernel mode

2006-07-06 Thread arjan at linux dot intel dot com
--- Comment #1 from arjan at linux dot intel dot com 2006-07-06 09:24 --- Created an attachment (id=11839) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11839&action=view) patch to fix this issue, including a testcase patch + testcase for this issue 2006-07-06 Arjan van

[Bug c/28281] New: gcc uses the wrong segment register for TLS access for -fstack-protector in kernel mode

2006-07-06 Thread arjan at linux dot intel dot com
nt: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: arjan at linux dot intel dot com GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28281

[Bug c/26457] New: -fstack-protector leaks the upper bits of RAX

2006-02-24 Thread arjan at linux dot intel dot com
Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: arjan at linux dot intel dot com GCC host triplet: x86_64-redhat-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26457