[Bug fortran/37159] New: RANDOM_SEED: PUT= check array size at compile time

2008-08-18 Thread burnus at gcc dot gnu dot org
The run-time library has: static const GFC_INTEGER_4 kiss_size = sizeof(kiss_seed)/sizeof(kiss_seed[0]); if (((put->dim[0].ubound + 1 - put->dim[0].lbound)) < kiss_size) runtime_error ("Array size of PUT is too small."); It would be great if the size could already be checked at co

[Bug tree-optimization/31079] 20% difference between ifort/gfortran, missed vectorization

2008-08-18 Thread jv244 at cam dot ac dot uk
--- Comment #12 from jv244 at cam dot ac dot uk 2008-08-19 06:11 --- Created an attachment (id=16096) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16096&action=view) ifort's asm for PR31079_11.f90 at -O3 -xT -S -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31079

[Bug tree-optimization/31079] 20% difference between ifort/gfortran, missed vectorization

2008-08-18 Thread jv244 at cam dot ac dot uk
--- Comment #11 from jv244 at cam dot ac dot uk 2008-08-19 06:09 --- Created an attachment (id=16095) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16095&action=view) new testcase This (PR31079_11.f90) should be a replacement for comment #4, and illustrates the vectorizer issue.

[Bug libfortran/35863] [F2003] Implement ENCODING="UTF-8"

2008-08-18 Thread burnus at gcc dot gnu dot org
--- Comment #13 from burnus at gcc dot gnu dot org 2008-08-19 06:02 --- Subject: Bug 35863 Author: burnus Date: Tue Aug 19 06:00:51 2008 New Revision: 139223 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139223 Log: 2008-08-19 Tobias Burnus <[EMAIL PROTECTED]> PR libf

[Bug tree-optimization/31079] 20% difference between ifort/gfortran, missed vectorization

2008-08-18 Thread jv244 at cam dot ac dot uk
--- Comment #10 from jv244 at cam dot ac dot uk 2008-08-19 05:45 --- Created an attachment (id=16094) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16094&action=view) comment #0 intel's assembly (ifort 9.1 at -O2 -xT) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31079

[Bug tree-optimization/31079] 20% difference between ifort/gfortran, missed vectorization

2008-08-18 Thread jv244 at cam dot ac dot uk
--- Comment #9 from jv244 at cam dot ac dot uk 2008-08-19 05:44 --- Created an attachment (id=16093) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16093&action=view) comment #0 source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31079

[Bug tree-optimization/31079] 20% difference between ifort/gfortran, missed vectorization

2008-08-18 Thread jv244 at cam dot ac dot uk
--- Comment #8 from jv244 at cam dot ac dot uk 2008-08-19 05:43 --- (In reply to comment #7) > That is, GCCs inner loop is > > .L6: > addl$1, %eax > addsd %xmm12, %xmm11 > cmpl$1, %eax > addsd %xmm14, %xmm3 > addsd %xmm15, %x

[Bug target/37158] New: Wrong insn for _mm_comieq_sd

2008-08-18 Thread hjl dot tools at gmail dot com
[EMAIL PROTECTED] i386]$ cat x.c /* { dg-do run } */ /* { dg-options "-O2 -msse2" } */ #include int test (__m128d s1, __m128d s2) { return _mm_comieq_sd (s1, s2); } [EMAIL PROTECTED] i386]$ ./usr/gcc-4.4/bin/gcc -S -O2 x.c [EMAIL PROTECTED] i386]$ cat x.s .file "x.c" .text

[Bug fortran/37129] Problems with access='direct', recl=1 I/O

2008-08-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #7 from jvdelisle at gcc dot gnu dot org 2008-08-19 02:40 --- Closing as invalid. If anyone sees a reason to re-open, please let me know. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug middle-end/36296] bogus uninitialized warning (loop representation, VRP missed-optimization)

2008-08-18 Thread manu at gcc dot gnu dot org
--- Comment #12 from manu at gcc dot gnu dot org 2008-08-19 02:33 --- The key difference is -ftree-vrp (which is enabled at -O2). With INIT=2, it is missing the obvious optimization that it detects with INIT=1. I wonder if this is expected (after all, it is value-RANGE-propagation) or th

[Bug middle-end/36296] bogus uninitialized warning (loop representation)

2008-08-18 Thread vincent at vinc17 dot org
--- Comment #11 from vincent at vinc17 dot org 2008-08-19 01:31 --- (In reply to comment #10) > If I replace the value 2 by 1 I still get the warning in GCC 4.4, so that > really sounds strange. Are you sure about that? Yes and here Debian's GCC 4.4 snapshot has the same behavior as GCC

