[Bug middle-end/28581] Illegal loading the address of a label with -O2

2007-11-18 Thread ebotcazou at gcc dot gnu dot org
--- Comment #10 from ebotcazou at gcc dot gnu dot org 2007-11-18 08:46 --- The compiler is refusing to see the usage of labels as addresses in other places than gotos. I think you call this design. But one cant expect the code to produce different results with optimization enabled.

[Bug fortran/34137] New: Module function with ENTRY rejected

2007-11-18 Thread burnus at gcc dot gnu dot org
The following program should print 12 -14.000 but gfortran rejects it with Error: Contained function 'master.0.func' at (1) has no IMPLICIT type It fails with GCC 4.1.3, 4.2.1 and 4.3.0 with: end module m 1 Error: Contained function 'master.0.func' at (1) has no IMPLICIT type

[Bug tree-optimization/34138] New: [4.3 Regression] verify_ssa failed (found real variable when subvariables should have appeared)

2007-11-18 Thread tbm at cyrius dot com
With current trunk on sparc: [EMAIL PROTECTED]:~$ /usr/lib/gcc-snapshot/bin/gcc -c -O3 busybox-ash.c busybox-ash.c: In function 'dotcmd': busybox-ash.c:15: error: found real variable when subvariables should have appeared while verifying SSA_NAME shellparam_17 in statement # shellparam_17 = VDEF

[Bug tree-optimization/34138] [4.3 Regression] verify_ssa failed (found real variable when subvariables should have appeared)

2007-11-18 Thread tbm at cyrius dot com
--- Comment #1 from tbm at cyrius dot com 2007-11-18 10:15 --- Created an attachment (id=14574) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14574action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34138

[Bug tree-optimization/34138] [4.3 Regression] verify_ssa failed (found real variable when subvariables should have appeared)

2007-11-18 Thread tbm at cyrius dot com
--- Comment #2 from tbm at cyrius dot com 2007-11-18 10:16 --- /* Testcase by Martin Michlmayr [EMAIL PROTECTED] */ extern void free (void *__ptr); struct shparam { char **p; }; static struct shparam shellparam; void freeparam (volatile struct shparam *param, char **ap) { free

[Bug fortran/34040] relation between kinds and C types (for math builtins) shouldn't be hardcoded

2007-11-18 Thread kkojima at gcc dot gnu dot org
--- Comment #9 from kkojima at gcc dot gnu dot org 2007-11-18 10:27 --- is that copysignl? Since the size of long double is 8 for -m2e, copysignl would be. I think that fortran has no real use on such short double targets, though. I'm inclined to make fortran unsupported for SH

[Bug middle-end/34132] [4.3 Regression] ICE: internal consistency failure (invalid rtl sharing found in the insn)

2007-11-18 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2007-11-18 10:37 --- Testing a fix. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/34135] Bind(C): Alignment of commons wrong on OSX

2007-11-18 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2007-11-18 10:18 --- I have applied the patch at http://gcc.gnu.org/ml/fortran/2007-08/msg00142.html and the warnings have disappeared without introducing any visible regression (Intel Darwin9.1). --

[Bug fortran/34139] New: gfortran.dg/subref_array_pointer_2.f90 fails on Intel Darwin9

2007-11-18 Thread dominiq at lps dot ens dot fr
gfortran.dg/subref_array_pointer_2.f90 fails on Intel Darwin9 at all level of optimization. The following reduced case shows the origin of the problem: ! { dg-do run } ! Test the fix for PRs29396, 29606, 30625 and 30871, in which pointers ! to arrays with subreferences did not work. ! type :: t

[Bug tree-optimization/34140] New: [4.3 Regression] ICE in is_hidden_global_store, at tree-ssa-sink.c:207

2007-11-18 Thread tbm at cyrius dot com
With current trunk. This was introduced between 20070916 and 20071020. (sid)1687:[EMAIL PROTECTED]: ~] /usr/lib/gcc-snapshot/bin/gcc -c -O3 -Wall gnubg-rollout.c gnubg-rollout.c: In function 'RolloutGeneral': gnubg-rollout.c:15: internal compiler error: in is_hidden_global_store, at

[Bug tree-optimization/34140] [4.3 Regression] ICE in is_hidden_global_store, at tree-ssa-sink.c:207

