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

2007-12-06 Thread pault at gcc dot gnu dot org
--- Comment #144 from pault at gcc dot gnu dot org 2007-12-06 08:17 --- (In reply to comment #143) > CP2K fails again to compile Joost, It's me again! I had naively thought that all the simple combinations of USE statements were covered in the testsuite. Evidently, I was not just nai

tiny typo fix

2007-12-06 Thread Paul de Weerd
Hi, While grepping the OpenBSD sourcetree for occurences of a typo I found (beeing -> being), I came across one instance in the gcc distribution. Attached is a patch that fixes it, but it is a patch against the OpenBSD cvs repository. It is very minor, but still I hope this is of use to you guys.

[Bug c++/34355] New: ICE: invariant not recomputed when ADDR_EXPR changed with -ftree-parallelize-loops

2007-12-06 Thread ubizjak at gmail dot com
This testcase fails with g++ --cut here-- typedef double EXPRESS[5]; extern int Terms; void Parse_Rel_Factor (EXPRESS Express, int *Terms) { EXPRESS Local_Express = {5.0, 4.0, 3.0, 2.0, 1.0}; int Local_Terms = 5; int i; for (i = (*Terms); i < Local_Terms; i++) Express[i] = 0.0;

[Bug fortran/34333] if(nan == nan) wrongly returns TRUE, when nan is a parameter

2007-12-06 Thread burnus at gcc dot gnu dot org
--- Comment #7 from burnus at gcc dot gnu dot org 2007-12-06 09:23 --- Subject: Bug 34333 Author: burnus Date: Thu Dec 6 09:23:00 2007 New Revision: 130644 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130644 Log: 2007-12-06 Tobias Burnus <[EMAIL PROTECTED]> PR fort

[Bug c++/34336] [4.2/4.3 Regression] 4.2.2 internal error in stabilize_expr

2007-12-06 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2007-12-06 09:33 --- Subject: Bug 34336 Author: jakub Date: Thu Dec 6 09:33:26 2007 New Revision: 130645 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130645 Log: PR c++/34336 * tree.c (stabilize_call, stabilize_

[Bug tree-optimization/34005] [4.3 Regression] ICE: verify_ssa failed (expected an SSA_NAME object)

2007-12-06 Thread jakub at gcc dot gnu dot org
--- Comment #15 from jakub at gcc dot gnu dot org 2007-12-06 10:06 --- Subject: Bug 34005 Author: jakub Date: Thu Dec 6 10:06:38 2007 New Revision: 130647 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130647 Log: 2007-12-06 Zdenek Dvorak <[EMAIL PROTECTED]> Dorit

[Bug c++/34336] [4.2 Regression] 4.2.2 internal error in stabilize_expr

2007-12-06 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2007-12-06 09:54 --- Fixed on the trunk. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Known to fail|

[Bug tree-optimization/34005] [4.3 Regression] ICE: verify_ssa failed (expected an SSA_NAME object)

2007-12-06 Thread jakub at gcc dot gnu dot org
--- Comment #16 from jakub at gcc dot gnu dot org 2007-12-06 10:07 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug tree-optimization/34355] ICE: invariant not recomputed when ADDR_EXPR changed with -ftree-parallelize-loops

2007-12-06 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-12-06 10:37 --- Confirmed. eliminate_local_variables_1 changes &Express[0] to &(*Express.96_73)[0] without re-computing invariantness. With the structure of eliminate_local_variables_stmt (it seems to operate on non-gimple), it lo

[Bug fortran/34342] BOZ extensions not diagnosed as such with -std=f95

2007-12-06 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-12-06 12:15 --- Created an attachment (id=14702) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14702&action=view) Draft patch for further BOZ diagnostic The attached patch shows how one could implement: - Error for initializi

[Bug ada/34356] New: Can't bootstrap ADA on mainline

2007-12-06 Thread ismail at pardus dot org dot tr
Tried to bootstrap using gnat-gpl-2007-i686-gnu-linux-libc2.3-bin.tar.gz as host compiler. Error is : /var/pisi/gcc-4.3_pre20071206-31/work/gcc-4.3-20071206/build-default-i686-pc-linux-gnu/./prev-gcc/xgcc -B/var/pisi/gcc-4.3_pre20071206-31/work/gcc-4.3-20071206/build-default-i686-pc-linux-gnu

[Bug ada/34356] Can't bootstrap ADA on mainline

2007-12-06 Thread ismail at pardus dot org dot tr
--- Comment #1 from ismail at pardus dot org dot tr 2007-12-06 12:23 --- Dup of bug #32581, stupid me. *** This bug has been marked as a duplicate of 32581 *** -- ismail at pardus dot org dot tr changed: What|Removed |Added --

[Bug bootstrap/32581] make profiledbootstrap - stageprofile - gcc/ada/a-except.adb:1301: error: control flow in the middle of basic block 20

2007-12-06 Thread ismail at pardus dot org dot tr
--- Comment #3 from ismail at pardus dot org dot tr 2007-12-06 12:23 --- *** Bug 34356 has been marked as a duplicate of this bug. *** -- ismail at pardus dot org dot tr changed: What|Removed |Added

[Bug bootstrap/32581] make profiledbootstrap - stageprofile - gcc/ada/a-except.adb:1301: error: control flow in the middle of basic block 20

2007-12-06 Thread ismail at pardus dot org dot tr
--- Comment #4 from ismail at pardus dot org dot tr 2007-12-06 12:24 --- This still affects mainline as of revision 130641. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32581

[Bug c++/34357] New: internal compiler error: in layout_type, at stor-layout.c:1864

2007-12-06 Thread gcc at abeckmann dot de
=== $ g++-trunk -v -c ice.cpp Using built-in specs. Target: i686-pc-linux-gnu Configured with: ./configure --prefix=/tmp --program-suffix=-trunk --enable-languages=c,c++ Thread model: posix gcc version 4.3.0 20071206 (experimental) (GCC) COLLECT_GCC_OPTIONS='-v' '-c' '-shared-

[Bug c++/34357] internal compiler error: in layout_type, at stor-layout.c:1864

2007-12-06 Thread gcc at abeckmann dot de
--- Comment #1 from gcc at abeckmann dot de 2007-12-06 13:02 --- Also present in gcc version 4.2.3 20071123 (prerelease) (Debian 4.2.2-4) ==> internal compiler error: in layout_type, at stor-layout.c:1851 Not found in gcc version 4.1.3 20071019 (prerelease) (Debian 4.1.2-17) gcc version

[Bug c++/34357] [4.2/4.3 Regression] internal compiler error: in layout_type, at stor-layout.c:1864

2007-12-06 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-12-06 13:16 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug middle-end/20983] [4.0/4.1/4.2/4.3 Regression] varargs functions force va_list variable to stack unnecessarily