[Bug target/37157] [4.4 Regression] Wrong insn for _mm_unpackhi_epi64

2008-08-18 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2008-08-19 01:25 --- It may be caused by revision 138553. -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug target/37157] New: [4.4 Regression] Wrong insn for _mm_unpackhi_epi64

2008-08-18 Thread hjl dot tools at gmail dot com
[EMAIL PROTECTED] i386]$ cat x.c /* { dg-do run } */ /* { dg-options "-O2 -msse2" } */ #include __m128i __attribute__((noinline, unused)) test (__m128i s1, __m128i s2) { return _mm_unpackhi_epi64 (s1, s2); } [EMAIL PROTECTED] i386]$ /export/build/gnu/gcc-stack-internal/build-x86_64-linux/gcc/

[Bug debug/37156] Hang with -g -O2 (or higher) (discovered with malloc.c in sqlite3)

2008-08-18 Thread cw at f00f dot org
--- Comment #5 from cw at f00f dot org 2008-08-19 00:42 --- (From update of attachment 16091) doesn't show the hang as __attribute__ is missing -- cw at f00f dot org changed: What|Removed |Added -

[Bug debug/37156] Hang with -g -O2 (or higher) (discovered with malloc.c in sqlite3)

2008-08-18 Thread cw at f00f dot org
--- Comment #4 from cw at f00f dot org 2008-08-19 00:41 --- Created an attachment (id=16092) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16092&action=view) updated test case that actually shows the hang -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37156

[Bug debug/37156] Hang with -g -O2 (or higher) (discovered with malloc.c in sqlite3)

2008-08-18 Thread cw at f00f dot org
--- Comment #3 from cw at f00f dot org 2008-08-19 00:38 --- Someone was able to reproduce the hang and pointed out the first attachment I put up as edited without the __attribute__ Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/us

[Bug middle-end/36296] bogus uninitialized warning (loop representation)

2008-08-18 Thread manu at gcc dot gnu dot org
--- Comment #10 from manu at gcc dot gnu dot org 2008-08-18 23:38 --- (In reply to comment #9) > (In reply to comment #8) > > Please provide a preprocessed reduced testcase as similar to the original as > > possible. > > Here's a similar testcase. Thanks. This is the optimized SSA du

[Bug bootstrap/37155] [4.4 Regression] Revision 139207 failed to bootstrap on Linux/ia64

2008-08-18 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2008-08-18 23:24 --- The particular insn is (insn 72 70 73 8 x.i:17 (set (reg:SI 386) (minus:SI (subreg:SI (reg/f:DI 376 [ ivtmp.14 ]) 0) (subreg:SI (reg/f:DI 335 virtual-stack-vars) 0))) 165 {subsi3} (nil)) (gdb) f

[Bug bootstrap/37155] [4.4 Regression] Revision 139207 failed to bootstrap on Linux/ia64

2008-08-18 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2008-08-18 23:07 --- Revision 139207: http://gcc.gnu.org/ml/gcc-cvs/2008-08/msg00769.html is the cause. [EMAIL PROTECTED] gcc]$ cat x.i extern int printf (__const char *__restrict __format, ...); extern void dw2_asm_output_data_raw (i

[Bug middle-end/36296] wrong warning about potential uninitialized variable

2008-08-18 Thread vincent at vinc17 dot org
--- Comment #9 from vincent at vinc17 dot org 2008-08-18 22:58 --- (In reply to comment #8) > Please provide a preprocessed reduced testcase as similar to the original as > possible. Here's a similar testcase. $ cat tst.c void *foo (void); void bar (void *); void f (void) { int ini

[Bug middle-end/37154] static inline function problem

2008-08-18 Thread wrobell at pld-linux dot org
--- Comment #5 from wrobell at pld-linux dot org 2008-08-18 22:40 --- (In reply to comment #4) > >gdb claims that problem is at line 2285, variable "accumulator" is 0x0, > > well with optimization, debugging info is not always fully correct. > i've changed function declaration again t

[Bug debug/37156] Hangwith -g -O2 (or higher) (discovered with malloc.c in sqlite3)

2008-08-18 Thread cw at f00f dot org
--- Comment #2 from cw at f00f dot org 2008-08-18 22:37 --- (sorry, this should have been clarified earlier) -O1 -g is fine -O2 is fine -O2 -g HANGS dropping __attribute__((warning...) also makes the hang go away --- so interaction with that an debugging? gcc 4.1 is fine gcc 4.2 is fi

[Bug debug/37156] Hangwith -g -O2 (or higher) (discovered with malloc.c in sqlite3)

2008-08-18 Thread cw at f00f dot org
--- Comment #1 from cw at f00f dot org 2008-08-18 22:34 --- Created an attachment (id=16091) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16091&action=view) malloc.i hangs with -O2 -g on gcc 4.3.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37156

