Re: GCC + libJIT instead of LLVM

2009-04-17 Thread Kirill Kononenko
Hello Everyone I wanted to let you know that if there is someone interested in working on the libJIT approach instead of using LLVM overkill under a Google Summer of Code code project and more general on this topic or as a diploma I am ready to mentor and help with this. Thanks, Kirill

Re: Snapshots of PPL 0.10.2 available for testing

2009-04-17 Thread Jack Howarth
On Thu, Apr 16, 2009 at 02:08:32PM +0200, Roberto Bagnara wrote: All the problems of PPL 0.10.1 we are aware of have been fixed in the snapshot of PPL 0.10.2 available at ftp://ftp.cs.unipr.it/pub/ppl/snapshots/ In particular here is what has changed: - Correctly detect GMP 4.3.0. -

Re: Snapshots of PPL 0.10.2 available for testing

2009-04-17 Thread Ryan Hill
On Thu, 16 Apr 2009 14:08:32 +0200 Roberto Bagnara bagn...@cs.unipr.it wrote: All the problems of PPL 0.10.1 we are aware of have been fixed in the snapshot of PPL 0.10.2 available at ftp://ftp.cs.unipr.it/pub/ppl/snapshots/ In particular here is what has changed: - Correctly

Re: Diagnostic Messaging Suggestion

2009-04-17 Thread Chris Lattner
On Apr 16, 2009, at 8:44 PM, Joe Buck wrote: On Thu, Apr 16, 2009 at 03:40:47PM -0700, Arthur Schwarz wrote: The rock has dropped. The answer is quoted below: My best guess is that a header file is included twice, and lacks guards, hence the message is correct: the function is being

Re: GCC 4.3.2 bug (was: Illegal subtraction in tmp-dive_1.s)