2007-11-18 Thread tbm at cyrius dot com
--- Comment #2 from tbm at cyrius dot com 2007-11-18 11:20 --- /* Testcase by Martin Michlmayr [EMAIL PROTECTED] */ typedef struct { unsigned int fCubeful; } evalcontext; typedef struct { evalcontext aec[2]; unsigned int fCubeful:1; } rolloutcontext; void RolloutGeneral (int

[Bug libfortran/34141] New: gfortran.fortran-torture/execute/intrinsic_set_exponent.f90 fails on Intel Darwin9

2007-11-18 Thread dominiq at lps dot ens dot fr
gfortran.fortran-torture/execute/intrinsic_set_exponent.f90 fails on Intel Darwin9 at all level of optimization. The following reduced test case shows the origin of the failure (EXPONENT for real(4), but not for real(8)): !Program to test SET_EXPONENT intrinsic function. real*4 x,y integer*4

[Bug tree-optimization/34127] [4.3 Regression] ICE: tree-ssa-operands.c:1688

2007-11-18 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot |dot org

[Bug tree-optimization/34127] [4.3 Regression] ICE: tree-ssa-operands.c:1688

2007-11-18 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2007-11-18 12:50 --- Whoops, sorry. Reduced testcase: static void whichtable(char **pfmt) { --*pfmt; } void prepare_s(const char *fmt) { whichtable((char **)fmt); } ./cc1 -quiet -O t2.i t2.i: In function 'prepare_s': t2.i:7:

[Bug tree-optimization/34127] [4.3 Regression] ICE: tree-ssa-operands.c:1688

2007-11-18 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2007-11-18 13:53 --- Hm, this is an unlucky case because of the way fold_stmt works. What we have is (even more simplified): void prepare_s(const char *fmt) { char ** f = (char **)fmt; *f = 0; } where it is not hard to see that

[Bug c++/34022] C++0x: rvalue references and std::forward() broken with built-in types

2007-11-18 Thread dgregor at gcc dot gnu dot org
--- Comment #4 from dgregor at gcc dot gnu dot org 2007-11-18 14:15 --- On further reading into the standard, I believe GCC is doing the right thing. 8.5.3p5 is very specific in saying that one can only bind a reference to an rvalue if the type of the rvalue is of class type. Otherwise,

[Bug fortran/23057] Fortran common blocks are not described with DW_TAG_common_block

2007-11-18 Thread george at gly dot bris dot ac dot uk
--- Comment #5 from george at gly dot bris dot ac dot uk 2007-11-18 14:56 --- I submitted a patch that causes debug info for identifiers in COMMON to be emitted with DW_TAG_common_block. See http://gcc.gnu.org/ml/gcc-patches/2007-11/msg00311.html -- george at gly dot bris dot ac

[Bug tree-optimization/34140] [4.3 Regression] ICE in is_hidden_global_store, at tree-ssa-sink.c:207

2007-11-18 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-11-18 14:44 --- Confirmed. Called from tree_ssa_dce_loop (). # VUSE rc_47, rc_47 { rc } # rc_45 = VDEF rc_45 { rc } rc_45 = D.1197_49 != 0 ? rc_47 : rc_47 WTF? tree if-conversion generates this crap. -- rguenth at gcc dot

[Bug tree-optimization/34138] [4.3 Regression] verify_ssa failed (found real variable when subvariables should have appeared)

2007-11-18 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-11-18 14:37 --- Confirmed. Also happens on i686. verify_ssa is after PRE in function dotcmd. -O2 is enough to trigger the failure if you mark freeparam inline. -- rguenth at gcc dot gnu dot org changed: What

[Bug middle-end/28581] Illegal loading the address of a label with -O2

2007-11-18 Thread sparc64 at rediffmail dot com
--- Comment #11 from sparc64 at rediffmail dot com 2007-11-18 14:44 --- I agree that we should clarify the documentation if we definitely rule the code as being invalid. Since is a C extension, I believe one can reserve the right to limit how long it extends. But this limitation,

[Bug c++/34101] [4.3 regression] ICE with argument deduction of variadic template function

2007-11-18 Thread dgregor at gcc dot gnu dot org
-- dgregor at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |dgregor at gcc dot gnu dot |dot org

[Bug tree-optimization/34127] [4.3 Regression] ICE: tree-ssa-operands.c:1688

2007-11-18 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2007-11-18 15:50 --- Subject: Bug 34127 Author: rguenth Date: Sun Nov 18 15:49:57 2007 New Revision: 130269 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130269 Log: 2007-11-18 Richard Guenther [EMAIL PROTECTED] PR

