[Bug target/32389] [4.1/4.2 Regression] ICE in extract_constrain_insn_cached when using -msse

2007-06-21 Thread uros at gcc dot gnu dot org
--- Comment #4 from uros at gcc dot gnu dot org 2007-06-21 07:06 --- Subject: Bug 32389 Author: uros Date: Thu Jun 21 07:06:29 2007 New Revision: 125911 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125911 Log: PR target/32389 * config/i386/i386.h (enum ix86_sta

[Bug target/32389] [4.1/4.2 Regression] ICE in extract_constrain_insn_cached when using -msse

2007-06-21 Thread uros at gcc dot gnu dot org
--- Comment #5 from uros at gcc dot gnu dot org 2007-06-21 07:13 --- Subject: Bug 32389 Author: uros Date: Thu Jun 21 07:13:16 2007 New Revision: 125912 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125912 Log: PR target/32389 * config/i386/i386.h (enum ix86_sta

[Bug target/32389] [4.1/4.2 Regression] ICE in extract_constrain_insn_cached when using -msse

2007-06-21 Thread ubizjak at gmail dot com
--- Comment #6 from ubizjak at gmail dot com 2007-06-21 07:14 --- Fixed on branches. -- ubizjak at gmail dot com changed: What|Removed |Added Status|ASSIGNED

[Bug c/32449] New: declaring �strcmp()� as an extern function with inclusion of �string.h� is causing compilation error

2007-06-21 Thread suma dot sharma at kpitcummins dot com
Hi, I have successfully built SH4-Linux toolchain based on (binutils-2.17, gcc-4.2-20061205, glibc-2.5) for Renesas SH target. I am facing problems while compiling the following testcase- -- TESTCASE #include #include extern int s

[Bug middle-end/20623] ICE: fold check: original tree changed by fold with --enable-checking=fold

2007-06-21 Thread rguenther at suse dot de
--- Comment #20 from rguenther at suse dot de 2007-06-21 07:59 --- Subject: Re: ICE: fold check: original tree changed by fold with --enable-checking=fold On Thu, 20 Jun 2007, spop at gcc dot gnu dot org wrote: > > > --- Comment #17 from spop at gcc dot gnu dot org 2007-06-20

[Bug middle-end/20623] ICE: fold check: original tree changed by fold with --enable-checking=fold

2007-06-21 Thread rguenther at suse dot de
--- Comment #21 from rguenther at suse dot de 2007-06-21 08:01 --- Subject: Re: ICE: fold check: original tree changed by fold with --enable-checking=fold On Thu, 20 Jun 2007, spop at gcc dot gnu dot org wrote: > > > --- Comment #18 from spop at gcc dot gnu dot org 2007-06-20

[Bug c/32447] without-decimal-float needed

2007-06-21 Thread malitzke at metronets dot com
--- Comment #1 from malitzke at metronets dot com 2007-06-21 08:08 --- Disclosure: I am not an IBM hater and never was. My first significant program ran on an IBM 1410 with a Tape Operating System (TOS) on the day President Kennedy was assassinated. I then used an IBM 1620 II extensivel

[Bug middle-end/20623] ICE: fold check: original tree changed by fold with --enable-checking=fold

2007-06-21 Thread richard dot guenther at gmail dot com
--- Comment #22 from richard dot guenther at gmail dot com 2007-06-21 08:16 --- Subject: Re: ICE: fold check: original tree changed by fold with --enable-checking=fold On 6/21/07, Sebastian Pop <[EMAIL PROTECTED]> wrote: > Hi, here is the final fix for the remaining cases, closing thi

[Bug middle-end/20623] ICE: fold check: original tree changed by fold with --enable-checking=fold

2007-06-21 Thread spop at gcc dot gnu dot org
--- Comment #23 from spop at gcc dot gnu dot org 2007-06-21 08:21 --- Subject: Re: ICE: fold check: original tree changed by fold with --enable-checking=fold On 6/21/07, Richard Guenther <[EMAIL PROTECTED]> wrote: > > The fold_binary change looks unnecessary. ok. > The rest is ok. >

[Bug c/32449] declaring �strcmp()� as an extern function with inclusion of �string.h� is causing compilation error

2007-06-21 Thread schwab at suse dot de
--- Comment #1 from schwab at suse dot de 2007-06-21 08:45 --- may define strcmp as a macro. This has nothing to do with the compiler. -- schwab at suse dot de changed: What|Removed |Added -

[Bug middle-end/20623] ICE: fold check: original tree changed by fold with --enable-checking=fold