[Bug c/37156] New: Hangwith -g -O2 (or higher) (discovered with malloc.c in sqlite3)

2008-08-18 Thread cw at f00f dot org
[EMAIL PROTECTED]:~/wk/sqlite-cvs-git/build$ gcc -v Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.1-2' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-sha

[Bug bootstrap/37155] New: [4.4 Regression] Failed to bootstrap on Linux/ia64

2008-08-18 Thread hjl dot tools at gmail dot com
Gcc 4.4 revision 139215 failed to bootstrap on Linux/ia64: /export/gnu/import/svn/gcc-test/bld/./prev-gcc/xgcc -B/export/gnu/import/svn/gcc-test/bld/./prev-gcc/ -B/usr/local/ia64-unknown-linux-gnu/bin/ -c -DUSE_LIBUNWIND_EXCEPTIONS -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -W

[Bug target/35658] between -funroll-loops -fno-automatic -O2 and common block variable

2008-08-18 Thread sje at cup dot hp dot com
--- Comment #9 from sje at cup dot hp dot com 2008-08-18 21:51 --- Kevin, I can no longer reproduce this bug. I think it was fixed by the same patch that fixed PR 35659. Are you able to reproduce this or can we close it as fixed? -- sje at cup dot hp dot com changed: Wh

[Bug middle-end/37154] static inline function problem

2008-08-18 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-08-18 21:11 --- >gdb claims that problem is at line 2285, variable "accumulator" is 0x0, well with optimization, debugging info is not always fully correct. -- pinskia at gcc dot gnu dot org changed: What|Remove

[Bug c/37154] static inline function problem

2008-08-18 Thread wrobell at pld-linux dot org
--- Comment #3 from wrobell at pld-linux dot org 2008-08-18 21:06 --- Created an attachment (id=16090) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16090&action=view) gsignal.s file after 'inline' keyword removal -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37154

[Bug c/37154] static inline function problem

2008-08-18 Thread wrobell at pld-linux dot org
--- Comment #2 from wrobell at pld-linux dot org 2008-08-18 21:05 --- Created an attachment (id=16089) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16089&action=view) gsignal.s file created by gcc before 'inline' keyword removal -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=

[Bug c/37154] static inline function problem

2008-08-18 Thread wrobell at pld-linux dot org
--- Comment #1 from wrobell at pld-linux dot org 2008-08-18 21:05 --- Created an attachment (id=16088) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16088&action=view) gsignal.i file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37154

[Bug c/37154] New: static inline function problem

