[Bug tree-optimization/35636] [4.4 Regression] gcc.dg/tree-ssa/loop-25.c

2008-03-18 Thread ubizjak at gmail dot com
--- Comment #1 from ubizjak at gmail dot com 2008-03-19 06:58 --- *** This bug has been marked as a duplicate of 35629 *** -- ubizjak at gmail dot com changed: What|Removed |Added --

[Bug tree-optimization/35629] [4.4 Regression] gcc.dg/tree-ssa/loop-25.c scan-tree-dump-times profile fails

2008-03-18 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2008-03-19 06:58 --- *** Bug 35636 has been marked as a duplicate of this bug. *** -- ubizjak at gmail dot com changed: What|Removed |Added ---

[Bug bootstrap/25502] Werror problem in build

2008-03-18 Thread zuxy dot meng at gmail dot com
--- Comment #10 from zuxy dot meng at gmail dot com 2008-03-19 06:43 --- Still, 4.3.0 can't recoginze %I64d -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25502

[Bug tree-optimization/35636] New: [4.4 Regression] gcc.dg/tree-ssa/loop-25.c

2008-03-18 Thread hjl dot tools at gmail dot com
Gcc 4.4 revision 133314 has FAIL: gcc.dg/tree-ssa/loop-25.c scan-tree-dump-times profile "Found latch edge" 5 FAIL: gcc.dg/tree-ssa/loop-25.c scan-tree-dump-times profile "Merged latch edges" 2 FAIL: gcc.dg/tree-ssa/loop-25.c scan-tree-dump-times profile "4 loops found" 2 FAIL: gcc.dg/tree-ssa/loo

[Bug c/35635] New: -Wconversion problematic with bitfields

2008-03-18 Thread tss at iki dot fi
struct { unsigned int x:1; } foo; int bar = 0; foo.x = bar != 0; // warning foo.x = bar != 0 ? 1 : 0; // warning if (bar != 0) foo.x = 1; else foo.x = 0; // no warnings, but too ugly.. -- Summary: -Wconversion problematic with bitfields Product: gcc Version: 4

[Bug target/35634] [avr] result of char promotion comes out of CHAR_MIN/MAX

2008-03-18 Thread pinskia at gmail dot com
--- Comment #1 from pinskia at gmail dot com 2008-03-19 06:10 --- Subject: Re: New: [avr] result of char promotion comes out of CHAR_MIN/MAX This code is only defined if char is unsigned which it is not on avr. (It is unsigned on some targets like powerpc-Linux-gnu. Sent from my iP

Re: [Bug target/35634] New: [avr] result of char promotion comes out of CHAR_MIN/MAX