2007-06-21 Thread rguenther at suse dot de
--- Comment #24 from rguenther at suse dot de 2007-06-21 08:48 --- Subject: Re: ICE: fold check: original tree changed by fold with --enable-checking=fold On Thu, 21 Jun 2007, spop at gcc dot gnu dot org wrote: > > > --- Comment #23 from spop at gcc dot gnu dot org 2007-06-21

[Bug c/32448] [3.3 / 3.4 / 4.1 / 4.2 / 4.3 Regression] abs / printf bug

2007-06-21 Thread rob1weld at aol dot com
--- Comment #3 from rob1weld at aol dot com 2007-06-21 08:49 --- GCC printed no warning about disliking a conversion. I hacked the program in accordance with your suggestion and now it prints: n= 4 QUESTION1=+0.123 QUESTION2=+0.123 Q(n)=+0.000 n= 5 QUESTION1=+0.099 QUESTION3=+0.0

[Bug rtl-optimization/32296] [4.3 Regression] Bootstrap failure in stage1 on hppa*-*-*

2007-06-21 Thread tbm at cyrius dot com
--- Comment #20 from tbm at cyrius dot com 2007-06-21 08:53 --- It's interesting that you mention problems with va_list and prologues because I have such problems on IA64 too since the df merge. I've no idea if they're related but maybe you want to check them out: Error: .prologue with

[Bug target/32441] ICE in expand_expr_real_1, at expr.c:7109

2007-06-21 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-06-21 08:58 --- Patch which fixes this bug: Index: builtins.c === --- builtins.c (revision 125776) +++ builtins.c (working copy) @@ -4649,7 +4649,18 @@ std_expand_bu

[Bug debug/32444] missing debug information for structure components with optimized code

2007-06-21 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-06-21 09:01 --- First temp is SRA'd so the debugging info should be correct unless tracking is wrong. Second iv-opts is messing up the debuging info for i by creating a new variable. I think this is a feature we would like to supp

[Bug middle-end/32450] New: -pg seemingly causes miscompilation

2007-06-21 Thread jv244 at cam dot ac dot uk
CP2K (see PR 29975) compiles fine with current trunk using '-O3 -ffast-math -ftree-vectorize -march=native -funroll-loops' but the code stops with a bogus error message using '-O3 -ffast-math -ftree-vectorize -march=native -funroll-loops -pg' to reproduce see comment 112 in PR 29975 to obtain

[Bug debug/32444] missing debug information for structure components with optimized code

2007-06-21 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2007-06-21 09:03 --- Actually SRA should be ok, because we do keep tracking them on the tree level. Daniel Berlin added this code. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32444

[Bug fortran/29975] [meta-bugs] ICEs with CP2K

2007-06-21 Thread jv244 at cam dot ac dot uk
--- Comment #115 from jv244 at cam dot ac dot uk 2007-06-21 09:05 --- trying to investigate the culprit of the slowdown mentioned in comment 112 I found out that adding -pg to the compile flags leads to a miscompiled code. I've filed PR 32450 to track the issue -- http://gcc.gnu.org

[Bug c/32448] [3.3 / 3.4 / 4.1 / 4.2 / 4.3 Regression] abs / printf bug

2007-06-21 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-06-21 09:06 --- abs converts the float/double to an integer type so this is not a bug. If you use 4.3, you can use -Wconversion. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32448

[Bug target/32450] -pg seemingly causes miscompilation

2007-06-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-21 09:07 --- Most likely -pg is changing the alignment of the stack which is incorrect. Oh -pg code is emitted by the target specific code so this is a target issue. -- pinskia at gcc dot gnu dot org changed: Wha

[Bug middle-end/32447] without-decimal-float needed

2007-06-21 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-06-21 09:11 --- You are misrepresenting the problem again. So the issue is that the size of cc1/cc1plus is increased with the decimal float back-end support. Now Disabling this support in general is a hard problem. I would dare y

[Bug fortran/32391] Wrong code with optimization on i686-pc-linux-gnu

2007-06-21 Thread sunjoong at gmail dot com
--- Comment #22 from sunjoong at gmail dot com 2007-06-21 09:14 --- I checked VOLATILE statement passing in gfortran 4.3 . Unfortunately I had failed to buid gfortran (and gcc) 4.3 in my i686, I only checked that passing with ia64 binary on another ia64 machine. (There is no gfortran 4

[Bug target/30599] long double declaration rounds to double instead

2007-06-21 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2007-06-21 09:15 --- But again, even if sqrtl is not part of the library, this is not a GCC issue. We provide builtins for faster usage and not to get around libc not including the function. -- pinskia at gcc dot gnu dot org changed