2008-08-18 Thread wrobell at pld-linux dot org
i am getting SIGSEGV while starting two glib2 applications. please take a look at glib2/gogject/gsignal.c code: - 2280 gboolean continue_emission; 2281 2282 if (!accumulator) 2283return TRUE; 2284 2285 continue_emission = accumulator->func (ihint, return_accu

[Bug fortran/35707] Search /usr/local/include and /usr/include for .mod files

2008-08-18 Thread dfranke at gcc dot gnu dot org
--- Comment #5 from dfranke at gcc dot gnu dot org 2008-08-18 20:56 --- Reminder: libbackend.a(cpp_include_defaults) seems to be the place where standard include paths for targets are available -- including, but not limited to, /usr/include. -- http://gcc.gnu.org/bugzilla/show_bug.c

[Bug fortran/37032] including "file.F90" - no CPP processing

2008-08-18 Thread dfranke at gcc dot gnu dot org
--- Comment #10 from dfranke at gcc dot gnu dot org 2008-08-18 20:51 --- Closing as WONTFIX. Reference: http://gcc.gnu.org/ml/fortran/2008-08/msg00071.html (and following). (Updated) Documentation about gfortran's behaviour with preprocessing can be found in sections 1.3 and 2.3 o

[Bug fortran/37032] including "file.F90" - no CPP processing

2008-08-18 Thread dfranke at gcc dot gnu dot org
--- Comment #9 from dfranke at gcc dot gnu dot org 2008-08-18 20:47 --- Subject: Bug 37032 Author: dfranke Date: Mon Aug 18 20:46:08 2008 New Revision: 139215 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139215 Log: 2008-08-18 Daniel Franke <[EMAIL PROTECTED]> PR fo

[Bug rtl-optimization/36998] [4.3/4.4 regression] Ada bootstrap broken on i586-*-*

2008-08-18 Thread ebotcazou at gcc dot gnu dot org
-- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added Severity|blocker |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36998

[Bug bootstrap/37153] [4.4 Regression] Revision 139210 failed to bootstrap

2008-08-18 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2008-08-18 20:15 --- Fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added Status|UNCONFIRM

[Bug bootstrap/37152] tree-vect-transform.c: use of "=" where "==" may have been intended

2008-08-18 Thread dorit at gcc dot gnu dot org
--- Comment #1 from dorit at gcc dot gnu dot org 2008-08-18 20:11 --- (In reply to comment #0) > I just tried to compile GNU CC version 4.4 snapshot 20080815 with the > Intel C compiler and it said > gcc/tree-vect-transform.c(2488): warning #187: use of "=" where "==" may have > been int

[Bug bootstrap/37153] [4.4 Regression] Revision 139210 failed to bootstrap

2008-08-18 Thread hjl at gcc dot gnu dot org
--- Comment #1 from hjl at gcc dot gnu dot org 2008-08-18 19:50 --- Subject: Bug 37153 Author: hjl Date: Mon Aug 18 19:48:41 2008 New Revision: 139211 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139211 Log: 2008-08-18 H.J. Lu <[EMAIL PROTECTED]> PR bootstrap/37153

[Bug bootstrap/37153] New: [4.4 Regression] Revision 139210 failed to bootstrap

2008-08-18 Thread hjl dot tools at gmail dot com
On Linux/x86-64, I got cc1: warnings being treated as errors ../../src-trunk/gcc/value-prof.c: In function ‘check_counter’: ../../src-trunk/gcc/value-prof.c:469: error: cast from pointer to integer of different size ../../src-trunk/gcc/value-prof.c:478: error: cast from pointer to integer of diffe

[Bug tree-optimization/18501] [4.2/4.3/4.4 Regression] Missing 'used uninitialized' warning (CCP)

2008-08-18 Thread manu at gcc dot gnu dot org
--- Comment #20 from manu at gcc dot gnu dot org 2008-08-18 18:56 --- *** Bug 36814 has been marked as a duplicate of this bug. *** -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/36814] G++ won't warn about an uninitialized value

2008-08-18 Thread manu at gcc dot gnu dot org
--- Comment #5 from manu at gcc dot gnu dot org 2008-08-18 18:56 --- possible_bug.cc:1: error: `cMyClass' has not been declared possible_bug.cc: In function `bool Init()': possible_bug.cc:5: error: `some_function' was not declared in this scope possible_bug.cc:5: warning: unused variable

[Bug bootstrap/37152] New: tree-vect-transform.c: use of "=" where "==" may have been intended

2008-08-18 Thread dcb314 at hotmail dot com
I just tried to compile GNU CC version 4.4 snapshot 20080815 with the Intel C compiler and it said gcc/tree-vect-transform.c(2488): warning #187: use of "=" where "==" may have been intended The source code is gcc_assert (ncopies = 1); Perhaps gcc_assert (ncopies == 1); was intended ?

[Bug c/20385] Lame parse error message for undefined type

2008-08-18 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2008-08-18 18:28 --- This is hard. Even the simple cases are hard since the error is detected very very late. There are far too many ways to declare anything. Perhaps using a slightly different code patch for C99 would help with -std=c99.

[Bug c++/36814] G++ won't warn about an uninitialized value

2008-08-18 Thread jellegeerts at gmail dot com
--- Comment #4 from jellegeerts at gmail dot com 2008-08-18 18:16 --- Please see the attachments I created for more information. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36814

[Bug c++/36814] G++ won't warn about an uninitialized value

2008-08-18 Thread jellegeerts at gmail dot com
--- Comment #3 from jellegeerts at gmail dot com 2008-08-18 18:15 --- Created an attachment (id=16087) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16087&action=view) the `.ii' file that G++ created -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36814

[Bug c++/36814] G++ won't warn about an uninitialized value

2008-08-18 Thread jellegeerts at gmail dot com
--- Comment #2 from jellegeerts at gmail dot com 2008-08-18 18:14 --- Created an attachment (id=16086) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16086&action=view) output of G++ with the `-v -save-temps' flags -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36814

[Bug c++/15179] bad parse error recovery with missing typename

2008-08-18 Thread manu at gcc dot gnu dot org
--- Comment #13 from manu at gcc dot gnu dot org 2008-08-18 17:51 --- Let's give meaningful short descriptions to the bugs, please. -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug testsuite/37149] [4.4 Regression]: 27_io/basic_ostream/inserters_other/char/error_code.cc

2008-08-18 Thread paolo dot carlini at oracle dot com
--- Comment #6 from paolo dot carlini at oracle dot com 2008-08-18 17:50 --- Fixed. -- paolo dot carlini at oracle dot com changed: What|Removed |Added Target Mileston

[Bug testsuite/37149] [4.4 Regression]: 27_io/basic_ostream/inserters_other/char/error_code.cc

2008-08-18 Thread paolo at gcc dot gnu dot org
--- Comment #5 from paolo at gcc dot gnu dot org 2008-08-18 17:49 --- Subject: Bug 37149 Author: paolo Date: Mon Aug 18 17:48:15 2008 New Revision: 139206 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139206 Log: 2008-08-18 Paolo Carlini <[EMAIL PROTECTED]> PR libstd

[Bug c++/15766] bad parse error recovery (2 bugs)

2008-08-18 Thread manu at gcc dot gnu dot org
--- Comment #5 from manu at gcc dot gnu dot org 2008-08-18 17:48 --- These are two different bugs. -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/36814] G++ won't warn about an uninitialized value

2008-08-18 Thread manu at gcc dot gnu dot org
--- Comment #1 from manu at gcc dot gnu dot org 2008-08-18 17:35 --- We need a preprocessed self-contained, preferably small, testcase. Otherwise we cannot reproduce the bug ourselves. See http://gcc.gnu.org/bugs.html Thanks. -- manu at gcc dot gnu dot org changed: What

[Bug testsuite/37149] [4.4 Regression]: 27_io/basic_ostream/inserters_other/char/error_code.cc

2008-08-18 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2008-08-18 17:35 --- Don't worry, I'm handling it together with a few other missing ... -- paolo dot carlini at oracle dot com changed: What|Removed |Added ---

[Bug middle-end/36550] Wrong "may be used uninitialized" warning (conditional PHIs)

2008-08-18 Thread manu at gcc dot gnu dot org
-- manu at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirme

[Bug middle-end/36296] wrong warning about potential uninitialized variable

2008-08-18 Thread manu at gcc dot gnu dot org
--- Comment #8 from manu at gcc dot gnu dot org 2008-08-18 17:24 --- Please provide a preprocessed reduced testcase as similar to the original as possible. I think this is not only predicated PHI but our representation of loops may also have something to do. -- manu at gcc dot gnu

[Bug c/31893] Please provide an "inout" attribute for function parameters.

2008-08-18 Thread manu at gcc dot gnu dot org
--- Comment #5 from manu at gcc dot gnu dot org 2008-08-18 17:14 --- There is no support for this in the middle-end anyway. Not even for Fortran. -- manu at gcc dot gnu dot org changed: What|Removed |Added --

[Bug fortran/13615] -Wuninitialized produces wrong error message for characters

2008-08-18 Thread manu at gcc dot gnu dot org
--- Comment #9 from manu at gcc dot gnu dot org 2008-08-18 16:53 --- To assess whether this is a middle-end issue, the alias dump (with VOPS and linenumbers) would be relevant. -- manu at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c/31893] Please provide an "inout" attribute for function parameters.

2008-08-18 Thread manu at gcc dot gnu dot org
--- Comment #4 from manu at gcc dot gnu dot org 2008-08-18 16:50 --- This would need to be a GCC extension and those need some high-level approval, so still unconfirmed, however I am marking as waiting until a decision is taken. You should seek opinions/support in the gcc mailing list.

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2008-08-18 Thread manu at gcc dot gnu dot org
--- Comment #7 from manu at gcc dot gnu dot org 2008-08-18 16:42 --- Alias Wuninitialized -- manu at gcc dot gnu dot org changed: What|Removed |Added Alias|

[Bug c/29888] No error when "too few arguments" or "conflicting types" would be expected

2008-08-18 Thread manu at gcc dot gnu dot org
--- Comment #2 from manu at gcc dot gnu dot org 2008-08-18 16:32 --- The code is correct in -std=c89 (the default). Use -Wall or -std=c99 if you want to be warned about implicit declarations. See http://c-faq.com/decl/implfdecl.html -- manu at gcc dot gnu dot org changed:

[Bug middle-end/37151] [4.4 Regression] ICE with -fprofile-use and -ftree-loop-linear

2008-08-18 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-08-18 16:24 --- Presumably working was 2008-08-15-r139121; failing is 2008-08-18-r139184 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37151

[Bug middle-end/37096] conditional evaluation incorrect with -O3

2008-08-18 Thread erik dot moller at cycos dot com
--- Comment #5 from erik dot moller at cycos dot com 2008-08-18 16:22 --- the printf("shouldn't happen: %d\n", pAR[0]) happens when debug flags -O2 or -O3 and -msse2 are set. the printf("nz: %d\n", nZ); seems to do something awful... void fun(short *pAR) { const short tmp = Tr

[Bug middle-end/37151] New: [4.4 Regression] ICE with -fprofile-use and -ftree-loop-linear

2008-08-18 Thread burnus at gcc dot gnu dot org
Polyhedron benchmark's mdbx (http://www.polyhedron.co.uk/MFL6VW74649) gfortran -fprofile-generate -ffast-math -march=opteron -ftree-loop-linear -O3 mdbx.f90 ./a.out gfortran -fprofile-use -ffast-math -march=opteron -ftree-loop-linear -O3 mdbx.f90 gives an segmentation fault. No segfault without -

[Bug middle-end/37096] conditional evaluation incorrect with -O3

2008-08-18 Thread erik dot moller at cycos dot com
--- Comment #4 from erik dot moller at cycos dot com 2008-08-18 16:20 --- Created an attachment (id=16085) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16085&action=view) the test case it's as minimal I could get it... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37096

[Bug middle-end/37096] conditional evaluation incorrect with -O3

2008-08-18 Thread erik dot moller at cycos dot com
--- Comment #3 from erik dot moller at cycos dot com 2008-08-18 16:20 --- Created an attachment (id=16084) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16084&action=view) main() for the testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37096

[Bug c++/36912] [4.2/4.3/4.4 regression] ICE with "-frounding-math -g"

2008-08-18 Thread sylvain dot pion at sophia dot inria dot fr
--- Comment #6 from sylvain dot pion at sophia dot inria dot fr 2008-08-18 16:12 --- Maybe my comment is going to be out of scope, but the question is also to know what the "primary question" is here, that is, what usage is supposed to be supported by -frounding-math. g++ currently acc

[Bug middle-end/37150] vectorizer issue

2008-08-18 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2008-08-18 16:09 --- Same trend with "ifort -O3" (ifort 11beta) and "gfortran -O3 --fast-math -march=native" on AMD Athlon64 X2 4800+ / openSUSE 11. [same mulsd/mulpd numbers] ifort 2.452s, gfortran 3.848s -> 57% slower. With Richard's p

[Bug c++/36741] [4.3/4.4 regression] Bogus "large integer implicitly truncated" passing size_t constant to new

2008-08-18 Thread manu at gcc dot gnu dot org
--- Comment #9 from manu at gcc dot gnu dot org 2008-08-18 16:03 --- (In reply to comment #7) > > I am stacking these here to not loose them, but at the same time, I am not > sure > if they are solid enough for submission to gcc-patches. I am still working on > them. s/loose/lose/ OK

[Bug middle-end/37150] vectorizer issue

2008-08-18 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-08-18 15:55 --- Note that there is no loop left on the trunk for the testcase, but after the vectorizer it is all unrolled completely (unvectorized, of course). Again this looks like missing vectorization of scalar code. Note that

[Bug c++/36741] [4.3/4.4 regression] Bogus "large integer implicitly truncated" passing size_t constant to new

2008-08-18 Thread dodji at gcc dot gnu dot org
--- Comment #8 from dodji at gcc dot gnu dot org 2008-08-18 15:52 --- Created an attachment (id=16083) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16083&action=view) Fourth fix candidate The previous patch was broken for say cross-compilers addressing a 64 target on a 32 bits ho

[Bug c++/36741] [4.3/4.4 regression] Bogus "large integer implicitly truncated" passing size_t constant to new

2008-08-18 Thread dodji at gcc dot gnu dot org
--- Comment #7 from dodji at gcc dot gnu dot org 2008-08-18 15:47 --- Manuel, yes I know that patches go to gcc-patches@ :-) I am stacking these here to not loose them, but at the same time, I am not sure if they are solid enough for submission to gcc-patches. I am still working on them

[Bug testsuite/37149] [4.4 Regression]: 27_io/basic_ostream/inserters_other/char/error_code.cc

2008-08-18 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2008-08-18 15:41 --- Well, for 4_3-branch too, because the testcase is buggy anyway, you cannot assume any of the existing includes to bring in . -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37149

[Bug testsuite/37149] [4.4 Regression]: 27_io/basic_ostream/inserters_other/char/error_code.cc

2008-08-18 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2008-08-18 15:37 --- Ok, thanks, patch to include preapproved for mainline. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37149

[Bug rtl-optimization/36998] [4.3/4.4 regression] Ada bootstrap broken on i586-*-*

2008-08-18 Thread rguenth at gcc dot gnu dot org
--- Comment #27 from rguenth at gcc dot gnu dot org 2008-08-18 15:34 --- This should be fixed by disabling the asserts in question. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36998

[Bug middle-end/37150] vectorizer issue

2008-08-18 Thread jv244 at cam dot ac dot uk
--- Comment #1 from jv244 at cam dot ac dot uk 2008-08-18 15:33 --- Created an attachment (id=16082) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16082&action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37150

[Bug middle-end/37150] New: vectorizer issue

2008-08-18 Thread jv244 at cam dot ac dot uk
As pointed out : http://gcc.gnu.org/ml/gcc/2008-08/msg00290.html The attached testcase yields (on a core2 duo, gcc trunk): gfortran -O3 -ftree-vectorize -ffast-math -march=native test.f90 time ./a.out real 0m3.414s ifort -xT -O3 test.f90 time ./a.out real 0m1.556s The assemb

[Bug testsuite/37149] [4.4 Regression]: 27_io/basic_ostream/inserters_other/char/error_code.cc

2008-08-18 Thread hp at gcc dot gnu dot org
--- Comment #1 from hp at gcc dot gnu dot org 2008-08-18 15:24 --- Trivial enough not to bother others... -- hp at gcc dot gnu dot org changed: What|Removed |Added

[Bug testsuite/37149] [4.4 Regression]: 27_io/basic_ostream/inserters_other/char/error_code.cc

2008-08-18 Thread hp at gcc dot gnu dot org
-- hp at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/31079] 20% difference between ifort/gfortran, missed vectorization

