[Bug middle-end/22429] [4.1 Regression] -1073741824 <= n && n <= 1073741823 is true where n is 1073741824

2005-07-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-12 06:54 --- 4.0 produced: D.1463 = n - -1073741824; if (D.1463 >= 0) Which is wrong as overflow is undefined. 4.1 produces: (n >= -1073741824) as overflow is undefined. This was exposed by: 2005-07-02 Andrew Pin

[Bug middle-end/21840] [4.1 Regression] ICE while building Linux kernel (seg fault), missing cast

2005-07-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-12 06:44 --- With the patch in PR 22368, we get the following ICE instead: t.c:6: error: statement types mismatch D.1273_6 = funcD.1271_4; voidD.28 (*) (void) voidD.28 * I will look into fixing this after I resubmit my

[Bug c/22429] New: -1073741824 <= n && n <= 1073741823 is true where n is 1073741824

2005-07-11 Thread akr at m17n dot org
I found that following program exits with 1 instead of 0. % cat z.c int f(int n) { if (-1073741824 <= n && n <= 1073741823) return 1; return 0; } int main() { return f(1073741824); } % /home/src/chkbuild-tmp/build/gcc-trunk/20050712T134449/bin/gcc -v -O z.c Using built-in specs. Ta

[Bug tree-optimization/21883] [4.1 Regression] jump threading causing excessive code duplication

2005-07-11 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added CC||law at gcc dot gnu dot org Last reconfirmed|2005-06-02 19:04:47 |2005-07-12 06:25:35 d

[Bug middle-end/19046] [4.0/4.1 Regression] usage of MOVE_RATIO should be tweaked

2005-07-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-12 06:19 --- This was basically fixed on the mainline: __Z1fv: LFB5: li r9,0 li r10,0 stw r9,0(r3) stw r10,4(r3) blr By: 2005-06-01 Josh Conner <[EMAIL PROTECTED]> PR 21

[Bug debug/20998] [3.4/4.0/4.1 Regression] GCC does not emit debug info for variables in anonymous unions

2005-07-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-12 06:06 --- (In reply to comment #2) > It is because of ALIAS_DECL Which means it was caused by: 2002-12-18 Jason Merrill <[EMAIL PROTECTED]> Handle anonymous unions at the tree level. C++ ABI

[Bug preprocessor/11931] unjustified warning for C89 code using HUGE_VAL

2005-07-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-12 05:56 --- *** Bug 22428 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug preprocessor/22428] __extension__ won't silence pedwarns about hex float constants

2005-07-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-12 05:56 --- *** This bug has been marked as a duplicate of 11931 *** -- What|Removed |Added

[Bug preprocessor/22428] New: __extension__ won't silence pedwarns about hex float constants

2005-07-11 Thread bje at gcc dot gnu dot org
The __extension__ keyword does not silence pedwarns about hexadecimal floating point constants. This is used by GNU libc, for example in the definition of INFINITY: # define HUGE_VALF (__extension__ 0x1.0p255f) # define HUGE_VALL (__extension__ 0x1.0p32767L) These macros produce warnings that

[Bug c++/21353] [3.4/4.0/4.1 Regression] rvalues should not be allowed to be default values for non const references in class functions.

2005-07-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-12 05:51 --- Reduced testcase: enum X{ a, b, c }; class C { void func( X & ref = a ); }; This has been failing since "3.4.0 20040116" (which is the branch date for 3.4.0). -- What|Removed

[Bug c++/22427] New: member function template of partial specialized class template

2005-07-11 Thread zhaojiangbin at yahoo dot com
Case 1: The following code is rejected by GCC 4.0.1 and GCC 4.0.0: === begin === template < class C, class T > struct A { template < class G > void f( G& g ) { g.f1(); } }; // (a) template < class T > // (c) template < class G > void A< char, T >::f( G& g ) // (b) { g.f2(); } ==