[Bug target/32437] [4.3 Regression] MIPS: FAIL in gcc.dg/cleanup-[8|9|10|11].c

2007-06-21 Thread daney at gcc dot gnu dot org
--- Comment #1 from daney at gcc dot gnu dot org 2007-06-21 09:15 --- Created an attachment (id=13754) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13754&action=view) Proposed patch. This is a problem with __builtin_eh_return(). At -O0 the new return address is being stored in t

[Bug target/32437] [4.3 Regression] MIPS: FAIL in gcc.dg/cleanup-[8|9|10|11].c

2007-06-21 Thread rsandifo at gcc dot gnu dot org
--- Comment #2 from rsandifo at gcc dot gnu dot org 2007-06-21 09:30 --- Does the pattern get deleted, or moved somewhere inappropriate? If the former, does that mean that (unspec)s aren't allowed in top-level patterns any more? Other backends besides MIPS seem to use this construct.

[Bug tree-optimization/32451] New: [4.3 Regression] ICE in verify_flow_info after DOM2

2007-06-21 Thread rguenth at gcc dot gnu dot org
./cc1plus -quiet -O3 1.2.ii -fdump-tree-all-details 1.2.ii: In function 'void test1()': 1.2.ii:104: error: true/false edge after a non-COND_EXPR in bb 15 1.2.ii:104: internal compiler error: verify_flow_info failed Please submit a full bug report, with preprocessed source if appropriate. See http:/

[Bug tree-optimization/32451] [4.3 Regression] ICE in verify_flow_info after DOM2

2007-06-21 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-06-21 09:48 --- Created an attachment (id=13755) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13755&action=view) testcase testcase reduced from libstdc++-v3/testsuite/25_algorithms/equal/1.cc -- http://gcc.gnu.org/bugzi

[Bug tree-optimization/32451] [4.3 Regression] ICE in verify_flow_info after DOM2

2007-06-21 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32451

[Bug middle-end/20623] ICE: fold check: original tree changed by fold with --enable-checking=fold

2007-06-21 Thread richard dot guenther at gmail dot com
--- Comment #25 from richard dot guenther at gmail dot com 2007-06-21 10:07 --- Subject: Re: ICE: fold check: original tree changed by fold with --enable-checking=fold On 6/21/07, Sebastian Pop <[EMAIL PROTECTED]> wrote > On 6/21/07, Richard Guenther <[EMAIL PROTECTED]> wrote: > > > >

[Bug tree-optimization/25737] ACATS c974001 c974013 hang with struct aliasing

2007-06-21 Thread ebotcazou at gcc dot gnu dot org
--- Comment #43 from ebotcazou at gcc dot gnu dot org 2007-06-21 10:11 --- Subject: Bug 25737 Author: ebotcazou Date: Thu Jun 21 10:11:19 2007 New Revision: 125915 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125915 Log: PR tree-optimization/25737 * misc.c (gn

[Bug tree-optimization/25737] ACATS c974001 c974013 hang with struct aliasing

2007-06-21 Thread ebotcazou at gcc dot gnu dot org
--- Comment #44 from ebotcazou at gcc dot gnu dot org 2007-06-21 10:13 --- Works on mainline. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/32450] -pg seemingly causes miscompilation

2007-06-21 Thread jv244 at cam dot ac dot uk
--- Comment #2 from jv244 at cam dot ac dot uk 2007-06-21 10:16 --- (In reply to comment #1) > Most likely -pg is changing the alignment of the stack which is incorrect. Oh > -pg code is emitted by the target specific code so this is a target issue. > Is there an easy way for me to ch

[Bug tree-optimization/32451] [4.3 Regression] ICE in verify_flow_info after DOM2

2007-06-21 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-06-21 10:19 --- Can be triggered with -O2 as well, with --param max-aliased-vops=1000 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32451

[Bug tree-optimization/32451] [4.3 Regression] ICE in verify_flow_info after DOM2

2007-06-21 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-06-21 10:26 --- Zdenek, I suppose this is caused by your loop-preserving for DOM. Note this may be jump threading related: Threaded jump 9 --> 15 to 27 (gdb) call debug_bb_n (15) ;; basic block 15, loop depth 1, count 0 ;; prev

[Bug tree-optimization/32451] [4.3 Regression] ICE in verify_flow_info after DOM2

2007-06-21 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2007-06-21 10:38 --- The problem is introduced by tree-ssa-threadupdate.c:thread_single_edge where we have the single_pred_p case but fail to clear the edge flags as we do for example in DOMs propagate_rhs_into_lhs. So the following see