[Bug tree-optimization/34127] [4.3 Regression] ICE: tree-ssa-operands.c:1688

2007-11-18 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2007-11-18 15:50 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added OtherBugsDependingO|

[Bug middle-end/28581] Illegal loading the address of a label with -O2

2007-11-18 Thread steven at gcc dot gnu dot org
--- Comment #12 from steven at gcc dot gnu dot org 2007-11-18 16:05 --- This is not a smal thing to fix at all. Fixing this involves teaching the compiler that some labels cannot be moved; that these labels are optimization barriers (i.e. no insn can be safely moved up or down across

[Bug fortran/34137] Module function with ENTRY rejected

2007-11-18 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-11-18 16:35 --- Subject: Bug 34137 Author: burnus Date: Sun Nov 18 16:35:12 2007 New Revision: 130270 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130270 Log: 2007-11-18 Tobias Burnus [EMAIL PROTECTED] PR

[Bug fortran/31608] wrong types in character array/scalar binop

2007-11-18 Thread pault at gcc dot gnu dot org
--- Comment #65 from pault at gcc dot gnu dot org 2007-11-18 17:16 --- Well, I think that it's fixed on trunk now. Go on, make my day and find another! Cheers Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/34142] g++ linker looks for /libgcc_s.1.dylib

2007-11-18 Thread fang at csl dot cornell dot edu
--- Comment #1 from fang at csl dot cornell dot edu 2007-11-18 17:26 --- and otool -L (like ldd) shows this: $ otool -L /sw/lib/gcc4.3/lib/libstdc++.dylib /sw/lib/gcc4.3/lib/libstdc++.dylib: /sw/lib/gcc4.3/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version

[Bug fortran/34139] gfortran.dg/subref_array_pointer_2.f90 fails on Intel Darwin9

2007-11-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #1 from jvdelisle at gcc dot gnu dot org 2007-11-18 17:27 --- How about this: if (any(abs(ptr3 - (/cos(1.0_4), cos(3.0_4)/)).gt. 1e-05)) call abort () -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34139

[Bug fortran/31608] wrong types in character array/scalar binop

2007-11-18 Thread pault at gcc dot gnu dot org
--- Comment #64 from pault at gcc dot gnu dot org 2007-11-18 17:14 --- Subject: Bug 31608 Author: pault Date: Sun Nov 18 17:14:40 2007 New Revision: 130271 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130271 Log: 2007-11-18 Paul Thomas [EMAIL PROTECTED] PR

[Bug fortran/34137] Module function with ENTRY rejected

2007-11-18 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-11-18 17:14 --- FIXED on the trunk (4.3.0). Was simpler than I thought. -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/34142] New: g++ linker looks for /libgcc_s.1.dylib

2007-11-18 Thread fang at csl dot cornell dot edu
With 4.3.0-20071109, basic C++ linking fails (test taken from configure-style AC_LINK_IF_ELSE): $ cat fgets.cc extern C { char fgets(void); } int main(int argc, char* argv[]) { fgets(); return 0; } $ g++-4 fgets.cc -o fgets /usr/bin/ld: warning can't open dynamic library:

[Bug middle-end/32546] [4.3 Regression] 'warning: array subscript is above/below array bounds' on delete[]

2007-11-18 Thread p dot vanhoof at oma dot be
--- Comment #5 from p dot vanhoof at oma dot be 2007-11-18 18:17 --- I am not completely sure whether this is the same underlying problem, but I get a bogus warning array subscript is above array bounds with the code snippet below when compiled with gcc -c -O3 -Wall: =

[Bug middle-end/33335] [4.3 Regression] FAIL: 26_numerics/complex/inserters_extractors/wchar_t/1.cc

2007-11-18 Thread jakub at gcc dot gnu dot org
--- Comment #11 from jakub at gcc dot gnu dot org 2007-11-18 19:18 --- Subject: Bug 5 Author: jakub Date: Sun Nov 18 19:18:39 2007 New Revision: 130274 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130274 Log: PR middle-end/5 * optabs.h (optab_table):

[Bug rtl-optimization/34132] [4.3 Regression] ICE: internal consistency failure (invalid rtl sharing found in the insn)