2008-03-18 Thread Andrew Pinski
This code is only defined if char is unsigned which it is not on avr. (It is unsigned on some targets like powerpc-Linux-gnu. Sent from my iPhone On Mar 18, 2008, at 22:42, "dmixm at marine dot febras dot ru" <[EMAIL PROTECTED] > wrote: /* The next program is aborted with avr-gcc 4.1.2, 4.

[Bug target/35634] New: [avr] result of char promotion comes out of CHAR_MIN/MAX

2008-03-18 Thread dmixm at marine dot febras dot ru
/* The next program is aborted with avr-gcc 4.1.2, 4.2.3, 4.3.0: result of char promotion comes out of CHAR_MIN/MAX. Options: -W -Wall -Os Know to work: 3.3.6, 3.4.6 - good code 4.0.4 - correct, but not the best 4.1.2, 4.2.3, 4.3.0 - without optimization only */ #inc

[Bug fortran/35632] [Regression] stream io broken on FreeBSD due to ftruncate changes.

2008-03-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2008-03-19 05:40 --- Steve, also please replace the aborts in the test case and see what is really happening. streamio_4.f90 is doing a large number of individual WRITEs in the loop and your ktrace shows no failure of truncate. This

[Bug fortran/35632] [Regression] stream io broken on FreeBSD due to ftruncate changes.

2008-03-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #4 from jvdelisle at gcc dot gnu dot org 2008-03-19 05:25 --- Since I do not have access to this system, can you try this: Index: transfer.c === --- transfer.c (revision 133275) +++ transfer.c (working copy)

[Bug c/35624] ARM embeded assembly result error

2008-03-18 Thread hp at gcc dot gnu dot org
--- Comment #2 from hp at gcc dot gnu dot org 2008-03-19 05:04 --- You're updating the source and destination register but marking them only as input in the asm. That's invalid. You trick GCC into believing that as it hasn't changed, it can re-use the register with the source-address.

[Bug fortran/35632] [Regression] stream io broken on FreeBSD due to ftruncate changes.

2008-03-18 Thread hp at gcc dot gnu dot org
--- Comment #3 from hp at gcc dot gnu dot org 2008-03-19 04:43 --- (In reply to comment #2) > Hmmm, reverting Hans-Peter's patch does not fix the problem. Apologies > to Hans-Peter for jumping the gun. Apology accepted. FWIW, looking at your strace output and streamio_4.f90, it seems th

[Bug fortran/35632] [Regression] stream io broken on FreeBSD due to ftruncate changes.

2008-03-18 Thread kargl at gcc dot gnu dot org
--- Comment #2 from kargl at gcc dot gnu dot org 2008-03-19 04:09 --- Hmmm, reverting Hans-Peter's patch does not fix the problem. Apologies to Hans-Peter for jumping the gun. Going back further in time, reverting r132512 fixes the problem with streamio_4.f90, but leads to Running /us

[Bug fortran/35632] [Regression] stream io broken on FreeBSD due to ftruncate changes.

2008-03-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #1 from jvdelisle at gcc dot gnu dot org 2008-03-19 03:46 --- *** Bug 35633 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35632

[Bug fortran/35633] [Regression] stream io broken on FreeBSD due to ftruncate changes.

2008-03-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #1 from jvdelisle at gcc dot gnu dot org 2008-03-19 03:46 --- *** This bug has been marked as a duplicate of 35632 *** -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/35633] New: [Regression] stream io broken on FreeBSD due to ftruncate changes.

2008-03-18 Thread kargl at gcc dot gnu dot org
This commit: 2008-03-05 Hans-Peter Nilsson <[EMAIL PROTECTED]> PR libfortran/35293 * io/unix.c (fd_truncate): Fold s->special_file case into success case of ftruncate/chsize call instead of the failure case. Make failure case actually return failure. Properly up

[Bug fortran/35632] New: [Regression] stream io broken on FreeBSD due to ftruncate changes.

2008-03-18 Thread kargl at gcc dot gnu dot org
This commit: 2008-03-05 Hans-Peter Nilsson <[EMAIL PROTECTED]> PR libfortran/35293 * io/unix.c (fd_truncate): Fold s->special_file case into success case of ftruncate/chsize call instead of the failure case. Make failure case actually return failure. Properly up

Another regression!

2008-03-18 Thread Steve Kargl
What's going on? WARNING: program timed out. FAIL: gfortran.dg/streamio_4.f90 -O0 execution test -- Steve

[Bug tree-optimization/35629] [4.4 Regression] gcc.dg/tree-ssa/loop-25.c scan-tree-dump-times profile fails

2008-03-18 Thread hp at gcc dot gnu dot org
--- Comment #2 from hp at gcc dot gnu dot org 2008-03-19 03:07 --- My autotester says loop-25 fails in the same way for cris-elf, due to a patch committed in the range 133311:133318. -- hp at gcc dot gnu dot org changed: What|Removed |Added ---

Regression with ltrans-7.f90

2008-03-18 Thread Steve Kargl
Someone has broken gfortran and/or the middle/backend. FAIL: gfortran.dg/ltrans-7.f90 -O scan-tree-dump-times ltrans "transformed loop" 1 -- Steve

[Bug c++/35631] operator overloads defined as a friend within a class are not always correctly resolved

2008-03-18 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-03-19 02:57 --- No, 4.1,4.2, and 4.3 are correct. Read http://gcc.gnu.org/gcc-4.1/changes.html, the "ARM-style name-injection of friend declarations is no longer the default. " section. -- pinskia at gcc dot gnu dot org changed

[Bug c++/35631] New: operator overloads defined as a friend within a class are not always correctly resolved

2008-03-18 Thread nick dot orlov at mail dot ru
The following example demonstrates the issue: #include #include #define INLINE_FRIEND class Outer { enum InnerEnum { Value0 = 0 }; typedef std::pair InnerPair; friend bool operator==(const InnerPair& lhs, const InnerPair& rhs) #ifdef INLINE_FRIEND

[Bug debug/35615] Debug information for .debug_loc section incorrect

2008-03-18 Thread amodra at bigpond dot net dot au
--- Comment #8 from amodra at bigpond dot net dot au 2008-03-19 01:17 --- Can you attach the object file that has the odd file name entry? I can't reproduce this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35615

[Bug debug/35615] Debug information for .debug_loc section incorrect

2008-03-18 Thread amodra at bigpond dot net dot au
--- Comment #7 from amodra at bigpond dot net dot au 2008-03-19 00:54 --- Following up on comment #4, it was this part of Nick's patch that fixed the --debug-dump=loc problem: "Correct list of attributes which can reference a location list." http://sourceware.org/ml/binutils/2007-11/msg

[Bug fortran/35627] [4.3, 4.4 regression] namelist read error

2008-03-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2008-03-18 23:57 --- Namelist bugs are just a tradition. :) Assigning myself. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/35630] New: function definition changes typedef meaning