[Bug tree-optimization/32451] [4.3 Regression] ICE in verify_flow_info after DOM2

2007-06-21 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2007-06-21 10:42 --- Looks like so, the other caller in tree-ssa-threadupdate.c does so. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32451

[Bug tree-optimization/32451] [4.3 Regression] ICE in verify_flow_info after DOM2

2007-06-21 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2007-06-21 10:44 --- Mine. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned

[Bug tree-optimization/32435] ICE in build2_stat for -O2 -ftree-vectorize -maltivec

2007-06-21 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-06-21 10:57 --- I bet this is the same as PR32421. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/32439] f951: out of memory with '-O1 -fbounds-check'

2007-06-21 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-06-21 10:58 --- Can you run the compile inside gdb and check periodically where it wastes its time? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32439

[Bug target/32441] ICE in expand_expr_real_1, at expr.c:7109

2007-06-21 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2007-06-21 11:00 --- You shouldn't introduce calls to langhooks. Why not use mode_for_size? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32441

[Bug ada/32452] New: Incorrect type debugging information for variables in other compilation units

2007-06-21 Thread ludovic at ludovic-brenta dot org
(Debian bug #429934, forwarding upstream) Package: gnat-4.1 Version: 4.1.1-22 Severity: normal Tags: confirmed, upstream In the test case below, GCC emits correct type information for Debugging.A but the type information for External.B is incorrect. package External is type External_Type is a

[Bug middle-end/31541] [4.3 Regression] cannot take address of bit field

2007-06-21 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2007-06-21 11:19 --- Ping? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug ada/32452] [4.0/4.1 Regression] Incorrect type debugging information for variables in other compilation units

2007-06-21 Thread ludovic at ludovic-brenta dot org
--- Comment #1 from ludovic at ludovic-brenta dot org 2007-06-21 11:24 --- Forgot to add the output of gcc -v: $ gcc-4.1 -v Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-

[Bug tree-optimization/32453] New: [4.3 Regression] ICE in build2_stat, at tree.c:3074 (extract_range_from_assert)

2007-06-21 Thread rguenth at gcc dot gnu dot org
#0 fancy_abort (file=0xe96e48 "/space/rguenther/src/svn/trunk/gcc/tree.c", line=3074, function=0xe9825f "build2_stat") at /space/rguenther/src/svn/trunk/gcc/diagnostic.c:656 #1 0x00a3bb1a in build2_stat (code=PLUS_EXPR, tt=0x2ad09f6def00, arg0=0x2ad09fb625c0, arg1=0x2ad09fb1

[Bug tree-optimization/32453] [4.3 Regression] ICE in build2_stat, at tree.c:3074 (extract_range_from_assert)

2007-06-21 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-06-21 11:26 --- Created an attachment (id=13756) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13756&action=view) testcase testcase from glibc, build with -O2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32453

[Bug tree-optimization/32453] [4.3 Regression] ICE in build2_stat, at tree.c:3074 (extract_range_from_assert)

2007-06-21 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug c/32448] [3.3 / 3.4 / 4.1 / 4.2 / 4.3 Regression] abs / printf bug

2007-06-21 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2007-06-21 11:27 --- (In reply to comment #3) > GCC printed no warning about disliking a conversion. It just happens that gcc is not like microwave oven that has to include warnings about not drying animals in it. > Sometimes the answer is _

[Bug c/32448] [3.3 / 3.4 / 4.1 / 4.2 / 4.3 Regression] abs / printf bug

2007-06-21 Thread rob1weld at aol dot com
--- Comment #6 from rob1weld at aol dot com 2007-06-21 11:30 --- Thanks for everyones input. The only issues related to this 'bug' are: 1): printf _sometimes_ prints "-0.000" and sometimes prints "+0.000" - the reason it is even showing the "+" or "-" is because I enabled them using "

[Bug tree-optimization/32453] [4.3 Regression] ICE in build2_stat, at tree.c:3074 (extract_range_from_assert)

2007-06-21 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-06-21 11:38 --- I have a patch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|

[Bug tree-optimization/32451] [4.3 Regression] ICE in verify_flow_info after DOM2

2007-06-21 Thread rguenth at gcc dot gnu dot org
L PROTECTED]> PR tree-optimization/32451 * tree-ssa-threadupdate.c (thread_single_edge): Fixup edge flags. * g++.dg/torture/20070621-1.C: New testcase. Added: trunk/gcc/testsuite/g++.dg/torture/20070621-1.C Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog

[Bug middle-end/32362] ICE: in lookup_decl_in_outer_ctx, at omp-low.c:1508

