[Bug libfortran/32611] Print sign of negative zero

2007-07-08 Thread jvdelisle at gcc dot gnu dot org
--- Comment #4 from jvdelisle at gcc dot gnu dot org 2007-07-08 07:01 --- F77 Standard: 13.5.9 (3) On output, the representation of a positive or zero internal value in the field may be prefixed with a plus, as controlled by the S, SP, and SS edit descriptors (13.5.6) or the processor.

[Bug fortran/32669] [4.3 Regression] Actual argument contains too few elements for dummy argument is triggered for valid code

2007-07-08 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-07-08 08:04 --- Accept. I missed to properly get the lower bound. Thanks for the report. -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/32669] [4.3 Regression] Actual argument contains too few elements for dummy argument is triggered for valid code

2007-07-08 Thread patchapp at dberlin dot org
--- Comment #2 from patchapp at dberlin dot org 2007-07-08 08:30 --- Subject: Bug number PR32669 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-07/msg00669.html --

[Bug tree-optimization/32377] can't determine dependence (source/destination overlap without more than size)

2007-07-08 Thread irar at il dot ibm dot com
--- Comment #13 from irar at il dot ibm dot com 2007-07-08 10:00 --- Hi Sebastian, I was going to submit the attached patch, but now the analysis fails with affine-affine test failed: missing iteration counts and distance vector is not built (so the loop in this PR cannot be vectorized

[Bug tree-optimization/32377] can't determine dependence (source/destination overlap without more than size)

2007-07-08 Thread irar at il dot ibm dot com
--- Comment #14 from irar at il dot ibm dot com 2007-07-08 10:01 --- Created an attachment (id=13869) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13869action=view) patch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32377

Re: [Bug tree-optimization/32032] [4.3 Regression] Inliner not setting has_volatile_ops

2007-07-08 Thread Andrew Pinski
--- Comment #4 from jakub at gcc dot gnu dot org 2007-07-04 12:31 --- This doesn't ICE any longer on the trunk. But that does not mean the bug is still there. PRE/VN was changed (which exposed the ICE) but the inliner was not. Really we should verify this in the verify_tree_cfg so we

[Bug tree-optimization/32032] [4.3 Regression] Inliner not setting has_volatile_ops

2007-07-08 Thread pinskia at gmail dot com
--- Comment #5 from pinskia at gmail dot com 2007-07-08 10:11 --- Subject: Re: [4.3 Regression] Inliner not setting has_volatile_ops --- Comment #4 from jakub at gcc dot gnu dot org 2007-07-04 12:31 --- This doesn't ICE any longer on the trunk. But that does not mean the

[Bug c/32643] [4.3 Regression] Wrong error message with unsigned char a = uchar512

2007-07-08 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2007-07-08 10:12 --- (In reply to comment #0) testcase, compile with -pedantic-errors (we don't reject it overwise in 4.3): unsigned char p; unsigned char p1 = p 512; Now there is an overflow but only because we optimize the IR

[Bug c/32643] [4.3 Regression] Wrong error message with unsigned char a = uchar512

2007-07-08 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-07-08 10:19 --- (In reply to comment #3) We don't reject as invalid code either: unsigned char p; unsigned char p1 = p 0; Why should we? There is no overflow here, you mean that p is not constant? I think we have two

[Bug rtl-optimization/32605] Missing byte swap optimizations

2007-07-08 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-07-08 10:27 --- This is unrealated to PR 29749, here we have load/stores there we have a rotate. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/32004] [4.1/4.2/4.3 regression] : can't find a register in class 'GENERAL_REGS' while reloading 'asm'

2007-07-08 Thread ubizjak at gmail dot com
--- Comment #28 from ubizjak at gmail dot com 2007-07-08 10:29 --- This patch breaks gcc.dg/torture/pr20314-1.c and gcc.dg/torture/pr20314-2.c tests for i386 [1] and x86_64 [2] targets on 4.1 branch: /home/uros/gcc-svn/branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/torture/pr20314- 1.c:

[Bug middle-end/32004] [4.1/4.2/4.3 regression] : can't find a register in class 'GENERAL_REGS' while reloading 'asm'

2007-07-08 Thread ubizjak at gmail dot com
--- Comment #29 from ubizjak at gmail dot com 2007-07-08 10:32 --- (In reply to comment #28) This patch breaks gcc.dg/torture/pr20314-1.c and gcc.dg/torture/pr20314-2.c tests for i386 [1] and x86_64 [2] targets on 4.1 branch: Also on 4.2 branch [1]. [1]:

[Bug c++/32596] ICE with template in anonymous namespace

2007-07-08 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 c++/32596] [4.3 Regression] ICE with template in anonymous namespace