2008-03-18 Thread tim at klingt dot org
this code does not compile with g++-4.3 (4.1 and 4.2 are able to compile it): template struct set {}; struct derived: public set { typedef set base; void set(void) {} }; [EMAIL PROTECTED]:~$ g++-4.3 -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure l

[Bug fortran/35627] [4.3, 4.4 regression] namelist read error

2008-03-18 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2008-03-18 22:02 --- The problem is that we don't properly rewind properly for "nbshapa"; the parser sees 'n'; it then try whether "NaN" matches. It checks the next character 'b' and fails. The problem is that only 'b' and not 'nb' are pu

[Bug fortran/35627] [4.3, 4.4 regression] namelist read error

2008-03-18 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-03-18 21:50 --- Confirmed. Again a GCC 4.3.0/4.4.0 regression. Seemingly caused between 2007-12-07-r130671 and 2007-12-10-r130736. Probably caused by my NaN/INF patch (PR fortran/34319 - or, less likely, fortran/34404). -- burnu

[Bug tree-optimization/35629] [4.4 Regression] gcc.dg/tree-ssa/loop-25.c scan-tree-dump-times profile fails

2008-03-18 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Keywords||missed-optimization Summary|gcc.dg/tree-ssa/loop-25.c |[

[Bug tree-optimization/35629] gcc.dg/tree-ssa/loop-25.c scan-tree-dump-times profile fails

2008-03-18 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-03-18 21:32 --- Confirmed. PREDICT_EXPR seems to force BBs unmerged and confuses loop discovery. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/35629] New: gcc.dg/tree-ssa/loop-25.c scan-tree-dump-times profile fails

2008-03-18 Thread jrp at dial dot pipex dot com
s 2 # of expected failures 166 # of untested testcases 35 # of unsupported tests 269 /home/jrp/build/gcc/xgcc version 4.4.0 20080318 (experimental) (GCC) Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc/configure -v --enable-languages=c,c++,fo

[Bug testsuite/35621] gcc.target/i386/ssse3-psignw.c fails at -O3 (violates C/C++ aliasing rules)

2008-03-18 Thread pluto at agmk dot net
--- Comment #11 from pluto at agmk dot net 2008-03-18 20:48 --- (In reply to comment #10) > Just add -fno-strict-aliasing. > just use __builtin_memcpy to avoid ugly casting. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35621

[Bug testsuite/35621] gcc.target/i386/ssse3-psignw.c fails at -O3 (violates C/C++ aliasing rules)