2008-08-18 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2008-08-18 15:22 --- That is, GCCs inner loop is .L6: addl$1, %eax addsd %xmm12, %xmm11 cmpl$1, %eax addsd %xmm14, %xmm3 addsd %xmm15, %xmm2 addsd %xmm13, %xmm1

[Bug testsuite/37149] New: [4.4 Regression]: 27_io/basic_ostream/inserters_other/char/error_code.cc

2008-08-18 Thread hp at gcc dot gnu dot org
Worked with: 138952 Known to fail with: 138966 (and up to at least 139189) Running /x/gcc/libstdc++-v3/testsuite/libstdc++-dg/conformance.exp ... ... FAIL: 27_io/basic_ostream/inserters_other/char/error_code.cc (test for excess errors) WARNING: 27_io/basic_ostream/inserters_other/char/error_code.c

[Bug tree-optimization/31079] 20% difference between ifort/gfortran, missed vectorization

2008-08-18 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2008-08-18 15:20 --- The problem for the GCC vectorizer is that there are no loads or stores left in the loop and it doesn't handle vectorizing "registers" only. This is a case where real vectorization of straight-line code would be nec

[Bug c++/37057] 7 Internal Compiler Errors when compiling OpenFOAM-1.5

2008-08-18 Thread paul at epcc dot ed dot ac dot uk
--- Comment #5 from paul at epcc dot ed dot ac dot uk 2008-08-18 15:09 --- Hi, Just to add, I too have seen this bug (using gcc 4.2.0, not tried other versions yet) on a powerpc-ibm-aix5.3.0.0, so I'd be keen to hear of any resolution. Regards, Paul Graham -- http://gcc.gnu.org/b

