[Bug c/27898] New: Compile failure with --combine and anonymous structures

2006-06-05 Thread dwmw2 at infradead dot org
Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dwmw2 at infradead dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27898

[Bug c/27899] New: Compile warning with --combine and global register variables.

2006-06-05 Thread dwmw2 at infradead dot org
ty: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dwmw2 at infradead dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27899

[Bug c/28706] New: Compile failure with --combine and explicitly aligned structures

2006-08-13 Thread dwmw2 at infradead dot org
: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dwmw2 at infradead dot org GCC build triplet: powerpc-linux-gnu GCC host triplet: powerpc-linux-gnu GCC target triplet: powerpc-linux-gnu

[Bug c/27898] Compile failure with --combine and anonymous structures

2006-08-13 Thread dwmw2 at infradead dot org
--- Comment #3 from dwmw2 at infradead dot org 2006-08-13 10:30 --- That simple test case seems to have been fixed with your patch -- thanks. Next failure reported as PR28706. Full test cases in Red Hat bug #194327 at https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=194327

[Bug c/28712] New: Compile failure with --combine and packed structures.

2006-08-13 Thread dwmw2 at infradead dot org
failure with --combine and packed structures. Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dwmw2 at infradead dot or

[Bug web/28714] New: Bugzilla mail sent from invalid address

2006-08-14 Thread dwmw2 at infradead dot org
ignedTo: unassigned at gcc dot gnu dot org ReportedBy: dwmw2 at infradead dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28714

[Bug c/28744] New: externally_visible attribute not effective with prior declaration of symbol.

2006-08-15 Thread dwmw2 at infradead dot org
ned at gcc dot gnu dot org ReportedBy: dwmw2 at infradead dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28744

[Bug c/28755] New: duplicate members of arrays

2006-08-16 Thread dwmw2 at infradead dot org
.long 39682 -- Summary: duplicate members of arrays Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dwmw2 a

[Bug c/28755] duplicate members of arrays

2006-08-16 Thread dwmw2 at infradead dot org
--- Comment #1 from dwmw2 at infradead dot org 2006-08-16 17:29 --- Created an attachment (id=12084) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12084&action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28755

[Bug web/28714] Bugzilla mail sent from invalid address

2006-08-16 Thread dwmw2 at infradead dot org
--- Comment #2 from dwmw2 at infradead dot org 2006-08-16 17:33 --- Mail should be sent from a valid address, because sending from an _invalid_ address can fall foul of antispam protection, as in the example shown. Since the apparent sender does not accept bounces, the mail is rejected

[Bug c/28744] externally_visible attribute not effective with prior declaration of symbol.

2006-08-16 Thread dwmw2 at infradead dot org
--- Comment #6 from dwmw2 at infradead dot org 2006-08-16 18:11 --- I don't think it's working right even with the new patch. I'll verify tomorrow, and make sure I have all the correct patches included in my build. The point at which I copied my ppc-cross-i386 'cc

[Bug c/28744] externally_visible attribute not effective with prior declaration of symbol.

2006-08-17 Thread dwmw2 at infradead dot org
--- Comment #7 from dwmw2 at infradead dot org 2006-08-17 09:16 --- The one with proc_mkdir was because the EXPORT_SYMBOL is in a different file to the original function -- although my version was working correctly, I'm willing to deal with that case. The symbol 'proc_roo

[Bug web/28714] Bugzilla mail sent from invalid address

2006-08-18 Thread dwmw2 at infradead dot org
--- Comment #5 from dwmw2 at infradead dot org 2006-08-18 08:10 --- Yep, I got the mail. Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28714

[Bug c/28744] externally_visible attribute not effective with prior declaration of symbol.

2006-08-18 Thread dwmw2 at infradead dot org
--- Comment #10 from dwmw2 at infradead dot org 2006-08-18 11:11 --- I've hacked around this for now by reverting the patch for PR25795 and doing this instead: --- gcc/c-decl.c~ 2006-01-19 23:48:07.0 + +++ gcc/c-decl.c2006-08-15 21:43:43.0