2008-03-18 Thread hjl dot tools at gmail dot com
--- Comment #10 from hjl dot tools at gmail dot com 2008-03-18 20:28 --- Just add -fno-strict-aliasing. -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug testsuite/35621] gcc.target/i386/ssse3-psignw.c fails at -O3 (violates C/C++ aliasing rules)

2008-03-18 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 testsuite/35621] gcc.target/i386/ssse3-psignw.c fails at -O3

2008-03-18 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2008-03-18 20:24 --- Why is this closed as won't fix. The testcase invokes undefined behavior and should be fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug testsuite/35621] gcc.target/i386/ssse3-psignw.c fails at -O3

2008-03-18 Thread hjl dot tools at gmail dot com
--- Comment #8 from hjl dot tools at gmail dot com 2008-03-18 20:16 --- Close it. We can reopen it if it fails at -O2. -- hjl dot tools at gmail dot com changed: What|Removed |Added --

[Bug testsuite/35621] gcc.target/i386/ssse3-psignw.c fails at -O3

2008-03-18 Thread ubizjak at gmail dot com
--- Comment #7 from ubizjak at gmail dot com 2008-03-18 20:12 --- (In reply to comment #3) > Actually it looks like all the ssse3-*.c testcase violate C aliasing rules. I can confirm this, the test works OK with -fno-strict-aliasing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3

[Bug target/35504] incorrect code generated on i386 for C++ multiple inheritance, large return structures and regparm or fastcall calling conventions

2008-03-18 Thread uros at gcc dot gnu dot org
--- Comment #4 from uros at gcc dot gnu dot org 2008-03-18 20:01 --- Subject: Bug 35504 Author: uros Date: Tue Mar 18 20:00:12 2008 New Revision: 133324 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133324 Log: PR target/35504 * config/i386/i386.c (x86_this_para

[Bug bootstrap/35628] New: gcc-4.3.0 fails to build, mpfr problem, libmpfr.dylib, file is not of required architecture

2008-03-18 Thread bill at cse dot ucdavis dot edu
I built gmp-4.2.2: ./configure --prefix=/opt/pkg/gmp-4.2.2 make make install And mpfr-2.3.1: ./configure --prefix=/opt/pkg/mpfr-2.3.1 --with-gmp=/opt/pkg/gmp-4.2.2/ --with-gmp-build=/opt/src/gmp-4.2.2/ make make install Oh the compiler I'm trying to install 4.3.0 (as well as gmp and mpfr) with: T

Works on dev-c..

2008-03-18 Thread beradero
Hello, It's the code: http://www.nabble.com/file/p16128572/1.c 1.c Try enter the number 0010 (number then), 00010, etc.. and see the bizarre output.. Thanks.. -- View this message in context: http://www.nabble.com/Works-on-dev-c..-tp16128572p16128572.html Sent from the gcc - bugs mailing lis

[Bug middle-end/35593] [4.3 Regression] spurious warning "array subscript is below array bounds" with void* function argument plus -O2

2008-03-18 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2008-03-18 17:28 --- And the branch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|

[Bug fortran/35617] [4.3 Regression] read namelist error

2008-03-18 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35617

[Bug middle-end/35616] [4.1/4.2/4.3/4.4 Regression] Incorrect code while O2 compling

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

[Bug middle-end/35593] [4.3 Regression] spurious warning "array subscript is below array bounds" with void* function argument plus -O2

2008-03-18 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-03-18 17:24 --- Subject: Bug 35593 Author: rguenth Date: Tue Mar 18 17:23:35 2008 New Revision: 133318 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133318 Log: 2008-03-18 Richard Guenther <[EMAIL PROTECTED]> Ba

[Bug java/32247] -Wall enables -Wunused enables -Wunused-parameter

2008-03-18 Thread tromey at gcc dot gnu dot org
--- Comment #12 from tromey at gcc dot gnu dot org 2008-03-18 17:03 --- I agree we should probably change ecj1's interpretation of -Wall. But, ecj1 can't be part of gcc. That was already decided. I believe the installation instructions have information on what to download so that gcj w