2007-06-21 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2007-06-21 12:11 --- Subject: Bug 32362 Author: jakub Date: Thu Jun 21 12:11:00 2007 New Revision: 125917 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125917 Log: PR middle-end/32362 * omp-low.c (lookup_decl_in_o

[Bug middle-end/32362] ICE: in lookup_decl_in_outer_ctx, at omp-low.c:1508

2007-06-21 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2007-06-21 12:16 --- Subject: Bug 32362 Author: jakub Date: Thu Jun 21 12:15:53 2007 New Revision: 125918 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125918 Log: PR middle-end/32362 * omp-low.c (lookup_decl_in_o

[Bug tree-optimization/31866] [4.3 Regression] ICE with tree check error: expected ssa_name, have var_decl in create_outofssa_var_map

2007-06-21 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2007-06-21 12:21 --- Subject: Bug 31866 Author: jakub Date: Thu Jun 21 12:20:42 2007 New Revision: 125919 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125919 Log: PR tree-optimization/31866 * tree-ssa-coalesce.c

[Bug tree-optimization/31866] [4.3 Regression] ICE with tree check error: expected ssa_name, have var_decl in create_outofssa_var_map

2007-06-21 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2007-06-21 12:23 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/32362] ICE: in lookup_decl_in_outer_ctx, at omp-low.c:1508

2007-06-21 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2007-06-21 12:24 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug target/32431] ICE in df_refs_verify, at df-scan.c:4066

2007-06-21 Thread zadeck at naturalbridge dot com
--- Comment #2 from zadeck at naturalbridge dot com 2007-06-21 12:29 --- Subject: Re: ICE in df_refs_verify, at df-scan.c:4066 rask at sygehus dot dk wrote: > --- Comment #1 from rask at sygehus dot dk 2007-06-20 16:58 --- > Created an attachment (id=13747) --> (http://gcc.g

[Bug fortran/32454] New: Bounds-check misses overflow of lhs array

2007-06-21 Thread burnus at gcc dot gnu dot org
Should give with -fbounds-check something like the following (NAG f95 -C=all): Rank 1 of array operand has extent 8 instead of 4 Program terminated by fatal error In BOUNDSERROR, line 7 of test.f90 I think it might a duplicate of some PR, though I couldn't find it. program boundsError implicit

[Bug fortran/32454] Bounds-check misses overflow of lhs array

2007-06-21 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-06-21 12:33 --- I forgot to mention: I think this file is valid Fortran 2003 and only invalid Fortran 95. Maybe using: integer, dimension(4) :: y is a better test case. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32454

[Bug target/32369] [frv] macro "DF_LIVE_IN" passed 2 arguments, but takes just 1

2007-06-21 Thread zadeck at naturalbridge dot com
--- Comment #5 from zadeck at naturalbridge dot com 2007-06-21 12:49 --- this was fixed with the commit. -- zadeck at naturalbridge dot com changed: What|Removed |Added

[Bug fortran/32393] gfortran - incorrect run time results

2007-06-21 Thread dir at lanl dot gov
--- Comment #14 from dir at lanl dot gov 2007-06-21 12:57 --- >What is actually the expected result? Depending on the compiler and compiler >setting, I get completely different results for the second triangular matrix. >(The first matrix remains always the same.) What the program does i

[Bug fortran/30381] [4.1 only] ISHFTC() constant folding is broken.

2007-06-21 Thread bardeau at iram dot fr
--- Comment #7 from bardeau at iram dot fr 2007-06-21 13:08 --- (In reply to comment #6) > Fixed on mainline and 4.2. Unless you really want to backport it to 4.1.3, I'm > closing this bug. > The bug still appears under cygwin with gcc 4.3: program test integer*4 a a=1 print

[Bug fortran/32393] gfortran - incorrect run time results

2007-06-21 Thread dir at lanl dot gov
--- Comment #15 from dir at lanl dot gov 2007-06-21 13:23 --- >BTW I do not see (beside obfuscation) the interest of the constructs: It is the construct: jt=t(j2) tt=tt+tt t(j2)=jt that is being optmized away or done incorrectly when the second matrix stays the same

[Bug tree-optimization/32421] [4.3 Regression] -ftree-vectorize -msse2 ICEs in build2_stat when vectorizing POINTER_PLUS_EXPR

2007-06-21 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-06-21 13:32 --- *** Bug 32435 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug tree-optimization/32435] ICE in build2_stat for -O2 -ftree-vectorize -maltivec

2007-06-21 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-06-21 13:32 --- Yes this is the same issue, we have POINTER_PLUS_EXPR and we are trying to create it with a vector type. *** This bug has been marked as a duplicate of 32421 *** -- pinskia at gcc dot gnu dot org changed:

