[Bug tree-optimization/22290] New: Optimize Assigned GOTO to cause error with -O1 or higher

2005-07-04 Thread fengwang at gcc dot gnu dot org
See a fortran program: $ cat t.f integer nz assign 93 to nz go to nz,(93) 93 continue end $ gfortran -v Target: ia64-unknown-linux-gnu Configured with: ../gcc/configure --enable-languages=c,f95 -- prefix=/home/wf/loc al Thread model: posix gcc version 4.1.0 20050704

[Bug c/22291] New: clash with built-in function ffs

2005-07-04 Thread wim dot yedema at philips dot com
This program: int ffs(); int ffs() { return 0; } Gives the following error messages: ffs.c: In function `ffs': ffs.c:4: error: number of arguments doesn't match prototype cc1: error: prototype declaration If I add void in the argument list I get the following: ffs.c:1: warning: conflicting type

[Bug c/22292] New: ICE and wrong code gen with _mm_loadl_pd/__builtin_ia32_loadlpd

2005-07-04 Thread kostikbel at ukr dot net
The following code #include extern "C" double fadd(double a, double b) { __m128d a1; __m128d b1; __m128d c; double res; _mm_loadl_pd(a1, &a); _mm_loadl_pd(b1, &b); c = _mm_add_sd(a1, b1); _mm_storel_pd(&res, c); return res;

[Bug target/20621] ICE: in change_address_1, at emit-rtl.c:1886

2005-07-04 Thread rsandifo at gcc dot gnu dot org
--- Additional Comments From rsandifo at gcc dot gnu dot org 2005-07-04 09:23 --- Confirmed. This is a target-specific bug. -- What|Removed |Added AssignedTo|unass

[Bug c/22292] ICE and wrong code gen with _mm_loadl_pd/__builtin_ia32_loadlpd

2005-07-04 Thread pluto at agmk dot net
-- What|Removed |Added CC||pluto at agmk dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22292

[Bug c/22291] clash with built-in function ffs

2005-07-04 Thread falk at debian dot org
--- Additional Comments From falk at debian dot org 2005-07-04 09:36 --- This is fixed in 4.0, where one gets a warning (not an error) independent of whether there was a previous declaration. Since it could even be argued that erroring out is OK (although then it should be consistent), a

[Bug target/21656] Spurious "template with C linkage" error message

2005-07-04 Thread rsandifo at gcc dot gnu dot org
--- Additional Comments From rsandifo at gcc dot gnu dot org 2005-07-04 09:36 --- OK, I'll run that change through dejagnu and commit if there are no problems. -- What|Removed |Added

[Bug c/22291] [3.4 Regression] clash with built-in function ffs

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 09:53 --- Confirmed, only a 3.4 regression. -- What|Removed |Added Status|UNCONFIRMED

[Bug translation/21768] [3.4 regression] ICE in error message due to violation of coding conventions

2005-07-04 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-07-04 09:53 --- Changing component, since we are only missing the updated .po file. -- What|Removed |Added

[Bug target/22292] ICE and wrong code gen with _mm_loadl_pd/__builtin_ia32_loadlpd

2005-07-04 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|c |target http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22292

[Bug fortran/22290] Optimize Assigned GOTO to cause error with -O1 or higher

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 10:00 --- Confirmed, This is a fortran front-end or gimplifier bug. Look at what the gimplifier produces: int4 nz.0 = -2; // <--- this is not gimple nz.0 = -1; nz.1 = &__label_93; D.475 = nz.0 != -1; D

[Bug target/22289] problem in gimp downscaling routines when compiling with -mfpmath=sse

2005-07-04 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|c |target Keywords||ssemmx, wrong-code http://gcc.gnu.org/bugzilla/show_bu

[Bug target/22292] ICE and wrong code gen with _mm_loadl_pd/__builtin_ia32_loadlpd

2005-07-04 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Keywords||ice-on-valid-code, ssemmx, ||wrong-code http://gcc.gnu.org/bugz

[Bug tree-optimization/22277] [4.1 Regression] ACATS ICE cc40001 in first_vi_for_offset, at tree-ssa-structalias.c:2566

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 10:10 --- This fails the same way on powerpc-darwin which is 32bit too. -- What|Removed |Added GCC tar

[Bug ada/18819] [4.1 Regression] ACATS cdd2a02 fails at runtime

2005-07-04 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18819

[Bug other/20731] [3.4 only] contrib/gcc_update hard code -r gcc-3_4-branch

2005-07-04 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Summary|contrib/gcc_update hard code|[3.4 only] |-r gcc-3_4-branch |contrib/gcc_update hard code |

[Bug tree-optimization/22157] [4.0/4.1 Regression] struct copying code gen

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 10:26 --- I am no longer working on this, this is a much harder problem than I sugested. This is basically the same as PR 18268. -- What|Removed |Added -

[Bug middle-end/22156] [4.0/4.1 Regression] bit-field copying regressed

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 10:26 --- I am no longer working on this, this is a much harder problem than I sugested. This is basically the same as PR 18268. -- What|Removed |Added -

[Bug middle-end/22156] [4.0/4.1 Regression] bit-field copying regressed

2005-07-04 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|pinskia at gcc dot gnu dot |unassigned at gcc dot gnu |org |dot org Status|ASSIGNED

[Bug tree-optimization/22037] [4.1 Regression] internal compiler error: verify_ssa failed

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 10:38 --- Patch here: . -- What|Removed |Added

[Bug c++/22293] New: [4.0/4.1 regression] ICE declaring destructor as friend

2005-07-04 Thread reichelt at gcc dot gnu dot org
Since gcc 4.0.0 the following code snippet causes a segfault:  struct A { friend ~A(); }; = bug.cc:3: internal compiler error: Segmentation fault Please submit a full bug report, [etc.] The compiler used to give a warning b

[Bug c++/22293] [4.0/4.1 regression] ICE declaring destructor as friend

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 10:44 --- Confirmed. This was introduced after "20041124" but before "20050225". -- What|Removed |Added ---

[Bug c++/22284] [4.1 Regression] Many C++ testsuite failures

2005-07-04 Thread jsm28 at gcc dot gnu dot org
--- Additional Comments From jsm28 at gcc dot gnu dot org 2005-07-04 10:47 --- On hppa64-hp-hpux11.23, appeared between 2005-06-27 07:39 UTC and 2005-06-27 07:42 UTC, so stack protection patch is responsible. On ia64-hp-hpux11.23, appeared between 2005-06-28 19:33 UTC and 2005-06-28 20:

[Bug c++/22293] [4.0/4.1 regression] ICE declaring destructor as friend

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 10:52 --- This is invalid code. The following is still invalid code (but closer to legal code): struct B { ~B(); }; struct A { friend ~B(); }; Add B:: infront of the destructor fixes both the ICE and validness

[Bug middle-end/21180] [4.1 Regression] checking on fold no longer happens in some cases

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 12:18 --- Testing a patch for this. -- What|Removed |Added AssignedTo|unassigned at gcc dot gn

[Bug fortran/22290] Optimize Assigned GOTO to cause error with -O1 or higher

2005-07-04 Thread fengwang at gcc dot gnu dot org
--- Additional Comments From fengwang at gcc dot gnu dot org 2005-07-04 12:38 --- (In reply to comment #1) > Confirmed, This is a fortran front-end or gimplifier bug. > Look at what the gimplifier produces: > int4 nz.0 = -2; // <--- this is not gimple I am not very clear the gimple d

[Bug ada/19381] ACATS c954a03 raises storage error at runtime on s390-linux

2005-07-04 Thread uweigand at gcc dot gnu dot org
--- Additional Comments From uweigand at gcc dot gnu dot org 2005-07-04 12:45 --- I don't see it failing on the 4.0 branch. I haven't been able to build mainline Ada for several months now ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19381

[Bug ada/22039] special functions for string concat of 3/4/5 args doc'ed to concat two

2005-07-04 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-04 13:30 --- Subject: Bug 22039 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-07-04 13:30:46 Modified files: gcc/ada: s-sopco3.ads s-sopco4.ads s-sopco5.ad

[Bug ada/22039] special functions for string concat of 3/4/5 args doc'ed to concat two

2005-07-04 Thread charlet at gcc dot gnu dot org
--- Additional Comments From charlet at gcc dot gnu dot org 2005-07-04 13:32 --- Fixed -- What|Removed |Added Status|NEW |RESOLVED

[Bug rtl-optimization/21970] [3.4 only] Inline keyword causes computation to erroneously reduce to a constant

2005-07-04 Thread rsandifo at gcc dot gnu dot org
--- Additional Comments From rsandifo at gcc dot gnu dot org 2005-07-04 13:49 --- Are you sure this reduced testcase is an accurate reflection of the real one? The transformation performed by gcc appears to be correct. For example, r00450DB4 evaluates to 0, so anything ANDed with it doe

[Bug rtl-optimization/21970] [3.4 only] Inline keyword causes computation to erroneously reduce to a constant

2005-07-04 Thread rsandifo at gcc dot gnu dot org
--- Additional Comments From rsandifo at gcc dot gnu dot org 2005-07-04 13:52 --- Oops, the following line was bogus: UINT32 r00450994 = opt_not(r0045025C);// b = not (N) :fffddef7 the value should be . It doesn't affect the analysis though. -- http://gcc

[Bug middle-end/22253] [4.1 Regression] ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc

2005-07-04 Thread andreast at gcc dot gnu dot org
--- Additional Comments From andreast at gcc dot gnu dot org 2005-07-04 15:08 --- Confused :) http://gcc.gnu.org/ml/gcc-testresults/2005-07/msg00190.html is the --enable-checking ok ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22253

[Bug middle-end/22253] [4.1 Regression] ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 15:15 --- Hmm, weird, oh well the reduced testcase still fails on the mainline. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22253

[Bug target/22289] problem in gimp downscaling routines when compiling with -mfpmath=sse

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 15:28 --- We need a testcase. -- What|Removed |Added Status|UNCONFIRMED |W

[Bug fortran/22290] Optimize Assigned GOTO to cause error with -O1 or higher

2005-07-04 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-07-04 15:28 --- "int4 nz.0 = -2;" look line an INIT_EXPR. It should be "int4 nz.0; nz.0 = -2" -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22290

[Bug target/18434] [4.0/4.1 Regression] Cannot build gnattools on Tru64 UNIX V5.1B

2005-07-04 Thread charlet at gcc dot gnu dot org
--- Additional Comments From charlet at gcc dot gnu dot org 2005-07-04 15:30 --- Given your last comment (a variable set to 4), it still looks very much like a codegen issue to me, and likely target dependent. I guess a next step could be to either look at the ssa transformations perfo

[Bug target/22289] problem in gimp downscaling routines when compiling with -mfpmath=sse

2005-07-04 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-07-04 15:34 --- To produce a testcase, you could try extracting the routine that is miscompiled and attach it to this bug (in a compilable form, so preprocessed with all needed headers). I believe the GIMP folk can help yo

[Bug target/22292] [3.4 Regression] ICE with _mm_loadl_pd/__builtin_ia32_loadlpd

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 16:05 --- The code does not do what you want it to do: You want: #include extern "C" double fadd(double a, double b) { __m128d a1; __m128d b1; __m128d c; double res; a1 = _mm

[Bug middle-end/21180] [4.1 Regression] checking on fold no longer happens in some cases

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 17:03 --- s/face/fact/ This is the patch I am testing right now: * fold-const.c (fold_build1): Add checksum for the operands. (fold_build2): Likewise. (fold_build3): Likewise. Index: fold-const.c =

[Bug gcov/profile/22294] New: [4.1 Regression] libgcov references POSIX functions (broken on *-elf and newlib targets)

2005-07-04 Thread pinskia at gcc dot gnu dot org
See: . And (but HJL is wrong about arc.h). -- Summary: [4.1 Regression] libgcov references POSIX functions (broken on *-elf and newlib targets)

[Bug gcov/profile/22294] [4.1 Regression] libgcov references POSIX functions (broken on *-elf and newlib targets)

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 17:42 --- Confirmed based on those two emails. -- What|Removed |Added Status|UNCONFIRMED

[Bug debug/22295] New: [4.0/4.1 Regression] gcc failed to generate debug info

2005-07-04 Thread hjl at lucon dot org
On both Linux/ia32 and Linux/x86-64, I got [EMAIL PROTECTED] gcc]$ gdb cc1 GNU gdb Red Hat Linux (6.3.0.0-1.21rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under cer

[Bug tree-optimization/22279] [4.1 Regression] ICE in first_vi_for_offset, at tree-ssa-structalias.c:2566

2005-07-04 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-04 17:49 --- Subject: Bug 22279 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-07-04 17:49:17 Modified files: gcc: ChangeLog tree-ssa-structalias.c Add

[Bug target/21742] [4.1 Regression] unrecognized insn for struct-layout-1 tests with complex members

2005-07-04 Thread dje at gcc dot gnu dot org
--- Additional Comments From dje at gcc dot gnu dot org 2005-07-04 17:52 --- mainline testresults no longer show failure after patch applied. -- What|Removed |Added

[Bug debug/22295] [4.0/4.1 Regression] gcc failed to generate debug info

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 17:54 --- *** This bug has been marked as a duplicate of 21828 *** -- What|Removed |Added

[Bug debug/21828] [4.0/4.1 Regression] debug info omitted for global variables

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 17:54 --- *** Bug 22295 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug debug/21828] [4.0/4.1 Regression] debug info omitted for global variables

2005-07-04 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2005-07-04 17:59 --- Gcc Red Hat 4.0.0-8 seems OK. Does Red Hat have a fix on gcc-4_0-rhl-branch? This bug makes it very hard to debug binaries generated by gcc 4.0. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21828

[Bug middle-end/21180] [4.1 Regression] checking on fold no longer happens in some cases

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 18:16 --- Patch posted here: . -- What|Removed |Added -

[Bug debug/21828] [4.0/4.1 Regression] debug info omitted for global variables

2005-07-04 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2005-07-04 18:21 --- I checked the current gcc-4_0-rhl-branch in CVS. It has the same problem. Can we revisit bug 18556? I can test both. -- What|Removed |Added -

[Bug tree-optimization/22279] [4.1 Regression] ICE in first_vi_for_offset, at tree-ssa-structalias.c:2566

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 19:15 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug tree-optimization/22277] [4.1 Regression] ACATS ICE cc40001 in first_vi_for_offset, at tree-ssa-structalias.c:2566

2005-07-04 Thread pinskia at gcc dot gnu dot org
-- Bug 22277 depends on bug 22279, which changed state. Bug 22279 Summary: [4.1 Regression] ICE in first_vi_for_offset, at tree-ssa-structalias.c:2566 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22279 What|Old Value |New Value -

[Bug tree-optimization/16045] ICE fold check: original tree changed by fold

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 19:17 --- Mine, patch posted: . -- What|Removed |Added

[Bug testsuite/22296] New: gcc.dg/sibcall-3.c and gcc.dg/sibcall-4.c FAIL on ARM THUMB

2005-07-04 Thread kazu at gcc dot gnu dot org
gcc.dg/sibcall-3.c and gcc.dg/sibcall-4.c FAIL on ARM THUMB. Reading http://gcc.gnu.org/ml/gcc/2005-06/msg01088.html I am inclined to XFAIL the test on ARM THUMB, but I don't know how I would do that on ARM THUMB but not ARM ARM. -- Summary: gcc.dg/sibcall-3.c and gcc.dg/sibcall-4.c

[Bug testsuite/22296] gcc.dg/sibcall-3.c and gcc.dg/sibcall-4.c FAIL on ARM THUMB

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 19:28 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW E

[Bug debug/21828] [4.0/4.1 Regression] debug info omitted for uninitialized variables

2005-07-04 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2005-07-04 20:06 --- My patch doesn't handle uninitiliazed local variables correctly. The difference between C and C++ is C++ writes out variables first. -- What|Removed |Added -

[Bug middle-end/22297] New: [4.0/4.1 Regression] missing uninitialization warning

2005-07-04 Thread pinskia at gcc dot gnu dot org
Take the following code (useless example but just shows the problem, there are other testcase which show the problem too which less useless): #include int g(char *); int f(void) { char *s; strcpy(s,s); return g(s); } -- Summary: [4.0/4.1 Regression] missing uninitialization wa

[Bug c/22297] [4.0/4.1 Regression] missing uninitialization warning

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 20:46 --- The patch here fixes one issue: . But the next problem is located in the front-end: #0 default_function_array_conversion (exp={value = 0x41da9f00,

[Bug middle-end/20623] ICE: fold check: original tree changed by fold with --enable-checking=fold

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 21:16 --- How many still fail today? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20623

[Bug libfortran/22298] New: libgfortran init() constructor isn't called if executable is statically linked

2005-07-04 Thread fxcoudert at gcc dot gnu dot org
$ cat a_fortran.f90 subroutine f print *, '##' end $ gfortran -c a_fortran.f90 $ cat a.c extern void f_(void); int main (void) { f_ (); } $ ./irun/bin/gcc -c a.c $ gfortran -static a.o a_fortran.o && ./a.out Fortran runtime error: End of record $ gfortran a.o a_fortra

[Bug libfortran/22298] libgfortran init() constructor isn't called if executable is statically linked

2005-07-04 Thread daniel dot franke at imbs dot uni-luebeck dot de
-- What|Removed |Added CC||daniel dot franke at imbs ||dot uni-luebeck dot de http://gcc.g

[Bug middle-end/17667] Const/pure function detection during tree-based profiling

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 21:35 --- Isn't this fixed now or does this need to be submitted still? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17667

[Bug tree-optimization/20065] DOM/VRP does not work for TRUTH_AND_EXPR

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 21:41 --- This is dup of bug 15911. *** This bug has been marked as a duplicate of 15911 *** -- What|Removed |Added ---

[Bug tree-optimization/15911] DOM optimization not performed

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 21:41 --- *** Bug 20065 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15911

[Bug tree-optimization/15911] VRP/DOM does not like TRUTH_AND_EXPR

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 21:41 --- VRP does not work on this either. -- What|Removed |Added CC|

[Bug tree-optimization/8826] "a >> b" differs from "a.operator>>(b)" in that virtual function calls are not avoided

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 21:46 --- Fixed on the mainline. -- What|Removed |Added Status|NEW

[Bug tree-optimization/3713] Pointers to functions or member functions are not folded or inlined

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 21:54 --- Actually the testcase above is not really valid. The below testcase is more correct as A::p cannot be inlined as it has its address taken (stupid bug in the C++ front-end really). But here is a better test

[Bug rtl-optimization/21150] Suboptimal byte extraction from 64bits

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 22:21 --- Confirmed, this is most likely a sub register problem. -- What|Removed |Added St

[Bug middle-end/21992] [4.1 regression] testsuite failure: many objc execution tests fail, first objc/execute/_cmd.m execution

2005-07-04 Thread hp at gcc dot gnu dot org
--- Additional Comments From hp at gcc dot gnu dot org 2005-07-04 23:21 --- There was a change of behavior between LAST_UPDATED "Sun Jun 19 20:05:45 UTC 2005" and "Mon Jun 27 21:26:27 UTC 2005"; some tests now fail at -O1. So whatever pass now runs at -O1 that used to run at -O2 and hig

[Bug middle-end/21992] [4.1 regression] testsuite failure: many objc execution tests fail, first objc/execute/_cmd.m execution

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 23:32 --- (In reply to comment #3) > There was a change of behavior between > LAST_UPDATED "Sun Jun 19 20:05:45 UTC 2005" and "Mon Jun 27 21:26:27 UTC > 2005"; > some tests now fail at -O1. So whatever pass now runs

[Bug tree-optimization/3713] Pointers to functions or member functions are not folded or inlined

2005-07-04 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2005-07-04 23:42 --- ... alternately, one we really care about, performance-wise, could be distilled from libstdc++-v3/testsuite/performance/27_io/fmtflags_manipulators.cc... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3713

[Bug tree-optimization/19055] Minor bit optimization with or and xor

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-05 00:02 --- I have a fix which I will be testing over night. -- What|Removed |Added AssignedTo|u

[Bug java/22299] New: Even length strings (not odd) placed in .section .rodata.jutf8.# at -O1 or above.

2005-07-04 Thread ovidr at users dot sourceforge dot net
Compiling with -O1 or above. All even length strings go to ".section .rodata.jutf8.#", odd length strings do not. class small { public static void main(String[] a) { String S2 = "XX"; String S3 = "ODD"; String S4 = ""; String S5 = "ODD55"; String S6 = "XX"; String S8 = "

[Bug objc/22274] [4.1 Regression] string[1-4].m, const-str-5.m fails with the gnu runtime

2005-07-04 Thread hp at gcc dot gnu dot org
--- Additional Comments From hp at gcc dot gnu dot org 2005-07-05 00:40 --- I was about to enter a separate report, but it seems the bug is the same as this one, so I just add the following as a comment. A few more failures than the original report; I don't know what to make of that. L

[Bug middle-end/17667] Const/pure function detection during tree-based profiling

2005-07-04 Thread jh at suse dot cz
--- Additional Comments From jh at suse dot cz 2005-07-05 00:54 --- Subject: Re: Const/pure function detection during tree-based profiling > > --- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 > 21:35 --- > Isn't this fixed now or does this need to be sub

[Bug middle-end/22287] [4.1 Regression] gcc.c-torture/execute/simd-2.c fails (simd-1.c too for some).

2005-07-04 Thread hp at gcc dot gnu dot org
--- Additional Comments From hp at gcc dot gnu dot org 2005-07-05 00:58 --- For mmix-knuth-mmixware, both simd-1.c and simd-2.c fail with the same message in gcc.log. For cris-axis-elf and cris-axis-linux-gnu, only simd-2.c fail. The regression was introduced between LAST_UPDATED "Wed J

[Bug testsuite/22300] New: mmix-knuth-mmixware testsuite failure: gcc.dg/tree-ssa/pr22051-2.c scan-tree-dump-times if \(\(int\) q 1

2005-07-04 Thread hp at gcc dot gnu dot org
With LAST_UPDATED: "Mon Jul 4 22:31:48 UTC 2005" I get: Running /home/hp/combined/combined/gcc/testsuite/gcc.dg/tree-ssa/tree-ssa.exp ... ... FAIL: gcc.dg/tree-ssa/pr22051-2.c scan-tree-dump-times if \(\(int\) q 1 This is a new test, and has always failed on mmix-knuth-mmixware. It passes on cris

[Bug ada/22301] New: [4.1 Regression] Ada does not build into a clean prefix when unwind.h is not installed

2005-07-04 Thread pinskia at gcc dot gnu dot org
On powerpc-darwin, we don't have undwind.h installed which means that the build now fails on the mainline if you install into a clean prefix. See: . -- Summary: [4.1 Regression] Ada does not build into a clean prefix

[Bug ada/22301] [4.1 Regression] Ada does not build into a clean prefix when unwind.h is not installed

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-05 01:42 --- I should mention that raise.c is a part of compiling gnat1, the compiler, maybe it should not be including that header. -- What|Removed |Added -

[Bug testsuite/22300] mmix-knuth-mmixware testsuite failure: gcc.dg/tree-ssa/pr22051-2.c scan-tree-dump-times if \(\(int\) q 1

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-05 01:46 --- Confirmed, and yes this is a 32/64 bit problem. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22300

[Bug target/21723] [4.0/4.1 Regression] ICE while building libgfortran

2005-07-04 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-05 01:57 --- Subject: Bug 21723 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-07-05 01:57:01 Modified files: gcc: ChangeLog gcc/config/pa : p

[Bug testsuite/22302] New: gfortran.dg/io_invalid_1.f90 has an erroneous test pattern

2005-07-04 Thread hp at gcc dot gnu dot org
The new test gfortran.dg/io_invalid_1.f90 fails for cris-axis-linux-gnu, but I expect it to fail everywhere: FAIL: gfortran.dg/io_invalid_1.f90 -O (test for errors, line 3) FAIL: gfortran.dg/io_invalid_1.f90 -O (test for excess errors) gfortran.log says: /home/hp/combined/combined/gcc/testsui

[Bug c/20764] value won't fit in type

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-05 02:02 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW E

[Bug c/18382] define __pic__ and/or __PIC__ in c-cppbuiltins.c instead of scattershot in target config

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-05 02:04 --- Since Zack is no longer around, changing the owner back to the pool. -- What|Removed |Added

[Bug testsuite/22302] gfortran.dg/io_invalid_1.f90 has an erroneous test pattern

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-05 02:05 --- Should have been fixed already by: 2005-07-04 Francois-Xavier Coudert <[EMAIL PROTECTED]> * gfortran.dg/io_invalid_1.f90: Fix expected error message. Is it? -- What|Removed

[Bug testsuite/22302] gfortran.dg/io_invalid_1.f90 has an erroneous test pattern

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-05 02:08 --- Yes this has already been fixed: WRITE(UNIT=6,END=999) 0 ! { dg-error "END tag .* not allowed in output statement" } -- What|Removed |Added ---

[Bug middle-end/17982] stop calling assemble_external before final assembly output time

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-05 02:10 --- Unassigning from Zack since he is gone now. -- What|Removed |Added AssignedTo|zack a

[Bug target/7285] [ia64] unsigned-to-floating conversion not spec conformant

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-05 02:13 --- Unassigning from Zack since he is now gone from GCC development. -- What|Removed |Added

[Bug c++/17577] [4.0/4.1 Regression] #pragma implementation no longer diagnoses use after file to which it applies

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-05 02:14 --- Unassigning from Zack since he is now gone from GCC development. -- What|Removed |Added

[Bug other/18303] Establish the intl directory as the single source for iconv configury information

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-05 02:14 --- Unassigning from Zack since he is now gone from GCC development. -- What|Removed |Added

[Bug c++/17422] Duplicate work, missed optimizations for registration of static destructors

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-05 02:14 --- Unassigning from Zack since he is now gone from GCC development. -- What|Removed |Added

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-05 02:14 --- Unassigning from Zack since he is now gone from GCC development. -- What|Removed |Added

[Bug c++/17964] [4.0/4.1 Regression] cpp error messages contain wrong line in C++

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-05 02:14 --- Unassigning from Zack since he is now gone from GCC development. -- What|Removed |Added

[Bug c/22278] gcc -O2 discards cast to volatile

2005-07-04 Thread james at juranfamily dot org
-- What|Removed |Added CC||james at juranfamily dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22278

[Bug target/21723] [4.0/4.1 Regression] ICE while building libgfortran

2005-07-04 Thread danglin at gcc dot gnu dot org
--- Additional Comments From danglin at gcc dot gnu dot org 2005-07-05 02:21 --- Regarding the regression, it would appear to have been introduced when complex modes were added to GCC. I'm not quite sure when this occurred, but it was before GCC 3.0 (the oldest version that I had handy)

[Bug preprocessor/14438] Potential need for buffer overflow checks in _cpp_lex_direct

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-05 02:14 --- Unassigning from Zack since he is now gone from GCC development. -- What|Removed |Added

[Bug tree-optimization/22303] New: CCP does not handle STRING_CSTs

2005-07-04 Thread pinskia at gcc dot gnu dot org
Take the following example: static const char f[3] = "?"; int main(void) { if (f[0] == '?') abort (); return 0; } We don't optitimize this at the tree level. -- Summary: CCP does not handle STRING_CSTs Product: gcc Version: 4.1.0 Status: UNCO

[Bug tree-optimization/22303] CCP does not handle STRING_CSTs

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-05 03:16 --- This is just like PR 14841 but that one is already fixed. Kazu could you comment on this since you fixed the other bug? -- What|Removed |Added ---

[Bug tree-optimization/22303] CCP does not handle STRING_CSTs

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-05 03:19 --- I should note this was reduced from gcc.c-torture/execute/2227-1.c and was pointed to me by Hans-Peter Nilsson. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22303

[Bug tree-optimization/22303] CCP does not handle STRING_CSTs

2005-07-04 Thread hp at gcc dot gnu dot org
-- What|Removed |Added CC||hp at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22303

[Bug fortran/22304] New: gfortran silently changes values in equilvanence'd variables

2005-07-04 Thread albertm at uphs dot upenn dot edu
gfortran(gcc-4.0.0) silently changes the value of variables in equivalence statements. The following code prints the value "0" and not "1": implicit none integer O DIMENSION O(30) COMMON /IBM/O integer b,e,r,s,v,u,w,x,c EQUIVALENCE(O(1),B),(O(2),E),

  1   2   >