[Bug fortran/15966] [4.0 Only] ICE and segmentation fault on internal write

2005-07-11 Thread paulthomas2 at wanadoo dot fr
--- Additional Comments From paulthomas2 at wanadoo dot fr 2005-07-12 05:44 --- (In reply to comment #19) > Fixed in 4.0.2 and above. Strictly speaking, pr15966 is fixed. However, writing to array internal files is still broken because no record length (aka character length) is being t

[Bug tree-optimization/22416] [4.1 Regression] 23_containers/set/explicit_instantiation/1.cc fails: expected ssa_name, have var_decl in is_old_name, at tree-into-ssa.c:466

2005-07-11 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added CC||pinskia at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/sh

[Bug testsuite/22357] gcc.dg/tree-ssa/vrp17.c assumes an argument evaluation order

2005-07-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-12 04:45 --- Fixed. -- What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug bootstrap/22402] Error during the build on AIX 5.2.0 ML5

2005-07-11 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Severity|critical|normal Component|c |bootstrap Keywords|

[Bug libfortran/22412] [4.0 only] Fortran B edit descriptor error

2005-07-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-12 04:41 --- Fixed on the mainline. -- What|Removed |Added GCC build triplet|powerpc-aix powerpc-darwin

[Bug rtl-optimization/22425] ICE in loop_givs_rescan, at loop.c:5521

2005-07-11 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added GCC target triplet|x86_64-*-linux-gnu, |x86_64-*-linux-gnu |powerpc64-darwin| http://gcc.gnu.org/bugzilla/show_bug.cgi?

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

2005-07-11 Thread pinskia at gcc dot gnu dot org
-- Bug 19292 depends on bug 15966, which changed state. Bug 15966 Summary: [4.0 Only] ICE and segmentation fault on internal write http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15966 What|Old Value |New Value --

[Bug fortran/18834] ICE on reading from internal file character array

2005-07-11 Thread pinskia at gcc dot gnu dot org
-- Bug 18834 depends on bug 15966, which changed state. Bug 15966 Summary: [4.0 Only] ICE and segmentation fault on internal write http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15966 What|Old Value |New Value --

[Bug fortran/19276] [meta-bug] CHARACTER related bugs in gfortran

2005-07-11 Thread pinskia at gcc dot gnu dot org
-- Bug 19276 depends on bug 15966, which changed state. Bug 15966 Summary: [4.0 Only] ICE and segmentation fault on internal write http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15966 What|Old Value |New Value --

[Bug fortran/15966] [4.0 Only] ICE and segmentation fault on internal write

2005-07-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-12 04:26 --- Fixed in 4.0.2 and above. -- What|Removed |Added Status|ASSIGNED

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

2005-07-11 Thread pinskia at gcc dot gnu dot org
-- Bug 19292 depends on bug 18781, which changed state. Bug 18781 Summary: [ICE] WRITE with FMT from CHARACTER array http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18781 What|Old Value |New Value

[Bug fortran/18834] ICE on reading from internal file character array

2005-07-11 Thread pinskia at gcc dot gnu dot org
-- Bug 18834 depends on bug 18781, which changed state. Bug 18781 Summary: [ICE] WRITE with FMT from CHARACTER array http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18781 What|Old Value |New Value

[Bug fortran/19276] [meta-bug] CHARACTER related bugs in gfortran

2005-07-11 Thread pinskia at gcc dot gnu dot org
-- Bug 19276 depends on bug 18781, which changed state. Bug 18781 Summary: [ICE] WRITE with FMT from CHARACTER array http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18781 What|Old Value |New Value

[Bug fortran/18781] [ICE] WRITE with FMT from CHARACTER array

2005-07-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-12 04:26 --- Fixed in 4.0.2 and above. -- What|Removed |Added Status|REOPENED

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