2007-07-08 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added GCC host triplet|x86_64-suse-linux | Summary|ICE with template in|[4.3 Regression]

[Bug c++/32596] [4.3 Regression] ICE with inline template specialization in anonymous namespace

2007-07-08 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-07-08 10:46 --- Reduced testcase: namespace { templateclass T inline void char_less(void) { } template inline void char_lesschar(void) { } } -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug c/32574] [4.3 Regression] running out of memory during compiling

2007-07-08 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Keywords||ice-on-valid-code, memory- |

[Bug tree-optimization/32573] [4.3 Regression] ice for legal code with -O3

2007-07-08 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 fortran/32673] New: Wrongly allowed: Statement function with subobject of constant

2007-07-08 Thread burnus at gcc dot gnu dot org
Even with -std=f95 -pedantic no error is given for the following program. NAG f95 gives: Error: st_function.f90, line 4: Subobject of constant not allowed in statement function Example (from gfortran.fortran-torture/execute/st_function.f90): subroutine with_character_dummy character

[Bug target/32479] [4.3 Regression] [sh] ICE in cse_extended_basic_block, at cse.c:6117

2007-07-08 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Summary|[sh] ICE in |[4.3 Regression] [sh] ICE in

[Bug c++/32400] [4.3 Regression] ICE in expand_or_defer_fn, at cp/semantics.c:3220

2007-07-08 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-07-08 11:29 --- Related to PR 32596. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/32674] New: [4.1/4.2/4.3 regression] ICE in lvalue_p_1 initialising static variable inside template class

2007-07-08 Thread lmillward at gcc dot gnu dot org
The following code snippet (similiar to PR31992) triggers an ICE since 4.1.x onwards: --- snip --- class C { static const int j = 3; }; templateint class A { static const int i; }; templateint N const int AN::i(C::j); --- snip

[Bug bootstrap/32675] New: verify_stmts failed during Ada bootstrap

2007-07-08 Thread cato at df dot lth dot se
20070708 (experimental) (i386-unknown-netbsdelf3.1) GCC error: | | verify_stmts failed | | Error detected around ../../gcc/gcc/ada/exp_dbug.adb:981 | | Please submit a bug report; see http://gcc.gnu.org/bugs.html

[Bug c++/32676] New: [cxx0x branch] incorrect member address when using delegate constructors and virtual inheritance