[Bug tree-optimization/35609] [4.3/4.4 Regression] "is used uninitialized in this function" should be may warning

2008-03-18 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-03-18 16:53 --- While this is a regression the underlying problem was latent and thus this should be an enhacement report. But I'll have a look. -- rguenth at gcc dot gnu dot org changed: What|Removed

[Bug debug/35615] Debug information for .debug_loc section incorrect

2008-03-18 Thread deuling at de dot ibm dot com
--- Comment #6 from deuling at de dot ibm dot com 2008-03-18 16:52 --- ./readelf --debug-dump=line give for gfortran 4.1.2: The Directory Table: fortran The File Name Table: Entry­Dir­····Time­···Size­···Name 1­····1­······0­······0­·····

[Bug target/35626] gcc for CELL spu produces poor code using functions with structure parameters

2008-03-18 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-03-18 16:19 --- This is a dup of bug 33927 and 33790 which both have the same example as below but are talking about different passes :). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35626

[Bug fortran/35627] New: namelist read error

2008-03-18 Thread pletzer at txcorp dot com
Hi: The following program fails to read the namelist file below. test program: program test implicit none LOGICAL :: nlco(200) ! (1:nbeam) REAL*8 :: xlbtna(200) ! (1:nbeam) NAMELIST/nbdrive_naml/ nlco,xlbtna INTEGER :: nbshapa(200) ! (1:nbeam) NAMELIST/nbdrive_naml/ nbshapa

[Bug middle-end/35616] [4.1/4.2/4.3/4.4 Regression] Incorrect code while O2 compling

2008-03-18 Thread matz at gcc dot gnu dot org
-- matz at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |matz at gcc dot gnu dot org |dot org

[Bug target/35616] [4.1/4.2/4.3/4.4 Regression] Incorrect code while O2 compling

2008-03-18 Thread matz at gcc dot gnu dot org
--- Comment #15 from matz at gcc dot gnu dot org 2008-03-18 15:37 --- We can either force expanding the call address before the arguments (if it overlaps with them) or simply validate the thing after the fact. Validating seems a bit easier (and is in line with what is done already for t

[Bug tree-optimization/23094] store ccp, or store copy prop misses an optimization

2008-03-18 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2008-03-18 15:31 --- Similar case that SCCVN could also handle (store_ccp and DOM handle this): int G; void __attribute__((noinline)) foo (int i) { if (i > 0) G = 3; else G = 3; if (G != 3) link_error (); }

[Bug target/35616] [4.1/4.2/4.3/4.4 Regression] Incorrect code while O2 compling

2008-03-18 Thread ubizjak at gmail dot com
--- Comment #14 from ubizjak at gmail dot com 2008-03-18 15:30 --- (In reply to comment #12) > Uros: the problem isn't cse. It's already expand which creates broken code > (it reads from and writes to (mem (plus (virtual-incoming-regs) (4)). > But it does that only because the input tre

[Bug target/35616] [4.1/4.2/4.3/4.4 Regression] Incorrect code while O2 compling

2008-03-18 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2008-03-18 15:25 --- Actually the trees are correct, just the dumping of function names in call exprs is "interesting". Still expand is the primary suspect here. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35616

[Bug target/35616] [4.1/4.2/4.3/4.4 Regression] Incorrect code while O2 compling

2008-03-18 Thread matz at gcc dot gnu dot org
--- Comment #12 from matz at gcc dot gnu dot org 2008-03-18 15:03 --- Uros: the problem isn't cse. It's already expand which creates broken code (it reads from and writes to (mem (plus (virtual-incoming-regs) (4)). But it does that only because the input tree is completely wrong (TER br

[Bug libstdc++/35622] Cannot declare vector of unordered_maps

