[Bug target/37581] New: IEEE inexact-flag not working on the Alpha

2008-09-19 Thread bagnara at cs dot unipr dot it
The following shows a problem on the Alpha whereby the division 2/3 made on floats is flagged as exact. Here are the details: $ cat sf.cc #include #include int main() { float x = 2; float y = 3; feclearexcept(FE_INEXACT); x = x / y; printf("%d %.1000g\n", fetestexcept(FE_INEXACT) !=

[Bug target/37581] IEEE inexact-flag not working on the Alpha

2008-09-19 Thread bagnara at cs dot unipr dot it
--- Comment #1 from bagnara at cs dot unipr dot it 2008-09-19 07:04 --- Created an attachment (id=16359) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16359&action=view) Assembly code generated with g++ -S -mieee-with-inexact sf.cc -- http://gcc.gnu.org/bugzilla/show_bug.cgi?i

[Bug c++/37582] New: std::pow strange overload resolution

2008-09-19 Thread jarausch at igpm dot rwth-aachen dot de
gcc is complaining about an ambiguous overloading of operator&& in the statement (last non-trivial line) return std::pow(a,2.0); where no such operator appears. (I haven't seen a macro definition of 'pow' which pulls in '&&') If I replace the statement above by return ::pow(a,2.0); the e

[Bug c++/37582] std::pow strange overload resolution

2008-09-19 Thread jarausch at igpm dot rwth-aachen dot de
--- Comment #1 from jarausch at igpm dot rwth-aachen dot de 2008-09-19 07:33 --- Created an attachment (id=16360) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16360&action=view) preprocessed failing source code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37582

[Bug c++/37582] std::pow strange overload resolution

2008-09-19 Thread jarausch at igpm dot rwth-aachen dot de
--- Comment #2 from jarausch at igpm dot rwth-aachen dot de 2008-09-19 07:35 --- gcc -v -save-temps -c TEST3.C Using built-in specs. Target: i686-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/

[Bug fortran/37583] New: ICE "insert_bbt(): Duplicate key" for self-calling ENTRY subprogram

2008-09-19 Thread burnus at gcc dot gnu dot org
Reported by Arjen Markus. http://gcc.gnu.org/ml/fortran/2008-09/msg00327.html The following program causes an ICE ("insert_bbt(): Duplicate key found!") when compiled with gfortran 4.1 to 4.4. a) The unmodified program seems to be invalid as NAG f95 and ifort show: Error: ENTRY point GLOCAL is

[Bug rtl-optimization/37544] Conversion double -> unsigned long long -> unsigned -> double gives wrong results

2008-09-19 Thread uros at gcc dot gnu dot org
--- Comment #14 from uros at gcc dot gnu dot org 2008-09-19 08:02 --- Subject: Bug 37544 Author: uros Date: Fri Sep 19 08:01:07 2008 New Revision: 140484 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140484 Log: PR rtl-optimization/37544 * regrename.c (maybe_mod

[Bug fortran/37583] ICE "insert_bbt(): Duplicate key" for self-calling ENTRY subprogram

2008-09-19 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-09-19 08:18 --- Not only as actual argument also as direct procedure call, gfortran misses the recursive call to ENTRY: subroutine sub() return entry glocal() call glocal () ! << wrong: Recursive call end subroutine And a simpl

[Bug fortran/37580] invalid code accepted without notice

2008-09-19 Thread jpr at csc dot fi
--- Comment #1 from jpr at csc dot fi 2008-09-19 08:20 --- Small update: this bug is already present in 4.3.1. The 4.2.x series seems OK. Juha -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37580

[Bug middle-end/37567] tree SSA to normal checking takes abnormally long time

2008-09-19 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2008-09-19 08:36 --- Indeed ;) Honza, mention this PR in the changelog please. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

[Bug fortran/37583] ICE "insert_bbt(): Duplicate key" for self-calling ENTRY subprogram

