[Bug middle-end/32602] New: Sibcall optimization fails to detect overlap

2007-07-02 Thread jconner at apple dot com
at apple dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32602

[Bug middle-end/32602] Sibcall optimization fails to detect overlap

2007-07-02 Thread jconner at apple dot com
--- Comment #1 from jconner at apple dot com 2007-07-02 23:19 --- The problem is that the sibcall optimization incorrectly believes that the incoming arr16_t parameter to func1 is located at the same location on the stack as the outgoing arr16_t parameter to func2, and so incorrectly

[Bug middle-end/32603] New: Sibcall optimization fails to detect non-overlapping arguments

2007-07-02 Thread jconner at apple dot com
Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jconner at apple dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32603

[Bug middle-end/32603] Sibcall optimization fails to detect non-overlapping arguments

2007-07-02 Thread jconner at apple dot com
--- Comment #1 from jconner at apple dot com 2007-07-02 23:28 --- I have a patch which addresses this (and pr32602) -- I will submit it shortly. -- jconner at apple dot com changed: What|Removed |Added

[Bug middle-end/32285] [4.1 Regression] Miscompilation with pure _Complex returning call inside another fn's argument list

2007-06-13 Thread jconner at apple dot com
--- Comment #7 from jconner at apple dot com 2007-06-13 17:09 --- (In reply to comment #6) I see that PR25505 caused a bunch of code generation regressions. On i?86, with -O2 -m32: ... When you say regressions, I assume you mean size/performance, not correctness, right? If so

[Bug middle-end/32285] [4.1 Regression] Miscompilation with pure _Complex returning call inside another fn's argument list

2007-06-11 Thread jconner at apple dot com
--- Comment #2 from jconner at apple dot com 2007-06-11 16:06 --- (In reply to comment #1) Looking at http://gcc.gnu.org/ml/gcc-patches/2006-09/msg00951.html I'm slightly worried about backporting this to gcc-4_1-branch though. Has that been resolved? I recall being told

[Bug middle-end/32285] [4.1 Regression] Miscompilation with pure _Complex returning call inside another fn's argument list

2007-06-11 Thread jconner at apple dot com
--- Comment #4 from jconner at apple dot com 2007-06-11 18:59 --- Sorry, yes, reading back I wasn't being very clear. I meant to say that the impression I was left with was that it wasn't a result of my change, but of the test environment, an idea which was supported by my own

[Bug middle-end/30196] VLA and setjumplongjump exceptions

2007-03-13 Thread jconner at apple dot com
--- Comment #2 from jconner at apple dot com 2007-03-13 23:55 --- I have a patch for this that I'm testing right now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30196

[Bug middle-end/29683] [4.1/4.2 Regression] Arg split between stack/regs can cause stack corruption

2007-01-29 Thread jconner at apple dot com
--- Comment #10 from jconner at apple dot com 2007-01-29 17:11 --- Same fix that was applied to mainline resolved the issue in 4.1 and 4.2 branches. Checked in to both of those branches. -- jconner at apple dot com changed: What|Removed |Added

[Bug middle-end/29683] [4.1/4.2 Regression] Arg split between stack/regs can cause stack corruption

2007-01-25 Thread jconner at apple dot com
--- Comment #4 from jconner at apple dot com 2007-01-25 17:11 --- I'll investigate fixing this in the 4.1 and 4.2 branches, as well. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29683

[Bug target/30485] New: ICE in rs6000_emit_vector_compare when building with -fno-trapping-math

2007-01-16 Thread jconner at apple dot com
at apple dot com GCC host triplet: powerpc-apple-darwin8 GCC target triplet: powerpc-apple-darwin8 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30485

[Bug middle-end/29683] New: Arg split between stack/regs can cause stack corruption

2006-11-01 Thread jconner at apple dot com
between stack/regs can cause stack corruption Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jconner at apple dot

[Bug middle-end/29683] Arg split between stack/regs can cause stack corruption

2006-11-01 Thread jconner at apple dot com
--- Comment #1 from jconner at apple dot com 2006-11-01 19:11 --- What's happening is that TER is inserting the call to GetConst in place of 'result' in the call to VerifyValues, as such: (pre-TER) result_4 = GetConst (filler, a); VerifyValues (filler, 0, a$mbr1_5, result_4

[Bug target/25376] section attribute doesn't work on darwin