2008-03-18 Thread chris at bubblescope dot net
--- Comment #2 from chris at bubblescope dot net 2008-03-18 15:02 --- #include #include using namespace std; int main(void) { vector > v; } Runs fine here, using: Using built-in specs. Target: i386-apple-darwin9.2.0 Configured with: ../gcc/configure --enable-languages=c,c++ --pre

[Bug target/35616] [4.1/4.2/4.3/4.4 Regression] Incorrect code while O2 compling

2008-03-18 Thread ubizjak at gmail dot com
--- Comment #11 from ubizjak at gmail dot com 2008-03-18 15:01 --- cse1 pass somehow figures out that: (insn 11 10 12 2 function.c:5 (set (reg/f:SI 61) (mem/s/f/c:SI (plus:SI (reg/f:SI 16 argp) (const_int 4 [0x4])) [4 data.listener+0 S4 A32])) 41 {*movsi_1} (nil

[Bug target/35616] [4.1/4.2/4.3/4.4 Regression] Incorrect code while O2 compling

2008-03-18 Thread matz at gcc dot gnu dot org
--- Comment #10 from matz at gcc dot gnu dot org 2008-03-18 14:55 --- The tree dumps already look wrong. from .130t.final_cleanup: function_calling_listener (data) { : data (data.a, data.c, data.d) [tail call]; return; } Note how the function pointer is replaced with the whole "da

[Bug target/35616] [4.1/4.2/4.3/4.4 Regression] Incorrect code while O2 compling

2008-03-18 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2008-03-18 14:53 --- The stack modifications before the sibcall look indeed interesting. Micha, maybe you want to poke into this somewhat? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35616

[Bug target/35616] [4.1/4.2/4.3/4.4 Regression] Incorrect code while O2 compling

2008-03-18 Thread ubizjak at gmail dot com
--- Comment #8 from ubizjak at gmail dot com 2008-03-18 14:45 --- It works when function.c is compiled with -O2 -fno-optimize-sibling-calls. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35616

[Bug target/35616] [4.1/4.2/4.3/4.4 Regression] Incorrect code while O2 compling

2008-03-18 Thread ubizjak at gmail dot com
--- Comment #7 from ubizjak at gmail dot com 2008-03-18 14:34 --- asm dump with GCC: (GNU) 4.4.0 20080318 (experimental) and -O2 -fomit-frame-pointer: function_calling_listener: movl20(%esp), %eax # data.d, data.d movl16(%esp), %ecx # data.c, data.c

[Bug debug/35615] Debug information for .debug_loc section incorrect

2008-03-18 Thread deuling at de dot ibm dot com
--- Comment #5 from deuling at de dot ibm dot com 2008-03-18 13:43 --- Hi, I build binutils from head and you're right. This issue is fixed: [EMAIL PROTECTED] binutils]$ ./readelf --debug-dump=loc ~/fortran/neg_array Contents of the .debug_loc section: Offset BeginEnd

[Bug middle-end/35611] [4.3/4.4 Regression] FAIL: libgomp.c/omp-nested-1.c execution test

2008-03-18 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2008-03-18 12:41 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/35611] [4.3/4.4 Regression] FAIL: libgomp.c/omp-nested-1.c execution test

2008-03-18 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2008-03-18 12:32 --- Subject: Bug 35611 Author: jakub Date: Tue Mar 18 12:31:28 2008 New Revision: 133310 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133310 Log: PR middle-end/35611 * gimplify.c (gimplify_expr):

[Bug target/35626] New: gcc for CELL spu produces poor code using functions with structure parameters

2008-03-18 Thread eres at il dot ibm dot com
Compiling the following simple code sample with -O3 on CELL spu produces very poor performing code: #include typedef struct _vec_tri { vector float x; vector float y; vector float z; } vec_tri; vec_tri add_tri(vec_tri a, vec_tri b) { vec_tri c; c.x = spu_add(a.x, b.x); c.y = spu_

[Bug middle-end/35611] [4.3/4.4 Regression] FAIL: libgomp.c/omp-nested-1.c execution test