2008-09-19 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2008-09-19 09:00 --- Hah! I never did like ENTRY in Modules:-( Changing the actual argument reference to 'glocal' to appear after the ENTRY, by use of a GOTO, allows the horror below to run correctly. Thus, in the reporter's version, th

[Bug ada/37572] compile Ada program fails (XML/Ada, 64 bit AMD)

2008-09-19 Thread sam at gcc dot gnu dot org
--- Comment #3 from sam at gcc dot gnu dot org 2008-09-19 09:05 --- Could you try a more recent GCC version and check whether the bug is still present or not? It compiles fine with GCC 4.3.1 on x86_64/Debian GNU/Linux. -- sam at gcc dot gnu dot org changed: What|Remov

[Bug fortran/37580] invalid code accepted without notice

2008-09-19 Thread jpr at csc dot fi
--- Comment #2 from jpr at csc dot fi 2008-09-19 09:25 --- This invalid peace of code gives an ICE: program test integer, pointer :: a(:),b(:) a(1) => b(1) end program test gfortran -c test.f90 test.f90: In function 'test': test.f90:3: internal compiler error: in gimplify_expr, at

[Bug c++/37582] [4.3 Regression] std::pow strange overload resolution

2008-09-19 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-09-19 09:34 --- Shorter testcase: #include class super_real { public: super_real (double); }; bool operator&& (int i, const super_real& a); double square(double a) { return std::pow(a,2.0); } -- rguenth at gcc dot g

[Bug rtl-optimization/37544] Conversion double -> unsigned long long -> unsigned -> double gives wrong results

2008-09-19 Thread uros at gcc dot gnu dot org
--- Comment #15 from uros at gcc dot gnu dot org 2008-09-19 10:06 --- Subject: Bug 37544 Author: uros Date: Fri Sep 19 10:04:46 2008 New Revision: 140487 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140487 Log: PR rtl-optimization/37544 * regrename.c (maybe_mod

[Bug fortran/37580] [4.3/4.4 Regression] Accepts "pointer(:) => target" without lower bound

2008-09-19 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2008-09-19 10:12 --- program test real, pointer :: a(:), b(:) a(:) => b(:) end program test That program is invalid. R735 pointer-assignment-stmt is data-pointer-object [ (bounds-spec-list) ] => data-target or data-poi

[Bug rtl-optimization/37544] [4.4 Regression] Conversion double -> unsigned long long -> unsigned -> double gives wrong results

2008-09-19 Thread ubizjak at gmail dot com
--- Comment #16 from ubizjak at gmail dot com 2008-09-19 11:11 --- Fixed everywhere. -- ubizjak at gmail dot com changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/37584] New: -ftree-ch causes stack corruption on mingw32

2008-09-19 Thread sherpya at netfarm dot it
Unfortunately there is no simple testcase for this, but compiling mplayer I get a lot of crashes related to stack corruption i.e. a function allocates in the stack 8 bytes and later gdb says that it cannot access to a byte that instead is bound I've tested with --stack-size on the linker but

[Bug libstdc++/37470] parallel/base.h log2 conflicts with math.h

2008-09-19 Thread singler at gcc dot gnu dot org
--- Comment #4 from singler at gcc dot gnu dot org 2008-09-19 11:38 --- Subject: Bug 37470 Author: singler Date: Fri Sep 19 11:37:16 2008 New Revision: 140490 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140490 Log: 2008-09-19 Johannes Singler <[EMAIL PROTECTED]> PR

[Bug libstdc++/37470] parallel/base.h log2 conflicts with math.h

2008-09-19 Thread singler at gcc dot gnu dot org
--- Comment #5 from singler at gcc dot gnu dot org 2008-09-19 11:44 --- Fixed. -- singler at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/37576] [4.4 Regression] -v --help ICEs

2008-09-19 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 c++/14912] Do not print default template arguments in error messages

2008-09-19 Thread b0ntrict0r at yandex dot ru
--- Comment #37 from b0ntrict0r at yandex dot ru 2008-09-19 12:22 --- Created an attachment (id=16361) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16361&action=view) Updated patch Could someone test updated patch? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14912

[Bug ada/37585] New: ACATS c650001 fails to link at -O1 because of undefined references