2005-07-11 Thread pinskia at gcc dot gnu dot org
-- Bug 19292 depends on bug 16531, which changed state. Bug 16531 Summary: [4.0 only, gfortran] Hollerith Data not supported http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16531 What|Old Value |New Value

[Bug fortran/16531] [4.0 only, gfortran] Hollerith Data not supported

2005-07-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-12 04:25 --- Fixed. -- What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug rtl-optimization/22425] ICE in loop_givs_rescan, at loop.c:5521

2005-07-11 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added CC||pinskia at gcc dot gnu dot ||org GCC target triplet|x86_64-unkno

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

2005-07-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-12 04:23 --- Confirmed, also fails on powerpc64-darwin. -- What|Removed |Added Status|UNCONFI

[Bug c/22421] problems with -Wformat and bit-fields

2005-07-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-12 04:20 --- As mentioned, just the text in the diagnostic is wong, not the diagnostic is wrong. I don't know if I should mark this as a regression as this is really a progression as mentioned in comment #2. --

[Bug bootstrap/22426] bootstrap fails - ld: unrecognized option '-Wl,-rpath'

2005-07-11 Thread dish at csua dot berkeley dot edu
--- Additional Comments From dish at csua dot berkeley dot edu 2005-07-12 04:19 --- Whooops. Accidentally hit refresh. Sorry about the duplicate of the duplicate. :] (In reply to comment #0) > /usr/local/src/objdir/gcc/gcj -B/usr/local/src/objdir/gcc/ > -B/usr/local/i686-pc-linux-gnu/b

[Bug c/22421] problems with -Wformat and bit-fields

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

[Bug c/21962] 4.0/4.1 Regression] ] format '%012llx' expects type X, but argument has type X

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

[Bug bootstrap/22323] bootstrap fails - ld: unrecognized option '-Wl,-rpath'

2005-07-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-12 04:16 --- What happens if you configure with an absolute path instead of a relative path? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22323

[Bug bootstrap/22426] bootstrap fails - ld: unrecognized option '-Wl,-rpath'

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

[Bug bootstrap/22323] bootstrap fails - ld: unrecognized option '-Wl,-rpath'

2005-07-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-12 04:15 --- *** Bug 22426 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22323

[Bug bootstrap/22426] New: bootstrap fails - ld: unrecognized option '-Wl,-rpath'

2005-07-11 Thread dish at csua dot berkeley dot edu
/usr/local/src/objdir/gcc/gcj -B/usr/local/src/objdir/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -isystem /usr/local/i686-pc-linux-gnu/sys-include -ffloat-store -fno-omit-frame-pointer -g -O2 -o .libs/jv-convert --main=

[Bug bootstrap/22323] bootstrap fails - ld: unrecognized option '-Wl,-rpath'

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

[Bug bootstrap/22424] bootstrap fails - ld: unrecognized option '-Wl,-rpath'

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

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

2005-07-11 Thread belyshev at depni dot sinp dot msu dot ru
-- What|Removed |Added BugsThisDependsOn||22425 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20126

[Bug rtl-optimization/22425] New: ICE in loop_givs_rescan, at loop.c:5521

2005-07-11 Thread belyshev at depni dot sinp dot msu dot ru
Here is tescase for this ICE, which was first mentioned in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20126#c26 . It still fails on mainline. -- // compile with -O2 static struct { unsigned int p, f; } s[] ={ { 0x08

[Bug bootstrap/22424] New: bootstrap fails - ld: unrecognized option '-Wl,-rpath'

2005-07-11 Thread dish at csua dot berkeley dot edu
/usr/local/src/objdir/gcc/gcj -B/usr/local/src/objdir/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -isystem /usr/local/i686-pc-linux-gnu/sys-include -ffloat-store -fno-omit-frame-pointer -g -O2 -o .libs/jv-convert --main=

[Bug libfortran/22412] Fortran B edit descriptor error