2007-11-18 Thread jakub at gcc dot gnu dot org
(try_replace_reg): Avoid rtx sharing between REG_EQUAL note and insn. * gcc.c-torture/compile/20071118-1.c: New test. Added: trunk/gcc/testsuite/gcc.c-torture/compile/20071118-1.c Modified: trunk/gcc/ChangeLog trunk/gcc/gcse.c trunk/gcc/testsuite/ChangeLog -- http

[Bug rtl-optimization/34132] [4.3 Regression] ICE: internal consistency failure (invalid rtl sharing found in the insn)

2007-11-18 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2007-11-18 19:23 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug fortran/34139] gfortran.dg/subref_array_pointer_2.f90 fails on Intel Darwin9

2007-11-18 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2007-11-18 19:09 --- (In reply to comment #1) How about this: if (any(abs(ptr3 - (/cos(1.0_4), cos(3.0_4)/)).gt. 1e-05)) call abort () Jerry, Looks obvious to me... Cheers Paul --

[Bug bootstrap/34142] g++ linker looks for /libgcc_s.1.dylib

2007-11-18 Thread fang at csl dot cornell dot edu
--- Comment #2 from fang at csl dot cornell dot edu 2007-11-18 19:10 --- In fact, *many* installed .dylibs point incorrectly to /libgcc_s.1.dylib. libffi.4.dylib libgcj-tools.9.dylib libgcj-tools.dylib libgcj.9.dylib libgfortran.3.dylib libgij.9.dylib libgomp.1.dylib

[Bug fortran/34143] New: alloc_comp_constructor.f90 fails with -fdefault-integer-8

2007-11-18 Thread tkoenig at gcc dot gnu dot org
Reduced from a failure of alloc_comp_constructor.f90 with -fdefault-integer-8 on i686-pc-linux-gnu: $ cat alloc_1.f90 Program test_constructor implicit none type :: thytype integer(4) :: a(2,2) end type thytype type :: mytype integer(4), allocatable :: a(:, :)

[Bug bootstrap/34142] gcc installed shared libraries look for /libgcc_s.1.dylib

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-11-18 20:06 --- *** This bug has been marked as a duplicate of 30572 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/30572] [4.3 Regression] target libraries links against /libgcc_s.1.dylib instead of $(prefix)/lib/libgcc_s.1.dylib

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2007-11-18 20:06 --- *** Bug 34142 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30572

[Bug tree-optimization/34138] [4.3 Regression] verify_ssa failed (found real variable when subvariables should have appeared)

2007-11-18 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 bootstrap/34144] New: [4.3 Regression] Revision 130005 causes bootstrap failure

2007-11-18 Thread hjl at lucon dot org
On Linux/i686 and Linux/x86-64, revision 130005 causes bootstrap failure with --disable-checking. -- Summary: [4.3 Regression] Revision 130005 causes bootstrap failure Product: gcc Version: 4.3.0 Status: UNCONFIRMED

[Bug bootstrap/34144] [4.3 Regression] Revision 130005 causes bootstrap failure

2007-11-18 Thread hjl at lucon dot org
--- Comment #1 from hjl at lucon dot org 2007-11-18 20:48 --- Revision 130005 is http://gcc.gnu.org/ml/gcc-cvs/2007-11/msg00197.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34144

[Bug bootstrap/34144] [4.3 Regression] Revision 130005 causes bootstrap failure

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-11-18 20:51 --- I have mentioned this before but nobody really listens to me. --disable-checking or turning off the asserts should disable the unitialized warnings since they are no longer true warnings. -- pinskia at gcc dot

[Bug fortran/34139] gfortran.dg/subref_array_pointer_2.f90 fails on Intel Darwin9

2007-11-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #4 from jvdelisle at gcc dot gnu dot org 2007-11-18 20:59 --- Subject: Bug 34139 Author: jvdelisle Date: Sun Nov 18 20:59:41 2007 New Revision: 130277 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130277 Log: 2007-11-18 Jerry DeLisle [EMAIL PROTECTED] PR

[Bug fortran/33317] CSHIFT/EOSHIFT: Rejects optional dummy for DIM=

2007-11-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #6 from jvdelisle at gcc dot gnu dot org 2007-11-18 20:59 --- Subject: Bug 33317 Author: jvdelisle Date: Sun Nov 18 20:59:41 2007 New Revision: 130277 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130277 Log: 2007-11-18 Jerry DeLisle [EMAIL PROTECTED] PR

[Bug fortran/33317] CSHIFT/EOSHIFT: Rejects optional dummy for DIM=