[Bug target/32423] gcc.c-torture/compile/20020604-1.c ICEs

2007-06-21 Thread zadeck at naturalbridge dot com
--- Comment #1 from zadeck at naturalbridge dot com 2007-06-21 13:37 --- What is the configure string that i use to recreate this? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32423

[Bug target/32441] ICE in expand_expr_real_1, at expr.c:7109

2007-06-21 Thread pinskia at gmail dot com
--- Comment #5 from pinskia at gmail dot com 2007-06-21 13:47 --- Subject: Re: ICE in expand_expr_real_1, at expr.c:7109 > You shouldn't introduce calls to langhooks. Why not use mode_for_size? I was just copying code from fold-const.c. I have the mode already, I need an integer tree

[Bug fortran/32439] f951: out of memory with '-O1 -fbounds-check'

2007-06-21 Thread jv244 at cam dot ac dot uk
--- Comment #2 from jv244 at cam dot ac dot uk 2007-06-21 13:50 --- (In reply to comment #1) > Can you run the compile inside gdb and check periodically where it wastes its > time? > I have a few gdb backtraces, but it looks like it is just writing the .s file. At the point where f951

[Bug c/32455] New: internal compiler error: in convert_move, at expr.c:362

2007-06-21 Thread frederic dot schuh at neuf dot fr
HARDWARE: - System: HP-UX B.11.00 Machine: 9000/785 COMPILATION: /usr/local/bin/gcc -v -save-temps -c TP.c -o TP_c.o Using built-in specs. Target: hppa2.0w-hp-hpux11.11 Configured with: ../gcc/configure Thread model: posix gcc version 4.1.2 /usr/local/libexec/gcc/hppa2.0w-hp

[Bug target/32455] internal compiler error: in convert_move, at expr.c:362

2007-06-21 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|blocker |normal Component|c |target GCC ta

[Bug libfortran/32456] New: IO error message should show Unit/Filename

2007-06-21 Thread burnus at gcc dot gnu dot org
! echo "z" > foo.dat program test implicit none integer :: i open(99,file="foo.dat") read(99,*) i print *, i end program gfortran: At line 5 of file x.f90 Fortran runtime error: Bad integer for item 1 in list input Expected: gfortran prints out the filename and/or unit as other compiler

[Bug target/32450] -pg seemingly causes miscompilation

2007-06-21 Thread jv244 at cam dot ac dot uk
--- Comment #3 from jv244 at cam dot ac dot uk 2007-06-21 14:28 --- this is the list of options I have tested, the comment indicates if this yields a failure or not, basically, you need -O2 and -march=native to trigger the bug using '-O1 -march=native -pg' or '-O2 -pg' are not sufficient

[Bug middle-end/32447] without-decimal-float needed

2007-06-21 Thread malitzke at metronets dot com
--- Comment #3 from malitzke at metronets dot com 2007-06-21 14:33 --- Thanks for helping out again. Enjoy Japan. I was there quite often, dealing with NEC and Mitsubishi, but as a buyer representative for for multi-million $ projects. At that level it was pleasure to do business, even e

[Bug middle-end/31541] [4.3 Regression] cannot take address of bit field

2007-06-21 Thread hubicka at ucw dot cz
--- Comment #9 from hubicka at ucw dot cz 2007-06-21 14:39 --- Subject: Re: [4.3 Regression] cannot take address of bit field > > > --- Comment #8 from rguenth at gcc dot gnu dot org 2007-06-21 11:19 > --- > Ping? I tought the bug is long fixed by moving the folding from f

[Bug target/32455] internal compiler error: in convert_move, at expr.c:362

2007-06-21 Thread frederic dot schuh at neuf dot fr
--- Comment #1 from frederic dot schuh at neuf dot fr 2007-06-21 14:49 --- Created an attachment (id=13757) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13757&action=view) preprocessed file in attachment -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32455

[Bug target/32457] New: [4.3 Regression] Complete program optimized away (i686, -ftree-vectorize)

2007-06-21 Thread burnus at gcc dot gnu dot org
This is with the polyhedron test gas_dyn.f90 http://www.polyhedron.co.uk/pb05/polyhedron_benchmark_suite.html It only occurs for gas_dyn.f90 and only with -m32 (-m64 is ok). This is with gcc-Version 4.3.0 20070621 on x86_64-unknown-linux-gnu. gfortran -m32 -march=opteron -ftree-vectorize -O1

[Bug middle-end/31541] [4.3 Regression] cannot take address of bit field