2009-04-17 Thread Gabriel Dos Reis
At least, let's get it archived on GCC mailing lists. On Fri, Apr 17, 2009 at 11:25 AM, Torbjorn Granlund t...@gmplib.org wrote: Vincent Lefevre vinc...@vinc17.org writes: FYI, here's a simple testcase: /* With GCC 4.3.2 and -O2 option: output value is 1 instead of 0. * If

Re: Diagnostic Messaging Suggestion

2009-04-17 Thread Tom Tromey
Joe == Joe Buck joe.b...@synopsys.com writes: Joe If, for definitions, the compiler keeps track of this detail, it Joe would be possible to reliably print Joe foo.h:11 error: redefinition of `a' (file was included more than once) Joe if the printable line number is the same but the internal line

Re: Diagnostic Messaging Suggestion

2009-04-17 Thread Daniel Jacobowitz
On Fri, Apr 17, 2009 at 11:58:48AM -0600, Tom Tromey wrote: Chris Clang just prints the include stack information when anything Chris in the include stack differs between two consecutive Chris diagnostics. We could easily do that too. FWIW, I think this would be quite useful. -- Daniel

Reserving a number of consecutive registers

2009-04-17 Thread fearyourself
Hi all, My target architecture has an load multiple instruction requiring a certain number of consecutive registers. I've been working on handling this case and trying to convince the local register allocator that he really does want to try to get those consecutive registers for the loads. But

GCC + libJIT + Domain Specific Languages Concept Integration

2009-04-17 Thread Kirill Kononenko
One of the many options is in using the Common Intermediate Language and .NET to store portable programs. Does this sound like a good idea to you? .NET has been design to be as much portable as possible. You should understand that it is not the best way of handling of other people work with a

Re: GCC + libJIT + Domain Specific Languages Concept Integration

2009-04-17 Thread Joe Buck
On Fri, Apr 17, 2009 at 12:10:27PM -0700, Kirill Kononenko wrote: One of the many options is in using the Common Intermediate Language and .NET to store portable programs. Does this sound like a good idea to you? To the extent that the effect is to create a portable binary format, I expect

Re: GCC + libJIT + Domain Specific Languages Concept Integration

2009-04-17 Thread Mark Mitchell
Joe Buck wrote: On Fri, Apr 17, 2009 at 12:10:27PM -0700, Kirill Kononenko wrote: One of the many options is in using the Common Intermediate Language and .NET to store portable programs. Does this sound like a good idea to you? To the extent that the effect is to create a portable binary

Re: GCC + libJIT + Domain Specific Languages Concept Integration

2009-04-17 Thread Joe Buck
On Fri, Apr 17, 2009 at 01:14:40PM -0700, Mark Mitchell wrote: Joe Buck wrote: On Fri, Apr 17, 2009 at 12:10:27PM -0700, Kirill Kononenko wrote: One of the many options is in using the Common Intermediate Language and .NET to store portable programs. Does this sound like a good idea to

'Obsolete' architectures in GCC 4.4

2009-04-17 Thread Paul Smedley
Hi Guys, I see the following in the changes for GCC 4.4: Support for a number of older systems and recently unmaintained or untested target ports of GCC has been declared obsolete in GCC 4.4. Unless there is activity to revive them, the next release of GCC will have their sources permanently

Re: 'Obsolete' architectures in GCC 4.4

2009-04-17 Thread Joseph S. Myers
On Fri, 17 Apr 2009, Paul Smedley wrote: * Generic a.out on IA32 and m68k (i[34567]86-*-aout*, m68k-*-aout*) For the record, the Generic a.out support for IA32 is used by my GCC 4.3.3 and upcoming GCC 4.4.x ports for OS/2. I don't yet have the patches in any form ready enough to be

[Bug ada/39793] New: gnatxref generates incomplete output for overloaded operator

2009-04-17 Thread david at midoan dot com
This bug report only concerns gnatxref not the gnat compiler. Given the following : package bug_op is type Vector is array (1 .. 1) of Integer; function (A, B : Vector) return Vector; end bug_op; with Ada.Integer_Text_Io; use Ada.Integer_Text_Io; package body bug_op is V : Vector; function

[Bug tree-optimization/39746] [4.5 Regression] Fail pr34513.c and pr34513.C at -O1 and above

2009-04-17 Thread rguenth at gcc dot gnu dot org
--- Comment #14 from rguenth at gcc dot gnu dot org 2009-04-17 08:26 --- Ah. I see what goes on then. The new logic assumes that GOMP_barrier does not change shrd (which is a local non-address-taken static variable in main, accessed from the OMP clone main.omp_fn.0). This is of

[Bug testsuite/39792] g++.dg/ext/complit11.C failed

2009-04-17 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2009-04-17 08:47 --- Subject: Bug 39792 Author: jakub Date: Fri Apr 17 08:46:52 2009 New Revision: 146223 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=146223 Log: PR testsuite/39792 * g++.dg/ext/complit11.C: Add

[Bug testsuite/39792] g++.dg/ext/complit11.C failed

2009-04-17 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2009-04-17 08:54 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED

[Bug middle-end/39794] New: Miscompile with -O2 -funroll-loops

2009-04-17 Thread abel at gcc dot gnu dot org
The following testcase aborts with -O2 -funroll-loops, but passes with plain -O2 for me on today's trunk. --cut here extern void abort(); void foo(int *a, int n) { int i; for (i = 0; i n; i++) { a[i] *= 2; a[i+1] = a[i-1] + a[i-2]; } } enum {N = 16}; int a[N]; int

[Bug libstdc++/38132] basic_string.tcc methods not declared inline

2009-04-17 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2009-04-17 10:12 --- Frankly, I don't think this is an issue. What we really want, is that all inline functions get inlined anyway, debug mode or not, and this is correctly happening, as far as I can see. Out of line functions are

[Bug libstdc++/38132] basic_string.tcc methods not declared inline

2009-04-17 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-04-17 09:23 --- We had this for a short time but then see 2009-02-24 Richard Guenther rguent...@suse.de PR c++/39242 * pt.c (instantiate_decl): Do not instantiate extern, non-inline declared functions.

[Bug c++/37949] static initialisation through pointer deferred until run time

2009-04-17 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-04-17 09:18 --- This would be inlining of static-initialization-and-destruction functions if they get optimized to return a constant initializer. It's not easy to do as they cannot be easily removed late in the compilation. Of

[Bug middle-end/39794] [4.4/4.5 Regression] Miscompile with -O2 -funroll-loops

2009-04-17 Thread amonakov at gcc dot gnu dot org
-- amonakov at gcc dot gnu dot org changed: What|Removed |Added Known to fail||4.4.0 4.5.0 Known to work||4.3.2

[Bug tree-optimization/39746] [4.5 Regression] Fail pr34513.c and pr34513.C at -O1 and above

2009-04-17 Thread rguenth at gcc dot gnu dot org
--- Comment #15 from rguenth at gcc dot gnu dot org 2009-04-17 10:29 --- Subject: Bug 39746 Author: rguenth Date: Fri Apr 17 10:29:26 2009 New Revision: 146240 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=146240 Log: 2009-04-17 Richard Guenther rguent...@suse.de PR

[Bug middle-end/39794] [4.4/4.5 Regression] Miscompile with -O2 -funroll-loops

2009-04-17 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39794

[Bug fortran/39795] New: Support round-to-zero in Fortran front-end

2009-04-17 Thread uweigand at gcc dot gnu dot org
On the SPU, all single-precision floating-point arithmetic always takes place in round-to-zero rounding mode. The Fortran front-end always assumes round-to-nearest mode. This causes a number of issues: - Both real-string and string-real transformations (e.g. printf, scanf) operate in

[Bug tree-optimization/39746] [4.5 Regression] Fail pr34513.c and pr34513.C at -O1 and above

2009-04-17 Thread rguenth at gcc dot gnu dot org
--- Comment #16 from rguenth at gcc dot gnu dot org 2009-04-17 10:29 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/14202] [arm] Thumb __builtin_setjmp not interworking safe

2009-04-17 Thread ramana at gcc dot gnu dot org
--- Comment #13 from ramana at gcc dot gnu dot org 2009-04-17 11:07 --- Created an attachment (id=17650) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17650action=view) Patch being tested Here is a rather hackish patch that I'm testing. It looks correct so far with the case of

[Bug middle-end/39794] [4.4/4.5 Regression] Miscompile with -O2 -funroll-loops

2009-04-17 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Priority|P5 |P3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39794

[Bug middle-end/39794] [4.4/4.5 Regression] Miscompile with -O2 -funroll-loops

2009-04-17 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-04-17 12:19 --- -fno-ivopts also fixes this. The unrolling happening on the RTL level for the loop in foo() somehow is broken. We end up with (gdb) p a $1 = {0, 1, 4, 2, 10, 12, 24, 44, 72, 18, 20, 22, 24, 26, 28, 50} (gdb) p

[Bug libstdc++/38132] basic_string.tcc methods not declared inline

2009-04-17 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-04-17 10:50 --- Thus, wontfix. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/39786] [4.3/4.4/4.5 Regression] Qualified name lookup through different numbers of using directives

2009-04-17 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-04-17 09:14 --- Confirmed. The code was accepted with 3.3.6 -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/38132] basic_string.tcc methods not declared inline

2009-04-17 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2009-04-17 10:27 --- Of course s/extern inline/extern template -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38132

[Bug ada/35953] Socket stream subprograms incorrectly handling null arrays

2009-04-17 Thread charlet at gcc dot gnu dot org
--- Comment #1 from charlet at gcc dot gnu dot org 2009-04-17 13:39 --- Subject: Bug 35953 Author: charlet Date: Fri Apr 17 13:39:10 2009 New Revision: 146267 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=146267 Log: 2009-04-17 Thomas Quinot qui...@adacore.com PR

[Bug ada/35953] Socket stream subprograms incorrectly handling null arrays

2009-04-17 Thread charlet at gcc dot gnu dot org
--- Comment #2 from charlet at gcc dot gnu dot org 2009-04-17 13:41 --- Fixed on trunk -- charlet at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/39796] New: cin/cout/cerr constructors should run at high priority when possible

2009-04-17 Thread ian at airs dot com
libstdc++ ensures that cin/cout/cerr are constructed before they are used, but the scheme fails when using constructor priorities. Constructors with a priority are run before constructors without a priority, which is the appropriate behaviour. However, this means that this program: #include

[Bug libstdc++/39796] cin/cout/cerr constructors should run at high priority when possible

2009-04-17 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2009-04-17 15:06 --- I see. I would be tempted to ask you to propose a fix at once, seems pretty simple, basically a bit of configury and very few lines of actual code. However, I wonder if we have something similar elsewhere, I

[Bug c++/39797] New: Segmentation fault g++

2009-04-17 Thread stephanemarcotte at 3d-p dot com
Version Info: Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls

[Bug c++/39797] Segmentation fault g++

2009-04-17 Thread stephanemarcotte at 3d-p dot com
--- Comment #1 from stephanemarcotte at 3d-p dot com 2009-04-17 15:27 --- Created an attachment (id=17651) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17651action=view) Source file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39797

[Bug c++/39797] Segmentation fault g++

2009-04-17 Thread stephanemarcotte at 3d-p dot com
--- Comment #2 from stephanemarcotte at 3d-p dot com 2009-04-17 15:27 --- Created an attachment (id=17652) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17652action=view) the .ii file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39797

[Bug c++/39797] Segmentation fault g++

2009-04-17 Thread stephanemarcotte at 3d-p dot com
--- Comment #3 from stephanemarcotte at 3d-p dot com 2009-04-17 15:38 --- Isolate to the method: Matrix::MatrixT,M,N operator*=( double f ) ... The template takes 2 args, but the above makes g++ crash. If I take out one parameter (e.g., MatrixT, M), then I get a compiler error as

[Bug c++/39797] Segmentation fault g++

2009-04-17 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2009-04-17 15:40 --- I can reproduce only with 4_2-branch (no longer maintained) and 4_3-branch. I can't with 4_4-branch and mainline. -- paolo dot carlini at oracle dot com changed: What|Removed

[Bug c++/39797] Segmentation fault g++

2009-04-17 Thread stephanemarcotte at 3d-p dot com
--- Comment #5 from stephanemarcotte at 3d-p dot com 2009-04-17 15:41 --- Also, if I remove the derivation from the MatrixBase abstract base class, the error disappears. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39797

[Bug c++/39797] Segmentation fault g++

2009-04-17 Thread stephanemarcotte at 3d-p dot com
--- Comment #6 from stephanemarcotte at 3d-p dot com 2009-04-17 15:45 --- the template also declares the methods M() and N(), when M, N are also template parameters. (The code snippet is obviously buggy.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39797

[Bug target/27263] armv5te-linux-gnueabi-gcc-4.1 fails to compile libquicktime-0.9.7-0.4/plugins/opendivx/encore50/text_code_mb.c

2009-04-17 Thread ramana at gcc dot gnu dot org
--- Comment #8 from ramana at gcc dot gnu dot org 2009-04-17 16:41 --- As per comment above appears fixed in all release branches today. -- ramana at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/39798] New: would like flag to disable constructors for built-in types

2009-04-17 Thread kraftche at cae dot wisc dot edu
In C++, the statement 'k = int()' will zero 'k'. This somewhat inconsistent behavior (e.g. initialize a struct with a default constructor is a no-op) is somewhat annoying because it results in all STL containers zeroing their contents. I've encountered a few rare cases where this resulted in a

[Bug regression/39799] New: missing 'may be used uninitialized' warning

2009-04-17 Thread alexvod at google dot com
The following code: inline int foo(int x) { return x; } static void bar(int a, int *ptr) { do { int b; if (b 40) { ptr[0] = b; } b += 1; ptr++; } while (--a != 0); } void foobar(int a, int *ptr) { bar(foo(a), ptr); } generates correct warning when

[Bug fortran/39800] New: Rejects PRIVATE TYPE as compont of local type declaration

2009-04-17 Thread burnus at gcc dot gnu dot org
Reported by Alexei Matveev at http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/ed70666b0c90b655 * * * The following does not make sense: MODULE m TYPE, PRIVATE :: type; ... CONTAINS SUBROUTINE foo() TYPE :: bar TYPE(type) :: x The last line is rejected with

[Bug c++/39797] Segmentation fault g++

2009-04-17 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2009-04-17 20:49 --- g++-4.3 -S t.C t.C:21: error: could not convert template argument ‘MatrixBase::M’ to ‘unsigned int’ t.C:21: error: could not convert template argument ‘MatrixBase::N’ to ‘unsigned int’ t.C: In member function ‘const

[Bug middle-end/39801] New: Builtins are assumed not to throw exceptions, even with -fnon-call-exceptions

2009-04-17 Thread mmitchel at gcc dot gnu dot org
Some builtin functions are marked as not throwing exceptions, even when -fnon-call-exceptions is in use. As a result, the compiler will assume these functions will not throw exceptions -- but they might. For example, the buitin va_arg might cause a SEGV, which would become an exception, if the

[Bug other/31567] cc1, cc1plus, etc. don't support @file mechanism

2009-04-17 Thread dnovillo at gcc dot gnu dot org
--- Comment #2 from dnovillo at gcc dot gnu dot org 2009-04-17 20:51 --- Proposed patch: http://gcc.gnu.org/ml/gcc-patches/2009-04/msg01379.html -- dnovillo at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/39799] [4.3/4.4/4.5 Regression] missing 'may be used uninitialized' warning

2009-04-17 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-04-17 20:55 --- This is because we zero-initialize uninitialized variables during inlining. Honza, do you remember why we do this? /* By inlining function having uninitialized variable, we might extend the

[Bug other/31567] cc1, cc1plus, etc. don't support @file mechanism

2009-04-17 Thread dnovillo at gcc dot gnu dot org
--- Comment #3 from dnovillo at gcc dot gnu dot org 2009-04-17 21:12 --- Subject: Bug 31567 Author: dnovillo Date: Fri Apr 17 21:11:46 2009 New Revision: 146292 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=146292 Log: PR 31567 * gcc.c (create_at_file): New.

[Bug other/31567] cc1, cc1plus, etc. don't support @file mechanism

2009-04-17 Thread dnovillo at gcc dot gnu dot org
--- Comment #4 from dnovillo at gcc dot gnu dot org 2009-04-17 21:13 --- Fixed. -- dnovillo at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/31567] cc1, cc1plus, etc. don't support @file mechanism

2009-04-17 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31567

[Bug c++/39778] Using DJGPP to compile CPP file and get failure

2009-04-17 Thread andris dot pavenis at iki dot fi
--- Comment #2 from andris dot pavenis at iki dot fi 2009-04-17 21:15 --- One needs additional information (like preprocessed source, used operating system etc.) to do anything with this bug report. See page http://gcc.gnu.org/bugs.html (already mentioned in GCC error message) for

[Bug middle-end/39794] [4.4/4.5 Regression] Miscompile with -O2 -funroll-loops

2009-04-17 Thread amonakov at gcc dot gnu dot org
--- Comment #2 from amonakov at gcc dot gnu dot org 2009-04-17 21:55 --- I attempted to investigate the miscompilation on the 4.4 branch. The problem seems to appear in dse2 pass. Basically, after encountering 313 dx:DI=ax:DI+0x4 187 {[di:DI+dx:DI]=[di:DI+dx:DI]0x1;clobber

[Bug middle-end/39794] [4.4/4.5 Regression] Miscompile with -O2 -funroll-loops

2009-04-17 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-04-17 22:06 --- Best to CC Zadeck on DSE problems. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/31243] truncating strings longer than 2**32 characters

2009-04-17 Thread jb at gcc dot gnu dot org
--- Comment #6 from jb at gcc dot gnu dot org 2009-04-17 22:13 --- I'm not sure how this could be fixed in a proper way without breaking the procedure call ABI. Gfortran follows pretty much every other Fortran compiler in providing character length as a hidden argument of type default

[Bug fortran/39667] I/O possibly unneccesary truncations

2009-04-17 Thread jb at gcc dot gnu dot org
--- Comment #1 from jb at gcc dot gnu dot org 2009-04-17 22:18 --- Confirmed, assigning to myself. -- jb at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/38627] SuperH libgcc.a lacks .note.GNU-stack markings in math funcs

2009-04-17 Thread kkojima at gcc dot gnu dot org
--- Comment #3 from kkojima at gcc dot gnu dot org 2009-04-17 22:20 --- Subject: Bug 38627 Author: kkojima Date: Fri Apr 17 22:20:40 2009 New Revision: 146297 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=146297 Log: PR target/38627 * config/sh/lib1funcs.asm

[Bug libstdc++/39802] New: std::num_get fails to pase negative zero input correctly

2009-04-17 Thread ritter at roguewave dot com
A call to std::num_get fails to parse negative values (specifically -0 in my example). /** Begin Test **/ #include cassert #include locale #include sstream int main () { unsigned long val = 1; std::stringbuf sb (-0); std::istream is (sb); std::ios_base::iostate err

