[Bug fortran/32962] b = conjg(transpose(a)) is erroneous if b is an allocatable array

2007-08-13 Thread pault at gcc dot gnu dot org
--- Comment #13 from pault at gcc dot gnu dot org 2007-08-13 06:16 --- Subject: Bug 32962 Author: pault Date: Mon Aug 13 06:16:03 2007 New Revision: 127391 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=127391 Log: 2007-08-13 Paul Thomas [EMAIL PROTECTED] PR

[Bug fortran/32962] b = conjg(transpose(a)) is erroneous if b is an allocatable array

2007-08-13 Thread pault at gcc dot gnu dot org
--- Comment #14 from pault at gcc dot gnu dot org 2007-08-13 06:18 --- Fixed on trunk Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug regression/32582] Bootstrap with vectorization enabled fails with ICE on PPC

2007-08-13 Thread victork at il dot ibm dot com
--- Comment #25 from victork at il dot ibm dot com 2007-08-13 06:42 --- Yesterday, I've tried to check if mainline passes boostrap with vectorization enabled on ppc32 using latest mainline. Since I don't have the access to ppc32 machine, I've tried to imitate in on ppc64 using the

[Bug fortran/33058] New: gfortran compiling and LD_LIBRARY_PATH

2007-08-13 Thread yucj at ghi dot rwth-aachen dot de
When I tried to compile gcc-4.2.1 on Linux to creat the gfortran compiler, it was failed. ../../Workshop/gfortran/gcc-4.2.1/configure --prefix=/home/yucj/installs/gfortran4.2.1 --enable-languages=fortran --with-gmp=/home/yucj/installs/gmp4.2.1 --with-mpfr=/home/yucj/installs/mpfr2.2.1 The error

[Bug fortran/33058] gfortran compiling and LD_LIBRARY_PATH

2007-08-13 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2007-08-13 10:25 --- As the error message you quote says: the most common reason for that is that you might have linked it to shared GMP and/or MPFR libraries, and not set LD_LIBRARY_PATH accordingly. If you suspect any other

[Bug c++/33059] New: offsetof calculation not constant in compile time (?)

2007-08-13 Thread kare at modlab dot se
When moving from gcc3.3.3 to gcc4.1.0 the compiler is no longer capable of calculate value of the offsetof macro expansion. Please find below a bare minimum of 7 lines of code that compiles fine with gcc3.3.3 and fails on gcc4.1.0 and gcc4.2.1. 1. The program compiled: --- foo.cc struct

[Bug c++/33059] offsetof calculation not constant in compile time (?)

2007-08-13 Thread schwab at suse dot de
--- Comment #1 from schwab at suse dot de 2007-08-13 11:13 --- The only valid definition of offsetof is in stddef.h. -- schwab at suse dot de changed: What|Removed |Added

[Bug regression/32582] Bootstrap with vectorization enabled fails with ICE on PPC

2007-08-13 Thread rakdver at kam dot mff dot cuni dot cz
--- Comment #26 from rakdver at kam dot mff dot cuni dot cz 2007-08-13 11:31 --- Subject: Re: Bootstrap with vectorization enabled fails with ICE on PPC Yesterday, I've tried to check if mainline passes boostrap with vectorization enabled on ppc32 using latest mainline. Since I

[Bug middle-end/30610] huge memory consumption with -O3

2007-08-13 Thread dberlin at gcc dot gnu dot org
--- Comment #4 from dberlin at gcc dot gnu dot org 2007-08-13 12:06 --- It takes 2 iterations, but it has come up with 144 thousand expressions -- dberlin at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/33060] New: std::tr1::tgamma produces wrong results [for (x-1) in stead of for x]

2007-08-13 Thread fpbeekhof at gmail dot com
The implementation of std::tr1::tgamma looks wrong to me. Keep in mind that the gamma function is equal to the factorial function for integer values. The code blow prints 4 columns: 1) a number, 2) its factorial, computed by hand 3) output using a corrected version of Numerical Recipes in C's

[Bug fortran/33058] gfortran compiling and LD_LIBRARY_PATH

2007-08-13 Thread yucj at ghi dot rwth-aachen dot de
--- Comment #2 from yucj at ghi dot rwth-aachen dot de 2007-08-13 12:53 --- It was solved as your instruction. Thank you. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33058

[Bug regression/32582] Bootstrap with vectorization enabled fails with ICE on PPC

