[Bug tree-optimization/18706] [4.0 Regression] ACATS ce2208b ICE expected ssa_name, have var_decl in verify_ssa, at tree-ssa.c:637

2005-01-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-23 06:37 --- (In reply to comment #6) > Notice how we take the address of a CONSTRUCTOR this is wrong and we should > never do that. Which makes this a front-end bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1

[Bug tree-optimization/18706] [4.0 Regression] ACATS ce2208b ICE expected ssa_name, have var_decl in verify_ssa, at tree-ssa.c:637

2005-01-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-23 06:33 --- I think this is the same failure as the current bootstrap problem on ppc-darwin. For the bootstrap problem we have the following CONST_DECL: static struct gnat__strings__string_access C.828 = {.P_ARRAY=(ch

[Bug middle-end/19583] [4.0 Regression] Incorrect diagnostic: control may reach end of non-void function '...' being inlined

2005-01-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-23 06:14 --- Mine. I am testing a patch right now. -- What|Removed |Added AssignedTo|unassigned a

[Bug c++/19583] [4.0 Regression] Incorrect diagnostic: control may reach end of non-void function '...' being inlined

2005-01-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-23 06:05 --- The problem is that block_may_fallthru does not handle try_catch_expr and eh_filter_expr. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19583

[Bug c++/19583] [4.0 Regression] Incorrect diagnostic: control may reach end of non-void function '...' being inlined

2005-01-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-23 05:48 --- The problem is not related eh_spec_block as we are gimple at this point. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19583

[Bug target/19378] [4.0 Regression] ICE during bootstrap compiling __fixdfdi

2005-01-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-23 05:29 --- Fixed. -- What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug target/18402] [3.3 regression] ICE in gen_split_1204 on i686-pc-linux-gnu target

2005-01-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-23 05:28 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug c++/19583] [4.0 Regression] Incorrect diagnostic: control may reach end of non-void function '...' being inlined

2005-01-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-23 05:22 --- I think the problem is that we don't look passed eh_spec_block trees. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19583

[Bug c++/19583] [4.0 Regression] Incorrect diagnostic: control may reach end of non-void function '...' being inlined

2005-01-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-23 05:21 --- Here is the simplified testcase: static inline bool f() throw() { return 0; } bool ff() { return f(); } -- What|Removed |Added ---

[Bug rtl-optimization/8555] [3.2 regression] ICE in gen_split_1231

2005-01-22 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-23 05:16 --- Subject: Bug 8555 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-3_3-branch Changes by: [EMAIL PROTECTED] 2005-01-23 05:16:15 Modified files: gcc: ChangeL

[Bug target/18402] [3.3 regression] ICE in gen_split_1204 on i686-pc-linux-gnu target

2005-01-22 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-23 05:16 --- Subject: Bug 18402 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-3_3-branch Changes by: [EMAIL PROTECTED] 2005-01-23 05:16:15 Modified files: gcc: Change

[Bug c++/19583] Incorrect diagnostic: control may reach end of non-void function '...' being inlined

2005-01-22 Thread zack at gcc dot gnu dot org
--- Additional Comments From zack at gcc dot gnu dot org 2005-01-23 05:11 --- Created an attachment (id=8040) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8040&action=view) shorter test case -- What|Removed |Added -

[Bug c++/19583] Incorrect diagnostic: control may reach end of non-void function '...' being inlined

2005-01-22 Thread zack at gcc dot gnu dot org
--- Additional Comments From zack at gcc dot gnu dot org 2005-01-23 05:08 --- Created an attachment (id=8039) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8039&action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19583

[Bug c++/19583] New: Incorrect diagnostic: control may reach end of non-void function '...' being inlined

2005-01-22 Thread zack at gcc dot gnu dot org
$ /scratch/zack/i/gcc-vanilla/bin/g++ -v Using built-in specs. Configured with: /home/zack/src/gcc/HEAD/vanilla/configure --prefix=/scratch/zack/i/gcc-vanilla --disable-checking --enable-languages=c,c++ --disable-multilib Thread model: posix gcc version 4.0.0 20050122 (experimental) $ /scratch