[Bug c/39383] sizeof object with zero-length array ignores initializer

2009-04-17 Thread anmol at freescale dot com
--- Comment #10 from anmol at freescale dot com 2009-04-17 22:39 --- I am working on this problem and see that for generic ELF OS's, defining ASM_DECLARE_OBJECT_NAME (gcc/config/elfos.h) to use the size of the initializer (as against the size of the type) to emit the true size in the

[Bug fortran/31243] truncating strings longer than 2**32 characters

2009-04-17 Thread dominiq at lps dot ens dot fr
--- Comment #7 from dominiq at lps dot ens dot fr 2009-04-17 22:42 --- Compiling the code in comment #1 gives: [ibook-dhum] f90/bug% gfc42 pr31243.f90 pr31243.f90:12.15: print *, len(ch) 1 Error: Result of LEN overflows its kind at (1) It compiles with

[Bug c++/39803] New: Bogus 'unused value' warning on declarations of non-POD arrays

2009-04-17 Thread lcwu at gcc dot gnu dot org
When compiling the following program using the mainline GCC (4.5) with -Wunused flag, we get a bogus unused value warning on the array declaration: $ cat Wunused-14.C #include utility using std::pair; int foo() { pairint, const char* components[3]; components[0].first = 0; return 0; } $

[Bug c++/39803] Bogus 'unused value' warning on declarations of non-POD arrays