2007-08-13 Thread dje at watson dot ibm dot com
--- Comment #28 from dje at watson dot ibm dot com 2007-08-13 15:17 --- Subject: Re: Bootstrap with vectorization enabled fails with ICE on PPC Most everyone else bootstraps GCC on PPC64 with --with-cpu=default32. Are you missing some packages on SUSE? This really isn't a

[Bug c++/33061] New: Static variable typed the member type of another class

2007-08-13 Thread kag at graf dot slask dot pl
// this c++ code failes to compile under every gcc/g++ version I know... #includemap templateclass T class foo { private: static std::maplong, std::pairT, long data; static long long lastId; public: foo () { refValid = false; } foo (const T v) { lastId++; ref

[Bug regression/32582] Bootstrap with vectorization enabled fails with ICE on PPC

2007-08-13 Thread victork at il dot ibm dot com
--- Comment #27 from victork at il dot ibm dot com 2007-08-13 15:09 --- this is the problem we discussed in this thread before; for now, add -mabi=altivec to BOOT_CFLAGS to workaround it. yes, this helped. Still I see a failure in cofigure before stage3 starts: checking for

[Bug fortran/33062] New: ICE in emit_move_insn and expand_call with -fdefault-integer-8

2007-08-13 Thread michael dot a dot richmond at nasa dot gov
gfortran produces an internal compiler error under the following conditions: 1. A logical function is being evaluated 2. The flag -f-default-integer-8 is specified 3. The August 10 snapshot versions of gcc and gfortran are compiled under HP-PA. I have not tested this snapshot with other

[Bug c++/32992] [4.1/4.2/4.3 Regression] Incorrect code generated for anonymous union and return

2007-08-13 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org

[Bug fortran/33062] ICE in emit_move_insn and expand_call with -fdefault-integer-8

2007-08-13 Thread michael dot a dot richmond at nasa dot gov
--- Comment #1 from michael dot a dot richmond at nasa dot gov 2007-08-13 16:36 --- This bug does not exist in the i386 version of gfortran -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33062

[Bug libstdc++/33060] std::tr1::tgamma produces wrong results [for (x-1) in stead of for x]

2007-08-13 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2007-08-13 16:51 --- First comment: std::tr1::tgamma just forwards to __builtin_tgamma, therefore, *if* we have an issue is with the middle-end, not with the library. Stay tuned. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33060

[Bug libstdc++/33060] std::tr1::tgamma produces wrong results [for (x-1) in stead of for x]