2008-09-19 Thread laurent at guerby dot net
On trunk at Thu Sep 18 22:45:12 UTC 2008 (revision 140476) $ gnatchop ../trunk/gcc/testsuite/ada/acats/support/rep* $ gnatchop ../trunk/gcc/testsuite/ada/acats/tests/c6/c650001.a $ gnatmake -gnat95 -f -O1 c650001.adb ... gnatlink c650001.ali ./c650001.o: In function `_ada_c650001': c650001.adb:(.

[Bug c++/33799] Return value's destructor not executed when a local variable's destructor throws

2008-09-19 Thread bitti at iki dot fi
--- Comment #4 from bitti at iki dot fi 2008-09-19 12:12 --- (In reply to comment #3) > Similar to Bug 15764. I ran again into this bug in gcc 4.3.2. Any idea when there's time to fix it? Matti Rintala -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799

[Bug ada/37572] compile Ada program fails (XML/Ada, 64 bit AMD)

2008-09-19 Thread jdecs at mssblue dot net
--- Comment #4 from jdecs at mssblue dot net 2008-09-19 13:03 --- (In reply to comment #3) > Could you try a more recent GCC version I can try. The last time I tried to find updates to GCC, GIT, and GNAT, there were dependency problems on 64 bit systems. I have also been in touch with T

[Bug ada/37585] [4.4 regression] undefined references at -O for ACATS c650001

2008-09-19 Thread ebotcazou at gcc dot gnu dot org
--- Comment #1 from ebotcazou at gcc dot gnu dot org 2008-09-19 13:17 --- It's a fallout of the recent changes to the inlining machinery. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/36796] Support c++ override keyword

2008-09-19 Thread b0ntrict0r at yandex dot ru
--- Comment #1 from b0ntrict0r at yandex dot ru 2008-09-19 13:18 --- (In reply to comment #0) This keyword seems to be Microsoft specific, right? -- b0ntrict0r at yandex dot ru changed: What|Removed |Added --

[Bug ada/37585] [4.4 regression] undefined references at -O for ACATS c650001

2008-09-19 Thread ebotcazou at gcc dot gnu dot org
--- Comment #2 from ebotcazou at gcc dot gnu dot org 2008-09-19 13:18 --- Looking into it. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added Assig

[Bug middle-end/37567] tree SSA to normal checking takes abnormally long time

2008-09-19 Thread amacleod at redhat dot com
--- Comment #9 from amacleod at redhat dot com 2008-09-19 13:27 --- Created an attachment (id=16362) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16362&action=view) patch to fix the bug Looking a little closer, Im going to change Honza's patch a little. Since the checks are no lo

[Bug fortran/37583] ICE "insert_bbt(): Duplicate key" for self-calling ENTRY subprogram

2008-09-19 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2008-09-19 13:33 --- Created an attachment (id=16363) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16363&action=view) Fix for both aspects of PR The bit in decl.c fixes the duplicate key business and that in resolve.c flags up the

[Bug tree-optimization/37574] [4.4 Regression] ICE with the vectorizer and GC

2008-09-19 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2008-09-19 13:58 --- The problem is const_vector_from_tree called on: unit size align 32 symtab 0 alias set -1 canonical type 0x7332d540 precision 32 min max pointer_to_this > V4SI

[Bug tree-optimization/37574] [4.4 Regression] ICE with the vectorizer and GC

2008-09-19 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2008-09-19 14:12 --- vect_get_vec_def_for_operand has: tree vectype = STMT_VINFO_VECTYPE (stmt_vinfo); int nunits = TYPE_VECTOR_SUBPARTS (vectype); ... /* Case 1: operand is a constant. */ case vect_constant_def: ... f

[Bug ada/37543] Assembler error during compilation

2008-09-19 Thread anhvofrcaus at gmail dot com
--- Comment #3 from anhvofrcaus at gmail dot com 2008-09-19 14:23 --- On the second attempt to build gcc-4.4-20080912 using the latest binutils along with gmp-4.2.2 and mpfr-2.3.2, this problem goes away. In summary, GNAT works fines now. Additional note: c, ada, and c++ languages are b

[Bug libgomp/37586] New: OpenMP thinks that I have 1 processor on an 8 processor pc

2008-09-19 Thread rrpeter at sandia dot gov
Hi, I have tried various OpenMP examples on the web and got them all to work fine. When I tried to parallelize some software that is part of a larger project, I have had a problem; OpenMP reports only one processor available and so I get only 1 thread. More details follow. I am running on an dual

[Bug libgomp/37586] OpenMP thinks that I have 1 processor on an 8 processor pc

2008-09-19 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-09-19 14:43 --- "I tried setting the environment variable OMP_NUM_THREADS to 2 and got 2 threads, but only one processor was running the job." this suggests your operating system is limiting your job to one CPU. -- rguenth at g

[Bug tree-optimization/36343] [4.3 Regression] Wrong code due to bad TBAA pruning of points-to-sets and use in call clobbering

2008-09-19 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2008-09-19 15:05 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/36343] [4.3 Regression] Wrong code due to bad TBAA pruning of points-to-sets and use in call clobbering

2008-09-19 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2008-09-19 15:06 --- Subject: Bug 36343 Author: rguenth Date: Fri Sep 19 15:04:36 2008 New Revision: 140492 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140492 Log: 2008-09-19 Richard Guenther <[EMAIL PROTECTED]>

[Bug middle-end/37587] New: ICE when use graphite

2008-09-19 Thread linuxl4 at sohu dot com
gfortran -v GNU Fortran (GCC) 4.4.0 20080919 (experimental) [~/tmp]$gfortran test.f90 -floop-block -O2 test.f90: In function 'main': test.f90:1: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.

[Bug ada/37543] Assembler error during compilation

2008-09-19 Thread anhvofrcaus at gmail dot com
--- Comment #4 from anhvofrcaus at gmail dot com 2008-09-19 15:24 --- /home/voax/linux/build-4.4.0/./prev-gcc/xgcc -B/home/voax/linux/build-4.4.0/./prev-gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -c -g -O2 -fomit-frame-pointer -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmiss

[Bug target/37571] [4.4 regression] Performance regression due to compare/branch fuse optimization

2008-09-19 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2008-09-19 16:00 --- This regression is caused by compare/branch fuse optimization. Gcc 4.3 is OK. Turn it off fixes it. -- hjl dot tools at gmail dot com changed: What|Removed |Added -

[Bug tree-optimization/37568] [4.4 regression] ICE returning a struct

2008-09-19 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2008-09-19 16:01 --- Caused by http://gcc.gnu.org/viewcvs?view=rev&revision=140415 C++ FE has a weird habit of sticking error_mark_node in DECL_INITIAL, in this case in finalize_nrv_r: if (DECL_INITIAL (dp->var) && DECL_INI

[Bug fortran/37588] New: GENERIC type-bound procedure is not resolved

2008-09-19 Thread sfilippone at uniroma2 dot it
read model: posix gcc version 4.4.0 20080919 (experimental) (GCC) COLLECT_GCC_OPTIONS='-v' '-c' '-mtune=generic' /usr/local/gnutest/libexec/gcc/i686-pc-linux-gnu/4.4.0/f951 gen-type-bound.f03 -quiet -dumpbase gen-type-bound.f03 -mtune=generic -auxbase gen-type-bound -ver

[Bug fortran/37588] GENERIC type-bound procedure is not resolved

2008-09-19 Thread sfilippone at uniroma2 dot it
--- Comment #1 from sfilippone at uniroma2 dot it 2008-09-19 16:39 --- Created an attachment (id=16364) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16364&action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37588

[Bug testsuite/37589] New: FAIL: objc.dg/stubify-(1|2).m (test for excess errors)

2008-09-19 Thread dominiq at lps dot ens dot fr
The following failures FAIL: objc.dg/stubify-1.m (test for excess errors) ERROR: objc.dg/stubify-1.m: error executing dg-final: couldn't open "stubify-1.s": no such file or directory FAIL: objc.dg/stubify-2.m (test for excess errors) FAIL: objc.dg/stubify-2.m scan-rtl-dump-not jump "symbol_ref.*"o

[Bug libgomp/37586] OpenMP thinks that I have 1 processor on an 8 processor pc

2008-09-19 Thread rrpeter at sandia dot gov
--- Comment #2 from rrpeter at sandia dot gov 2008-09-19 16:59 --- Subject: Re: OpenMP thinks that I have 1 processor on an 8 processor pc rguenth at gcc dot gnu dot org wrote: > --- Comment #1 from rguenth at gcc dot gnu dot org 2008-09-19 14:43 > --- > "I tried setting the

[Bug tree-optimization/37573] [4.4 Regression] gcc-4.4 regression: incorrect code generation with -O1 -ftree-vectorize

2008-09-19 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2008-09-19 17:02 --- Self-contained testcase, which will work even for non-ascii compatible exec-charset: /* PR tree-optimization/37573 */ struct S { unsigned int *a; unsigned int b; unsigned int c[624]; }; static unsigned char __

[Bug debug/28064] .debug_str is used only when optimizing

2008-09-19 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2008-09-19 17:37 --- FWIW -- on trunk, debug_str is controlled by -fmerge-debug-strings, which is enabled by default (on supporting platforms). -- tromey at gcc dot gnu dot org changed: What|Removed

[Bug middle-end/37567] tree SSA to normal checking takes abnormally long time

2008-09-19 Thread amacleod at gcc dot gnu dot org
--- Comment #10 from amacleod at redhat dot com 2008-09-19 17:38 --- Subject: Bug 37567 Author: amacleod Date: Fri Sep 19 17:37:13 2008 New Revision: 140494 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140494 Log: PR middle-end/37567 * tree-ssa-ter.c (free_tem

[Bug debug/20403] dwarf-3: DW_MACINFO_define - wrong lineno fields for predefined macros

2008-09-19 Thread tromey at gcc dot gnu dot org
--- Comment #3 from tromey at gcc dot gnu dot org 2008-09-19 17:42 --- I'm closing this. It is fixed on mainline and is not apparently a regression. -- tromey at gcc dot gnu dot org changed: What|Removed |Added -

[Bug tree-optimization/37573] [4.4 Regression] gcc-4.4 regression: incorrect code generation with -O1 -ftree-vectorize

2008-09-19 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2008-09-19 17:52 --- The data dependence on the previous loop is clearly not considered, the loop is vectorized as if c on the rhs and c on the lhs were different non-overlapping arrays. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=

[Bug c++/37590] New: g++ should emit different debug info for variable's type

2008-09-19 Thread tromey at gcc dot gnu dot org
Consider this code: #include std::string s; I compiled this with -g and examined the resulting dwarf. 's' is represented as: <1><24e8>: Abbrev Number: 63 (DW_TAG_variable) <24e9> DW_AT_name: s <24eb> DW_AT_decl_file : 1 <24ec> DW_AT_decl_line : 3

[Bug target/37571] [4.4 regression] Performance regression due to compare/branch fuse optimization

2008-09-19 Thread hjl dot tools at gmail dot com
--- Comment #4 from hjl dot tools at gmail dot com 2008-09-19 18:03 --- (In reply to comment #1) > Root cause is that instruction length of fused jcc is set to 16, which prevent > the block from merging and copying. For some reason Core2 runs poorly with a > unmerged branch block under c

Re: [Bug c++/37590] New: g++ should emit different debug info for variable's type

2008-09-19 Thread Andrew Thomas Pinski
Sent from my iPhone On Sep 19, 2008, at 10:58 AM, "tromey at gcc dot gnu dot org" <[EMAIL PROTECTED] > wrote: Consider this code: #include std::string s; I compiled this with -g and examined the resulting dwarf. 's' is represented as: <1><24e8>: Abbrev Number: 63 (DW_TAG_variable) <24e

[Bug c++/37590] g++ should emit different debug info for variable's type

2008-09-19 Thread pinskia at gmail dot com
--- Comment #1 from pinskia at gmail dot com 2008-09-19 18:11 --- Subject: Re: New: g++ should emit different debug info for variable's type Sent from my iPhone On Sep 19, 2008, at 10:58 AM, "tromey at gcc dot gnu dot org" <[EMAIL PROTECTED] > wrote: > Consider this code: > > #i

[Bug c/37591] New: suppress "signed and unsigned" warnings when signed value known to be positive

2008-09-19 Thread zackw at panix dot com
In a case such as this, GCC ought to be able to prove that the signed variable is positive and therefore suppress "signed and unsigned" warnings. I see this in both C and C++. #define MAX(a,b) ((a) > (b) ? (a) : (b)) #define MIN(a,b) ((a) < (b) ? (a) : (b)) unsigned int constrain(unsigned int in

[Bug tree-optimization/37568] [4.4 regression] ICE returning a struct

2008-09-19 Thread jason at redhat dot com
--- Comment #2 from jason at redhat dot com 2008-09-19 18:14 --- Subject: Re: [4.4 regression] ICE returning a struct jakub at gcc dot gnu dot org wrote: > IMHO either we relax the checking, allowing DECL_INITIAL to be error_mark_node > even for !TREE_STATIC, or finalize_nrv_r would n

[Bug testsuite/37561] [4.4 Regression] Revision 140405 caused g++.old-deja/g++.mike/warn1.C

2008-09-19 Thread janis at gcc dot gnu dot org
--- Comment #5 from janis at gcc dot gnu dot org 2008-09-19 18:24 --- The operand of a postincrement and friends must be a modifiable lvalue. The type check code for both C and C++ calls get_unwidened, which removes the cast when it's a different size but leaves the cast when it's the s

[Bug objc/7098] ObjC front end doesn't understand attributes on method parameters

2008-09-19 Thread dominiq at lps dot ens dot fr
--- Comment #7 from dominiq at lps dot ens dot fr 2008-09-19 18:32 --- Although I know this is not the right way to fix pr34310 I have done the following change to /usr/include/objc/Protocol.h: --- /usr/include/objc/Protocol.h-orig 2008-09-19 17:16:42.0 +0200 +++ /usr/include/

[Bug fortran/37577] Change internal array descriptor format for better syntax, C interop TR, rank 15

2008-09-19 Thread tkoenig at gcc dot gnu dot org
-- tkoenig at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfi

[Bug c++/37590] g++ should emit different debug info for variable's type

2008-09-19 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2008-09-19 18:59 --- Consider this code: #include std::string zardoz1; using std::string; string zardoz2; In this case, IMO, 'whatis' should print 'std::string' for zardoz1, but just 'string' for zardoz2. This is simply not possible

[Bug c++/37592] New: compiler gives up optimizing even on 64bit systems

2008-09-19 Thread peter_foelsche at agilent dot com
When compiling certain complex calculation files I'm getting the message: /a/new/scs/glow/d2/pfoelsch/build/opt/linux_x86_64-o/gglib/../../../source_opt/gglib/hicum222/NLM.cpp: In member function 'void NLM_hicumshxpm::CModel::calcDer(NLM_hicumshxpm*, double*, CDer<13u, double, const double, CDerHe

[Bug fortran/37588] GENERIC type-bound procedure is not resolved

2008-09-19 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2008-09-19 20:07 --- I believe the program is valid [modulo the CLASS/TYPE issue]. (NAG f95 by the way give an odd error message and crashes than with a segfault.) -- burnus at gcc dot gnu dot org changed: What|Remove

[Bug fortran/37588] GENERIC type-bound procedure is not resolved

2008-09-19 Thread domob at gcc dot gnu dot org
--- Comment #3 from domob at gcc dot gnu dot org 2008-09-19 20:17 --- I'll take this on as it is about GENERIC type-bound procedures. -- domob at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/37592] compiler gives up optimizing even on 64bit systems (GCSE disabled, jump bypassing disabled)

2008-09-19 Thread peter_foelsche at agilent dot com
--- Comment #1 from peter_foelsche at agilent dot com 2008-09-19 20:39 --- sorry -- I did discover the matching option to increase memory. -- peter_foelsche at agilent dot com changed: What|Removed |Added --

[Bug c++/37592] compiler gives up optimizing even on 64bit systems (GCSE disabled, jump bypassing disabled)

2008-09-19 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-09-19 20:41 --- Also it is not just about memory but also compile time. GCSE (PRE) is O(BBs * Regs). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37592

[Bug c/37593] New: -mlong-calls doesn't affect calls to _mcount generated with -pg

2008-09-19 Thread ralf at linux-mips dot org
$ cat c.c void blurb(void) { } $ mips-linux-gcc -O2 -S -fno-pic -mno-abicalls c.c $ cat c.s .file 1 "c.c" .section .mdebug.abi32 .previous .gnu_attribute 4, 1 .text .align 2 .globl blurb .entblurb .type blurb, @func

[Bug testsuite/37589] FAIL: objc.dg/stubify-(1|2).m (test for excess errors)

2008-09-19 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-09-19 20:53 --- *** This bug has been marked as a duplicate of 25763 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug testsuite/25763] objc.dg/stubify-*.m, and obj-c++.dg/stubify-*.mm fail on i686-darwin

2008-09-19 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-09-19 20:53 --- *** Bug 37589 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c/37591] suppress "signed and unsigned" warnings when signed value known to be positive

2008-09-19 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-09-19 20:55 --- I think this needs to delay the warning until VRP time really but I don't see how that can be done really. Also the front-end does known that adj will only be positive, the middle-end only knows during VRP really.

[Bug target/37584] -ftree-ch causes stack corruption on mingw32

2008-09-19 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-09-19 21:03 --- We really need a testcase. And I really doubt -ftree-ch is causing any issues, there must be a latent bug in the back-end. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug c/37591] suppress "signed and unsigned" warnings when signed value known to be positive

2008-09-19 Thread zackw at panix dot com
--- Comment #2 from zackw at panix dot com 2008-09-19 21:28 --- I'd be fine with it being like uninitialized value warnings. The false positives here are *really* annoying. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37591

[Bug c/33787] remove globals from c-format.c

2008-09-19 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2008-09-19 21:38 --- FWIW -- I think this patch turned out to have some GC-related bug. And, I don't think I need this for the incremental branch either, any more. So, I'm just dropping it and closing this. If someone else wants to clean

[Bug libgomp/37586] OpenMP thinks that I have 1 processor on an 8 processor pc

2008-09-19 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2008-09-19 21:45 --- As already said in the openmp.org forum, omp_get_num_procs () will only return smaller number than the number of system CPUs online, if GOMP_CPU_AFFINITY env var is used, or if the calling process and/or thread has CPU

[Bug libgomp/37586] OpenMP thinks that I have 1 processor on an 8 processor pc

2008-09-19 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37586

[Bug libgomp/37586] OpenMP thinks that I have 1 processor on an 8 processor pc

2008-09-19 Thread rrpeter at sandia dot gov
--- Comment #4 from rrpeter at sandia dot gov 2008-09-19 22:01 --- Subject: Re: OpenMP thinks that I have 1 processor on an 8 processor pc jakub at gcc dot gnu dot org wrote: > --- Comment #3 from jakub at gcc dot gnu dot org 2008-09-19 21:45 --- > As already said in the open

[Bug tree-optimization/37449] [4.4 Regression] calculix gets wrong answer for -O1 -ffast-math

2008-09-19 Thread janis at gcc dot gnu dot org
--- Comment #6 from janis at gcc dot gnu dot org 2008-09-19 22:19 --- Created an attachment (id=16365) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16365&action=view) minimized C testcase I don't yet understand what's going on but was able to come up with a relatively small execu

[Bug tree-optimization/30930] [4.3 Regression] vector can cause to create an extra variable, DECL_GIMPLE_REG_P not recomputed

2008-09-19 Thread pinskia at gcc dot gnu dot org
--- Comment #13 from pinskia at gcc dot gnu dot org 2008-09-19 22:24 --- Fixed on the trunk. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Known to

[Bug tree-optimization/30930] [4.3 Regression] vector can cause to create an extra variable, DECL_GIMPLE_REG_P not recomputed

2008-09-19 Thread pinskia at gcc dot gnu dot org
--- Comment #14 from pinskia at gcc dot gnu dot org 2008-09-19 22:25 --- Subject: Bug 30930 Author: pinskia Date: Fri Sep 19 22:24:06 2008 New Revision: 140501 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140501 Log: 2008-09-19 Andrew Pinski <[EMAIL PROTECTED]> PR

[Bug c++/37594] New: Assembler reports wrong symbol already defined

2008-09-19 Thread chris+gcc at qwirx dot com
Using this test code: // #define _FILE_OFFSET_BITS 64 // #include // #include // extern "C" int __REDIRECT (open, (__const char *__file, int __oflag, ...), open64) // __nonnull ((1)); extern "C" int open (__const char *__file, int __oflag, ...) __asm__ ("open64"); extern "C" int open(cons

[Bug c++/37594] Assembler reports wrong symbol already defined

2008-09-19 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-09-19 22:42 --- open64 in this case is defined twice in the assembly. You said that open is open64 via: extern "C" int open (__const char *__file, int __oflag, ...) __asm__ ("open64"); -- pinskia at gcc dot gnu dot org changed:

[Bug target/37381] [4.4 Regression] ICE in ia64_speculate_insn, at config/ia64/ia64.c:6902

2008-09-19 Thread sje at cup dot hp dot com
--- Comment #6 from sje at cup dot hp dot com 2008-09-19 23:01 --- I am not sure what I would be reviewing. Alexander, do you want me to review the patch from comment #4 as a fix for this bug or is there another patch you would like to propose to bring the ia64 sel-sched changes over.

[Bug c/37595] New: funcs.c:323: internal compiler error: Segmentation fault

2008-09-19 Thread giamby at infinito dot it
I got this ICE when compiling rpm 5.1.4. Detailed gcc output: gcc -v -save-temps -DHAVE_CONFIG_H -I. -I.. -I../.. -DMAGIC=\"/Programs/RPM/5.1.4/lib/rpm/magic\" -DHAVE_LIBZ=1 -O3 -pipe -mcpu=cell -maltivec -mabi=altivec -fomit-frame-pointer -MT funcs.lo -MD -MP -MF .deps/funcs.Tpo -c funcs.c -fPIC

[Bug middle-end/37535] [4.4 Regression] gcc/libgcc2.c:404: internal compiler error: Floating point exception

2008-09-19 Thread vmakarov at gcc dot gnu dot org
--- Comment #9 from vmakarov at gcc dot gnu dot org 2008-09-19 23:24 --- Subject: Bug 37535 Author: vmakarov Date: Fri Sep 19 23:23:34 2008 New Revision: 140504 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140504 Log: 2008-09-19 Vladimir Makarov <[EMAIL PROTECTED]>

[Bug c/37595] funcs.c:323: internal compiler error: Segmentation fault

2008-09-19 Thread giamby at infinito dot it
--- Comment #1 from giamby at infinito dot it 2008-09-19 23:26 --- Created an attachment (id=16366) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16366&action=view) .i preprocessed file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37595

[Bug tree-optimization/37449] [4.4 Regression] calculix gets wrong answer for -O1 -ffast-math

2008-09-19 Thread janis at gcc dot gnu dot org
--- Comment #7 from janis at gcc dot gnu dot org 2008-09-20 00:26 --- Sigh. My nifty small C testcase doesn't fail with current mainline. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37449

[Bug c++/37596] New: g++ randomly does or doesn't require .template

2008-09-19 Thread jason at gcc dot gnu dot org
In this testcase: template struct A { template void f(); template void g(); }; template struct B { A a; template void f(); void h() { a.f(); a.g(); } }; we currently accept the call to a.f, but reject the call to a.g. It seems that we're doing unqualified lookup tha

[Bug target/37593] -mlong-calls doesn't affect calls to _mcount generated with -pg

2008-09-19 Thread daney at gcc dot gnu dot org
--- Comment #1 from daney at gcc dot gnu dot org 2008-09-20 00:38 --- This may be an ABI issue, but since -mlong-calls -mno-abicalls doesn't seem to have a very rigorous ABI definition, we probably have some latitude with respect to implementing this. foo.c: -- extern int a;

[Bug c++/37596] g++ randomly does or doesn't require .template

2008-09-19 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-09-20 00:41 --- I think this is a duplicate of bug 11814. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37596

[Bug c++/20308] parser thinks something is a start of a template-id when it is just less than

2008-09-19 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2008-09-20 02:56 --- *** This bug has been marked as a duplicate of 10200 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/10200] Weird clash with same names in different scopes

2008-09-19 Thread pinskia at gcc dot gnu dot org
--- Comment #14 from pinskia at gcc dot gnu dot org 2008-09-20 02:56 --- *** Bug 20308 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/37596] g++ randomly does or doesn't require .template

2008-09-19 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-09-20 02:57 --- Also PR 10200 which shows a rejects valid testcase. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37596

[Bug other/37515] [meta-bug] GCC 4.5 pending patches

2008-09-19 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfi

[Bug c++/37533] ICE with parallel for loop

2008-09-19 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-09-20 03:06 --- Well this is an accepts invalid code since it "compiles" at -O0 when it should not. The ICE is during scev analysis. -- pinskia at gcc dot gnu dot org changed: What|Removed |A

[Bug c++/37561] [4.4 Regression] Revision 140405 caused g++.old-deja/g++.mike/warn1.C

2008-09-19 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2008-09-20 03:09 --- This is a bug in the front-end ... -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/37571] [4.4 regression] Performance regression due to compare/branch fuse optimization

2008-09-19 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Keywords||missed-optimization Target Milestone|--- |4

[Bug fortran/37580] [4.3/4.4 Regression] Accepts "pointer(:) => target" without lower bound

2008-09-19 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 tree-optimization/37579] [4.4 Regression] Vectorizer is causing code bloat and worse performance than unrolling would for a loop in SPEC 2k's eon

2008-09-19 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-09-20 03:12 --- This is a regression as 4.3 enables the vectorizer at -O3. This is just one example of where tuning is still needed for the vectorizer. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug tree-optimization/37539] [4.4 Regression] Hang for -O3

2008-09-19 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Keywords||compile-time-hog Summary|Hang for -O3|[4.4

[Bug tree-optimization/37579] [4.3/4.4 Regression] Vectorizer is causing code bloat and worse performance than unrolling would for a loop in SPEC 2k's eon

2008-09-19 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.4 Regression] Vectorizer |[4.3/4.4 Regression] |is causing code bloat and |

[Bug fortran/37566] gfortran segfaults

2008-09-19 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|critical|normal Status|UNCONFIRMED |WAITING

  1   2   >