2006-10-02 Thread jconner at apple dot com
--- Comment #7 from jconner at apple dot com 2006-10-02 16:44 --- (In reply to comment #6) Shouldn't this bug be marked as closed now? Perhaps - however, it's not been fixed on the 4.0 or 4.1 branches... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25376

[Bug middle-end/25505] [4.0/4.1/4.2 Regression] gcc uses way too much stack space for this code

2006-08-21 Thread jconner at apple dot com
--- Comment #17 from jconner at apple dot com 2006-08-21 23:43 --- I can reduce the stack size in this example to ~13k by not invoking mark_temp_addr_taken from expand_call (calls.c). This allows compiler-generated temps used to store return values to share stack slots, even when

[Bug target/26262] New: Named section support should infer segment name

2006-02-13 Thread jconner at apple dot com
Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jconner at apple dot com GCC target triplet: powerpc-apple-darwin http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26262

[Bug target/25376] New: section attribute doesn't work on darwin

2005-12-12 Thread jconner at apple dot com
doesn't work on darwin Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jconner at apple dot com GCC target triplet

[Bug target/25376] section attribute doesn't work on darwin

2005-12-12 Thread jconner at apple dot com
--- Comment #1 from jconner at apple dot com 2005-12-12 18:11 --- I have a patch for this I'll submit to gcc-patches. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25376

[Bug c++/24663] New: Template instantiation generating a zero-sized array doesn't fail

2005-11-03 Thread jconner at apple dot com
at apple dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24663

[Bug c++/24664] New: Template instantiation generating an array of voids doesn't fail

2005-11-03 Thread jconner at apple dot com
: jconner at apple dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24664

[Bug c++/22153] [3.4/4.0/4.1 regression] ICE on invalid template specialization

2005-10-11 Thread jconner at apple dot com
--- Comment #2 from jconner at apple dot com 2005-10-11 17:31 --- Patch submitted here: http://gcc.gnu.org/ml/gcc-patches/2005-09/msg01274.html Awaiting review... -- jconner at apple dot com changed: What|Removed |Added

[Bug c++/23708] New: Non-inline function incorrectly treated as inline when using precompiled headers

2005-09-02 Thread jconner at apple dot com
precompiled headers Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jconner at apple dot com CC: gcc-bugs at gcc

[Bug c++/23708] Non-inline function incorrectly treated as inline when using precompiled headers

2005-09-02 Thread jconner at apple dot com
--- Additional Comments From jconner at apple dot com 2005-09-03 02:09 --- When generating a precompiled header, finish_member_declaration() invokes note_decl_for_pch() for the function testfnT, and assigns it to the COMDAT section with weak linkage. Then, when the test.C file

[Bug middle-end/23584] New: ipa-pure-const pass ignores dereferencing a volatile pointer type

2005-08-26 Thread jconner at apple dot com
Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jconner at apple dot com CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: all http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23584

[Bug middle-end/23237] [4.1 Regression] -O1 rejects valid code (xxx causes a section type conflict).

2005-08-24 Thread jconner at apple dot com
--- Additional Comments From jconner at apple dot com 2005-08-24 16:17 --- The declaration of the variable actions (in the given example) is being changed to READONLY by the ipa- reference pass (in function static_execute), so when it comes time to create the section in named_section

[Bug middle-end/23237] [4.1 Regression] -O1 rejects valid code (xxx causes a section type conflict).

2005-08-24 Thread jconner at apple dot com
--- Additional Comments From jconner at apple dot com 2005-08-24 17:04 --- It seems like TREE_CONSTANT has the semantics we're looking for (value doesn't change) instead of TREE_READONLY, but I think someone more familiar with this pass (perhaps the author, Kenneth Zadeck?) would

[Bug middle-end/23237] [4.1 Regression] -O1 rejects valid code (xxx causes a section type conflict).