[Bug c/28779] New: internal compiler error: in cgraph_estimate_size_after_inlining, at ipa-inline.c:106

2006-08-19 Thread dwmw2 at infradead dot org
t gnu dot org ReportedBy: dwmw2 at infradead dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28779

[Bug c/28779] internal compiler error: in cgraph_estimate_size_after_inlining, at ipa-inline.c:106

2006-08-19 Thread dwmw2 at infradead dot org
--- Comment #1 from dwmw2 at infradead dot org 2006-08-19 09:26 --- Created an attachment (id=12095) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12095&action=view) Test case. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28779

[Bug c/28779] internal compiler error: in cgraph_estimate_size_after_inlining, at ipa-inline.c:106

2006-08-19 Thread dwmw2 at infradead dot org
--- Comment #2 from dwmw2 at infradead dot org 2006-08-19 09:29 --- Doesn't happen with '-O', or '-O2'. Only with '-Os' or '-O3'. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28779

[Bug middle-end/28779] internal compiler error: in cgraph_estimate_size_after_inlining, at ipa-inline.c:106

2006-08-19 Thread dwmw2 at infradead dot org
--- Comment #4 from dwmw2 at infradead dot org 2006-08-19 15:52 --- > /pmac/git/geode/include/linux/page-flags.h:252: error: conflicting types for > ‘test_clear_page_dirty’ Sounds like you don't have PR27898 fixed. With -v ... /opt/crosstool/gcc-4.1.0-glibc-2.3.6/i686-un

[Bug middle-end/20826] [4.0/4.1/4.2 Regression] excessive compiler resource usage

2006-09-21 Thread dwmw2 at infradead dot org
--- Comment #8 from dwmw2 at infradead dot org 2006-09-21 20:38 --- Apologies -- GCC bugzilla mail was going missing due to being sent with a bogus sender address. Will dig out a current test case if it's still an issue. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20826

[Bug c++/20826] New: 4.0 regression: excessive compiler resource usage

2005-04-08 Thread dwmw2 at infradead dot org
: critical Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dwmw2 at infradead dot org CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: ppc-redhat-linux GCC target triplet: ppc64-redhat-linux http://gcc.gnu.or

[Bug c++/20826] 4.0 regression: excessive compiler resource usage

2005-04-08 Thread dwmw2 at infradead dot org
--- Additional Comments From dwmw2 at infradead dot org 2005-04-08 11:34 --- Created an attachment (id=8564) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8564&action=view) offending source file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20826

[Bug target/93654] Inappropriate "-fcf-protection and -mindirect-branch=thunk are incompatible on x86_64" restriction

2020-03-16 Thread dwmw2 at infradead dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93654 David Woodhouse changed: What|Removed |Added CC||dwmw2 at infradead dot org

[Bug c/56370] New: RFE: warn on 'foo = realloc(foo, …)'

2013-02-17 Thread dwmw2 at infradead dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56370 Bug #: 56370 Summary: RFE: warn on 'foo = realloc(foo, …)' Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: enhancement Priorit

[Bug rtl-optimization/55177] missed optimizations with __builtin_bswap

2013-03-08 Thread dwmw2 at infradead dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55177 --- Comment #9 from David Woodhouse 2013-03-08 12:11:24 UTC --- This is now enabled in the Linux kernel. Core patch: http://git.kernel.org/linus/cf66bb93 (in v3.8 but does nothing there) x86:http://git.kernel.org/linus/83a57a4d

[Bug tree-optimization/55177] New: Missed optimisation: bswap, mask with constant, bswap back again.

2012-11-02 Thread dwmw2 at infradead dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55177 Bug #: 55177 Summary: Missed optimisation: bswap, mask with constant, bswap back again. Classification: Unclassified Product: gcc Version: unknown Status: U

[Bug tree-optimization/55177] Missed optimisation: bswap, mask with constant, bswap back again.

2012-11-02 Thread dwmw2 at infradead dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55177 --- Comment #1 from David Woodhouse 2012-11-02 10:45:52 UTC --- We have a similar issue with: extern void func(void); int baz(void) { if (__builtin_bswap32(x) & 0x8) func(); } baz: .LFB1: .cfi_startproc movlx(%r