[Bug libstdc++/37147] New failures: 20_util/ratio/comparisons/comp2.cc et al

2008-08-18 Thread paolo dot carlini at oracle dot com
--- Comment #8 from paolo dot carlini at oracle dot com 2008-08-18 15:05 --- Fixed. -- paolo dot carlini at oracle dot com changed: What|Removed |Added Statu

[Bug libstdc++/37147] New failures: 20_util/ratio/comparisons/comp2.cc et al

2008-08-18 Thread paolo at gcc dot gnu dot org
--- Comment #7 from paolo at gcc dot gnu dot org 2008-08-18 15:03 --- Subject: Bug 37147 Author: paolo Date: Mon Aug 18 15:02:10 2008 New Revision: 139200 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139200 Log: 2008-08-18 Paolo Carlini <[EMAIL PROTECTED]> PR libstd

[Bug libstdc++/37147] New failures: 20_util/ratio/comparisons/comp2.cc et al

2008-08-18 Thread hp at gcc dot gnu dot org
--- Comment #6 from hp at gcc dot gnu dot org 2008-08-18 14:49 --- (In reply to comment #5) > If you want, you can try to compile ** as a C++ program, this > is important ** the below. If my analysis is correct, should not compile, > meaning we can't really assume a C99-conforming for y

[Bug libstdc++/37147] New failures: 20_util/ratio/comparisons/comp2.cc et al

