[Bug c/28418] [4.0/4.1 regression] ICE incrementing compound literal expression

2006-08-25 Thread fjahanian at apple dot com
--- Comment #8 from fjahanian at apple dot com 2006-08-25 21:36 --- I was about to sub mit the patch. Thank you for this patch. - Fariborz > Subject: Bug 28418 > > Author: jsm28 > Date: Fri Aug 25 21:14:24 2006 > New Revision: 116436 > > URL: http://gcc.gnu.org/

[Bug c++/28554] New: Use of __attribute__ ((constructor)) on functions issues confusing error

2006-07-31 Thread fjahanian at apple dot com
confusing error Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: fjahanian at apple dot com GCC b

[Bug c/28418] [4.0/4.1/4.2 regression] ICE incrementing compound literal expression

2006-07-24 Thread fjahanian at apple dot com
--- Comment #3 from fjahanian at apple dot com 2006-07-24 23:16 --- gcc generates two separate trees for compound literals in c and c++. As in this test case: struct S { int i,j; }; void foo (struct S); int main () { foo((struct S){1,1}); } In c it generates

[Bug c++/24260] [4.0/4.1 Regression] stdcall attribute is ignored at static member template functions

2005-10-19 Thread fjahanian at apple dot com
--- Comment #6 from fjahanian at apple dot com 2005-10-19 17:11 --- (In reply to comment #5) > And did fjahanian take a look at this already to see if he > really is to blame for causing this bug? > I am miffed as to why my name was in ChangeLog-2004. PR/13989 and PR/9844 w

[Bug target/14552] compiled trivial vector intrinsic code is ineffiencent

2005-09-13 Thread fjahanian at apple dot com
--- Additional Comments From fjahanian at apple dot com 2005-09-13 21:09 --- Hello, What is the status of Uros's patches in: http://gcc.gnu.org/ml/gcc-patches/2005-07/msg01128.html Looks like they did not make it to FSF mainline? Are there remaining issues with them? --

[Bug target/22152] Poor loop optimization when using mmx builtins

2005-09-12 Thread fjahanian at apple dot com
--- Additional Comments From fjahanian at apple dot com 2005-09-13 00:52 --- Has there been any progress toward fixing the problems addressed by these PRs? - thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22152

[Bug middle-end/21894] [4.0/4.1 Regression] Invalid operand to binary operator with nested function

2005-08-08 Thread fjahanian at apple dot com
--- Additional Comments From fjahanian at apple dot com 2005-08-08 17:36 --- Thanks. Test case should say PR 21894. > Fixed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21894

[Bug rtl-optimization/22152] New: Poor loop optimization when using sse2 builtins - regression from 3.3

2005-06-22 Thread fjahanian at apple dot com
uiltins - regression from 3.3 Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: fjahanian

[Bug c++/22009] New: Friend declaration of a private member function produces error in g++-4.0

2005-06-10 Thread fjahanian at apple dot com
Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: fjahanian at apple dot com CC: gcc-bugs at gcc dot gnu dot o

[Bug tree-optimization/21894] New: gcc crashes with -O1 on a call to nested function

2005-06-02 Thread fjahanian at apple dot com
igned at gcc dot gnu dot org ReportedBy: fjahanian at apple dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: apple-ppa-darwin GCC host triplet: apple-ppc-darwin GCC target triplet: apple-ppa-darwin http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21894

[Bug tree-optimization/20256] -ftree-loop-linear doesn't work right in small loop

2005-02-28 Thread fjahanian at apple dot com
-- What|Removed |Added CC||dberlin at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/sh

[Bug tree-optimization/20256] -ftree-loop-linear doesn't work right in small loop

2005-02-28 Thread fjahanian at apple dot com
-- What|Removed |Added CC||dalej at apple dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20256

[Bug tree-optimization/20256] New: -ftree-loop-linear doesn't work right in small loop

2005-02-28 Thread fjahanian at apple dot com
x27;t work right in small loop Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: fjahanian at apple dot co