[Bug rtl-optimization/55177] missed optimizations with __builtin_bswap

2012-11-02 Thread dwmw2 at infradead dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55177 --- Comment #3 from David Woodhouse 2012-11-02 17:05:03 UTC --- The first example isn't *that* dumb, as a cut-down test case of real code which may look more complex in reality. If the real code really *is* as simple as my test case, you

[Bug rtl-optimization/55177] missed optimizations with __builtin_bswap

2012-11-02 Thread dwmw2 at infradead dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55177 --- Comment #5 from David Woodhouse 2012-11-02 19:41:28 UTC --- Indeed. Bear in mind that sometimes we *hide* the actual variable (by prefixing its name or putting it in a small struct of its own), just to *force* people to use the appropriate b

[Bug rtl-optimization/55177] missed optimizations with __builtin_bswap

2012-11-08 Thread dwmw2 at infradead dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55177 --- Comment #7 from David Woodhouse 2012-11-08 14:29:37 UTC --- Linux kernel patch to use the builtins at http://marc.info/?l=linux-arch&m=135212414925921&w=2 I think I have the GCC version checks right there, for the availability of the

[Bug c/57587] New: RFE: 'maybenull' attribute.

2013-06-11 Thread dwmw2 at infradead dot org
mponent: c Assignee: unassigned at gcc dot gnu.org Reporter: dwmw2 at infradead dot org I'd like an attribute analogous to __attribute__((nonnull)) for function arguments, except that it should indicate that an argument is *expected* to be NULL. Or preferably, it could be applied t

[Bug c/86360] New: "inline" (and neither static nor extern) function not emitted.

2018-06-29 Thread dwmw2 at infradead dot org
ty: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dwmw2 at infradead dot org Target Milestone: --- https://gcc.gnu.org/onlinedocs/gcc/Inline.html says: > When an inline function is not static, then the compiler must assume >

[Bug c/86360] "inline" (and neither static nor extern) function not emitted.

2018-06-29 Thread dwmw2 at infradead dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86360 --- Comment #3 from David Woodhouse --- Thanks for the prompt response. I'll stick with my original "compiler isn't required to emit" comment in my referenced patch submission, which everyone had questioned...

[Bug c/86360] "inline" (and neither static nor extern) function not emitted.

2018-06-29 Thread dwmw2 at infradead dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86360 --- Comment #5 from David Woodhouse --- Well, it's *allowed* to emit it inline. But if it doesn't then it mustn't emit it out-of-line. At least, from your citation, it mustn't emit it out-of-line such that it can be seen from another translation

[Bug target/50818] va_list is filled incorrectly in functions with ms_abi attribute on amd64

2016-04-16 Thread dwmw2 at infradead dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50818 --- Comment #8 from David Woodhouse --- (In reply to H.J. Lu from comment #7) > As a workaround, you can try > __builtin_ms_va_* > instead of > __builtin_va_* The problem is that in the UEFI build we don't *know* what ABI we'll be built wit

[Bug target/59672] Add -m16 support for x86

2014-01-22 Thread dwmw2 at infradead dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59672 --- Comment #5 from David Woodhouse --- Note that LLVM/clang has a -m16 option now which does the same thing. Again, not needing dirty hacks to ensure that asm(".code16gcc") really *is* the first thing the assembler sees.

[Bug target/59672] Add -m16 support for x86

2014-01-28 Thread dwmw2 at infradead dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59672 --- Comment #9 from David Woodhouse --- Thanks. This appears to work for me to build the Linux kernel's 16-bit boot code with the patch at http://lkml.kernel.org/r/1389180083-23249-3-git-send-email-david.woodho...@intel.com

[Bug target/67169] -fstack-check=no doesn't disable stack checking

2015-09-10 Thread dwmw2 at infradead dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67169 --- Comment #4 from David Woodhouse --- It's required by Windows but not by UEFI, which otherwise has the same ABI. We had previously been able to build UEFI firmware with MinGW.

[Bug tree-optimization/55177] missed optimizations with __builtin_bswap