2007-11-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #7 from jvdelisle at gcc dot gnu dot org 2007-11-18 21:15 --- Fixed on trunk. Rev 130276 http://gcc.gnu.org/viewcvs/trunk/gcc/fortran/check.c?view=logpathrev=130276 -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/32770] [Meta-bug] -fdefault-integer-8 issues

2007-11-18 Thread tkoenig at gcc dot gnu dot org
--- Comment #31 from tkoenig at gcc dot gnu dot org 2007-11-18 21:18 --- Subject: Bug 32770 Author: tkoenig Date: Sun Nov 18 21:18:07 2007 New Revision: 130279 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130279 Log: 2007-11-18 Thomas Koenig [EMAIL PROTECTED] PR

[Bug bootstrap/34144] [4.3 Regression] Revision 130005 causes bootstrap failure

2007-11-18 Thread tromey at gcc dot gnu dot org
--- Comment #3 from tromey at gcc dot gnu dot org 2007-11-18 21:26 --- Please post the error message. Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34144

[Bug fortran/34139] gfortran.dg/subref_array_pointer_2.f90 fails on Intel Darwin9

2007-11-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2007-11-18 21:38 --- Fixed on trunk. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/34143] alloc_comp_constructor.f90 fails with -fdefault-integer-8

2007-11-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #1 from jvdelisle at gcc dot gnu dot org 2007-11-18 21:48 --- The test case given here passes for me on x86-64 with both -m32 and -m64 and with or without -fdefault-integer-8. hmm! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34143

[Bug fortran/34112] Add $!DEC ATTRIBUTE support for 32bit Windows' STDCALL

2007-11-18 Thread tkoenig at gcc dot gnu dot org
--- Comment #3 from tkoenig at gcc dot gnu dot org 2007-11-18 21:49 --- This would be useful. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/34144] [4.3 Regression] Revision 130005 causes bootstrap failure

2007-11-18 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2007-11-18 21:55 --- Is this a dup of PR34110? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34144

[Bug bootstrap/34144] [4.3 Regression] Revision 130005 causes bootstrap failure

2007-11-18 Thread andreast at gcc dot gnu dot org
--- Comment #5 from andreast at gcc dot gnu dot org 2007-11-18 21:58 --- cc1: warnings being treated as errors /export/home/tobleran/devel/gcc/head/gcc/gcc/reg-stack.c: In function \ufffd\ufffd\ufffdswap_to_top\ufffd\ufffd\ufffd: cc1: error: array subscript is below array bounds aka

[Bug fortran/34145] New: single_char_string.f90 fails with -fdefault-integer-8