2008-08-18 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2008-08-18 14:11 --- Thanks Hans-Peter, probably I don't need further information. I'm already testing the fix. If you want, you can try to compile ** as a C++ program, this is important ** the below. If my analysis is correct, sho

[Bug tree-optimization/18501] [4.2/4.3/4.4 Regression] Missing 'used unintialized' warning (CCP)

2008-08-18 Thread manu at gcc dot gnu dot org
--- Comment #19 from manu at gcc dot gnu dot org 2008-08-18 14:09 --- (In reply to comment #18) > This defect has been open nearly 4 years. Any hope of > actually getting a fix commited? To be bluntly honest. No, do not expect a fix in the near/medium future. Not for GCC 4.4 for sure.

[Bug libstdc++/37147] New failures: 20_util/ratio/comparisons/comp2.cc et al

2008-08-18 Thread hp at gcc dot gnu dot org
--- Comment #4 from hp at gcc dot gnu dot org 2008-08-18 14:05 --- (In reply to comment #1) > Something you should also immediately check is whether those tests actually > were run before the changes and not skipped, You're right, all of 20_util/ratio/comparisons/comp2.cc 20_util/ratio/

[Bug middle-end/36817] [4.3 Regression] internal compiler error: in compare_values_warnv

2008-08-18 Thread jsm28 at gcc dot gnu dot org
-- jsm28 at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36817