2015-01-23 Thread dwmw2 at infradead dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55177 --- Comment #15 from David Woodhouse --- More missed optimistions (gcc version 4.9.2 20141101 (Red Hat 4.9.2-1) (GCC)) I see it using movbe for the pointer_abuse() function, but can't see a simple way to make it use movbe *without* killing kitte

[Bug tree-optimization/55177] missed optimizations with __builtin_bswap

2015-01-23 Thread dwmw2 at infradead dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55177 --- Comment #17 from David Woodhouse --- Er, yes. Sorry, I originally tried it with uint16_t but it wasn't even using movbe for the pointer_abuse() function then, so I made it 32-bit instead. Badly. Come to think of it, the lack of movbe in the 1

[Bug preprocessor/66871] New: .incbin in .S files does not appear in automatically generated dependencies

2015-07-14 Thread dwmw2 at infradead dot org
: normal Priority: P3 Component: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: dwmw2 at infradead dot org Target Milestone: --- $ cat foo.S .incbin "foo.bin" $ gcc -Wp,-MD,foo.d -o foo.o -c foo.S $ cat foo.d foo.o: foo.S /usr/in

[Bug preprocessor/66871] .incbin in .S files does not appear in automatically generated dependencies

2015-07-14 Thread dwmw2 at infradead dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66871 --- Comment #2 from David Woodhouse --- It would still be extremely useful for it to emit dependencies on those files which are actually included (after preprocessing). Otherwise we end up screwing around with preprocessing it and then looking f

[Bug target/50818] va_list is filled incorrectly in functions with ms_abi attribute on amd64

2015-07-23 Thread dwmw2 at infradead dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50818 David Woodhouse changed: What|Removed |Added CC||dwmw2 at infradead dot org

[Bug c/67169] New: -fstack-check=no doesn't disable stack checking

2015-08-10 Thread dwmw2 at infradead dot org
onent: c Assignee: unassigned at gcc dot gnu.org Reporter: dwmw2 at infradead dot org Target Milestone: --- $ echo 'void foo(void) { char lots[8192]; }' | i686-w64-mingw32-gcc -S -o- -xc - -fstack-check=no .file "" .text .globl

[Bug target/67169] -fstack-check=no doesn't disable stack checking

2015-08-15 Thread dwmw2 at infradead dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67169 --- Comment #2 from David Woodhouse --- (In reply to Andrew Pinski from comment #1) > I suspect i686-w64-mingw32 can never be used for self host binaries. It has been. EDKII has toolchain configurations for it: http://tianocore.sourceforge.net/w

[Bug middle-end/23299] GCSE? caused miscompilation

2005-08-09 Thread dwmw2 at infradead dot org
-- What|Removed |Added CC||dwmw2 at infradead dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23299

[Bug rtl-optimization/21643] New: GCC fails to merge ranges in comparison.

2005-05-18 Thread dwmw2 at infradead dot org
quot;",@progbits -- Summary: GCC fails to merge ranges in comparison. Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org

[Bug rtl-optimization/21643] GCC fails to merge ranges in comparison.

2005-05-18 Thread dwmw2 at infradead dot org
--- Additional Comments From dwmw2 at infradead dot org 2005-05-18 12:33 --- Happens with gcc 3.4 too, and also on i386. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21643

[Bug c/30171] New: non-portable va_list abuse is permitted on i386

2006-12-12 Thread dwmw2 at infradead dot org
ReportedBy: dwmw2 at infradead dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30171

[Bug c/30171] non-portable va_list abuse is permitted on i386

2006-12-12 Thread dwmw2 at infradead dot org
--- Comment #2 from dwmw2 at infradead dot org 2006-12-12 17:33 --- Yeah, fair enough. Enable the warning by default everywhere then. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30171

[Bug middle-end/26374] Compile failure on long double

2006-12-28 Thread dwmw2 at infradead dot org
--- Comment #10 from dwmw2 at infradead dot org 2006-12-28 14:32 --- Any progress on this? -- dwmw2 at infradead dot org changed: What|Removed |Added CC