2007-11-18 Thread tkoenig at gcc dot gnu dot org
The test case passes, but somehow _gfortran_compare_string is still called. $ gfortran -fdump-tree-original -fdefault-integer-8 single_char_string.f90 $ grep _gfortran.*string single_char_string.f90.003t.original if (_gfortran_compare_string (MAX_EXPR (1 - D.507) + D.508, 0, (char[1:5] *)

[Bug fortran/34143] alloc_comp_constructor.f90 fails with -fdefault-integer-8

2007-11-18 Thread tkoenig at gcc dot gnu dot org
--- Comment #2 from tkoenig at gcc dot gnu dot org 2007-11-18 22:04 --- (In reply to comment #1) The test case given here passes for me on x86-64 with both -m32 and -m64 and with or without -fdefault-integer-8. hmm! Does the original test case pass? --

[Bug c++/30988] [4.1/4.2/4.3 Regression] Incorrect no return statement warning with __attribute__ ((noreturn)) and __FUNCTION__

2007-11-18 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2007-11-18 22:21 --- Subject: Bug 30988 Author: jakub Date: Sun Nov 18 22:20:54 2007 New Revision: 130280 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130280 Log: PR c++/30988 semantics.c (finish_call_expr): Set

[Bug c++/30988] [4.1/4.2 Regression] Incorrect no return statement warning with __attribute__ ((noreturn)) and __FUNCTION__

2007-11-18 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2007-11-18 22:21 --- Fixed on the trunk. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/33317] CSHIFT/EOSHIFT: Rejects optional dummy for DIM=

2007-11-18 Thread dominiq at lps dot ens dot fr
--- Comment #8 from dominiq at lps dot ens dot fr 2007-11-18 22:46 --- Sorry to reopen the bug, but I have a lot of failures in my tests. A reduced case is: integer(8) :: i i = 1_8 print *, cshift((/.true.,.false.,.true.,.false./),1,dim=i) end which fails at runtime with: Fortran

[Bug bootstrap/30589] [4.3 regression] C99 extern inline patch broke bootstrap on i386-pc-mingw32

2007-11-18 Thread jakub at gcc dot gnu dot org
--- Comment #15 from jakub at gcc dot gnu dot org 2007-11-18 22:55 --- It seems fixincl isn't supported for mingw at all, from what Danny Smith mailed me privately. 1) mkfixinc.sh makes fixincludes a nop on several targets including mingw 2) there seems to be either directory separator

[Bug bootstrap/30589] [4.3 regression] C99 extern inline patch broke bootstrap on i386-pc-mingw32

2007-11-18 Thread jakub at gcc dot gnu dot org
--- Comment #16 from jakub at gcc dot gnu dot org 2007-11-18 22:57 --- Created an attachment (id=14576) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14576action=view) gcc43-pr30589.patch Updated patch with wild guesses what to do about the dir separators. I can't test it though

[Bug fortran/34143] alloc_comp_constructor.f90 fails with -fdefault-integer-8

2007-11-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2007-11-18 23:41 --- OK, the original test case fails as reported. Replacing aborts with printin the line number that fails: fail 39 fail 40 fail 80 fail 81 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34143

[Bug fortran/33317] CSHIFT/EOSHIFT: Rejects optional dummy for DIM=

2007-11-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #9 from jvdelisle at gcc dot gnu dot org 2007-11-18 23:45 --- No sorry necessary. Could you post the -fdump-tree-original for your test case? In the mean time I will get logged on to a linux PPC machine and see if I see it there. --

[Bug fortran/33317] CSHIFT/EOSHIFT: Rejects optional dummy for DIM=

2007-11-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #10 from jvdelisle at gcc dot gnu dot org 2007-11-19 01:22 --- I found the problem. We key off of the kind of shift to determine which version of the runtime to resolve to. In your test case, shift is kind=4 so we load in the cshift0_4 instead of the cshift0_8 version of

[Bug tree-optimization/34123] [4.3 Regression] verify_ssa failed with -ftree-loop-linear

2007-11-18 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++/34102] [4.3 regression] ICE with invalid inheritance of variadic templates

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-11-19 03:45 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/34061] [4.3 regression] ICE with template-template parameters and inheritance

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-11-19 03:52 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/34075] temporary used in ?: expression tho second and third expr. lvalues

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-11-19 03:57 --- t.cc:28: warning: returning reference to temporary -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34075

[Bug tree-optimization/34122] [4.3 Regression] ICE in get_addr_dereference_operands, at tree-ssa-operands.c:1746

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-11-19 04:04 --- This was fixed by the fix for PR 34127. *** This bug has been marked as a duplicate of 34127 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/34127] [4.3 Regression] ICE: tree-ssa-operands.c:1688

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2007-11-19 04:04 --- *** Bug 34122 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/34091] [4.2/4.3 Regression] ICE in reload_cse_simplify_operands, at postreload.c:392

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

[Bug target/34072] unoptimal byte extraction.

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-11-19 04:10 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/34059] [4.1/4.2/4.3 regression] ICE with invalid base type for class member

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-11-19 04:11 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/34093] [4.3 Regression] ICE in ssa_operand_alloc, at tree-ssa-operands.c:484

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-11-19 03:48 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/34023] Wrong using of user-defined conversion operator for converting rvalue to reference on constant.

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-11-19 04:15 --- This works on the trunk. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/34089] [4.1/4.2/4.3 regression] Segfault on specialization using struct instead of template function.

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-11-19 03:50 --- With checking enabled, we get: t.cc:2: internal compiler error: tree check: expected record_type or union_type or qual_union_type, have lang_type in xref_basetypes, at cp/decl.c:10395 Please submit a full bug

[Bug c++/34052] [4.3 regression] Trouble with variadic templates as template-template parameter

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-11-19 04:17 --- Confirmed, the regression part is an error-recovery issue. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/34017] [4.2/4.3 Regression] ICE in lambda_loopnest_to_gcc_loopnest with -O2 -ftree-loop-linear

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

[Bug tree-optimization/34016] [4.3 Regression] ICE in execute_todo with -ftree-loop-linear for 454.calculix

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