2007-07-08 Thread a dot chavasse at gmail dot com
version: g++0x (GCC) 4.3.0 20070628 (experimental) (more exactly: branch svn://gcc.gnu.org/svn/gcc/branches/cxx0x-branch, svn revision 126129) system type: x86_64-unknown-linux-gnu configured with: ../gcc0x/configure --program-suffix=0x --disable-multilib --enable-languages=c,c++ The following

[Bug ada/32640] [Ada] [4.2 Regression] Binding for pthread_sigmask not same as other ports

2007-07-08 Thread laurent at guerby dot net
--- Comment #3 from laurent at guerby dot net 2007-07-08 14:22 --- Tested by Joel, privately approved by Geert, commited on 4.2 (okayed by Mark) and trunk. Laurent -- laurent at guerby dot net changed: What|Removed |Added

[Bug bootstrap/32675] verify_stmts failed during Ada bootstrap

2007-07-08 Thread ebotcazou at gcc dot gnu dot org
--- Comment #1 from ebotcazou at gcc dot gnu dot org 2007-07-08 14:25 --- *** This bug has been marked as a duplicate of 32589 *** -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/32589] [4.3 Regression] exp_dbug.adb:981: error: invalid array index

2007-07-08 Thread ebotcazou at gcc dot gnu dot org
--- Comment #9 from ebotcazou at gcc dot gnu dot org 2007-07-08 14:25 --- *** Bug 32675 has been marked as a duplicate of this bug. *** -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/28266] [4.0/4.1 regression] ICE on invalid default variable

2007-07-08 Thread pcarlini at suse dot de
--- Comment #8 from pcarlini at suse dot de 2007-07-08 14:34 --- Not a 4.2 regression anymore. -- pcarlini at suse dot de changed: What|Removed |Added

[Bug target/31331] [avr] ICE on function attribute syntax for main()

2007-07-08 Thread eweddington at cso dot atmel dot com
-- eweddington at cso dot atmel dot com changed: What|Removed |Added Target Milestone|--- |4.2.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31331

[Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings

2007-07-08 Thread manu at gcc dot gnu dot org
--- Comment #56 from manu at gcc dot gnu dot org 2007-07-08 14:50 --- Subject: Bug 25241 Author: manu Date: Sun Jul 8 14:50:37 2007 New Revision: 126461 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126461 Log: 2007-07-08 Manuel Lopez-Ibanez [EMAIL PROTECTED] PR

[Bug fortran/32673] Wrongly allowed: Statement function with subobject of constant

2007-07-08 Thread pault at gcc dot gnu dot org
--- Comment #1 from pault at gcc dot gnu dot org 2007-07-08 14:51 --- (In reply to comment #0) Even with -std=f95 -pedantic no error is given for the following program. NAG f95 gives: Both Lahey and g95 are happy with it. C421 (R424) The length specified for a character statement

[Bug tree-optimization/32663] [4.3 regression]: revision 126369 went into an infinite loop

2007-07-08 Thread hjl at lucon dot org
--- Comment #10 from hjl at lucon dot org 2007-07-08 15:12 --- When a statement has no vuses, but its LHS value handle has vuses, we wind up with tree val = vn_lookup_or_add_with_stmt (newt, stmt); vn_add (lhs, val); Now the LHS value handle changes from

[Bug c++/30535] [4.2/4.3 regression] ICE with invalid template operator

2007-07-08 Thread pcarlini at suse dot de
-- pcarlini at suse dot de changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |pcarlini at suse dot de |dot org |

[Bug fortran/32157] intrinsic function name conflicts with subroutine if present in the same file

2007-07-08 Thread dfranke at gcc dot gnu dot org
--- Comment #3 from dfranke at gcc dot gnu dot org 2007-07-08 15:18 --- Paul, your patch in comment #2 also seems to fix PR31609. Any plans to get it into trunk? :) -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/31609] module that calls a contained function with an ENTRY point

2007-07-08 Thread dfranke at gcc dot gnu dot org
--- Comment #4 from dfranke at gcc dot gnu dot org 2007-07-08 15:20 --- Jerry, the patch in PR32157, comment #2 seems to fix this one as well. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/32217] segfaults (at runtime) on UNPACK with zero-sized arrays

2007-07-08 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2007-07-08 15:42 --- This fixes the test case. Confirmed on PPC Darwin7 and it passes the regression-test on this platform. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32217

[Bug fortran/32554] [4.2 Only] Bug in P formatting

2007-07-08 Thread jvdelisle at gcc dot gnu dot org
--- Comment #13 from jvdelisle at gcc dot gnu dot org 2007-07-08 17:09 --- Closing, fixed for 4.2 -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/31639] [4.1/4.2/4.3] ICE in gfc_conv_constant, at fortran/trans-const.c:348 with len

2007-07-08 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2007-07-08 17:26 --- Further reduced testcase: $ cat pr31639.f90 function f() integer :: i = irand() f = i end function $ gfortran-svn -g -Wall -c pr31639.f90 pr31639.f90: In function 'f': pr31639.f90:1: internal compiler error:

[Bug fortran/31639] [4.1/4.2/4.3] ICE in gfc_conv_constant, at fortran/trans-const.c:348 with len

2007-07-08 Thread dfranke at gcc dot gnu dot org
--- Comment #3 from dfranke at gcc dot gnu dot org 2007-07-08 17:28 --- function f() integer :: i = irand() end function Make that: function f() integer :: f = irand() end function -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31639

[Bug fortran/31639] [4.1/4.2/4.3] ICE in gfc_conv_constant, at fortran/trans-const.c:348 with len

2007-07-08 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2007-07-08 17:49 --- function f() integer :: i = irand() f = i end function We should give a message such as ifort: The initialization shall not appear for this object name. [F] This array or function or substring is

[Bug c++/32677] New: optimizer fails properly accessing argument

2007-07-08 Thread attardi at di dot unipi dot it
The problem occurs when using flags -O3 (or -O2) in gcc 4.0, 4.1 and 4.2.0. The following program exhibits the bug: #include iostream inline void store4(char* dst, char* src) { *(unsigned*)dst = *(unsigned*)src; } voidset(char* dst, long value) { store4(dst, (char*)value); } int

[Bug c++/31780] [4.2/4.3 regression] ICE with incompatible types for ?: with complex type conversion

2007-07-08 Thread mark at codesourcery dot com
--- Comment #11 from mark at codesourcery dot com 2007-07-08 18:12 --- Subject: Re: [4.2/4.3 regression] ICE with incompatible types for ?: with complex type conversion pcarlini at suse dot de wrote: --- Comment #10 from pcarlini at suse dot de 2007-07-07 22:57 --- (In

[Bug c++/32677] optimizer fails properly accessing argument

2007-07-08 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-07-08 18:23 --- You are violating C/C++ aliasing rules. You are accessing a long as an unsigned int which is not allowed by C/C++ and is undefined. It is allowed to access an int as a unsigned int and a long as an unsigned long

[Bug c/21920] aliasing violations

2007-07-08 Thread pinskia at gcc dot gnu dot org
--- Comment #116 from pinskia at gcc dot gnu dot org 2007-07-08 18:23 --- *** Bug 32677 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/32678] New: GFortan works incorrectly when writing with FORMAT Tx

2007-07-08 Thread satyaakam at yahoo dot co dot in
GFortran writes unpredictable char when it is used modificaters Tx in FORMAT and the first position 'x' is less then current position and the second position 'x' is greater then the maximum previously position. write (*,10) '12','a','b' 10 format (a2,t1,a1,t2,a1,t20,' ') This bug

[Bug c++/31780] [4.2/4.3 regression] ICE with incompatible types for ?: with complex type conversion

2007-07-08 Thread pcarlini at suse dot de
--- Comment #12 from pcarlini at suse dot de 2007-07-08 18:42 --- (In reply to comment #11) I was confused by your crediting me with magic because it was Roger Sayle who fixed the bug. Ah! Curious, he doesn't work on the C++ front-end very often... So, libstdc++ is the rare case.

[Bug c++/31780] [4.2/4.3 regression] ICE with incompatible types for ?: with complex type conversion

2007-07-08 Thread mmitchel at gcc dot gnu dot org
--- Comment #13 from mmitchel at gcc dot gnu dot org 2007-07-08 18:58 --- Gaby -- Paolo and I would like your input on this issue, please. Thanks, -- Mark -- mmitchel at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/32678] GFortan works incorrectly when writing with FORMAT Tx

2007-07-08 Thread jvdelisle at gcc dot gnu dot org
--- Comment #1 from jvdelisle at gcc dot gnu dot org 2007-07-08 19:12 --- I believe this has been fixed in gfortran version 4.2 and 4.3. You can get better results with these. In the meantime, I think your test case has uncovered another issue. $ ./a.out | hexdump 000 6261 2000

[Bug bootstrap/32679] New: cpp bug in libffi (looks like brother of http://gcc.gnu.org/ml/gcc/2003-05/msg01774.html)

2007-07-08 Thread Vladislav dot Mikhailikov at paradox-neo dot uz
/bin/sh ./libtool --tag=GCJ --mode=link /usr/src/rpm/BUILD/gcc-build/gcc/gcj -B/usr/src/rpm/BUILD/gcc-build/pentium4-east-linux/libjava/ -B/usr/src/rpm/BUILD/gcc-build/gcc/ -L/usr/src/rpm/BUILD/gcc-build/pentium4-east-linux/libjava -march=pentium4 -mtune=pentium4 -fno-asynchronous-unwind-tables

[Bug bootstrap/32679] cpp bug in libffi (looks like brother of http://gcc.gnu.org/ml/gcc/2003-05/msg01774.html)

2007-07-08 Thread Vladislav dot Mikhailikov at paradox-neo dot uz
--- Comment #1 from Vladislav dot Mikhailikov at paradox-neo dot uz 2007-07-08 19:20 --- # 1 ../../../gcc-4.3.0-20070707/libffi/src/types.c # 1 /usr/src/rpm/BUILD/gcc-build/pentium4-east-linux/libffi// # 1 built-in # 1 command-line # 1 ../../../gcc-4.3.0-20070707/libffi/src/types.c #

[Bug bootstrap/32679] cpp bug in libffi (looks like brother of http://gcc.gnu.org/ml/gcc/2003-05/msg01774.html)

2007-07-08 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-07-08 19:20 --- *** This bug has been marked as a duplicate of 32670 *** *** This bug has been marked as a duplicate of 32670 *** *** This bug has been marked as a duplicate of 32670 *** -- pinskia at gcc dot gnu dot org

[Bug preprocessor/32670] '$' is handled as a part of identifiers in asm

2007-07-08 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-07-08 19:20 --- *** Bug 32679 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/32670] [4.3 Regression] '$' is handled as a part of identifiers in asm

2007-07-08 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-07-08 19:21 --- Fixed by: 2007-07-08 Sandra Loosemore [EMAIL PROTECTED] Revert this patch: 2007-07-06 Sandra Loosemore [EMAIL PROTECTED] * c-opts.c (c_common_handle_option): Make DOLLARS_IN_IDENTIFIERS

[Bug bootstrap/32679] cpp bug in libffi (looks like brother of http://gcc.gnu.org/ml/gcc/2003-05/msg01774.html)

2007-07-08 Thread Vladislav dot Mikhailikov at paradox-neo dot uz
--- Comment #3 from Vladislav dot Mikhailikov at paradox-neo dot uz 2007-07-08 19:22 --- Created an attachment (id=13871) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13871action=view) Preprocessed source of libffi's types.c --

[Bug debug/32610] [4.2/4.3 regression] ICE in gen_tagged_type_instantiation_die, at dwarf2out.c:12762

2007-07-08 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-07-08 19:30 --- Confirmed. Reduced testcase: void matmat(int nbc1 ) { double (*m1)[nbc1]; } void rtop(void) { matmat(1); } -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/32573] [4.3 Regression] ice for legal code with -O3

2007-07-08 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-07-08 19:37 --- The whole ddr.subscripts vec is messed up: (gdb) p *ddr.subscripts $5 = { base = { num = 1125262459, alloc = 0, vec = {0x43121100} } } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32573

[Bug fortran/31609] module that calls a contained function with an ENTRY point

2007-07-08 Thread pault at gcc dot gnu dot org
--- Comment #5 from pault at gcc dot gnu dot org 2007-07-08 19:40 --- (In reply to comment #4) Not sure if this is same bug or new one. Al, How do I load a .zip file through Bugzilla, please? Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31609

[Bug fortran/31609] module that calls a contained function with an ENTRY point

2007-07-08 Thread dfranke at gcc dot gnu dot org
--- Comment #6 from dfranke at gcc dot gnu dot org 2007-07-08 19:44 --- Not sure if this is same bug or new one. Paul, this probably became PR32594. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31609

[Bug middle-end/32667] builtin operator= generates memcpy with overlapping memory regions

2007-07-08 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-07-08 19:46 --- No, this doesn't have anything to do with aliasing. 4.3 simply inlines the memcpys. This is probably a middle-end issue with expanding structure assignments. 2.95 and 3.3 also expanded the calls inline. 3.4 does

[Bug fortran/31609] module that calls a contained function with an ENTRY point

2007-07-08 Thread jvdelisle at verizon dot net
--- Comment #7 from jvdelisle at verizon dot net 2007-07-08 19:54 --- Subject: Re: module that calls a contained function with an ENTRY point pault at gcc dot gnu dot org wrote: --- Comment #5 from pault at gcc dot gnu dot org 2007-07-08 19:40 --- (In reply to comment #4)

[Bug c/32680] New: unneeded movsbl

2007-07-08 Thread romikb at mail dot ru
Code compiled with -O2 -fomit-frame-pointer char function1(){ return 10; } char (*pfunc)() = function1; char function2(){ return pfunc(); } produce unneeded movsbl instruction: _function2: subl$12, %esp unneeded call*_pfunc addl$12, %esp unneeded

[Bug middle-end/32680] unneeded movsbl

2007-07-08 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-07-08 20:29 --- eax register allready contains char not true but oh well, it is called promting for abi reasons. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/25094] Procedure with public generic identifier allowed to have argument of private type

2007-07-08 Thread dfranke at gcc dot gnu dot org
--- Comment #3 from dfranke at gcc dot gnu dot org 2007-07-08 20:39 --- Subject: Bug 25094 Author: dfranke Date: Sun Jul 8 20:38:58 2007 New Revision: 126466 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126466 Log: gcc/fortran: 2007-07-08 Daniel Franke [EMAIL PROTECTED]

[Bug tree-optimization/32663] [4.3 regression]: revision 126369 went into an infinite loop

2007-07-08 Thread dberlin at dberlin dot org
--- Comment #11 from dberlin at gcc dot gnu dot org 2007-07-08 20:40 --- Subject: Re: [4.3 regression]: revision 126369 went into an infinite loop On 8 Jul 2007 15:12:51 -, hjl at lucon dot org [EMAIL PROTECTED] wrote: --- Comment #10 from hjl at lucon dot org 2007-07-08

[Bug middle-end/32667] builtin operator= generates memcpy with overlapping memory regions

2007-07-08 Thread pcarlini at suse dot de
--- Comment #4 from pcarlini at suse dot de 2007-07-08 20:53 --- Thanks for the clarification, Richard. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32667

[Bug fortran/32669] [4.3 Regression] Actual argument contains too few elements for dummy argument is triggered for valid code

2007-07-08 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2007-07-08 20:57 --- Subject: Bug 32669 Author: burnus Date: Sun Jul 8 20:57:07 2007 New Revision: 126467 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126467 Log: 2007-07-08 Tobias Burnus [EMAIL PROTECTED] PR

[Bug fortran/32669] [4.3 Regression] Actual argument contains too few elements for dummy argument is triggered for valid code

2007-07-08 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2007-07-08 20:57 --- FIXED. Note: This is PR was not rejects-valid but only diagnostic as a (bogus) warning was printed and not an error. The problem occurred for array sections where the lower bound was not specified (a(:), a(:4)

[Bug fortran/32535] namelist with private items contained in sub-sub-procedure of a module rejected

2007-07-08 Thread patchapp at dberlin dot org
--- Comment #1 from patchapp at dberlin dot org 2007-07-08 21:06 --- Subject: Bug number PR 32535 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-07/msg00650.html --

[Bug fortran/17711] Wrong operator name in error message

2007-07-08 Thread dfranke at gcc dot gnu dot org
--- Comment #9 from dfranke at gcc dot gnu dot org 2007-07-08 21:09 --- Subject: Bug 17711 Author: dfranke Date: Sun Jul 8 21:08:52 2007 New Revision: 126468 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126468 Log: gcc/fortran: 2007-07-08 Daniel Franke [EMAIL PROTECTED]

[Bug fortran/17711] Wrong operator name in error message

2007-07-08 Thread dfranke at gcc dot gnu dot org
--- Comment #10 from dfranke at gcc dot gnu dot org 2007-07-08 21:13 --- Fixed in trunk. No regression, no backport. Closing. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/25094] Procedure with public generic identifier allowed to have argument of private type

2007-07-08 Thread dfranke at gcc dot gnu dot org
--- Comment #4 from dfranke at gcc dot gnu dot org 2007-07-08 21:13 --- Fixed in trunk. No regression, no backport. Closing. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/32681] New: ice for legal C code with flags -ffast-math -O3 -ftree-vectorize

2007-07-08 Thread dcb314 at hotmail dot com
I just tried to compile Suse Linux package aalib-1.4.0-364 with the GNU C compiler version 4.3 snapshot 20070706 The compiler said aarender.c: In function 'aa_renderpalette': aarender.c:33: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if

[Bug c/32681] ice for legal C code with flags -ffast-math -O3 -ftree-vectorize

2007-07-08 Thread dcb314 at hotmail dot com
--- Comment #1 from dcb314 at hotmail dot com 2007-07-08 21:15 --- Created an attachment (id=13872) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13872action=view) C source code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32681

[Bug fortran/32217] segfaults (at runtime) on UNPACK with zero-sized arrays

2007-07-08 Thread patchapp at dberlin dot org
--- Comment #4 from patchapp at dberlin dot org 2007-07-08 21:30 --- Subject: Bug number PR 32217 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-07/msg00717.html --

[Bug libfortran/32336] matmul: flag runtime- instead of assertation error

2007-07-08 Thread tkoenig at gcc dot gnu dot org
--- Comment #3 from tkoenig at gcc dot gnu dot org 2007-07-08 22:08 --- Here's an example: $ cat mm.f90 program main real, dimension(:,:), allocatable :: a real, dimension(:), allocatable :: b allocate (a(2,2), b(3)) call random_number(a) call random_number(b) print

[Bug fortran/32217] segfaults (at runtime) on UNPACK with zero-sized arrays

2007-07-08 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2007-07-08 22:20 --- Subject: Bug 32217 Author: tkoenig Date: Sun Jul 8 22:20:04 2007 New Revision: 126469 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126469 Log: 2007-07-08 Thomas Koenig [EMAIL PROTECTED] PR

[Bug fortran/32217] segfaults (at runtime) on UNPACK with zero-sized arrays

2007-07-08 Thread tkoenig at gcc dot gnu dot org
--- Comment #6 from tkoenig at gcc dot gnu dot org 2007-07-08 22:23 --- Fixed on mainline. No plans to backport this to 4.2. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/32678] GFortan works incorrectly when writing with FORMAT Tx

2007-07-08 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2007-07-08 22:37 --- This appears to fix it: Still testing Index: transfer.c === --- transfer.c (revision 126449) +++ transfer.c (working copy) @@ -1213,6 +1213,8 @@

[Bug fortran/32682] New: [4.3 Regression] ICE in gfc_trans_array_constructor, at fortran/trans-array.c:1664

2007-07-08 Thread jaydub66 at gmail dot com
consider the following program: program matrix implicit none real,dimension(2,2),parameter::c=0 real,dimension(2,2)::m m=f()+c m=c+f() call sub(m+f()) call sub(c+m) call sub(f()+c) call sub(c+f()) contains function f() implicit none real, dimension(2,2)::f f=0 end

[Bug c++/30917] [4.1/4.2/4.3 Regression] ICE with friend in local class (to a function)

2007-07-08 Thread mmitchel at gcc dot gnu dot org
--- Comment #5 from mmitchel at gcc dot gnu dot org 2007-07-08 22:40 --- Simon -- It took me a while to decide that this patch was OK -- but it is. :-) I will suggest a few changes to make it more obviously correct. First, minor coding style nit: drop the else after the return that

[Bug c++/30535] [4.2/4.3 regression] ICE with invalid template operator

2007-07-08 Thread paolo at gcc dot gnu dot org
--- Comment #3 from paolo at gcc dot gnu dot org 2007-07-08 22:41 --- Subject: Bug 30535 Author: paolo Date: Sun Jul 8 22:41:12 2007 New Revision: 126470 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126470 Log: /cp 2007-07-08 Paolo Carlini [EMAIL PROTECTED] PR

[Bug fortran/24784] Warning about unused routine argument should not read unused variable

2007-07-08 Thread dfranke at gcc dot gnu dot org
--- Comment #6 from dfranke at gcc dot gnu dot org 2007-07-08 22:41 --- Subject: Bug 24784 Author: dfranke Date: Sun Jul 8 22:41:35 2007 New Revision: 126471 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126471 Log: gcc: 2007-07-08 Daniel Franke [EMAIL PROTECTED] *

[Bug fortran/28004] Warn if intent(out) dummy variable is not set

2007-07-08 Thread dfranke at gcc dot gnu dot org
--- Comment #8 from dfranke at gcc dot gnu dot org 2007-07-08 22:41 --- Subject: Bug 28004 Author: dfranke Date: Sun Jul 8 22:41:35 2007 New Revision: 126471 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126471 Log: gcc: 2007-07-08 Daniel Franke [EMAIL PROTECTED] *

[Bug fortran/24784] Warning about unused routine argument should not read unused variable

2007-07-08 Thread dfranke at gcc dot gnu dot org
--- Comment #7 from dfranke at gcc dot gnu dot org 2007-07-08 22:45 --- Fixed in trunk. Not a regression, no backport. Closing. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/28004] Warn if intent(out) dummy variable is used before being defined

2007-07-08 Thread dfranke at gcc dot gnu dot org
--- Comment #9 from dfranke at gcc dot gnu dot org 2007-07-08 22:54 --- Partially fixed (warn if unused and thus not set). Changed summary to reflect the remaining task. Unassigning myself. -- dfranke at gcc dot gnu dot org changed: What|Removed

[Bug fortran/29876] ICE on bad operator in ONLY clause of USE statement

2007-07-08 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2007-07-08 22:58 --- Subject: Bug 29876 Author: dfranke Date: Sun Jul 8 22:58:45 2007 New Revision: 126472 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126472 Log: gcc/fortran: 2007-07-08 Daniel Franke [EMAIL PROTECTED]

[Bug fortran/29876] ICE on bad operator in ONLY clause of USE statement

2007-07-08 Thread dfranke at gcc dot gnu dot org
--- Comment #3 from dfranke at gcc dot gnu dot org 2007-07-08 23:03 --- Fixed in trunk. Closing. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/32678] GFortan works incorrectly when writing with FORMAT Tx

2007-07-08 Thread jvdelisle at gcc dot gnu dot org
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2007-07-09 00:15 --- Subject: Bug 32678 Author: jvdelisle Date: Mon Jul 9 00:15:15 2007 New Revision: 126473 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126473 Log: 2007-07-08 Jerry DeLisle [EMAIL PROTECTED] PR

[Bug fortran/32678] GFortan works incorrectly when writing with FORMAT Tx

2007-07-08 Thread jvdelisle at gcc dot gnu dot org
--- Comment #4 from jvdelisle at gcc dot gnu dot org 2007-07-09 00:17 --- Subject: Bug 32678 Author: jvdelisle Date: Mon Jul 9 00:17:42 2007 New Revision: 126478 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126478 Log: 2007-07-08 Jerry DeLisle [EMAIL PROTECTED] PR

[Bug fortran/32678] [4.2, 4.1]GFortan works incorrectly when writing with FORMAT Tx

2007-07-08 Thread jvdelisle at gcc dot gnu dot org
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2007-07-09 00:22 --- Fixed on 4.3. Will back port to 4.2 and 4.1 since this is a regression with respect to g77. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/32683] New: Compiling HPCToolkit causes many errors and warnings using GCC 4.3 (but not prior versions)

2007-07-08 Thread rob1weld at aol dot com
I'm not an expert in C++. This bug report's subject is HPCToolkit compiles with GCC 4.2 (and earlier) but won't compile with GCC 4.3 . I don't know if it is because GCC was less fussy previously or there is a fault in GCC 4.3. There are so many warnings and errors, and the program _might_ be of

[Bug c++/32683] Compiling HPCToolkit causes many errors and warnings using GCC 4.3 (but not prior versions)

2007-07-08 Thread rob1weld at aol dot com
--- Comment #1 from rob1weld at aol dot com 2007-07-09 02:49 --- Created an attachment (id=13873) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13873action=view) A few example .ii files (from a list of many) that have errors when compiled using GCC == 4.3 --- but do not have any

[Bug libstdc++/32683] Compiling HPCToolkit causes many errors and warnings using GCC 4.3 (but not prior versions)

2007-07-08 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-07-09 02:53 --- # gcc-4.3 -c -o test_1.o test_1.cpp test_1.cpp: In function 'bool RELOCATEDcmp(const char*)': test_1.cpp:9: error: 'strncmp' was not declared in this scope No include for string.h or cstring. # gcc-4.3 -c -o

[Bug tree-optimization/32684] New: Missed tail call with sin/cos and sincos pass

2007-07-08 Thread pinskia at gcc dot gnu dot org
Testcase: double _Complex quantum_cexp(double phi) { return __builtin_cos(phi) + 1i * __builtin_sin(phi); } - Cut This shows up in libquantum (but after fixing a different issue which I will file seperately). -- Summary: Missed tail call with sin/cos and sincos pass

[Bug tree-optimization/32685] New: Missed changing of sin into sinf (likewise for cos to cosf)

2007-07-08 Thread pinskia at gcc dot gnu dot org
Testcase: float _Complex quantum_cexp(float phi) { return __builtin_cos(phi) + 1i * __builtin_sin(phi); } --- CUT We should able to change cos/sin here into cosf/sinf (and then into cexpfi). This shows up in libquantum (which is part of SPEC 2k6 but the sources I am using to test are the

[Bug middle-end/32686] New: Code to convert double to _Complex double for arguments passing is not good (extra load)

2007-07-08 Thread pinskia at gcc dot gnu dot org
Testcase: _Complex double f(_Complex double); _Complex double g(double a) { return f(a); } - Cut We currently get: mflr r0 bcl 20,31,L001$pb L001$pb: stw r31,-4(r1) mflr r31 stfd f1,-24(r1) mtlr r0 lwz r3,-24(r1)

[Bug middle-end/32686] Code to convert double to _Complex double for arguments passing is not good (extra load)

2007-07-08 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-07-09 03:33 --- powerpc64-darwin is just as bad, we get: mflr r0 std r31,-8(r1) stfd f1,-32(r1) bcl 20,31,L001$pb L001$pb: mflr r31 addis

[Bug fortran/31609] module that calls a contained function with an ENTRY point

2007-07-08 Thread pault at gcc dot gnu dot org
--- Comment #8 from pault at gcc dot gnu dot org 2007-07-09 04:45 --- This ICEs as well: MODULE ksbin1_aux_mod interface foo module procedure k end interface CONTAINS FUNCTION j () j = 1 ENTRY k () k = 2 END FUNCTION j END MODULE ksbin1_aux_mod I

[Bug fortran/32157] intrinsic function name conflicts with subroutine if present in the same file

2007-07-08 Thread patchapp at dberlin dot org
--- Comment #4 from patchapp at dberlin dot org 2007-07-09 05:05 --- Subject: Bug number PR32157 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-07/msg00744.html --

[Bug tree-optimization/23834] Not removing a SSA_NAME which is not used

2007-07-08 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-07-09 05:27 --- Fixed by: 2007-05-28 Daniel Berlin [EMAIL PROTECTED] * tree-ssa-dce.c (eliminate_unnecessary_stmts): Release LHS SSA name when we remove it from a call. 2007-01-24 Jan Hubicka [EMAIL PROTECTED]

[Bug testsuite/25037] gcc.target/i386/asm-1.c fails with -m64 passed

2007-07-08 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-07-09 05:29 --- Fixed by: 2006-09-08 Eric Christopher [EMAIL PROTECTED] * gcc.target/i386/20060512-3.c: Run test on ilp32 only. * gcc.target/i386/memcpy-1.c: Ditto. * gcc.target/i386/asm-1.c: Ditto. --

  1   2   >