[Bug target/19378] [4.0 Regression] ICE during bootstrap compiling __fixdfdi

2005-01-22 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-23 04:51 --- Subject: Bug 19378 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-01-23 04:51:29 Modified files: gcc: ChangeLog gcc/config/avr : a

[Bug rtl-optimization/19580] [3.4/4.0 Regression] missed load/store motion

2005-01-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-23 04:39 --- Note this is not a register allocator problem any more but a missed optimization. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19580

[Bug rtl-optimization/19580] [3.4/4.0 Regression] missed load/store motion

2005-01-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-23 04:38 --- (In reply to comment #5) > Caused by this patch: And I was right this was caused by the store motion rewrite. http://gcc.gnu.org/ml/gcc-patches/2003-02/msg02090.html -- What|Removed

[Bug rtl-optimization/19580] [3.4/4.0 Regression] missed load/store monition

2005-01-22 Thread belyshev at depni dot sinp dot msu dot ru
--- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-01-23 04:34 --- Caused by this patch: 2003-04-01 Zdenek Dvorak <[EMAIL PROTECTED]> * gcse.c (struct ls_expr): Added pattern_regs field. (ldst_entry): Initialize it. (extract_mentioned_

[Bug libstdc++/8670] Alignment problem in std::basic_string

2005-01-22 Thread ncm-nospam at cantrip dot org
--- Additional Comments From ncm-nospam at cantrip dot org 2005-01-23 03:52 --- Somebody mentioned that using unions for type punning was described in the textbooks as extremely bad form. That's how I always thought of it, too, but it seems, at least in Gcc, unions are now the right wa

[Bug c/19582] strtok and strtok_r do not work without -fwritable-strings

2005-01-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-23 03:00 --- This is invalid, see the prototype for strtok{,_r}: strtok_r(char *str, const char *sep, char **last); And from the man page (from *BSD, well from darwin): The strtok() function is used to isolate

[Bug c/19582] New: strtok and strtok_r do not work without -fwritable-strings

2005-01-22 Thread roger at systemroot dot org
$ cat test.c #include #include int main(void) { char *tmp; const char * const delim=" "; tmp=strtok("a b c", delim); printf("%s\n",tmp); return 0; } $ gcc -Wall test.c $ ./a.out Segmentation fault (core dumped) $ gcc -Wall -fwritable-strings test.c cc1:

[Bug libfortran/19451] Read after a write with a read only file

2005-01-22 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-23 02:20 --- Subject: Bug 19451 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-01-23 02:18:34 Modified files: gcc/testsuite : ChangeLog libgfortran: C

[Bug rtl-optimization/19580] [3.4/4.0 Regression] missed load/store monition

2005-01-22 Thread dberlin at dberlin dot org
--- Additional Comments From dberlin at gcc dot gnu dot org 2005-01-23 02:08 --- Subject: Re: [3.4/4.0 Regression] poor register allocation On Sat, 23 Jan 2005, steven at gcc dot gnu dot org wrote: > > --- Additional Comments From steven at gcc dot gnu dot org 2005-01-23 > 01

[Bug libstdc++/19343] [4.0 Regression] New warnings in libstdc++-v3 since 2004-01-05

2005-01-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-23 01:56 --- (In reply to comment #8) > > I was about to send the following patch out for this. > > Thanks Andrew, I have already implemented and tested AJ original suggestion, > will > wait a bit for the list opinion.

[Bug rtl-optimization/19580] [3.4/4.0 Regression] missed load/store monition

2005-01-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-23 01:53 --- (In reply to comment #2) > This is a tree-optimization bug for 4.0 and later. I think the problem > is that we don't catch the store motion opportunity at the tree level > because to the tree alias analys

[Bug libstdc++/19343] [4.0 Regression] New warnings in libstdc++-v3 since 2004-01-05

2005-01-22 Thread hp at gcc dot gnu dot org
--- Additional Comments From hp at gcc dot gnu dot org 2005-01-23 01:52 --- I think you need to spell it __noreturn__, as a user should be free to #define noreturn in the program, before the include. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19343

[Bug middle-end/19580] [3.4/4.0 Regression] poor register allocation

2005-01-22 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-01-23 01:49 --- This is a tree-optimization bug for 4.0 and later. I think the problem is that we don't catch the store motion opportunity at the tree level because to the tree alias analyses arrays are opaque objects. O

[Bug tree-optimization/19581] Missed store monition on the tree level (on PPC in general)

2005-01-22 Thread dberlin at gcc dot gnu dot org
--- Additional Comments From dberlin at gcc dot gnu dot org 2005-01-23 01:47 --- This needs more alias analysis Structure aliasing could do this with a little work, so i'll take this for now -- What|Removed |Added -

[Bug tree-optimization/19581] Missed store monition on the tree level (on PPC in general)

2005-01-22 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added OtherBugsDependingO||19580 nThis|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19581

[Bug rtl-optimization/19464] [3.3/3.4/4.0 Regression] gcse causes poor register allocation

2005-01-22 Thread belyshev at depni dot sinp dot msu dot ru
--- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-01-23 01:43 --- (In reply to comment #7) > This looks like a different bug because with 3.3.3 we get the good code but not with 3.4.0. this is now bug 19580 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19

[Bug tree-optimization/19581] New: Missed store monition on the tree level (on PPC in general)

2005-01-22 Thread pinskia at gcc dot gnu dot org
This is like PR 19580 but a request to optimize it on the tree level instead of just on the RTL level. Mainly because we don't catch it for PPC (with 3.3.3 or with -fno-gcse). int r[6]; void f (int n) { while (-- n) { r [0] += r [5]; r [1] += r [0]; r [2] += r [1];

[Bug rtl-optimization/19580] [3.4/4.0 Regression] poor register allocation

2005-01-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-23 01:36 --- Confirmed, only a regression from 3.3.3 which gave the following good code: .L5: addl%edi, %ebp addl%ebp, %esi addl%esi, %ecx addl%ecx, %edx addl%e

[Bug rtl-optimization/19580] New: [3.4/4.0 Regression] poor register allocation

2005-01-22 Thread belyshev at depni dot sinp dot msu dot ru
-- int r[6]; void f (int n) { while (-- n) { r [0] += r [5]; r [1] += r [0]; r [2] += r [1]; r [3] += r [2]; r [4] += r [3]; r [5] += r [4]; } } ---

[Bug rtl-optimization/19464] [3.3/3.4/4.0 Regression] gcse causes poor register allocation

2005-01-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-23 01:17 --- (In reply to comment #6) > (In reply to comment #4) > > This can be fixed at the tree level without any gcse or ra hacking: > > http://gcc.gnu.org/ml/gcc-patches/2005-01/msg01462.html > > GCC generates po

[Bug rtl-optimization/19464] [3.3/3.4/4.0 Regression] gcse causes poor register allocation

2005-01-22 Thread belyshev at depni dot sinp dot msu dot ru
--- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-01-23 00:42 --- (In reply to comment #4) > This can be fixed at the tree level without any gcse or ra hacking: > http://gcc.gnu.org/ml/gcc-patches/2005-01/msg01462.html GCC generates poor code for this functio

[Bug target/19579] -march=i686 generates a bogus program

2005-01-22 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|c |target Keywords||wrong-code http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug c/19579] New: -march=i686 generates a bogus program

2005-01-22 Thread abulmo at club-internet dot fr
The following program: /*--8<---*/ int printf(const char *, ...); int f(void) { return 0; } void g(int a[]) { int n3, n0; int even; int diff = a[1] - a[0]; n3 = 3; if ((n0 = f()) > 0) { even = dif

[Bug target/19378] [4.0 Regression] ICE during bootstrap compiling __fixdfdi

2005-01-22 Thread schlie at comcast dot net
--- Additional Comments From schlie at comcast dot net 2005-01-23 00:25 --- (In reply to comment #10) have you had a chance to look at Roger's more recient patch: http://gcc.gnu.org/ml/gcc-patches/2005-01/msg01181.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19378

[Bug fortran/19292] [meta-bug] g77 features lacking in gfortran

2005-01-22 Thread dje at gcc dot gnu dot org
-- Bug 19292 depends on bug 19052, which changed state. Bug 19052 Summary: unit 0 not preconnected to standard error http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19052 What|Old Value |New Value

[Bug libfortran/19052] unit 0 not preconnected to standard error

2005-01-22 Thread dje at gcc dot gnu dot org
--- Additional Comments From dje at gcc dot gnu dot org 2005-01-23 00:24 --- Patch committed. -- What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug tree-optimization/18048] [4.0 Regression] mgrid loop performance regression with ivopts

2005-01-22 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-01-23 00:24 --- The mgrid score on AMD64 jumps 30% with my patch for PR19464 applied. -- What|Removed |Added

[Bug libfortran/19052] unit 0 not preconnected to standard error

2005-01-22 Thread dje at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |dje at gcc dot gnu dot org |dot org | Status|NEW

[Bug libfortran/19052] unit 0 not preconnected to standard error

2005-01-22 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-23 00:15 --- Subject: Bug 19052 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-01-23 00:14:32 Modified files: libgfortran: ChangeLog libgfortran.h libg

[Bug target/19378] [4.0 Regression] ICE during bootstrap compiling __fixdfdi

2005-01-22 Thread marekm at amelek dot gda dot pl
--- Additional Comments From marekm at amelek dot gda dot pl 2005-01-23 00:14 --- I think the proposed avr_hard_regno_mode_ok patch may need a small fix for QImode in r29 - possible problem with frame pointer (see removed comment): - if (regno <= REG_Y && (regno + GET_MODE_SIZE (mod

[Bug target/19506] [4.0 Regression] PovRay produces wrong pictures with -mfpmath=sse -ffast-math.

2005-01-22 Thread rth at gcc dot gnu dot org
--- Additional Comments From rth at gcc dot gnu dot org 2005-01-22 23:23 --- (In reply to comment #10) > Should patch to sse_comparison_operator [...] be reverted in this case? Nah. As I said in that message, allowing these operators in this manner doesn't actually give the register al

[Bug libstdc++/19343] [4.0 Regression] New warnings in libstdc++-v3 since 2004-01-05

2005-01-22 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2005-01-22 23:16 --- > I was about to send the following patch out for this. Thanks Andrew, I have already implemented and tested AJ original suggestion, will wait a bit for the list opinion. -- http://gcc.gnu.org/bugzilla/show_b

[Bug libstdc++/19343] [4.0 Regression] New warnings in libstdc++-v3 since 2004-01-05

2005-01-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-22 23:09 --- I was about to send the following patch out for this. Index: include/bits/functexcept.h === RCS file: /cvs/gcc/gcc/libstdc++-v3/include/bits/f

[Bug target/19506] [4.0 Regression] PovRay produces wrong pictures with -mfpmath=sse -ffast-math.

2005-01-22 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-22 23:08 --- Subject: Bug 19506 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-01-22 23:07:57 Modified files: gcc: ChangeLog gcc/config/i386: i

[Bug libstdc++/19343] [4.0 Regression] New warnings in libstdc++-v3 since 2004-01-05

2005-01-22 Thread pcarlini at suse dot de
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |pcarlini at suse dot de |dot org | Status|NEW

[Bug libstdc++/19573] [4.0 regression] g++.old-deja/g++.robertl/eb132.C, eb73.C failures

2005-01-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-22 22:47 --- Turns out this is correct warning and this is a dup of bug 19343 which has a way to fix it. pointer allocate(size_type __n, const void* = 0) { if (__builtin_expect(__n > this->m

[Bug libstdc++/19343] [4.0 Regression] New warnings in libstdc++-v3 since 2004-01-05

2005-01-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-22 22:47 --- *** Bug 19573 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug fortran/19575] cdabs intrinsic incorrectly handled with -std=f95

2005-01-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-22 22:38 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW E

[Bug libfortran/18982] open(status="new") does not generate an error if the file exists

2005-01-22 Thread pbrook at gcc dot gnu dot org
--- Additional Comments From pbrook at gcc dot gnu dot org 2005-01-22 22:33 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug fortran/19292] [meta-bug] g77 features lacking in gfortran

2005-01-22 Thread pbrook at gcc dot gnu dot org
-- Bug 19292 depends on bug 18982, which changed state. Bug 18982 Summary: open(status="new") does not generate an error if the file exists http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18982 What|Old Value |New Value

[Bug tree-optimization/18048] [4.0 Regression] mgrid loop performance regression with ivopts

2005-01-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-22 21:37 --- If I have a smaller testcase but the loop is still looks like what is in mgrid can I paste it here, it is only 30 lines? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18048

[Bug target/19378] [4.0 Regression] ICE during bootstrap compiling __fixdfdi

2005-01-22 Thread joel at gcc dot gnu dot org
--- Additional Comments From joel at gcc dot gnu dot org 2005-01-22 21:28 --- I just assigned it to one AVR maintainer and cc'ed the other. Could one of you review this patch and commit it per Mark's request. -- What|Removed |Added --

[Bug target/19378] [4.0 Regression] ICE during bootstrap compiling __fixdfdi

2005-01-22 Thread joel at gcc dot gnu dot org
-- What|Removed |Added CC||denisc at overta dot ru AssignedTo|unassigned at gcc dot gnu |denisc at overta dot ru

[Bug fortran/19575] cdabs intrinsic incorrectly handled with -std=f95

2005-01-22 Thread sgk at troutmask dot apl dot washington dot edu
--- Additional Comments From sgk at troutmask dot apl dot washington dot edu 2005-01-22 20:00 --- Patch to fix the nonstandard issue with -std=f95. http://gcc.gnu.org/ml/gcc-patches/2005-01/msg01596.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19575

[Bug libfortran/18982] open(status="new") does not generate an error if the file exists

2005-01-22 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-22 19:49 --- Subject: Bug 18982 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-01-22 19:49:18 Modified files: gcc/testsuite : ChangeLog libgfortran: C

[Bug target/19378] [4.0 Regression] ICE during bootstrap compiling __fixdfdi

2005-01-22 Thread mark at codesourcery dot com
--- Additional Comments From mark at codesourcery dot com 2005-01-22 19:44 --- Subject: Re: [4.0 Regression] ICE during bootstrap compiling __fixdfdi joel at gcc dot gnu dot org wrote: > --- Additional Comments From joel at gcc dot gnu dot org 2005-01-22 > 13:02 --- > (In re

[Bug target/19528] [4.0 regression] missing ra.h

2005-01-22 Thread mark at codesourcery dot com
--- Additional Comments From mark at codesourcery dot com 2005-01-22 19:43 --- Subject: Re: [4.0 regression] missing ra.h joel at gcc dot gnu dot org wrote: > --- Additional Comments From joel at gcc dot gnu dot org 2005-01-22 > 12:57 --- > (In reply to comment #10) > >>Mark

[Bug fortran/19575] cdabs intrinsic incorrectly handled with -std=f95

2005-01-22 Thread sgk at troutmask dot apl dot washington dot edu
--- Additional Comments From sgk at troutmask dot apl dot washington dot edu 2005-01-22 19:25 --- Part of the problem is due to the following from intrinsic.c add_sym_1 ("zabs", 1, 1, BT_REAL, dd, GFC_STD_GNU, NULL, gfc_simplify_abs, gfc_resolve_abs, a, BT_

[Bug c++/19569] no code for explicit instantiation of template class specialization

2005-01-22 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-01-22 18:37 --- Why? The function you want is inline. I would rather claim that the instantiation of the function in the general template is wrong, although arguably it doesn't matter since it is marked weak. You will have

[Bug tree-optimization/19516] missed optimization (bool)

2005-01-22 Thread kazu at cs dot umass dot edu
--- Additional Comments From kazu at cs dot umass dot edu 2005-01-22 18:34 --- This is what I get at the end of tree-ssa optimizations. foo (flag) { int D.1318; _Bool D.1317; : D.1317_2 = *flag_1; if (D.1317_2 != 0) goto ; else goto ; :; bar (); :; D.1317_4 = *flag_1; i

[Bug middle-end/18887] [4.0 Regression] libgcc2.h Improperly determines required built-in function size requirements.

2005-01-22 Thread schlie at comcast dot net
--- Additional Comments From schlie at comcast dot net 2005-01-22 18:28 --- Subject: Re: [4.0 Regression] libgcc2.h Improperly determines required built-in function size requirements. Any reason that the milestone was removed vs. moved to 4.1 for tertiary platforms? > From: mmitchel

[Bug fortran/19577] initial padding for COMMON blocks - order of variables

2005-01-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-22 18:14 --- Just a note with gfortran we get a warning, not a error though. Closing as invalid as requested by the submitter. -- What|Removed |Added

[Bug tree-optimization/8681] Generates unneeded test

2005-01-22 Thread kazu at cs dot umass dot edu
--- Additional Comments From kazu at cs dot umass dot edu 2005-01-22 18:14 --- Still not fixed at tree level. sum (p) { unsigned int D.1166; unsigned int D.1161; int result; int i; : result = 0; i = 0; goto (); :; if (i < 0) goto ; else goto ; :; result = 0; :;

[Bug fortran/19577] initial padding for COMMON blocks - order of variables

2005-01-22 Thread ilias at utcpd dot sk
--- Additional Comments From ilias at utcpd dot sk 2005-01-22 18:02 --- Created an attachment (id=8038) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8038&action=view) This is NOT bug I returned to this programm, and realized that this is NOT a bug, but this is good restrictive beh

[Bug tree-optimization/19578] [4.0 Regression] function pointer propagation fails for noreturn functions (part 2)

2005-01-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-22 18:00 --- Just for the record (and for lazy people aka me), here is the testcase: extern void foo (void) __attribute__((noreturn)); void g (void) { void (*f) (void) = foo; f (); f (); } -- http://gcc.gnu.org

[Bug tree-optimization/19578] [4.0 Regression] function pointer propagation fails for noreturn functions (part 2)

2005-01-22 Thread rsandifo at gcc dot gnu dot org
-- Bug 19578 depends on bug 19484, which changed state. Bug 19484 Summary: [4.0 Regression] function pointer propagation fails for noreturn functions http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19484 What|Old Value |New Value --

[Bug tree-optimization/19578] [4.0 Regression] function pointer propagation fails for noreturn functions (part 2)

2005-01-22 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19578

[Bug tree-optimization/19484] [4.0 Regression] function pointer propagation fails for noreturn functions

2005-01-22 Thread rsandifo at gcc dot gnu dot org
--- Additional Comments From rsandifo at gcc dot gnu dot org 2005-01-22 17:58 --- Patch committed for the first testcase. Using PR19578 to track the second. -- What|Removed |Added --

[Bug tree-optimization/19578] [4.0 Regression] function pointer propagation fails for noreturn functions (part 2)

2005-01-22 Thread rsandifo at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rsandifo at gcc dot gnu dot |dot org |org Status|UNCONFIRMED

[Bug tree-optimization/19578] New: [4.0 Regression] function pointer propagation fails for noreturn functions (part 2)

2005-01-22 Thread rsandifo at gcc dot gnu dot org
I'm opening this issue to track the second testcase from PR19484: http://gcc.gnu.org/PR19484 since it needs a different patch from the first (original) testcase. -- Summary: [4.0 Regression] function pointer propagation fails for noreturn functions (part 2)

[Bug tree-optimization/19484] [4.0 Regression] function pointer propagation fails for noreturn functions

2005-01-22 Thread rsandifo at gcc dot gnu dot org
-- What|Removed |Added OtherBugsDependingO||19578 nThis|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19484

[Bug tree-optimization/18048] [4.0 Regression] mgrid loop performance regression with ivopts

2005-01-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-22 17:54 --- (In reply to comment #8) > Actually I think the remaining issues of the mgrid performance regression are > caused by PR 19038. Well I looked the assembly and it looks like a regresiter allocator problem no

[Bug tree-optimization/19484] [4.0 Regression] function pointer propagation fails for noreturn functions

2005-01-22 Thread cvs-commit at gcc dot gnu dot org
/testsuite : ChangeLog Added files: gcc/testsuite/gcc.c-torture/compile: 20050122-1.c 20050122-2.c Log message: PR tree-optimization/19484 * tree-cfg.c (remove_fallthru_edge): New function. (cleanup_control_flow): Remove fallthru edges from calls that are now

[Bug inline-asm/11203] source doesn't compile with -O0 but they compile with -O3

2005-01-22 Thread dberlin at dberlin dot org
--- Additional Comments From dberlin at gcc dot gnu dot org 2005-01-22 17:21 --- Subject: Re: source doesn't compile with -O0 but they compile with -O3 > > >> >> The reason is dead simple: register allocation is NP-complete, so it >> is even *theoretically* not possible to write reg

Re: [Bug inline-asm/11203] source doesn't compile with -O0 but they compile with -O3

2005-01-22 Thread Daniel Berlin
The reason is dead simple: register allocation is NP-complete, so it is even *theoretically* not possible to write register allocators that always find a coloring. register allocation in general is NP-complete, yes, but it seems u forget that this is about finding the optimal solution while gcc

[Bug inline-asm/11203] source doesn't compile with -O0 but they compile with -O3

2005-01-22 Thread michaelni at gmx dot at
--- Additional Comments From michaelni at gmx dot at 2005-01-22 17:10 --- (In reply to comment #14) > In any case, just because code is syntactically "valid" > GNU C doesn't mean gcc can always compile it. With this kind of inline asm, > you're bound to confuse the register allocator.

[Bug tree-optimization/18048] [4.0 Regression] mgrid loop performance regression with ivopts

2005-01-22 Thread dberlin at gcc dot gnu dot org
-- Bug 18048 depends on bug 19038, which changed state. Bug 19038 Summary: [4.0 Regression] tree-ssa causing loops to have more than one BB http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19038 What|Old Value |New Value

[Bug tree-optimization/19038] [4.0 Regression] tree-ssa causing loops to have more than one BB

2005-01-22 Thread dberlin at gcc dot gnu dot org
--- Additional Comments From dberlin at gcc dot gnu dot org 2005-01-22 16:49 --- Fixed -- What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug tree-optimization/19038] [4.0 Regression] tree-ssa causing loops to have more than one BB

2005-01-22 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-22 16:48 --- Subject: Bug 19038 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-01-22 16:48:24 Modified files: gcc: ChangeLog tree-ssa-dom.c Log messag

[Bug fortran/19577] New: initial padding for COMMON blocks - order of variables

2005-01-22 Thread ilias at utcpd dot sk
Hello, short fortran software: === Program TEST_COMMON_BLOCKS implicit real*8 (a-h,o-z) common /common_block/ a,i a=1.25 i=-4 write(*,*) "main prog:", i,a call subr stop 0 end subroutine

[Bug inline-asm/11203] source doesn't compile with -O0 but they compile with -O3

2005-01-22 Thread stian at nixia dot no
--- Additional Comments From stian at nixia dot no 2005-01-22 15:58 --- if you resolve all memory-referenses to temporary variables void *a=(src + 0*stride) and use those instead. Doesn't that lessen the stress the register-allocator is given? -- http://gcc.gnu.org/bugzilla/show_bug.c

[Bug fortran/19575] cdabs intrinsic incorrectly handled with -std=f95

2005-01-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-22 15:48 --- sub (specific__abs_c8); sub (specific__abs_c4); Hmm, I don't know what should be happening with intrinsics at all in this case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19575

[Bug objc/18408] [4.0 Regression] ICE compiling code that involves casting classes

2005-01-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-22 15:23 --- With --disable-checking, we get the correct code but we don't get an ICE. -- What|Removed |Added -

[Bug target/19549] Register allocation problem in inline asm on x86.

2005-01-22 Thread falk at debian dot org
--- Additional Comments From falk at debian dot org 2005-01-22 15:23 --- (In reply to comment #5) > Second, both PRs concern a basically overly constrained asm. I am > sure I mentioned in PR11203 that any success in compiling such asm > is just luck. > > Not a GCC bug We do in f

[Bug fortran/19194] Missing RECL parameter in OPEN statement

2005-01-22 Thread tobi at gcc dot gnu dot org
--- Additional Comments From tobi at gcc dot gnu dot org 2005-01-22 14:40 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug fortran/19194] Missing RECL parameter in OPEN statement

2005-01-22 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-22 14:37 --- Subject: Bug 19194 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-01-22 14:37:39 Modified files: libgfortran: ChangeLog libgfortran/io : i

[Bug fortran/19576] achar in initialization

2005-01-22 Thread ebotcazou at gcc dot gnu dot org
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-01-22 13:32 --- Please don't put ICE in the summary. -- What|Removed |Added Status|UNCONFIRME

[Bug fortran/19576] [ICE] achar in initialization

2005-01-22 Thread Thomas dot Koenig at online dot de
--- Additional Comments From Thomas dot Koenig at online dot de 2005-01-22 13:30 --- Same thing on i686-pc-linux-gnu. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19576

[Bug target/19378] [4.0 Regression] ICE during bootstrap compiling __fixdfdi

2005-01-22 Thread joel at gcc dot gnu dot org
--- Additional Comments From joel at gcc dot gnu dot org 2005-01-22 13:02 --- (In reply to comment #6) > AVR is not a primary or secondary platform; removing target milestone. Understood but there is a patch from Rager Sayle and all it needs is to be reviewed and approved. He posted te

[Bug target/19528] [4.0 regression] missing ra.h

2005-01-22 Thread joel at gcc dot gnu dot org
--- Additional Comments From joel at gcc dot gnu dot org 2005-01-22 12:57 --- (In reply to comment #10) > Mark, while you're using your RM powers to move the target milestone on > this one, could you also please use your GWP powers to approve the simple > patch http://gcc.gnu.org/ml/gc

[Bug target/19528] [4.0 regression] missing ra.h

2005-01-22 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-01-22 12:19 --- Mark, while you're using your RM powers to move the target milestone on this one, could you also please use your GWP powers to approve the simple patch http://gcc.gnu.org/ml/gcc-patches/2005-01/msg01258.htm

[Bug fortran/19576] New: [ICE] achar in initialization

2005-01-22 Thread coudert at clipper dot ens dot fr
The following code: program achar_test implicit none integer i character(*), parameter :: y(0:31) = (/(achar(i),i=64,95)/) write(*,*) y end program achar_test causes ICE on i686-mingw and powerpc-apple-darwin: $ gfortran achar_test.f90 achar_test.f90: In function 'MAIN__': achar_tes

[Bug inline-asm/11203] source doesn't compile with -O0 but they compile with -O3

2005-01-22 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-01-22 12:14 --- Martin, you should realize that this problem *cannot* be solved. Yes, there will perhaps be a time when this particular test case compiles, though I think that is unlikely. But anyway, then there will be

[Bug target/19549] Register allocation problem in inline asm on x86.

2005-01-22 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-01-22 12:07 --- Falk, sorry but Andrew is right. First of all, it *does* compile for me at -O[123] on i686, but not at -O0 because reload can't find a register. I tried GCC 3.3, 3.4, and 4.0, and -march={i386,i686,ath

[Bug target/19571] floating point registers not preserved during function call

2005-01-22 Thread jack at cs dot york dot ac dot uk
--- Additional Comments From jack at cs dot york dot ac dot uk 2005-01-22 12:06 --- Thankyou, that's most helpful. The problem is in the ARM simulator I am using. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19571

[Bug fortran/19575] New: cdabs intrinsic incorrectly handled with -std=f95

2005-01-22 Thread coudert at clipper dot ens dot fr
The following code: program abs_test1 implicit none intrinsic cdabs ! write(*,*) cdabs((4,3)) ! Causes ICE, as well call sub(cdabs) end program abs_test1 subroutine sub(f) implicit none interface elemental function f(x) complex(kind(1.0d0)), intent(in) :: x

  1   2   >