[Bug tree-optimization/33987] [4.3 regression] internal compiler error: in get_initial_def_for_reduction, at tree-vect-transform.c:2110 with -O3 -msse2

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-11-19 04:32 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug testsuite/32076] gcc.dg/tree-ssa/pr17141-1.c scan-tree-dump locp.*-i = is the same name twice

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-11-19 04:34 --- Fixed. Thanks Janis for doing this. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug pch/33980] Precompiled header file not removed on error

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-11-19 04:36 --- I saw this too, see PR 30702. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug driver/32632] -pie won't override -shared in -shared -pie

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-11-19 04:36 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/34053] -frecursive: No need to use the stack for local variables of the main program

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-11-19 04:38 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/33974] [meta-bug] memory partitioning sucks

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-11-19 04:40 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/33965] internal compiler error: tree check: expected class 'type', have 'constant' (integer_cst) in cp_type_quals, at cp/typeck.c:6955 (vararg templates)

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-11-19 04:42 --- I get this now: t.cc:21: error: cannot expand 'Args ...' into a fixed-length argument list -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33965

[Bug c++/33964] [4.3 Regression] internal compiler error: in dependent_type_p, at cp/pt.c:15319 (vararg templates)

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-11-19 04:44 --- Confirmed, the ICE is an error recovery regression. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/33962] [4.1/4.2/4.3 Regression] ICE at call to overloaded template function with variable-length function argument list

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-11-19 04:47 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/33955] internal compiler error: in dependent_type_p, at cp/pt.c:15245 (vararg template problem)

2007-11-18 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33955

[Bug c/34146] New: [4.1/4.2/4.3 Regression] Inefficient code with compound literals inside a CONSTRUCTO

2007-11-18 Thread pinskia at gcc dot gnu dot org
Exactly like PR 33723 except the compound literal is inside a CONSTRUCTOR (you can combine compound literals and normal constructors to make this worse). Testcase: typedef struct { int f1, f2, f3, f4, f5, f6, f7, f8; long int f9, f10; int f11; } f; typedef union { f f; char

[Bug c/34146] [4.1/4.2/4.3 Regression] Inefficient code with compound literals inside a CONSTRUCTO

2007-11-18 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added BugsThisDependsOn||33723 Target Milestone|--- |4.2.3

[Bug c++/33938] Addr_Label referenced in section `.rodata' of file: defined in discarded section `.gnu.linkonce.t...' of file

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-11-19 05:00 --- 3.4.x is no longer maintained so I am going to close this as fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug objc++/31032] [4.3 Regression] expected tree that contains 'decl with RTL' structure, have 'field_decl' in assemble_external_real, at varasm.c:2225

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-11-19 05:01 --- (In reply to comment #2) And on ARM too. pinskia: is PR31128 the same as this one? No, it is unrelated to that bug report. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31032

[Bug target/33948] [4.3 Regression] Bootstrap broken on mips-sgi-irix6.5

2007-11-18 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Summary|Bootstrap broken on mips- |[4.3 Regression] Bootstrap |sgi-irix6.5

[Bug c++/33943] [4.3 Regression] ICE with partial specialization on vararg template template parameter

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-11-19 05:03 --- Confirmed, the ICE is an error recovery regression. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/34147] New: internal compiler error: in set_iv, at tree-ssa-loop-ivopts.c:936

2007-11-18 Thread huamama at gmail dot com
build toolchains using buildroot. but when compile the busybox, an internel compiler error show. /home/mahua/opt/arm/build_arm/busybox-1.1.3/editors/vi.c: In function 'do_cmd': /home/mahua/opt/arm/build_arm/busybox-1.1.3/editors/vi.c:2989: internal compiler error: in set_iv, at

[Bug testsuite/33946] Testcase multi-ix.c generates call to (poisoned) bzero

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-11-19 05:05 --- (In reply to comment #0) Why not use ___builtin_memset in the testcase instead of poisoned name ? Because this is an old testcase. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug c++/5247] Memory eating infinite loop on default parameter in constructor which is reference to class

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #18 from pinskia at gcc dot gnu dot org 2007-11-19 05:18 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug target/34077] GCC -O1 -minline-all-stringops -minline-stringops-dynamically fails for spec 2006 bzip2, gobmk, and h264ref benchmarks

2007-11-18 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-11-19 05:20 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/34086] [4.1 Regression] g++ crashes on simple 20-line source file

2007-11-18 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 |

  1   2   >