2007-06-21 Thread rguenther at suse dot de
--- Comment #10 from rguenther at suse dot de 2007-06-21 14:52 --- Subject: Re: [4.3 Regression] cannot take address of bit field On Thu, 21 Jun 2007, hubicka at ucw dot cz wrote: > > > --- Comment #9 from hubicka at ucw dot cz 2007-06-21 14:39 --- > Subject: Re: [4.3 Reg

[Bug tree-optimization/32453] [4.3 Regression] ICE in build2_stat, at tree.c:3074 (extract_range_from_assert)

2007-06-21 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-06-21 14:54 --- Subject: Bug 32453 Author: rguenth Date: Thu Jun 21 14:54:47 2007 New Revision: 125922 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125922 Log: 2007-06-21 Richard Guenther <[EMAIL PROTECTED]> PR

[Bug tree-optimization/32453] [4.3 Regression] ICE in build2_stat, at tree.c:3074 (extract_range_from_assert)

2007-06-21 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2007-06-21 14:56 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/32451] [4.3 Regression] ICE in verify_flow_info after DOM2

2007-06-21 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2007-06-21 14:56 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug target/32457] [4.3 Regression] Complete program optimized away (i686, -ftree-vectorize)

2007-06-21 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-06-21 15:58 --- Missed to say that yesterday's version (r125874) was ok. Occurs here with 125909 (bootstrapped) and 125922 (only build). svn status shows no changes in my tree. However, it could not be reproduced by Uros with 125920

[Bug target/32418] ICE in global_alloc, at global.c:514

2007-06-21 Thread rask at sygehus dot dk
--- Comment #9 from rask at sygehus dot dk 2007-06-21 15:59 --- I tried this on top of the patch in comment 3 of bug 32441: Index: gcc/config/m32c/m32c.c === --- gcc/config/m32c/m32c.c (revision 125892) +++ gcc/config/

[Bug target/32418] ICE in global_alloc, at global.c:514

2007-06-21 Thread rask at sygehus dot dk
--- Comment #10 from rask at sygehus dot dk 2007-06-21 16:15 --- Created an attachment (id=13758) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13758&action=view) Preprocessed source code for the problem in comment 9. $ ./xgcc -B./ -S -dp -o /dev/null ~/complex_io.cc /home/rask/bu

[Bug fortran/32393] gfortran - incorrect run time results

2007-06-21 Thread dir at lanl dot gov
--- Comment #16 from dir at lanl dot gov 2007-06-21 16:16 --- Created an attachment (id=13759) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13759&action=view) Warning free version -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32393

[Bug c++/32458] New: __attribute((section(".myname"))) is not working as expected in G++ but works ni GCC

2007-06-21 Thread prem dot mallappa at gmail dot com
I used the simple program provided in the gcc help pages. i am using gcc-4.2.0 cross compiler for ARM (I think the problem should persist in native compilers as well) a.c #include int main(void) { static int a __attribute__ ((section (".offsets"))) = 0; static int myname __at

[Bug fortran/32393] gfortran - incorrect run time results

2007-06-21 Thread dir at lanl dot gov
--- Comment #17 from dir at lanl dot gov 2007-06-21 16:29 --- I have attached version that generates no warnings with gfortran or g95. As I reduced, it the bug changed - that is the problem with optmization bugs - they are hard to trap. Anyway there is still a bug for some compilers. gfo

[Bug middle-end/32370] [4.3 Regression] Segfault after rejecting bogus assembler

2007-06-21 Thread sje at cup dot hp dot com
--- Comment #2 from sje at cup dot hp dot com 2007-06-21 16:30 --- Here is a preprocessed test case" typedef __builtin_va_list __gnuc_va_list; typedef __gnuc_va_list va_list; unsigned char inb_local(unsigned long port) { unsigned char value; __asm__ __vol atile__("in" "b" " %w1, %" "b"

[Bug c/31537] duplicate weakref emitted with IMA

2007-06-21 Thread aldot at gcc dot gnu dot org
--- Comment #5 from aldot at gcc dot gnu dot org 2007-06-21 16:44 --- Without combine, the attribute is ignored: $ gcc-4.3.orig-HEAD -c pr.c -o /dev/null pr.c: In function 'f1': pr.c:3: warning: '__weakref__' attribute ignored pr.c: In function 'f2': pr.c:7: warning: '__weakref__' att

[Bug fortran/32393] gfortran - incorrect run time results