2005-07-11 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-12 03:27 --- Subject: Bug 22412 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-07-12 03:27:41 Modified files: libgfortran: ChangeLog libgfortran/io : w

[Bug libfortran/22423] New: Warnings when building libgfortran

2005-07-11 Thread fengwang at gcc dot gnu dot org
There are warnings when build libgfortran: $grep warning buildlog [snip] ../../../gcc/libgfortran/generated/matmul_i4.c:102: warning: passing argument 1 ../../../gcc/libgfortran/generated/matmul_i4.c:185: warning: passing argument 1 ../../../gcc/libgfortran/generated/matmul_i4.c:185: warning: pass

[Bug tree-optimization/22422] New: ICE in first_vi_for_offset, at tree-ssa-structalias.c:2843

2005-07-11 Thread belyshev at depni dot sinp dot msu dot ru
// // C testcase, compile with -O1 struct D { int n; int c [8]; }; struct A { int i; char *p; }; struct B { struct A *a; struct D *d; }; int dtInsert1 (struct B *b) { struct A a = { 0, 0 }; struct D *d; b->a = &a; d = b->d; &d->c [d->n]; return 0; } // vi.i: In functi

[Bug c/22421] problems with -Wformat and bit-fields

2005-07-11 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2005-07-12 02:03 --- Subject: Re: New: problems with -Wformat and bit-fields On Tue, 12 Jul 2005, wilson at gcc dot gnu dot org wrote: > This problem showed up compiling the IA-64 linux kernel with gcc-4.0.1. There > was an

[Bug c/22421] problems with -Wformat and bit-fields