2008-03-18 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2008-03-18 12:21 --- Subject: Bug 35611 Author: jakub Date: Tue Mar 18 12:21:02 2008 New Revision: 133309 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133309 Log: PR middle-end/35611 * gimplify.c (gimplify_expr):

[Bug middle-end/35611] [4.3/4.4 Regression] FAIL: libgomp.c/omp-nested-1.c execution test

2008-03-18 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2008-03-18 11:14 --- Seems OMP_ATOMIC_LOAD isn't properly regimplified and so &i in TREE_OPERAND (omp_atomic_load, 1) isn't replaced with .omp_data_i->i. For targets with sync builtins this doesn't matter, as expand_omp_atomic for them ru

[Bug target/35616] [4.1/4.2/4.3/4.4 Regression] Incorrect code while O2 compling

2008-03-18 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2008-03-18 10:51 --- This looks like a target issue. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/35618] [4.3/4.4 regression] ICE in cgraph_estimate_size_after_inlining, at ipa-inline.c:188

2008-03-18 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||hubicka at gcc dot gnu dot |

[Bug libgomp/35625] schedule(guided) loops forever if ((end - start) % incr) != 0

2008-03-18 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2008-03-18 09:57 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED

[Bug libgomp/35625] schedule(guided) loops forever if ((end - start) % incr) != 0

2008-03-18 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2008-03-18 09:55 --- Subject: Bug 35625 Author: jakub Date: Tue Mar 18 09:55:09 2008 New Revision: 133307 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133307 Log: PR libgomp/35625 * iter.c (gomp_iter_guided_next_

[Bug libgomp/35625] schedule(guided) loops forever if ((end - start) % incr) != 0

2008-03-18 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2008-03-18 09:55 --- Subject: Bug 35625 Author: jakub Date: Tue Mar 18 09:54:21 2008 New Revision: 133306 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133306 Log: PR libgomp/35625 * iter.c (gomp_iter_guided_next_

[Bug c/35624] ARM embeded assembly result error

2008-03-18 Thread rurality dot wq at gmail dot com
--- Comment #1 from rurality dot wq at gmail dot com 2008-03-18 09:29 --- Created an attachment (id=15341) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15341&action=view) C source code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35624

[Bug libgomp/35625] New: schedule(guided) loops forever if ((end - start) % incr) != 0

2008-03-18 Thread jakub at gcc dot gnu dot org
int main (void) { #pragma omp parallel { #pragma omp for schedule (guided, 10) for (int i = 0; i < 1826; i += 10) ; #pragma omp for schedule (guided, 10) for (int i = 0; i > -1826; i -= 10) ; } return 0; } hangs - after going through all iterations keeps ca

[Bug c/35624] New: ARM embeded assembly result error

2008-03-18 Thread rurality dot wq at gmail dot com
command is as below. arm-elf-gcc -v -save-temps -O2 -ffreestanding -c -msoft-float -nostdinc test.c Using built-in specs. Target: arm-elf Configured with: ./configure --target=arm-elf --prefix=/rdisk1/users/wangqiang/tool-chain --enable-interwork --enable-multilib --with-float=soft --enable-langu

[Bug middle-end/35616] Incorrect code while O2 compling

2008-03-18 Thread J dot Gorka at osmosys dot tv
--- Comment #5 from J dot Gorka at osmosys dot tv 2008-03-18 08:17 --- All is fine. My friend copy that program from here, compile on gcc-4.3 and give me result that is in comment #3 But ok, i copy one more time what is in function.h file: typedef void (*listener_fun)( int a

[Bug middle-end/35616] Incorrect code while O2 compling

2008-03-18 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-03-18 08:01 --- Can you include the contents of function.h, it seems to be missing ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35616

[Bug middle-end/35616] Incorrect code while O2 compling

2008-03-18 Thread J dot Gorka at osmosys dot tv
--- Comment #3 from J dot Gorka at osmosys dot tv 2008-03-18 07:57 --- Ok. Now version 4.3.0 from Debian. The same problem gcc-4.3 --version gcc-4.3 (Debian 4.3.0-1) 4.3.1 20080309 (prerelease) Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source f