[Bug tree-optimization/20216] [4.0/4.1 Regression] Simple loop runs out of stack at -O1

2005-02-26 Thread fjahanian at apple dot com
--- Additional Comments From fjahanian at apple dot com 2005-02-27 00:51 --- (In reply to comment #6) > The first part of the patch seems fine. > We should make tree_fold_binomial non-recursive. You meant tree_fold_factorial? tree_fold_binomial is not recursive as is. > Note

[Bug tree-optimization/20216] [4.0/4.1 Regression] Simple loop runs out of stack at -O1

2005-02-25 Thread fjahanian at apple dot com
--- Additional Comments From fjahanian at apple dot com 2005-02-25 21:32 --- Created an attachment (id=8286) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8286&action=view) A proposed patch to fix this Note that patch I attached is against the apple-ppc-branch. So, it

[Bug tree-optimization/20216] New: Simple loop runs out of stack at -O1

2005-02-25 Thread fjahanian at apple dot com
le loop runs out of stack at -O1 Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: fjahanian

[Bug target/18118] bad code gen for -mcpu=G5 and unsigned long long to double

2005-01-17 Thread fjahanian at apple dot com
--- Additional Comments From fjahanian at apple dot com 2005-01-17 16:49 --- on apple-ppc-branch -mcpu=G5 is all you need to reproduce the problem. But I noticed that this bug is no longer reproducible with the FSF mainline. So, this bug has been fixed as far as I am concerned. Just

[Bug target/18916] [4.0 Regression] mis-aligned vector code with copy memory (-maltivec)

2004-12-29 Thread fjahanian at apple dot com
--- Additional Comments From fjahanian at apple dot com 2004-12-29 17:34 --- (In reply to comment #8) > Why can't we make sure that temporaries which should be aligned to 128 bits > are actually aligned to > 128 bits? Surely failing to do so will cause other problems.

[Bug target/18916] [4.0 Regression] mis-aligned vector code with copy memory (-maltivec)

2004-12-20 Thread fjahanian at apple dot com
--- Additional Comments From fjahanian at apple dot com 2004-12-21 01:25 --- My last patch also had problems, in that it changed alignment of local vector variables on stack. This alignment cannot be changed because AltiVec intrincics expect 128bit alignment. So, I conclude that only

[Bug target/18916] [4.0 Regression] mis-aligned vector code with copy memory (-maltivec)

2004-12-17 Thread fjahanian at apple dot com
--- Additional Comments From fjahanian at apple dot com 2004-12-18 01:46 --- And this is the patch that I had in mind. Can this break ABI compatibily? My limited testing shows that it does not. Index: rs6000.c === RCS

[Bug target/18916] [4.0 Regression] mis-aligned vector code with copy memory (-maltivec)

2004-12-17 Thread fjahanian at apple dot com
--- Additional Comments From fjahanian at apple dot com 2004-12-18 00:43 --- Followin patch fixes the alignment problem. But it cannot be applied because it breaks ABI compatibilty. A possible solution is to relax alignment of the type in question (with alignment of 128) to that of

[Bug tree-optimization/18792] ICE with -O1 -ftree-loop-linear on small test case

2004-12-17 Thread fjahanian at apple dot com
--- Additional Comments From fjahanian at apple dot com 2004-12-17 19:40 --- Why hasn't been there be a resolution of this PR? It seems that all issues, including elimination of loop numbers, etc. have been taken care of. Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18792

[Bug target/18916] vector code is generated to copy data to mis-aligned memory (-mcpu=G5)

2004-12-09 Thread fjahanian at apple dot com
--- Additional Comments From fjahanian at apple dot com 2004-12-10 01:42 --- AFAICT, I don't see how gcc middle-end can force correct parameter alignment when alignment is more strict than PARAM_BOUNDARY. There is no code to do so (I am looking at store_one_arg which is th

[Bug target/18916] vector code is generated to copy data to mis-aligned memory (-mcpu=G5)

2004-12-09 Thread fjahanian at apple dot com
-- What|Removed |Added CC||dje at watson dot ibm dot ||com http://gcc.gnu.org/bugzilla/sho

[Bug target/18916] New: vector code is generated to copy data to mis-aligned memory (-mcpu=G5)

2004-12-09 Thread fjahanian at apple dot com
: P2 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: fjahanian at apple dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: apple-ppc-darwin GCC host triplet: apple-ppc-darwin GCC target triplet: apple-ppc-darwin

[Bug tree-optimization/18792] ICE with -O1 -ftree-loop-linear on small test case

2004-12-07 Thread fjahanian at apple dot com
--- Additional Comments From fjahanian at apple dot com 2004-12-07 23:04 --- I agree that bug is before linear loop xform. Make a slight, none-cfg change to the test case and loop_nbr come out different (and sequential in the nesting). Somehow, changing the first loop condition makes

[Bug tree-optimization/18792] ICE with -O1 -ftree-loop-linear on small test case

2004-12-07 Thread fjahanian at apple dot com
--- Additional Comments From fjahanian at apple dot com 2004-12-07 22:37 --- Zdenek, Could you take a look at this? -- What|Removed |Added CC

[Bug middle-end/18641] [4.0 Regression] Another ICE caused by reload of a psuedo reg into f0 for a DImode expr

2004-12-06 Thread fjahanian at apple dot com
--- Additional Comments From fjahanian at apple dot com 2004-12-06 23:32 --- David's patch (including darwin.h patch attached here) successufully bootstrapped, dejagnu tested on apple-ppc-darwin. Please apply the patch to mainline. Index: dar

[Bug middle-end/18641] [4.0 Regression] Another ICE caused by reload of a psuedo reg into f0 for a DImode expr

2004-12-06 Thread fjahanian at apple dot com
--- Additional Comments From fjahanian at apple dot com 2004-12-06 17:55 --- I applied the patch to fsf-mainline (including darwin.h) and it worked for me. I will do the bootstrap, dejagnu testing and let you know how it went. - Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug tree-optimization/18792] New: ICE with -O1 -ftree-loop-linear on small test case