2005-08-24 Thread jconner at apple dot com
--- Additional Comments From jconner at apple dot com 2005-08-24 17:24 --- (In reply to comment #8) Actually TREE_READONLY is correct and TREE_CONSTANT is incorrect to use this context (there was a discussion about this before but I cannot find it). TREE_CONSTANT is not set

[Bug middle-end/23241] [3.4/4.0/4.1 Regression] Invalid code generated for comparison of uchar to 255

2005-08-05 Thread jconner at apple dot com
--- Additional Comments From jconner at apple dot com 2005-08-05 16:14 --- Subject: Re: [3.4/4.0/4.1 Regression] Invalid code generated for comparison of uchar to 255 Right. The annoying thing is that it is in 3.3.6 too so I think someone should fix the typo on the 3.3 branch

[Bug middle-end/23241] New: Invalid code generated for comparison of uchar to 255

2005-08-04 Thread jconner at apple dot com
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jconner at apple dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: powerpc-apple-darwin8.2.0 GCC host triplet: powerpc-apple-darwin8.2.0 GCC target triplet: arm-none-elf http://gcc.gnu.org/bugzilla

[Bug middle-end/23241] Invalid code generated for comparison of uchar to 255

2005-08-04 Thread jconner at apple dot com
-- What|Removed |Added Keywords||wrong-code http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23241

[Bug middle-end/23241] Invalid code generated for comparison of uchar to 255

2005-08-04 Thread jconner at apple dot com
--- Additional Comments From jconner at apple dot com 2005-08-05 00:17 --- I believe I have tracked down the root of this behavior to an invalid transformation in simplify_comparison (from combine.c). See email thread starting here: http://gcc.gnu.org/ml/gcc/2005-08/msg00159.html

[Bug c++/21971] New: class friend declaration doesn't allow use in class scope

2005-06-08 Thread jconner at apple dot com
: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: minor Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jconner at apple dot com CC: gcc-bugs at gcc dot gnu dot org GCC host

[Bug middle-end/21648] New: ICE on code with nested loops

2005-05-18 Thread jconner at apple dot com
: UNCONFIRMED Severity: critical Priority: P2 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jconner at apple dot com CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: i686-pc-cygwin GCC target triplet

[Bug middle-end/21648] ICE on code with nested loops

2005-05-18 Thread jconner at apple dot com
-- What|Removed |Added Keywords||ice-on-valid-code http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21648

[Bug target/21128] Returning vector 32-bits or larger generates ICE

2005-05-17 Thread jconner at apple dot com
--- Additional Comments From jconner at apple dot com 2005-05-17 21:50 --- Patch committed to mainline on 13 May 2005. -- What|Removed |Added URL

[Bug middle-end/21478] New: Improve initialization of sparse local arrays

2005-05-09 Thread jconner at apple dot com
: Improve initialization of sparse local arrays Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jconner at apple

[Bug middle-end/21478] Improve initialization of sparse local arrays

2005-05-09 Thread jconner at apple dot com
-- What|Removed |Added Keywords||missed-optimization http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21478

[Bug middle-end/21478] Improve initialization of sparse local arrays

2005-05-09 Thread jconner at apple dot com
--- Additional Comments From jconner at apple dot com 2005-05-10 00:50 --- Proposed patch here: http://gcc.gnu.org/ml/gcc-patches/2005-05/msg00773.html -- What|Removed |Added

[Bug target/21128] New: Returning vector 32-bits or larger generates ICE

2005-04-20 Thread jconner at apple dot com
ReportedBy: jconner at apple dot com CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: powerpc-apple-darwin7.8.0 GCC target triplet: arm-none-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21128

[Bug target/21128] Returning vector 32-bits or larger generates ICE

2005-04-20 Thread jconner at apple dot com
-- What|Removed |Added Keywords||ice-on-valid-code http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21128

[Bug c/20972] New: Compiler-generated code produces an assembler warning

2005-04-12 Thread jconner at apple dot com
Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jconner at apple dot com CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: powerpc-apple-darwin7.8.0 GCC target triplet: arm-unknown-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20972

[Bug target/20972] Compiler-generated code produces an assembler warning

2005-04-12 Thread jconner at apple dot com
--- Additional Comments From jconner at apple dot com 2005-04-12 17:24 --- Subject: Re: Compiler-generated code produces an assembler warning I don't see this same behavior on 3.4.3. - Josh On Apr 12, 2005, at 10:08 AM, pinskia at gcc dot gnu dot org wrote: --- Additional

[Bug target/20126] [3.3/3.4/4.0 Regression] Inlined memcmp makes one argument null on entry

2005-04-11 Thread jconner at apple dot com
--- Additional Comments From jconner at apple dot com 2005-04-11 21:10 --- Subject: Re: [PR target/20126, RFC] loop DEST_ADDR biv replacement may fail On Apr 10, 2005, at 8:50 PM, Alexandre Oliva wrote: On Apr 10, 2005, Mark Mitchell [EMAIL PROTECTED] wrote: Thanks for alerting me