2007-12-06 Thread jakub at gcc dot gnu dot org
--- Comment #13 from jakub at gcc dot gnu dot org 2007-12-06 13:25 --- Subject: Bug 20983 Author: jakub Date: Thu Dec 6 13:25:37 2007 New Revision: 130650 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130650 Log: PR middle-end/20983 * tree-ssa-ccp.c (optimize_s

[Bug middle-end/20983] [4.0/4.1/4.2/4.3 Regression] varargs functions force va_list variable to stack unnecessarily

2007-12-06 Thread jakub at gcc dot gnu dot org
--- Comment #14 from jakub at gcc dot gnu dot org 2007-12-06 13:28 --- Fixed on the trunk. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug ada/34358] New: Dynamic library created in Object_Dir instead of Library_Dir in *-darwin*

2007-12-06 Thread bechir dot zalila at gmail dot com
with: ../gcc_trunk/configure --disable-nls --prefix=/Volumes/Stock/dev/gcc-4.3_trunk --host=i686-apple-darwin8 --target=i686-apple-darwin8 --build=i686-apple-darwin8 --enable-languages=c,ada --with-gmp=/opt/local Thread model: posix gcc version 4.3.0 20071206 (experimental) (GCC) * the system type

[Bug ada/34358] Dynamic library created in Object_Dir instead of Library_Dir in *-darwin*

2007-12-06 Thread bechir dot zalila at gmail dot com
--- Comment #1 from bechir dot zalila at gmail dot com 2007-12-06 13:48 --- Created an attachment (id=14703) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14703&action=view) Patch file that solves the problem -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34358

[Bug fortran/34345] gfortran compiles SLATEC library, but the executable fails