2004-12-02 Thread fjahanian at apple dot com
al Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: fjahanian at apple dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: apple-ppc-darwin GCC host triplet: apple-ppc-darwin GCC target

[Bug middle-end/18641] [4.0 Regression] Another ICE caused by reload of a psuedo reg into f0 for a DImode expr

2004-12-01 Thread fjahanian at apple dot com
--- Additional Comments From fjahanian at apple dot com 2004-12-01 22:07 --- Regardless of how we fix this specific problem; by reverting Ulrich's patch to find_reloads_address, making the small change he proposed in find_reloads, or something else, there remains the problem

[Bug target/18118] bad code gen for -mcpu=G5 and unsigned long long to double

2004-11-29 Thread fjahanian at apple dot com
--- Additional Comments From fjahanian at apple dot com 2004-11-29 17:15 --- This patch doesn't fix the problem I reported on apple-ppc-darwin. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18118

[Bug target/18641] New: Another ICE caused by reload of a psuedo reg into f0 for a DImode expr

2004-11-23 Thread fjahanian at apple dot com
Status: UNCONFIRMED Severity: normal Priority: P2 Component: target AssignedTo: uweigand at de dot ibm dot com ReportedBy: fjahanian at apple dot com CC: dje at gcc dot gnu dot org,gcc-bugs at gcc dot gnu dot org GCC

[Bug middle-end/16266] [4.0 regression] gcc.dg/c99-intconst-1.c compilation is very slow

2004-11-17 Thread fjahanian at apple dot com
--- Additional Comments From fjahanian at apple dot com 2004-11-17 18:02 --- Following patch has broken many dejagnu tests on apple-ppc-darwing with -mcpu=G5. http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/function.c.diff?cvsroot=gcc&r1=1.581&r2=1.582 FAIL: gcc.c-torture