2009-04-17 Thread lcwu at gcc dot gnu dot org
--- Comment #1 from lcwu at gcc dot gnu dot org 2009-04-17 23:07 --- This bogus warning started to show up after the fix for PR c++/39551 was submitted (at revision 146132). And the root cause for the issue is that C++ front-end generates the following code to initialize the local

[Bug middle-end/39625] [4.5 Regression] Revision 145338 breaks ability to build Ada

2009-04-17 Thread rob1weld at aol dot com
/local/info --disable-stage1-checking --enable-checking=release --with-gmp=/usr/local --with-mpfr=/usr/local Thread model: posix gcc version 4.5.0 20090417 (experimental) [trunk revision 146277] (GCC) Thanks, Rob PS: The middle-end now permits the _build_ of gcc with the Language Ada selected

[Bug libstdc++/39802] std::num_get fails to parse negative zero input correctly

2009-04-17 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2009-04-18 01:17 --- Oops, apparently we never parsed correctly negative values for unsigned. The fix is simple. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug regression/35671] GCC 4.4.x vs. 4.2.x performance regression

2009-04-17 Thread t dot artem at mailcity dot com
--- Comment #4 from t dot artem at mailcity dot com 2009-04-18 01:44 --- Test configuration: Software: Linux kernel 2.6.28.9 x86, GCC 4.2.4, GCC 4.4.0 RC, http://www.rarlab.com/rar/unrarsrc-3.8.5.tar.gz Hardware: AMD64 Dual Core CPU 5600, 1MB x 2 level 2 cache RAM: DDR2 800MHz 4GB

[Bug regression/35671] GCC 4.4.x vs. 4.2.x performance regression

2009-04-17 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2009-04-18 02:24 --- (In reply to comment #4) Test configuration: Software: Linux kernel 2.6.28.9 x86, GCC 4.2.4, GCC 4.4.0 RC, http://www.rarlab.com/rar/unrarsrc-3.8.5.tar.gz Hardware: AMD64 Dual Core CPU 5600, 1MB x 2 level 2

[Bug libstdc++/39796] cin/cout/cerr constructors should run at high priority when possible

2009-04-17 Thread ian at airs dot com
--- Comment #2 from ian at airs dot com 2009-04-18 05:40 --- You are much more familiar with the library than I am. I don't know if this issue arises anywhere else. cin/cout/cerr is sort of an obvious case. It didn't really occur to me that there might be similar issues elsewhere.