2007-12-06 Thread dir at lanl dot gov
--- Comment #4 from dir at lanl dot gov 2007-12-06 14:56 --- I have several programs (f77 and f90) that do this and their intent is clear - just put the bit patterns into to words as requested - no data conversion - no range checking. BOZ seems to have been created for this purpose, but

[Bug fortran/34359] New: ICE in December 6 version of gfortran when compiling a file with two routines that contain INCLUDE statements

2007-12-06 Thread michael dot a dot richmond at nasa dot gov
I downloaded the December 6 version of gfortran from http://quatramaran.ens.fr/~coudert/gfortran/gfortran-linux.tar.gz and attempted to compile the following file: SUBROUTINE f1 INCLUDE "anything" END SUBROUTINE f1 SUBROUTINE f2 INCLUDE "anything" END SUBROUTINE f2 The INCLUDE file can contain an

[Bug ada/34360] New: typo gcc/ada/Makefile.in for GNU/kFreeBSD

2007-12-06 Thread ludovic at ludovic-brenta dot org
Perusing the file I see around line 879: TOOLS_TARGET_PAIRS = \ mlib-tgt.adbhttp://gcc.gnu.org/bugzilla/show_bug.cgi?id=34360

[Bug ada/34361] New: Incorrect comment at top of mlib-tgt.adb

2007-12-06 Thread ludovic at ludovic-brenta dot org
The comments at the top of mlib-tgt.adb are now wrong; subprograms are not dummies anymore, they are stubs that call their counterparts in MLIB.Tgt.Specific. The comment is misleading. -- Summary: Incorrect comment at top of mlib-tgt.adb Product: gcc Version: 4.

[Bug c++/34362] New: Segmentation fault while using array of character pointers.

2007-12-06 Thread stevekoe at hotmail dot com
The following code produces segmentation fault at runtime. -CODE- #include #include main() { char * strArray[2]; printf("Enter 1:"); scanf("%s",strArray[0]); printf("Enter 2:"); scanf("

[Bug middle-end/20983] [4.0/4.1/4.2/4.3 Regression] varargs functions force va_list variable to stack unnecessarily

2007-12-06 Thread rguenth at gcc dot gnu dot org
--- Comment #15 from rguenth at gcc dot gnu dot org 2007-12-06 16:54 --- WONTFIX on the branches, adjusting target milestone. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/34362] Segmentation fault while using array of character pointers.

2007-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-12-06 17:06 --- scanf does not initiale the pointers. You just have some random pointer values passed to scanf. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/34359] ICE in December 6 version of gfortran when compiling a file with two routines that contain INCLUDE statements

2007-12-06 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-12-06 17:13 --- Known, but not yet fixed. See: http://gcc.gnu.org/ml/gcc-patches/2007-12/msg00260.html -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/32263] Document the required versions of glibc and binutils

2007-12-06 Thread appfault at hotmail dot com
--- Comment #7 from appfault at hotmail dot com 2007-12-06 17:26 --- Instead of trying to lock down the full and complete list of acceptable glibs, you could at least give a hint as to what GCC was using at the time a given release did work. A "known working version" list seems very sim

[Bug c/34363] New: Aliasing failure during tree fre

2007-12-06 Thread davidu at mips dot com
Simple test case: unsigned n; void foo (unsigned *p) { n = 4; *p = 0; if (n != 0) abort (); } main () { foo (&n); return 0; } Tested cross-compiling for MIPS, also verified that x86 also has the same problem. attached dump from the fre pass. basically n.0_4 should not be assi

[Bug c/29172] --combine can't handle #pragma once

2007-12-06 Thread tromey at gcc dot gnu dot org
--- Comment #7 from tromey at gcc dot gnu dot org 2007-12-06 18:56 --- Subject: Bug 29172 Author: tromey Date: Thu Dec 6 18:56:26 2007 New Revision: 130656 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130656 Log: gcc PR c/29172: * c-opts.c (c_common_parse_file

[Bug c/29172] --combine can't handle #pragma once

2007-12-06 Thread tromey at gcc dot gnu dot org
--- Comment #8 from tromey at gcc dot gnu dot org 2007-12-06 18:58 --- Fixed on trunk. -- tromey at gcc dot gnu dot org changed: What|Removed |Added Known to work|

[Bug ada/34290] Problem with procedure visibility at the prefixed view call