2007-08-13 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2007-08-13 17:00 --- (In reply to comment #0) The implementation of std::tr1::tgamma looks wrong to me. Keep in mind that the gamma function is equal to the factorial function for integer values. Now I see: this statement is incorrect,

[Bug fortran/32926] ICE with external function as argument

2007-08-13 Thread pault at gcc dot gnu dot org
--- Comment #5 from pault at gcc dot gnu dot org 2007-08-13 17:15 --- I am just about to submit the fix. Thanks for the report. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/33003] missed diagnostic about unused variable.

2007-08-13 Thread pluto at agmk dot net
--- Comment #2 from pluto at agmk dot net 2007-08-13 17:36 --- $[9.4/2] -- pluto at agmk dot net changed: What|Removed |Added Status|UNCONFIRMED

[Bug target/32787] [4.2/4.3 Regression] Sun Studio 12 Undefined symbol addl

2007-08-13 Thread kjetilho at ifi dot uio dot no
--- Comment #7 from kjetilho at ifi dot uio dot no 2007-08-13 17:53 --- I suggest the patch is made simpler, so that Sun Studio 11 (which doesn't understand asm at all) can be used for bootstrapping, e.g.: -#ifdef GCC_VERSION +#if defined(GCC_VERSION) !defined(__SUNPRO_C) --

[Bug regression/32582] Bootstrap with vectorization enabled fails with ICE on PPC

2007-08-13 Thread rakdver at kam dot mff dot cuni dot cz
--- Comment #29 from rakdver at kam dot mff dot cuni dot cz 2007-08-13 18:04 --- Subject: Re: Bootstrap with vectorization enabled fails with ICE on PPC --- Comment #27 from victork at il dot ibm dot com 2007-08-13 15:09 --- this is the problem we discussed in this

[Bug regression/32582] Bootstrap with vectorization enabled fails with ICE on PPC

2007-08-13 Thread rakdver at gcc dot gnu dot org
--- Comment #30 from rakdver at gcc dot gnu dot org 2007-08-13 18:06 --- (In reply to comment #28) Subject: Re: Bootstrap with vectorization enabled fails with ICE on PPC Most everyone else bootstraps GCC on PPC64 with --with-cpu=default32. Are you missing some packages

[Bug target/31713] Illegal subtraction - symbols from different sections with Solaris as

2007-08-13 Thread kjetilho at ifi dot uio dot no
--- Comment #2 from kjetilho at ifi dot uio dot no 2007-08-13 18:14 --- It doesn't seem like this patch made it into 4.2.1, at least I can't find any mention of HAVE_AS_IX86_DIFF_SECT_DELTA in the sources, and the build fails the same way. Please reopen bug. (BTW, would it be possible

[Bug target/31713] Illegal subtraction - symbols from different sections with Solaris as

2007-08-13 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-08-13 18:20 --- [andrew-pinskis-computer:local/gcc/gcc] apinski% grep HAVE_AS_IX86_DIFF_SECT_DELTA config/*/* config/i386/sol2-10.h:#ifndef HAVE_AS_IX86_DIFF_SECT_DELTA http://gcc.gnu.org/ml/gcc-cvs/2006-11/msg00056.html That is

[Bug c++/33061] Static variable typed the member type of another class

2007-08-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-08-13 18:28 --- You forgot the typename keyword: // g++ fails here: std::maplong, std::pairT, long ::iterator ref; Should be: // g++ fails here: typename std::maplong, std::pairT, long ::iterator ref; After changing that,

[Bug middle-end/31979] ICE compiling openssl-0.9.8e/apps/ocsp.c

2007-08-13 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2007-08-13 18:52 --- One should note that this is undefined code anyways and most likely will not work once compiled with this version of GCC. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31979

[Bug c++/27211] Bogus error template definition of non-template when there is no non-template

2007-08-13 Thread pcarlini at suse dot de
--- Comment #6 from pcarlini at suse dot de 2007-08-13 19:04 --- Working on it. -- pcarlini at suse dot de changed: What|Removed |Added AssignedTo|unassigned at

[Bug preprocessor/33063] New: C++ preprocessor warns about /* in //-comments starting with //*

2007-08-13 Thread trick at icculus dot org
As a minimal example, take the following 3-line file: --- 8 --- /* //* */ --- 8 --- Preprocessing this file with -Wall (using either g++ or cpp directly) results in the warning '/* within comment'. This only happens if the surrounding /* */ pair is present. (I discovered this in some code

[Bug preprocessor/33063] C++ preprocessor warns about /* in //-comments starting with //*

2007-08-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-08-13 19:12 --- And I don't see why it is wrong to warn here because it is /* still as // is really two tokens and so is /* . -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33063

[Bug preprocessor/33063] C++ preprocessor warns about /* in //-comments starting with //*

2007-08-13 Thread trick at icculus dot org
--- Comment #2 from trick at icculus dot org 2007-08-13 20:03 --- (In reply to comment #1) And I don't see why it is wrong to warn here because it is /* still as // is really two tokens and so is /* . Shouldn't //* be treated as '//' followed by '*' though? Even if not: // /* this

[Bug c/30427] ~ vector float is accepted

2007-08-13 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-08-13 20:06 --- Subject: Bug 30427 Author: pinskia Date: Mon Aug 13 20:06:15 2007 New Revision: 127396 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=127396 Log: 2007-08-13 Andrew Pinski [EMAIL PROTECTED] PR

[Bug c/30427] ~ vector float is accepted

2007-08-13 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-08-13 20:07 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c/30428] vector float | vector float is accepted

2007-08-13 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-08-13 20:17 --- I am testing these patches right now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30428

[Bug debug/32990] [Regression] gdb has symbol table issues

2007-08-13 Thread drow at gcc dot gnu dot org
--- Comment #6 from drow at gcc dot gnu dot org 2007-08-13 20:29 --- Sorry, my mistake. I meant readelf -wi (lowercase I). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32990

[Bug fortran/32827] IMPORT fails for TYPE when also used in INTERFACE

2007-08-13 Thread pault at gcc dot gnu dot org
--- Comment #4 from pault at gcc dot gnu dot org 2007-08-13 20:58 --- Subject: Bug 32827 Author: pault Date: Mon Aug 13 20:58:00 2007 New Revision: 127397 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=127397 Log: 2007-08-13 Paul Thomas [EMAIL PROTECTED] PR

[Bug fortran/32926] ICE with external function as argument

2007-08-13 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2007-08-13 21:02 --- Subject: Bug 32926 Author: pault Date: Mon Aug 13 21:02:00 2007 New Revision: 127398 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=127398 Log: 2007-08-13 Paul Thomas [EMAIL PROTECTED] PR

[Bug fortran/32926] ICE with external function as argument

2007-08-13 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2007-08-13 21:03 --- Fixed on trunk Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/32827] IMPORT fails for TYPE when also used in INTERFACE

2007-08-13 Thread pault at gcc dot gnu dot org
--- Comment #5 from pault at gcc dot gnu dot org 2007-08-13 21:04 --- Fixed on trunk Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32827

[Bug fortran/32827] IMPORT fails for TYPE when also used in INTERFACE

2007-08-13 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2007-08-13 21:08 --- Mark really as fixed. -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug debug/32990] [Regression] gdb has symbol table issues

2007-08-13 Thread scovich at gmail dot com
--- Comment #7 from scovich at gmail dot com 2007-08-13 21:10 --- (In reply to comment #6) Sorry, my mistake. I meant readelf -wi (lowercase I). Unfortunately, I recompiled with 4.1 to get on with debugging, and also updated to 20070810 later that day. Now the bug won't cooperate

[Bug c/32953] -Wformat warns incorrectly on an unterminated format string of length 1

2007-08-13 Thread dsh at gcc dot gnu dot org
--- Comment #1 from dsh at gcc dot gnu dot org 2007-08-13 21:55 --- Subject: Bug 32953 Author: dsh Date: Mon Aug 13 21:55:01 2007 New Revision: 127399 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=127399 Log: gcc/ 2007-08-3 1 Dan Hipschman [EMAIL PROTECTED] PR 32953

[Bug c/32953] -Wformat warns incorrectly on an unterminated format string of length 1

2007-08-13 Thread dsh at gcc dot gnu dot org
--- Comment #2 from dsh at gcc dot gnu dot org 2007-08-13 22:09 --- Fixed. -- dsh at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED

[Bug fortran/32926] ICE with external function as argument

2007-08-13 Thread patchapp at dberlin dot org
--- Comment #8 from patchapp at dberlin dot org 2007-08-13 23:00 --- Subject: Bug number PR32926 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-08/msg00823.html --

[Bug fortran/32594] substring simplification leads to ICE

2007-08-13 Thread fxcoudert at gcc dot gnu dot org
--- Comment #6 from fxcoudert at gcc dot gnu dot org 2007-08-13 23:48 --- A complete patch (for both original problem and a few other ones discovered while preparing the testcase) was submitted here: http://gcc.gnu.org/ml/gcc-patches/2007-08/msg00834.html -- fxcoudert at gcc dot

[Bug fortran/32594] substring simplification leads to ICE

2007-08-13 Thread patchapp at dberlin dot org
--- Comment #7 from patchapp at dberlin dot org 2007-08-13 23:50 --- Subject: Bug number PR32594 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-08/msg00834.html --

[Bug middle-end/32758] [4.3 Regression] ecj1 hangs

2007-08-13 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug target/32787] [4.2/4.3 Regression] Sun Studio 12 Undefined symbol addl

2007-08-13 Thread markwright at internode dot on dot net
--- Comment #8 from markwright at internode dot on dot net 2007-08-14 02:54 --- Created an attachment (id=14056) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14056action=view) Patch to address comment #7. Thanks for the suggestion. I think it should use the assembler when

[Bug libfortran/33055] ignoring iostat= with -fdefault-integer-8

2007-08-13 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2007-08-14 05:25 --- This makes some sense: The following reduced case works fine with -fdefault-integer-8 with iostat given and gives an error without it. I could argue that this is OK. I have not dug into the standard on this,

[Bug regression/32582] Bootstrap with vectorization enabled fails with ICE on PPC

2007-08-13 Thread victork at il dot ibm dot com
--- Comment #31 from victork at il dot ibm dot com 2007-08-14 05:53 --- Most everyone else bootstraps GCC on PPC64 with --with-cpu=default32. Are you missing some packages on SUSE? This really isn't a GCC bug any more, it is some problem with the way that you are