2007-06-21 Thread burnus at gcc dot gnu dot org
hich finds directly one problem: Subscript 1 of IA (value 2) is out of range (1:1) In PRMX, line 134 of test.f I changed ia(1) to ia(20) - then it works. Actually, it works on my system (x86_64-unknown-linux-gnu, 4.3.0 20070621) up to the option -O3 -ffast-math -ftree-vectorize -funroll-all-loops

[Bug fortran/27589] Add compiler flag to check for uninitalized values at runtime

2007-06-21 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2007-06-21 16:58 --- Dump a valid program which contains equivalence to show a harder case for the checks (NAG f95 chokes on it). program main implicit none integer :: i, it, jt real:: tt equivalence

[Bug fortran/32393] gfortran - incorrect run time results

2007-06-21 Thread dominiq at lps dot ens dot fr
--- Comment #19 from dominiq at lps dot ens dot fr 2007-06-21 17:04 --- > Subscript 1 of IA (value 2) is out of range (1:1) I don't think it really matter as dimension ia(1),a(20) is the old style for passing arrays. However there are many uninitialized variables: ca

[Bug tree-optimization/19590] IVs with the same evolution not eliminated

2007-06-21 Thread spop at gcc dot gnu dot org
--- Comment #16 from spop at gcc dot gnu dot org 2007-06-21 17:06 --- Subject: Bug 19590 Author: spop Date: Thu Jun 21 17:06:05 2007 New Revision: 125925 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125925 Log: PR tree-optimization/19590 * tree-vrp.c (adjust_ra

[Bug middle-end/32370] [4.3 Regression] Segfault after rejecting bogus assembler

2007-06-21 Thread sje at cup dot hp dot com
--- Comment #3 from sje at cup dot hp dot com 2007-06-21 17:10 --- Slightly shorter test case: unsigned char inb_local(unsigned long port) { unsigned char value; __asm__ __volatile__("in" "b" " %w1, %" "b" "0" : "=a"(value) : "Nd"(port)); return value; } void x_

[Bug middle-end/32370] [4.3 Regression] Segfault after rejecting bogus assembler

2007-06-21 Thread sje at cup dot hp dot com
--- Comment #4 from sje at cup dot hp dot com 2007-06-21 17:13 --- With optimization, it looks like we die because df_insn_change_bb can handle insn_info being NULL but it can't handle insn_info->defs (or uses or eq_uses) being NULL and that is what is happening with -O2. When no optimi

[Bug fortran/32393] gfortran - incorrect run time results

2007-06-21 Thread burnus at gcc dot gnu dot org
--- Comment #20 from burnus at gcc dot gnu dot org 2007-06-21 17:14 --- > as far as I can tell none of them are initialized. This is why I'm eagerly waiting for Asher fixing PR20441 and why g95 has -fzero. > Tracing what is wrong with this code explains why so many people don't like > f

[Bug target/32457] [4.3 Regression] Complete program optimized away (i686, -ftree-vectorize)

2007-06-21 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-06-21 17:22 --- Further note: -march=pentium2 works -march=pentium3 fails -march=pentium2 -msse fails -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32457

mjpegtools-1.9.0rc2 - internal compiler error - in a PowerPC

2007-06-21 Thread Aurélio A. Heckert
* the exact version of GCC; gcc -v Using built-in specs. Target: powerpc-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

[Bug fortran/31820] Warning if case label value exceeds maximum value for type

2007-06-21 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2007-06-21 17:49 --- http://gcc.gnu.org/onlinedocs/gfortran/Error-and-Warning-Options.html -Wsurprising [...] This currently produces a warning under the following circumstances: * An INTEGER SELECT construct has a CASE that can neve

[Bug libfortran/30694] minval/maxval with +/-Inf

2007-06-21 Thread pault at gcc dot gnu dot org
--- Comment #19 from pault at gcc dot gnu dot org 2007-06-21 18:12 --- (In reply to comment #18) > Due to huge time constraints, I won't be able to > do anything with this for the next few weeks. Unassigning > myself for the time. > If anybody wants to look over my partial patch and fly

[Bug libfortran/31726] minloc/maxloc: wrong results with empty array (F2003 only)

2007-06-21 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2007-06-21 18:14 --- This fixes Tobias' testcase of comment #4. Note that it is a diff relative to the patch for 32298. I'll resubmit the latter in this new form. Paul Index: gcc/fortran/trans-intrinsic.c ==

[Bug target/32418] ICE in global_alloc, at global.c:514

2007-06-21 Thread rask at sygehus dot dk
--- Comment #11 from rask at sygehus dot dk 2007-06-21 18:19 --- Disregard the comment about the code label use count. They have LABEL_PRESERVE_P (/s) set. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32418

  1   2   >