2005-07-11 Thread wilson at gcc dot gnu dot org
--- Additional Comments From wilson at gcc dot gnu dot org 2005-07-12 01:53 --- Created an attachment (id=9247) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9247&action=view) 31/32/33 bit-fields vs %u/%lu/%ld/%d printf formats Compile on an LP64 machine (e.g. ia64-linux, x86_64-l

[Bug fortran/15966] [4.0 Only] ICE and segmentation fault on internal write

2005-07-11 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-12 01:51 --- Subject: Bug 15966 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-07-12 01:50:48 Modified files: libgfortran: Change

[Bug fortran/18781] [ICE] WRITE with FMT from CHARACTER array

2005-07-11 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-12 01:51 --- Subject: Bug 18781 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-07-12 01:50:48 Modified files: libgfortran: Change

[Bug fortran/16531] [4.0 only, gfortran] Hollerith Data not supported

2005-07-11 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-12 01:51 --- Subject: Bug 16531 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-07-12 01:50:48 Modified files: libgfortran: Change

[Bug c/22421] New: problems with -Wformat and bit-fields

2005-07-11 Thread wilson at gcc dot gnu dot org
This problem showed up compiling the IA-64 linux kernel with gcc-4.0.1. There was an unexpected printf format warnings for a 32-bit bit-field. The same problem can be reproduced on any LP64 machine, such as x86_64-linux. I have generated an small testcase, which tries bit-fields of size 31, 32,

[Bug ada/22381] Ada produces mis-match (non compatible) types in MODIFY_EXPR

2005-07-11 Thread bosch at gcc dot gnu dot org
--- Additional Comments From bosch at gcc dot gnu dot org 2005-07-12 01:46 --- This seems a problem where Gigi adds padding, but does not add a convert. The padding is added at decl.c:698, and 20 lines later, there is a complex condition to figure out when and when not to add a "conv

[Bug tree-optimization/22135] The gcc-4.1-20050611 compiler ICE's using -ftree-vectorize in conjunction with -fdump-tree-all-details-stats

2005-07-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-12 00:12 --- (In reply to comment #7) > It is known meaning people have reported it to the GCC list before but that > is it. > A new bugzilla bug would be nice to keep track of it. I just found there was a bug was alre

[Bug tree-optimization/21449] Loop unroller is way over estimating the unroll size of a loop

2005-07-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-12 00:02 --- Fixed by removing of the loop instead. -- What|Removed |Added Status|NEW

[Bug tree-optimization/22325] missed optimization in loop

2005-07-11 Thread pinskia at gcc dot gnu dot org
-- Bug 22325 depends on bug 17640, which changed state. Bug 17640 Summary: empty loop not removed after optimization http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17640 What|Old Value |New Value

[Bug tree-optimization/19639] Funny (horrible) code for empty destructor

2005-07-11 Thread pinskia at gcc dot gnu dot org
-- Bug 19639 depends on bug 17640, which changed state. Bug 17640 Summary: empty loop not removed after optimization http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17640 What|Old Value |New Value

[Bug tree-optimization/17640] empty loop not removed after optimization

2005-07-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-12 00:01 --- Fixed in 4.1.0. -- What|Removed |Added Status|NEW |RESOL

[Bug other/22368] [meta-bugs] mis-match types in GCC

2005-07-11 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added BugsThisDependsOn||22420 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22368

[Bug ada/22420] New: Ada produces mis-match (non compatible) types in MODIFY_EXPR

2005-07-11 Thread pinskia at gcc dot gnu dot org
Another: PROCEDURE C41304B IS TYPE V (DISC : INTEGER := 0) IS RECORD Y : INTEGER; END RECORD; TYPE T IS ACCESS V; FUNCTION F RETURN V IS BEGIN RETURN (DISC => 4, Y => 3); END F; BEGIN null; END C41304B; Again see PR 22368

[Bug ada/22419] Ada produces mis-match (non compatible) types in MODIFY_EXPR

2005-07-11 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added OtherBugsDependingO||22368 nThis|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22419

[Bug ada/22419] New: Ada produces mis-match (non compatible) types in MODIFY_EXPR

2005-07-11 Thread pinskia at gcc dot gnu dot org
Another case: with C392014_2; package body C392014_0 is function Create return T'Class is begin return C392014_2.Create ; end Create; end C392014_0; package C392014_0 is type T (D : natural) is abstract tagged null record; function Create return T'Class; end C392014_0; w

[Bug other/18367] [4.1 Regression] make check fails with fixinclude problem

2005-07-11 Thread geoffk at gcc dot gnu dot org
--- Additional Comments From geoffk at gcc dot gnu dot org 2005-07-11 23:40 --- (On my system, I get seven chunks of 'diff' output, not just this one.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18367

[Bug other/18367] [4.1 Regression] make check fails with fixinclude problem

2005-07-11 Thread geoffk at gcc dot gnu dot org
--- Additional Comments From geoffk at gcc dot gnu dot org 2005-07-11 23:39 --- I think this means the testsuite needs to be updated, but am not sure how. The README says: The "check" step will proceed to construct a shell script that will exercize all the fixes, using the sam

[Bug target/18421] ICE in reload_cse_simplify_operands, at postreload.c:391

2005-07-11 Thread bernie at develer dot com
--- Additional Comments From bernie at develer dot com 2005-07-11 23:35 --- Oops... still pending for 4.0 and 3.4. -- What|Removed |Added Status|RESOLVED

[Bug target/16719] [ColdFire] Illegal move of byte itno address register causes compiler to ICE

2005-07-11 Thread bernie at develer dot com
--- Additional Comments From bernie at develer dot com 2005-07-11 23:34 --- Fixed on mainline. Pending for 4.0 and 3.4. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16719

[Bug target/18421] ICE in reload_cse_simplify_operands, at postreload.c:391

2005-07-11 Thread bernie at develer dot com
--- Additional Comments From bernie at develer dot com 2005-07-11 23:33 --- Fixed. -- What|Removed |Added Status|ASSIGNED|RESOLVED R

[Bug target/18421] ICE in reload_cse_simplify_operands, at postreload.c:391

2005-07-11 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-11 23:32 --- Subject: Bug 18421 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-07-11 23:32:01 Modified files: gcc: ChangeLog gcc/config/m68k: m

[Bug target/16719] [ColdFire] Illegal move of byte itno address register causes compiler to ICE

2005-07-11 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-11 23:32 --- Subject: Bug 16719 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-07-11 23:32:01 Modified files: gcc: ChangeLog gcc/config/m68k: m

[Bug target/16719] [ColdFire] Illegal move of byte itno address register causes compiler to ICE

2005-07-11 Thread bernie at develer dot com
--- Additional Comments From bernie at develer dot com 2005-07-11 23:25 --- Patch attached to Bug #18421 (Attachment #9246). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16719

[Bug target/18421] ICE in reload_cse_simplify_operands, at postreload.c:391

2005-07-11 Thread bernie at develer dot com
--- Additional Comments From bernie at develer dot com 2005-07-11 23:23 --- Created an attachment (id=9246) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9246&action=view) Updated patch -- What|Removed |Added ---

[Bug ada/22418] Ada produces mis-match (non compatible) types in MODIFY_EXPR

2005-07-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-11 23:20 --- (In reply to comment #0) > Another one: I think this testcase is the same problem: PROCEDURE C37213D IS TYPE MY_ARR IS ARRAY (natural RANGE <>) OF INTEGER; FUNCTION F1 RETURN natural IS BEGIN

[Bug tree-optimization/22404] [4.1 regression] ICE in first_vi_for_offset

2005-07-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-11 23:10 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug other/22368] [meta-bugs] mis-match types in GCC

2005-07-11 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added BugsThisDependsOn||22418 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22368

[Bug ada/22418] New: Ada produces mis-match (non compatible) types in MODIFY_EXPR

2005-07-11 Thread pinskia at gcc dot gnu dot org
Another one: PROCEDURE CC1204A IS BEGIN DECLARE TYPE ARR IS ARRAY (natural RANGE <>) OF CHARACTER; TYPE RECD (C : natural := 1) IS RECORD C1 : ARR (1..C); END RECORD; X1 : RECD; GENERIC P2

[Bug fortran/22417] [4.0/4.1 Regression] gfortran preprocessing regression: nonsense warning about file left but not entered

2005-07-11 Thread jakub at redhat dot com
--- Additional Comments From jakub at redhat dot com 2005-07-11 22:28 --- Oops. Untested patch, will do more testing tomorrow^Wtoday: 2005-07-12 Jakub Jelinek <[EMAIL PROTECTED]> PR fortran/22417 * scanner.c (preprocessor_line): Fix file left but not entered w

[Bug libfortran/22412] Fortran B edit descriptor error

2005-07-11 Thread dje at gcc dot gnu dot org
--- Additional Comments From dje at gcc dot gnu dot org 2005-07-11 22:02 --- I'm pretty sure the problem is the line p = scratch + sizeof (SCRATCH_SIZE) - 1; SCRATCH_SIZE is the size of the buffer. sizeof (SCRATCH_SIZE) probably is not what the author meant. -- http://gcc.gnu.org

[Bug libfortran/22412] Fortran B edit descriptor error

2005-07-11 Thread dje at gcc dot gnu dot org
--- Additional Comments From dje at gcc dot gnu dot org 2005-07-11 21:57 --- btoa() is overwriting the buffer scratch. Although btoa() is in write.c, the buffer scratch is defined in transfer.c, so optimizing transfer.c changes the placement of scratch and exposes the failure. --

[Bug fortran/22417] [4.0/4.1 Regression] gfortran preprocessing regression: nonsense warning about file left but not entered

2005-07-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-11 21:54 --- Confirmed. -- What|Removed |Added CC||jakub at g

[Bug fortran/22417] New: gfortran preprocessing regression: nonsense warning about file left but not entered

2005-07-11 Thread anlauf at hep dot tu-darmstadt dot de
foo.F: program foo #include "foo.h" end foo.h: c This is just a dummy include file for the -*- Fortran -*- preprocessor % gfortran -c foo.F Warning: foo.h:3: file foo.F left but not entered -- Summary: gfortran preprocessing regression: nonsense warning

[Bug ada/22340] Ada build fails with --enable-bootstrap

2005-07-11 Thread belyshev at depni dot sinp dot msu dot ru
--- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-07-11 21:38 --- Fixed. -- What|Removed |Added Status|ASSIGNED|RES

[Bug target/18421] ICE in reload_cse_simplify_operands, at postreload.c:391

2005-07-11 Thread bernie at develer dot com
--- Additional Comments From bernie at develer dot com 2005-07-11 21:07 --- A revised patch was posted here: http://gcc.gnu.org/ml/gcc-patches/2005-06/msg00853.html I will attach it here in case someone wants to apply it to an old version of GCC. -- http://gcc.gnu.org/bugzilla/s

[Bug libfortran/22412] Fortran B edit descriptor error

2005-07-11 Thread dje at gcc dot gnu dot org
--- Additional Comments From dje at gcc dot gnu dot org 2005-07-11 20:53 --- Killed when calling btoa() for conversion. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22412

[Bug libfortran/22412] Fortran B edit descriptor error

2005-07-11 Thread dje at gcc dot gnu dot org
--- Additional Comments From dje at gcc dot gnu dot org 2005-07-11 20:50 --- transfer integer appears to be overwriting the variable ionml when operating on B edit descriptor. Prior to the function, ionml is NULL, after the function, the value is 0x31313131. -- What|R

[Bug tree-optimization/22415] [4.0 Regression] ICE in coalesce_abnormal_edges

2005-07-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-11 20:15 --- I think adding another DCE pass right before SRA and we will be able to reproduce this on the mainline also. Also note turning off PRE "fixes" the ICE. It might be PRE moving a statement causing the con

[Bug tree-optimization/22415] [4.0 Regression] ICE in coalesce_abnormal_edges

2005-07-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-11 20:12 --- Hmm, the reason why we cannot reproduce it on the mainline is because SRA thinks the variable a cannot be SRA'd because we still take the address of the variable even though that statement is dead. --

[Bug fortran/20363] interface body has incorrect scope

2005-07-11 Thread Tobias dot Schlueter at physik dot uni-muenchen dot de
--- Additional Comments From Tobias dot Schlueter at physik dot uni-muenchen dot de 2005-07-11 20:12 --- Subject: Re: interface body has incorrect scope paulthomas2 at wanadoo dot fr wrote: > --- Additional Comments From paulthomas2 at wanadoo dot fr 2005-07-11 > 20:02 --- >

[Bug libfortran/22412] Fortran B edit descriptor error

2005-07-11 Thread dje at gcc dot gnu dot org
--- Additional Comments From dje at gcc dot gnu dot org 2005-07-11 20:08 --- Something appears to be going wrong in io/transfer.c. If I compile that file without optimization, the testcase passes, with optimization it fails. I suspect it might be an uninitialized variable (ionml?) as

[Bug tree-optimization/22416] [4.1 Regression] 23_containers/set/explicit_instantiation/1.cc fails: expected ssa_name, have var_decl in is_old_name, at tree-into-ssa.c:466

2005-07-11 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Keywords||alias, ice-on-valid-code Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/sh

[Bug tree-optimization/22416] New: [4.1 Regression] 23_containers/set/explicit_instantiation/1.cc fails: expected ssa_name, have var_decl in is_old_name, at tree-into-ssa.c:466

2005-07-11 Thread jsm28 at gcc dot gnu dot org
FAIL: 23_containers/set/explicit_instantiation/1.cc (test for excess errors) has appeared on mainline on i686-pc-linux-gnu (gcc-testresults shows other platforms as well) between 20050710 and 20050711 (both at 07:00 UTC). /scratch/gcc/nightly-2005-07-11-mainline/i686-pc-linux-gnu/build_gcc/build

[Bug fortran/20363] interface body has incorrect scope

2005-07-11 Thread paulthomas2 at wanadoo dot fr
--- Additional Comments From paulthomas2 at wanadoo dot fr 2005-07-11 20:02 --- Subject: Re: interface body has incorrect scope That seems to be as good as one could want! Paul T -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20363

[Bug tree-optimization/22415] [4.0 Regression] ICE in coalesce_abnormal_edges

2005-07-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-11 19:56 --- Confirmed, this might be a latent bug on the mainline. -- What|Removed |Added St

[Bug fortran/20363] interface body has incorrect scope

2005-07-11 Thread erik dot edelmann at iki dot fi
--- Additional Comments From erik dot edelmann at iki dot fi 2005-07-11 19:52 --- > Erik, > > Have you checked the parse tree for this? It looks OK, from a very > casual look, but the parse tree would be the clincher. After comments from Tobi I posted a new patch here: http://gcc.g

[Bug c/22414] assert(i) gives "will never be executed" due to noreturn

2005-07-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-11 19:50 --- The warning is correct as there is an assigment for a temporary. The assert should be written like: void abort(void); void f(int i) { i ?(void) 0 : abort(); } Please report this bug to glibc. --

[Bug tree-optimization/22415] New: ICE in coalesce_abnormal_edges

2005-07-11 Thread jakub at redhat dot com
struct C { int a; int *b; int *c1 (int x) { return new int[sizeof (int) * x]; } void c2 (int *x, int *y, int z) { for (int i = 0; i < z; i++) y[i] = x[i]; } C (int x = 0) : a (x) { if (a) { b = c1 (a); for (int i = 0; i < a; i++) b[i] =

[Bug bootstrap/22314] [4.1 regression] ICE in make profiledbootstrap: corrupted profile info for gcc/dominance.c

2005-07-11 Thread bh at techhouse dot brown dot edu
--- Additional Comments From bh at techhouse dot brown dot edu 2005-07-11 19:42 --- I get a similar error on my pentium-3 box, configuring with just: /afs/cs/usr/bhudson/gcc/gcc-cvs-head/configure --enable-languages=c,c++ and gmake CFLAGS=-O2 BOOT_CFLAGS=-O2 profiledbootstrap wi

[Bug c/22414] New: assert(i) gives "will never be executed" due to noreturn

2005-07-11 Thread h dot b dot furuseth at usit dot uio dot no
assert(i) gives "will never be executed" on Linux. assert(0) and assert(1) are silent. I've tried to vary the assert() definition, e.g. give __assert_fail() return type int and do (void)(i ? 0 : (0 & __assert_fail(...))), but only removing __attribute__((noreturn)) seems to kill the warning. I don

[Bug middle-end/21076] [4.1 Regression] ACATs ICE cxh1001 at tree-vrp.c:124 (fold bug)

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

[Bug middle-end/22398] [4.1 Regression] ICE in compare_values, at tree-vrp.c:445

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

[Bug ada/22413] New: Cross build fails (multiple blank lines)

2005-07-11 Thread smcconne at seakr dot com
Using crosstool get the following: gcc -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition-DHAVE_CONFIG_H -o cc1 \ c-parse.o c-lang.o stub-objc.o attribs.o c-errors.o

[Bug bootstrap/22407] libgfortran build fails because of bad substitution

2005-07-11 Thread ebotcazou at gcc dot gnu dot org
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-07-11 19:20 --- > Ok, rebuilt with "CONFIG_SHELL=/bin/bash; export CONFIG_SHELL". Did you use an absolute path to invoke configure, as strongly recommended? FWIW I just bootstrapped 4.0.1 on Solaris 2.5.1, 2.6, 7, 8, 9

  1   2   >