[Bug c++/37142] [4.2/4.3/4.4 Regression] ICE: in dependent_type_p, at cp/pt.c:15585

2008-08-18 Thread jsm28 at gcc dot gnu dot org
-- jsm28 at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37142

[Bug middle-end/37125] [4.3/4.4 Regression] possible integer codegen bug

2008-08-18 Thread jsm28 at gcc dot gnu dot org
-- jsm28 at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37125

[Bug tree-optimization/37102] [4.3/4.4 Regression] possible integer codegen bug

2008-08-18 Thread jsm28 at gcc dot gnu dot org
-- jsm28 at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37102

[Bug tree-optimization/18501] [4.2/4.3/4.4 Regression] Missing 'used unintialized' warning (CCP)

2008-08-18 Thread thutt at vmware dot com
--- Comment #18 from thutt at vmware dot com 2008-08-18 13:55 --- This defect has been open nearly 4 years. Any hope of actually getting a fix commited? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501

[Bug preprocessor/7263] __extension__ keyword doesn't suppress warning on LL or ULL constants

2008-08-18 Thread manu at gcc dot gnu dot org
--- Comment #16 from manu at gcc dot gnu dot org 2008-08-18 13:55 --- __extension__ now works for CPP warnings in the C front-end. The issue with system headers is more difficult since it depends on having two locations. C++ lexes everything up front before parsing anything, so the war

[Bug tree-optimization/18501] [4.2/4.3/4.4 Regression] Missing 'used unintialized' warning (CCP)

2008-08-18 Thread manu at gcc dot gnu dot org
--- Comment #17 from manu at gcc dot gnu dot org 2008-08-18 13:46 --- *** Bug 37148 has been marked as a duplicate of this bug. *** -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/37148] -Wunintialized fails in the face of conditional initialization.

2008-08-18 Thread manu at gcc dot gnu dot org
--- Comment #1 from manu at gcc dot gnu dot org 2008-08-18 13:46 --- CCP removes the uninitialized use. *** This bug has been marked as a duplicate of 18501 *** -- manu at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c/37148] New: -Wunintialized fails in the face of conditional assignment.

2008-08-18 Thread thutt at vmware dot com
Although I demonstrated this using 4.1.2 on my host, it probably affects other versions as well. As the following code shows: gcc -c -O1 -Wall -Werror uninitialized-warning.c extern void called_function(unsigned p); extern unsigned g; void f0(unsigned parm) { unsi

[Bug libstdc++/37147] [4.4 Regression]: 20_util/ratio/comparisons/comp2.cc et al

2008-08-18 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2008-08-18 13:22 --- Yes, just to confirm that the first paragraph in my Comment #1 is a red herring, sorry. Luckily we are debugging comp2.cc which includes very little, does not include postypes.h. We should concentrate on the te

[Bug libstdc++/37147] [4.4 Regression]: 20_util/ratio/comparisons/comp2.cc et al

2008-08-18 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2008-08-18 13:16 --- Actually, correctly, in the compilation of comp2.cc, bits/postypes.h doesn't end up be included, at least on x86_64-linux. Please confirm that, is the most important thing now. The preprocessed comp2.cc is very

[Bug libstdc++/37147] [4.4 Regression]: 20_util/ratio/comparisons/comp2.cc et al

2008-08-18 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2008-08-18 13:03 --- Therefore, are *all* the errors cause by INTMAX_MAX not being defined? That may have only to do with the macros on top of bits/postypes.h. Thus you should check what happens with _GLIBCXX_HAVE_INT64_T, _GLIBCXX

[Bug tree-optimization/28632] VRP should understand bitwise OR and AND

2008-08-18 Thread vda dot linux at googlemail dot com
--- Comment #12 from vda dot linux at googlemail dot com 2008-08-18 13:02 --- Bootstrap with -O2 on current svn fails. Bootstrap with -Os works. Bootstrap with -O2 on 4.3.1 works. Instrumented patch emits C code which can be used to test for incorrect VRP predictions. I ran such tests

  1   2   >