[Bug target/15286] ICE cause by reload

2004-10-26 Thread fjahanian at apple dot com
--- Additional Comments From fjahanian at apple dot com 2004-10-26 15:17 --- I tested the patch on apple-ppc-darwin; bootstrapped and dejagnu tested (with and without -mcpu=G5). There were no regressions. This is an important bug for us. We have had 4 separate reporting of this bug. It

[Bug target/15286] ICE cause by reload

2004-10-25 Thread fjahanian at apple dot com
--- Additional Comments From fjahanian at apple dot com 2004-10-25 23:58 --- I tried the last patch and for the following statement built with -O2 -mcpu=G5 (aaple's mixed mode) I get the following instruction sequence. It looks OK to me. But David's case might be different t

[Bug target/15286] ICE cause by reload

2004-10-25 Thread fjahanian at apple dot com
--- Additional Comments From fjahanian at apple dot com 2004-10-25 21:14 --- By mistake, I applied the test for !reload_completed to you earlier patch (which was worng). In any case, after correcting the patch and with your latest patch, all my test cases passed. Now, I need to do a

[Bug target/15286] ICE cause by reload

2004-10-25 Thread fjahanian at apple dot com
--- Additional Comments From fjahanian at apple dot com 2004-10-25 20:58 --- You need to replace GET_MODE_SIZE (x) with GET_MODE_SIZE (GET_MODE (x)), etc. for a clean compile. But as I mentioned in last comment, I still get the ICE with or without this patch (along with the previous

[Bug target/15286] ICE cause by reload

2004-10-25 Thread fjahanian at apple dot com
--- Additional Comments From fjahanian at apple dot com 2004-10-25 19:12 --- You referred to them as 'both patches' in comment #21. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15286

[Bug target/15286] ICE cause by reload

2004-10-25 Thread fjahanian at apple dot com
--- Additional Comments From fjahanian at apple dot com 2004-10-25 18:39 --- I applied the last two patch, but it didn;t help: % mygccf -O2 -mcpu=G5 -c loader_obj.i loader_obj.c: In function 'load_obj': loader_obj.c:92: error: unrecognizable insn: (insn 1395 601 1396 50 (set

[Bug target/18118] New: bad code gen for -mcpu=G5

2004-10-22 Thread fjahanian at apple dot com
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: fjahanian at apple dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: apple-ppc-darwin GCC host triplet: apple-ppc-darwin GCC target triplet: apple-ppc-darwin http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18118

[Bug tree-optimization/17892] [4.0 Regression] gcc-4.0 should not reassociate floating point add or multiplication

2004-10-12 Thread fjahanian at apple dot com
--- Additional Comments From fjahanian at apple dot com 2004-10-12 20:57 --- tree-outof-ssa.c is not part of this patch. I accidentally checked it in. I have since backed it out. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17892

[Bug tree-optimization/17955] New: Perform associative optimization when it is safe

2004-10-12 Thread fjahanian at apple dot com
is safe Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: tree-optimization AssignedTo: roger at eyesopen dot com ReportedBy: fjahanian at apple dot com CC:

[Bug tree-optimization/17884] [4.0 Regression] asm 'volatile' is not honored as documented

2004-10-08 Thread fjahanian at apple dot com
--- Additional Comments From fjahanian at apple dot com 2004-10-08 16:23 --- But this is a regression from gcc-3.3. Also, without this patch, there is no other place which checks for a volatility of an 'asm' statement. Then why not just say in the documentation that 'v

[Bug tree-optimization/17892] New: gcc-4.0 should not reassociate floating point add or multiplication

2004-10-08 Thread fjahanian at apple dot com
Status: UNCONFIRMED Severity: normal Priority: P1 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: fjahanian at apple dot com CC: gcc-bugs at gcc dot gnu dot org,roger at eyesopen dot