2007-12-06 Thread sam at gcc dot gnu dot org
-- sam at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |sam at gcc dot gnu dot org |dot org

[Bug fortran/34345] gfortran compiles SLATEC library, but the executable fails

2007-12-06 Thread kargl at gcc dot gnu dot org
--- Comment #5 from kargl at gcc dot gnu dot org 2007-12-06 19:13 --- (In reply to comment #4) > I have several programs (f77 and f90) that do this and their intent is clear - > just put the bit patterns into to words as requested - no data conversion - no > range checking. Which is of

[Bug c++/34364] New: [4.1/4.2/4.3] class& is not known as as a class-type anymore after dynamic_cast

2007-12-06 Thread rbuergel at web dot de
The following code fails to compile struct A { virtual ~A() {}; //make A polymorphic }; struct B: public A { template class C { public: static void f (A& a) { dynamic_cast( a ).g(); } }; void g () {} }; ... and issues

[Bug c++/34365] New: Diagnostic mistakenly characterizes function as being overloaded

2007-12-06 Thread gcc-bugzilla at contacts dot eelis dot net
When asked to compile the following code: template void f(); void g() { f; } G++ opines: "error: statement cannot resolve address of overloaded function" However, f is not overloaded. (The standard says: "When two or more different declarations are specified for a single name in the same

[Bug bootstrap/32581] make profiledbootstrap - stageprofile - gcc/ada/a-except.adb:1301: error: control flow in the middle of basic block 20

2007-12-06 Thread ismail at pardus dot org dot tr
--- Comment #5 from ismail at pardus dot org dot tr 2007-12-06 20:56 --- a-except.adb ali.adb cstand.adb einfo.adb exp_attr.adb exp_dbug.adb osint.adb par.adb prepcomp.adb restrict.adb rtsfind.adb s-os_lib.adb scn.adb sem_attr.adb sem_util.adb sprint.adb switch-c.adb targparm.adb files

[Bug ada/34366] New: Legal program rejected, various anonymous access-to-subprogram types, Ada 2005

2007-12-06 Thread ludovic at ludovic-brenta dot org
package test2 is pragma elaborate_body; type T is record F1: access function(x: integer) return T; F2: access function(x: T) return integer; --?? F3: access function(x: T) return T; --?? F4: access function(x: integer) return acce

[Bug ada/34367] New: Bug box, Assert_Failure exp_ch4.adb:4550 on legal Ada 2005 program

2007-12-06 Thread ludovic at ludovic-brenta dot org
package pak1 is type T1 is tagged limited null record; type T2 is limited interface; function f1 (x2: access T2'Class) return integer; type T3 is new T1 and T2 with record x1: integer := f1 (T3'Access); -- line 8, column 28 is the tick end record; end pak1; gnatmake -gnat05

[Bug ada/34368] New: Bug box, Assert_Failure einfo.adb:2031 on legal Ada 2005 program ("limited with")

2007-12-06 Thread ludovic at ludovic-brenta dot org
package pak2 is package pak3 is end pak3; end pak2; limited with pak2; package pak1 is -- line 2 pragma elaborate_body; end pak1; with pak2; package body pak1 is end pak1; gnatmake -gnat05 pak1 gcc-4.1 -c -gnat05 pak1.adb +===GNAT BUG DETECTED=

[Bug fortran/34345] gfortran compiles SLATEC library, but the executable fails

2007-12-06 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2007-12-06 21:34 --- > > but the committee seems the have lost track of why programs need specific > > bit patterns and how they are used. > > See the TRANSFER intrinsic. I think J3 recognized the problems with > specify a bit pattern.

[Bug c++/34365] Diagnostic mistakenly characterizes function as being overloaded

2007-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-12-06 21:46 --- *** This bug has been marked as a duplicate of 11407 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/11407] [DR 115] Function cannot be resolved

2007-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2007-12-06 21:46 --- *** Bug 34365 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11407

[Bug java/34369] New: java.net.URI.relativize(URI) method returns incorrect results

2007-12-06 Thread lnx1138 at us dot ibm dot com
The method java.net.URI.relativize(URI) returns incorrect results for a couple of cases when compared to implementations from IBM Java or Sun Java. This problem affects directly the debugging process of C projects on Eclipse. Whenever someone is debugging a project whose part of its name is the na

[Bug java/34369] java.net.URI.relativize(URI) method returns incorrect results

2007-12-06 Thread lnx1138 at us dot ibm dot com
--- Comment #1 from lnx1138 at us dot ibm dot com 2007-12-06 22:12 --- Created an attachment (id=14704) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14704&action=view) testcase Sample java code providing two examples where URI.relativize() method is not consistent with other JVM

[Bug libfortran/34370] New: file positioning after nonadvancing i/o

2007-12-06 Thread tkoenig at gcc dot gnu dot org
... should add a record marker. F 2003, 9.2.3.1: If a nonadvancing output statement leaves a file positioned 1 within a current record and no further output statement is executed for the file before it is closed or a BACKSPACE, ENDFILE, or REWIND statement is executed for it, the effect is as if

[Bug java/34369] java.net.URI.relativize(URI) method returns incorrect results

2007-12-06 Thread lnx1138 at us dot ibm dot com
--- Comment #2 from lnx1138 at us dot ibm dot com 2007-12-06 22:15 --- Created an attachment (id=14705) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14705&action=view) gcc-libjava-uri-relativize.patch to fix java.net.URI.relativize(URI) method This patch corrects two issues found

[Bug ada/34367] Bug box, Assert_Failure exp_ch4.adb:4550 on legal Ada 2005 program

2007-12-06 Thread sam at gcc dot gnu dot org
--- Comment #1 from sam at gcc dot gnu dot org 2007-12-06 23:29 --- Already fixed on trunk -- sam at gcc dot gnu dot org changed: What|Removed |Added Status|U

[Bug ada/34368] Bug box, Assert_Failure einfo.adb:2031 on legal Ada 2005 program ("limited with")

2007-12-06 Thread sam at gcc dot gnu dot org
--- Comment #1 from sam at gcc dot gnu dot org 2007-12-06 23:30 --- Already fixed on trunk -- sam at gcc dot gnu dot org changed: What|Removed |Added Status|U

[Bug ada/34366] Legal program rejected, various anonymous access-to-subprogram types, Ada 2005

2007-12-06 Thread sam at gcc dot gnu dot org
--- Comment #1 from sam at gcc dot gnu dot org 2007-12-06 23:35 --- Confirmed on 4.3.0 20071206 -- sam at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/17736] Optimization for global initialization with trivial constructors

2007-12-06 Thread mrs at apple dot com
--- Comment #3 from mrs at apple dot com 2007-12-06 23:46 --- radr://2961456 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17736

[Bug c/34363] Aliasing failure during tree fre

2007-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-12-07 00:14 --- This worked in "4.3.0 20071127". -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34363

[Bug ada/34366] Legal program rejected, various anonymous access-to-subprogram types, Ada 2005

2007-12-06 Thread sam at gcc dot gnu dot org
--- Comment #2 from sam at gcc dot gnu dot org 2007-12-07 02:54 --- Confirmed on 4.3.0 20071206 -- sam at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/34370] file positioning after nonadvancing i/o

2007-12-06 Thread jvdelisle at gcc dot gnu dot org
--- Comment #1 from jvdelisle at gcc dot gnu dot org 2007-12-07 04:32 --- Thomas, this should be straightforward. Do you want to work this along with PR 34323 ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34370

[Bug tree-optimization/34371] New: [4.3 Regression] verify_stmts failed (incorrect sharing of tree nodes)

2007-12-06 Thread tbm at cyrius dot com
with current trunk: (sid)2354:[EMAIL PROTECTED]: ~] /usr/lib/gcc-snapshot/bin/gcc -c -O2 -ftree-vectorize funnelweb-dump.c funnelweb-dump.c: In function 'centerln': funnelweb-dump.c:4: error: incorrect sharing of tree nodes prologue_after_cost_adjust.25_40 = (unsigned int) D.1554_7; (unsigned in

[Bug tree-optimization/34371] [4.3 Regression] verify_stmts failed (incorrect sharing of tree nodes)

2007-12-06 Thread tbm at cyrius dot com
--- Comment #1 from tbm at cyrius dot com 2007-12-07 04:45 --- /* Testcase by Martin Michlmayr <[EMAIL PROTECTED]> */ void centerln (int width, int ch, char *s) { unsigned int sidebar; int i; char linet1[1000]; char linet2[100]; sidebar = (width - __builtin_strlen (s)) / 2;