Re: POINTER_PLUS branch status?

2007-05-29 Thread Jeffrey Law
On Mon, 2007-05-28 at 15:29 -0700, Mark Mitchell wrote: Andrew -- I'm trying to firm up GCC 4.3 planning a bit. One of the things I'm considering is whether or not the POINTER_PLUS branch should be merged as part of 4.3. My understanding from looking at your emails is that the branch is

Re: [testsuite gfortran] partial fix for secnds*.f

2007-05-29 Thread R. D. Flowers, Chattanooga TN USA
Rask Ingemann Lambertsen wrote: On Mon, May 28, 2007 at 05:14:51PM +, R. D. Flowers, Chattanooga TN USA wrote: I think we should use parentheses to enforce the order. I could be missing something here, and it is almost separate statements, and might be ugly, but -- comma clauses?

Re: Compatibility between object code of gcc versions

2007-05-29 Thread Andrew Haley
Lu

Re: [testsuite gfortran] partial fix for secnds*.f

2007-05-29 Thread Rask Ingemann Lambertsen
On Tue, May 29, 2007 at 03:10:57AM +, R. D. Flowers, Chattanooga TN USA wrote: Rask Ingemann Lambertsen wrote: On Mon, May 28, 2007 at 05:14:51PM +, R. D. Flowers, Chattanooga TN USA wrote: foo=term1,foo+=term2,foo+=term3 ... ; URL:http://gcc.gnu.org/bugs.html#nonbugs_c Am I

Different classes for base registers

2007-05-29 Thread Tal Agmon
Hi, I'm working on a new target port in which there are different base registers allowed depending on the offset: r0-r7 are allowed as base register only when the offset is zero. r6-r7 are allowed as base register for every offset. I'm wondering if gcc is prepared for such scenario, examine the

Re: Different classes for base registers

2007-05-29 Thread Rask Ingemann Lambertsen
On Tue, May 29, 2007 at 03:56:38PM +0300, Tal Agmon wrote: Hi, I'm working on a new target port in which there are different base registers allowed depending on the offset: r0-r7 are allowed as base register only when the offset is zero. r6-r7 are allowed as base register for every

Re: Target Hook not getting recognized - GCC 4.1.1

2007-05-29 Thread Ian Lance Taylor
Rohit Arul Raj [EMAIL PROTECTED] writes: I have defined a target hook TARGET_EXPAND_BUILTIN_SAVEREGS (GCC 4.1.1) as an alternative to TARGET_SETUP_INCOMING_VARARGS so as to code ___builtin_saveregs as per my target. But this target hook is not getting recognized. Is there anything else

Re: POINTER_PLUS branch status?

2007-05-29 Thread Bob Wilson
Andrew Pinski wrote: I cleaned up the code today so it basically ready to be merged, some (most?) of the target headers still need to be fixed for the change. The list of targets which need to be changed is: alpha ia64 mips pa s390sparcstormy16xtensa I don't have

Re: Interpreting LSDA information

2007-05-29 Thread Ian Lance Taylor
Yaakov Yaari [EMAIL PROTECTED] writes: LSDA (Language Specific Data Area) is used to store exception handling information at the exception catch site, see http://www.codesourcery.com/cxx-abi/exceptions.pdf. For various kinds of binary analyzers (translators, optimizers) it is useful to be

Re: Bugzilla wishes (Was: Volunteer for bug summaries?)

2007-05-29 Thread Joe Buck
On Mon, May 28, 2007 at 07:29:33AM -0400, Daniel Berlin wrote: On 5/28/07, Rask Ingemann Lambertsen [EMAIL PROTECTED] wrote: On Wed, May 23, 2007 at 02:06:21PM -0400, Daniel Berlin wrote: I have to look into bugzilla 3.0 migration first though. Bugzilla 3.0 introduces a custom fields

Re: Fixed-point branch?

2007-05-29 Thread Nigel Stephens
Mark Mitchell wrote: Chao-Ying, I'm also interested in whether or not these changes have any impact on C++. With your changes, does GNU C++ now accept any fixed-point constructs? Chao-ying's on vacation this week. AFAIK Chao-ying's code does nothing explicit to support, or not support,

Re: special keyword for silent wrong-code bugs

2007-05-29 Thread Joern Rennecke
If we segfault for printf(%d\n, 2+2), the bug would not be in this category. If we printed 5, it would be. So what if the printf statement is executed only once every leap year? What if it segfaults only if you have one out of several thousand address space randomization patterns? Your

[tuples] mainline merged into branch

2007-05-29 Thread Aldy Hernandez
...as of rev 125166. No surprises. Aldy

.eh_frame section

2007-05-29 Thread sfora dim
Hello, I read that the eh_frame is for exceptions support, for languages like C++ for instance. I wonder why when I compile standard C programs using gcc -v simple.c I can see that the linker adds the --eh-frame-hdr parameter ? After all there is no use for the eh section when we don't support

Re: Volunteer for bug summaries?

2007-05-29 Thread Mark Mitchell
Daniel Berlin wrote: 1. Add a field to bugzilla for the SVN revision at which a particular regression was introduced. Display that in bugzilla as a link to the online SVN history browser so that clicking on a link takes us from the PR straight to the checkin. This field value ought to be

Re: .eh_frame section

2007-05-29 Thread Ian Lance Taylor
sfora dim [EMAIL PROTECTED] writes: I read that the eh_frame is for exceptions support, for languages like C++ for instance. Yes. I wonder why when I compile standard C programs using gcc -v simple.c I can see that the linker adds the --eh-frame-hdr parameter ? That option is always used

Re: POINTER_PLUS branch status?

2007-05-29 Thread Andrew Pinski
On 5/29/07, Jeffrey Law [EMAIL PROTECTED] wrote: I haven't followed PTR_PLUS development at all -- what specifically spurred you to hack on this Andrew? For spu-elf, good alignment information is needed for each load/store as each load/store is only done on 128bit alignment. Since we lose a

Re: Bribing a reviewer

2007-05-29 Thread Mike Stump
On May 25, 2007, at 12:26 PM, Thomas Neumann wrote: Unfortunately reviewing as been, ahem, a bit slow. :-( I'd ask if the SC has had any luck finding suitable reviewers yet... I do think Fortran has about the right number judging from the latency on patch review. They have about 1

Re: Bugzilla wishes (Was: Volunteer for bug summaries?)

2007-05-29 Thread Daniel Berlin
On 5/29/07, Joe Buck [EMAIL PROTECTED] wrote: On Mon, May 28, 2007 at 07:29:33AM -0400, Daniel Berlin wrote: On 5/28/07, Rask Ingemann Lambertsen [EMAIL PROTECTED] wrote: On Wed, May 23, 2007 at 02:06:21PM -0400, Daniel Berlin wrote: . You can customize what fields are shown on the

fixinclude, math.h and Darwin???

2007-05-29 Thread Jack Howarth
Can anyone explain exactly how and when the file... gcc/fixincludes/tests/base/architecture/ppc/math.h is used when building gcc on Darwin PPC? I ask because I just noticed that it contains the remapping of the long double math calls to use the appended $LDBL128 suffix. I am wondering if it

Dorit, Richi and Zdenek appointed Auto-Vectorizer maintainers

2007-05-29 Thread David Edelsohn
I am pleased to announce that the GCC Steering Committee has appointed Dorit Nuzman, Richard Guenther, and Zdenek Dvorak as Auto-Vectorizer maintainers. Please join me in congratulating Dorit, Richard, and Zdenek on their new role. Please update your listings in the MAINTAINERS

Re: .eh_frame section

2007-05-29 Thread sfora dim
On 29 May 2007 15:27:43 -0700, Ian Lance Taylor [EMAIL PROTECTED] wrote: I wonder why when I compile standard C programs using gcc -v simple.c I can see that the linker adds the --eh-frame-hdr parameter ? That option is always used if the linker supports it. After all there is no use for

[Bug fortran/32136] New: ICE with transfer in gfc_conv_array_initializer

2007-05-29 Thread burnus at gcc dot gnu dot org
x.f90: In function 'MAIN__': x.f90:2: internal compiler error: in gfc_conv_array_initializer, at fortran/trans-array.c:3693 for: real(kind(0d0)), parameter :: r(1) = transfer(transfer(sqrt(2d0), (/ .true. /) ), (/ 0d0 /), 1) print *,r end -- Summary: ICE with transfer in

[Bug fortran/31610] ICE with transfer, merge in gfc_conv_expr_descriptor

2007-05-29 Thread patchapp at dberlin dot org
--- Comment #5 from patchapp at dberlin dot org 2007-05-29 06:45 --- Subject: Bug number PR31610 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-05/msg01953.html --

[Bug fortran/32131] knowing that stride==1 when using allocated arrays and escaping allocatable arrays

2007-05-29 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2007-05-29 06:51 --- Hmm, rebuild and works for me. -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/32137] New: [4.3 regression] func_result_3.f90 ICEs on powerpc-apple

2007-05-29 Thread brooks at gcc dot gnu dot org
From the gfortran testsuite log: Executing on host: /Users/brooks/gcc-trunk/build3/gcc/testsuite/gfortran/../../gfortran -B/Users/brooks/gcc-trunk/build3/gcc/testsuite/gfortran/../../ /Users/brooks/gcc-trunk/svn-source/gcc/testsuite/gfortran.dg/func_result_3.f90 -O -pedantic-errors -S -o

[Bug fortran/32137] [4.3 regression] func_result_3.f90 ICEs on powerpc-apple

2007-05-29 Thread brooks at gcc dot gnu dot org
--- Comment #1 from brooks at gcc dot gnu dot org 2007-05-29 07:27 --- I should have noted: I think this showed up within the last week, but I can confirm that it's not in my saved testsuite results from 2007-05-07. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32137

[Bug middle-end/32083] [4.3 Regression] bug in transfer integer-real-integer

2007-05-29 Thread kloedej at knmi dot nl
--- Comment #8 from kloedej at knmi dot nl 2007-05-29 07:29 --- (In reply to comment #7) Hi, this is just to report that my code works again as expected. Thanks a lot for the fast fix of this bug! Jos de Kloe -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32083

[Bug fortran/32137] [4.3] func_result_3.f90 ICEs on powerpc-apple

2007-05-29 Thread brooks at gcc dot gnu dot org
--- Comment #2 from brooks at gcc dot gnu dot org 2007-05-29 07:35 --- Update: This isn't a regression; the testcase is new. -- brooks at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/32138] New: Scanner not picking up code is in string context, warning about inline comment

2007-05-29 Thread mathewc at nag dot co dot uk
Using gfortran --version GNU Fortran 95 (GCC) 4.3.0 20070131 (experimental) uname -a Linux loanamd25 2.6.12-rc1-mm-smp #13 SMP Fri Jun 3 17:14:40 BST 2005 x86_64 x86_64 x86_64 GNU/Linux and compiling the file begin gf_test.f90 WRITE(*,*) 'A continued comment !' END end gf_test.f90 as

[Bug fortran/32137] [4.3] func_result_3.f90 ICEs on powerpc-apple

2007-05-29 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2007-05-29 07:51 --- Test case came from PR32088. -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/32138] Scanner not picking up code is in string context, warning about inline comment

2007-05-29 Thread mathewc at nag dot co dot uk
--- Comment #1 from mathewc at nag dot co dot uk 2007-05-29 08:02 --- I suppose that the code example could be made clearer if it were begin gf_test.f90 WRITE(*,*) 'A continued string !' END end gf_test.f90 for which the output is the same. --

[Bug fortran/32138] Scanner not picking up code is in string context, warning about inline comment

2007-05-29 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-05-29 08:05 --- You might want to update your compiler: 4.3.0 20070131 is almost 5 months out of date (in this case this is getting old because you are using a prerelease after all). This is a dup of bug 31495 which was fixed a

[Bug fortran/31495] Is this continuation line legal?

2007-05-29 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2007-05-29 08:05 --- *** Bug 32138 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/29498] FTZ/DAZ for SSE should be ported to mingw32

2007-05-29 Thread dannysmith at gcc dot gnu dot org
--- Comment #4 from dannysmith at gcc dot gnu dot org 2007-05-29 08:09 --- Subject: Bug 29498 Author: dannysmith Date: Tue May 29 08:09:16 2007 New Revision: 125160 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=125160 Log: libgcc PR target/29498 * config.host

[Bug fortran/32137] [4.3] func_result_3.f90 ICEs on powerpc-apple

2007-05-29 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2007-05-29 08:16 --- The error is in gfc_trans_dummy_array_bias, where the assert fails: gcc_assert (GFC_ARRAY_TYPE_P (type)); The question is: Why does it fail on powerpc-apple but not on x86_64-unknown-linux-gnu? --

[Bug target/29498] FTZ/DAZ for SSE should be ported to mingw32

2007-05-29 Thread dannysmith at users dot sourceforge dot net
--- Comment #5 from dannysmith at users dot sourceforge dot net 2007-05-29 08:16 --- Fixed on trunk. Danny -- dannysmith at users dot sourceforge dot net changed: What|Removed |Added

[Bug c++/32132] bogus warning at -O3 ( 'r' may be used uninitialized in this function ).

2007-05-29 Thread pluto at agmk dot net
--- Comment #6 from pluto at agmk dot net 2007-05-29 08:50 --- (In reply to comment #5) Which shows for sure r may be used unitialized. yes, but even if i catch possible i/o failure, gcc still produces warning. --- auHexCastTest.ii.orig +++ auHexCastTest.ii @@ -18958,7 +18958,12

[Bug middle-end/32135] [4.3 Regression] bogus array-ref fold triggering array overflow warning

2007-05-29 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-05-29 09:21 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/32132] bogus warning at -O3 ( 'r' may be used uninitialized in this function ).

2007-05-29 Thread pluto at agmk dot net
--- Comment #7 from pluto at agmk dot net 2007-05-29 10:17 --- (In reply to comment #6) + str.exceptions ( stlp_std::istringstream::eofbit || stlp_std::istringstream::badbit || stlp_std::istringstream::failbit ); of course it should be '|' instead of '||' (shame on me)

[Bug fortran/32103] Module with equivalence draws unsatisfied reference

2007-05-29 Thread pault at gcc dot gnu dot org
--- Comment #4 from pault at gcc dot gnu dot org 2007-05-29 10:39 --- The patch below works and regtests OK. I am trying to devise a safe method of gettting rid of the redundant symbols if none of the equivalence members is USEd. If I cannot see something by tonight, I will submit

[Bug bootstrap/29382] Bootstrap comparison failure!

2007-05-29 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2007-05-29 10:40 --- When using gcc-3.2.3 as bootstrap compiler, i386.c is miscompiled with -O0 -fkeep-inline-functions (the latter option is what is new in gcc 4.2 and why 4.1.x bootstrap didn't suffer from this, see 2006-07-04 Eric

[Bug libstdc++/32092] Can't create directory link when build libstdc++ (gcc-4.2.0)

2007-05-29 Thread dragzhb at yahoo dot com dot cn
--- Comment #2 from dragzhb at yahoo dot com dot cn 2007-05-29 10:46 --- Sorry, I copy error. it should be $GCC_SRC_ROOT\libstdc++-v3\include\ext\pb_ds\detail I build it in another directory. steps : mkdir mingw_build cd mingw_build ../gcc-4.2.0/configure --with-gcc --with-gnu-ld

[Bug bootstrap/29382] Bootstrap comparison failure!

2007-05-29 Thread ebotcazou at gcc dot gnu dot org
--- Comment #5 from ebotcazou at gcc dot gnu dot org 2007-05-29 10:47 --- Now, gcc-3_2-branch is long time closed, so IMNSHO gcc-4.2+ should work around this bug. Agreed, we can simply say that GCC 3.2.x is not is a GCC version that supports it. Would you mind writing the patch? I

[Bug c++/32085] warning: deleting void* is undefined sometimes bogus

2007-05-29 Thread andrew dot stubbs at st dot com
--- Comment #4 from andrew dot stubbs at st dot com 2007-05-29 10:57 --- Well, obviously I'll let people who really understand the details of this decide whether it can be solved. However, on the principle that warnings which one can safely ignore, but cannot silence, are at best

[Bug c++/32085] warning: deleting void* is undefined sometimes bogus

2007-05-29 Thread gdr at cs dot tamu dot edu
--- Comment #5 from gdr at cs dot tamu dot edu 2007-05-29 11:11 --- Subject: Re: warning: deleting void* is undefined sometimes bogus andrew dot stubbs at st dot com [EMAIL PROTECTED] writes: | Well, obviously I'll let people who really understand the details of this | decide whether

[Bug c++/32085] warning: deleting void* is undefined sometimes bogus

2007-05-29 Thread andrew dot stubbs at st dot com
--- Comment #6 from andrew dot stubbs at st dot com 2007-05-29 11:18 --- It's a cut down example to demonstrate the problem, not real world code. I do ignore warnings in code that does exactly what I want it to do, provided that I understand them. --

[Bug bootstrap/15212] [4.0/4.1/4.2/4.3 Regression] bootstrap fails on interix3

2007-05-29 Thread markus dot duft at salomon dot at
--- Comment #29 from markus dot duft at salomon dot at 2007-05-29 11:37 --- Hi everybody! gcc 4.2.0 works fine on interix 3.5 using the native binutils (at least as and ld must be native...) with patch i will attach, and the following commands: $ ../gcc-4.2.0/configure

[Bug bootstrap/15212] [4.0/4.1/4.2/4.3 Regression] bootstrap fails on interix3

2007-05-29 Thread markus dot duft at salomon dot at
--- Comment #30 from markus dot duft at salomon dot at 2007-05-29 11:40 --- Created an attachment (id=13625) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13625action=view) GCC 4.2.0 on interix 3.5 The patch includes the two previous diffs posted here. --

[Bug bootstrap/29382] Bootstrap comparison failure!

2007-05-29 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2007-05-29 11:42 --- Seems there were 2 separate bugs that are causing this miscompilation. 1) common_type (in contemporary gcc's common_pointer_type) will for the type of the whole conditional expression use pointer to attribute const

[Bug bootstrap/15212] [4.0/4.1/4.2/4.3 Regression] bootstrap fails on interix3

2007-05-29 Thread markus dot duft at salomon dot at
--- Comment #31 from markus dot duft at salomon dot at 2007-05-29 12:13 --- Created an attachment (id=13626) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13626action=view) Fixed GCC 4.2.0 on interix 3.5 The patch includes the two previous diffs posted here. This is a fixed

[Bug tree-optimization/31767] [4.3 Regression] 25% slowdown in gas_dyn since 2007-04-27

2007-05-29 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-05-29 12:23 --- Seems to be essentially back to the old speed. - Close -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/32085] warning: deleting void* is undefined sometimes bogus

2007-05-29 Thread manu at gcc dot gnu dot org
--- Comment #7 from manu at gcc dot gnu dot org 2007-05-29 12:26 --- (In reply to comment #6) It's a cut down example to demonstrate the problem, not real world code. Could you provide an example of real-world code where the warning is triggered? We would prefer minimal but anything

[Bug c++/32132] bogus warning at -O3 ( 'r' may be used uninitialized in this function ).

2007-05-29 Thread manu at gcc dot gnu dot org
--- Comment #8 from manu at gcc dot gnu dot org 2007-05-29 12:31 --- (In reply to comment #6) so, is it still an invalid testcase? Does the warning show up with -O1 and -O2 ? -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/32132] bogus warning at -O3 ( 'r' may be used uninitialized in this function ).

2007-05-29 Thread pluto at agmk dot net
--- Comment #9 from pluto at agmk dot net 2007-05-29 12:35 --- (In reply to comment #8) (In reply to comment #6) so, is it still an invalid testcase? Does the warning show up with -O1 and -O2 ? only with -O3. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32132

[Bug c++/32132] bogus warning at -O3 ( 'r' may be used uninitialized in this function ).

2007-05-29 Thread pluto at agmk dot net
--- Comment #10 from pluto at agmk dot net 2007-05-29 12:42 --- Created an attachment (id=13627) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13627action=view) update for the testcase. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32132

[Bug bootstrap/29382] Bootstrap comparison failure!

2007-05-29 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2007-05-29 12:48 --- 2) is apparently PR11557, fixed in GCC 3.3.1+. So, I'd say as workaround we should not use -fkeep-inline-functions for GCC 3.3.1. Testing a patch for that. -- jakub at gcc dot gnu dot org changed:

[Bug c++/32132] bogus warning at -O3 ( 'r' may be used uninitialized in this function ).

2007-05-29 Thread manu at gcc dot gnu dot org
--- Comment #11 from manu at gcc dot gnu dot org 2007-05-29 12:57 --- (In reply to comment #9) (In reply to comment #8) (In reply to comment #6) so, is it still an invalid testcase? Does the warning show up with -O1 and -O2 ? only with -O3. That is a bug by

[Bug fortran/31610] ICE with transfer, merge in gfc_conv_expr_descriptor

2007-05-29 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2007-05-29 13:17 --- (In reply to comment #3) Paul, I don't think that's solving the right problem. The code is legal; the inner TRANSFER creates an array of CHARACTER with len=1 and size=20, which conforms with a CHARACTER scalar of

[Bug target/31798] lib1funcs.asm:1000: undefined reference to `raise'

2007-05-29 Thread rearnsha at gcc dot gnu dot org
--- Comment #1 from rearnsha at gcc dot gnu dot org 2007-05-29 13:22 --- The __div0 function is called by the division routines when an attempt to divide by zero is detected. On a linux system, it is expected that this will cause SIGFPE to be raise(3)d, so the default implementation

[Bug tree-optimization/32139] New: [4.1 Regression] ICE in mark_operand_necessary

2007-05-29 Thread jakub at gcc dot gnu dot org
int foo (void); int bar (void) __attribute__((const)); int test (int x) { int a = (x == 1 ? foo : bar) (); int b = (x == 1 ? foo : bar) (); return a + b; } ICEs in mark_operand_necessary. 3.4.x works and so does 4.2 and trunk. Related to in PR29382 described common_pointer_type,

[Bug fortran/31610] ICE with transfer, merge in gfc_conv_expr_descriptor

2007-05-29 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2007-05-29 13:39 --- (In reply to comment #4) I misunderstood something slightly in that last comment; MERGE is elemental, so the conforming I mentioned doesn't matter. Also, my guess that fixing the transfer(A, x, 20) problem would

[Bug c/32102] -Wall stomps on -Wstrict-overflow

2007-05-29 Thread ian at airs dot com
--- Comment #2 from ian at airs dot com 2007-05-29 13:48 --- I think that having -Wall clobber -Wstrict-overflow in this way is confusing. This isn't reversing the setting of the option, it's changing its level. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32102

[Bug fortran/31610] ICE with transfer, merge in gfc_conv_expr_descriptor

2007-05-29 Thread burnus at gcc dot gnu dot org
--- Comment #8 from burnus at gcc dot gnu dot org 2007-05-29 14:05 --- In reducing this, I discovered that gfortran currently hangs on the following much simpler code. I suspect that if we fix this, it'll fix the original code too. write(*,*) transfer(A, x, 20) NAG f95 and g95

[Bug fortran/31610] ICE with transfer, merge in gfc_conv_expr_descriptor

2007-05-29 Thread dominiq at lps dot ens dot fr
--- Comment #9 from dominiq at lps dot ens dot fr 2007-05-29 14:25 --- This gives still a warning with g95 and NAG f95; NAG outputs Abb, ifort/g95/sunf95 show . Since a(:) is not initialized, the output can be anything. with a = .false. a(1) = .true. I

[Bug fortran/32140] New: wrong code

2007-05-29 Thread jv244 at cam dot ac dot uk
The following (reduced from CP2K, PR 29975) generates wrong code with gfortran (gcc version 4.3.0 20070526) MODULE TEST CONTAINS PURE FUNCTION s2a_3(s1,s2,s3) RESULT(a) CHARACTER(LEN=*), INTENT(IN) :: s1, s2, s3 CHARACTER(LEN=4), DIMENSION(3):: a a(1)=s1; a(2)=s2;

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

2007-05-29 Thread jv244 at cam dot ac dot uk
--- Comment #104 from jv244 at cam dot ac dot uk 2007-05-29 15:07 --- Even at optimisations levels lower than the one needed to generate the ICE of PR 32096 (thanks tobias burnus), CP2K seems miscompiled. One possible testcase has been added as PR 32140. --

[Bug c/31128] __builtin_stack_restore/__builtin_stack_save should not be exposed to the user

2007-05-29 Thread sabre at nondot dot org
--- Comment #8 from sabre at nondot dot org 2007-05-29 15:14 --- Right, you could do that, but it is a) not guaranteed to work going forward, and b) expects properly structured (e.g. nested) control flow. If I had b, I could just make a vla :) -Chris --

[Bug fortran/32140] [4.3 Regression] Miscompilation with -O1

2007-05-29 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-05-29 15:32 --- Regression happens between 2007-05-25-r125057 and 2007-05-29-r125159. -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/32140] [4.3 Regression] Miscompilation with -O1

2007-05-29 Thread jv244 at cam dot ac dot uk
--- Comment #2 from jv244 at cam dot ac dot uk 2007-05-29 15:41 --- I assume this is another incarnation of this bugs but leads to a segfault and a slightly different valgrind output: MODULE TEST CONTAINS PURE FUNCTION s2a_3(s1,s2,s3) RESULT(a) CHARACTER(LEN=*), INTENT(IN)

[Bug c++/32141] New: default init doesn't work in ctor initializer list

2007-05-29 Thread james dot kanze at gmail dot com
A POD struct is not correctly initialized when default initialization is requested in the initialization list of a constructor, and it is a base class. Consider the following program: - #include iostream #include memory #include stdlib.h #include

[Bug c++/32142] New: gcc crashes when creating coverage info and optimization

2007-05-29 Thread dominik dot strasser at onespin-solutions dot com
When compiling the attached file, g++ crashes. Trying to reduce the file size, random crashes occurred, ranging from endless loops to glibc detecting memory corruption. Removing the #line directives cures the crash. Call: g++ -O3 -fprofile-arcs pp.C -- Summary: gcc crashes when

[Bug c++/32142] gcc crashes when creating coverage info and optimization

2007-05-29 Thread dominik dot strasser at onespin-solutions dot com
--- Comment #1 from dominik dot strasser at onespin-solutions dot com 2007-05-29 17:29 --- Created an attachment (id=13628) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13628action=view) bzip2ed preprocessor output for reproducing the crash. --

[Bug fortran/32131] knowing that stride==1 when using allocated arrays and escaping allocatable arrays

2007-05-29 Thread tkoenig at alice-dsl dot net
--- Comment #5 from tkoenig at alice-dsl dot net 2007-05-29 17:47 --- Subject: Re: knowing that stride==1 when using allocated arrays and escaping allocatable arrays On Tue, 2007-05-29 at 04:52 +, pinskia at gcc dot gnu dot org wrote: we think we change a's stride which

[Bug fortran/32131] knowing that stride==1 when using allocated arrays and escaping allocatable arrays

2007-05-29 Thread jb at gcc dot gnu dot org
--- Comment #6 from jb at gcc dot gnu dot org 2007-05-29 17:51 --- Reopening. This vectorizes only partly, with -ffast-math to boot. We should be able to vectorize it without doing any unsafe math. gfortran -O2 -ffast-math -march=native -mfpmath=sse -ftree-vectorize

[Bug c++/32143] New: decl rtl generated with incorrect visibility

2007-05-29 Thread amylaar at gcc dot gnu dot org
Because of the patch for PR19238, make_decl_rtl is called before the visibility of variables is determined. You can see this when you compile g++.old-deja/g++.mike/ns12.c with -fpic. default_binds_local_p_1 (decl, 1) does not return true for (anonymous namespace)::i when its decl rtl is created,

[Bug middle-end/32140] [4.3 Regression] Miscompilation with -O1

2007-05-29 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2007-05-29 18:09 --- More regression hunting: FAILS with r125059, Works with r125057. Conclusion: The patch causing or revealing this wrong-code error is: r125058 | rguenth | 2007-05-25 11:07:29 +0200 (Fr, 25 Mai 2007) | 10 lines

[Bug fortran/29240] optional argument for signal intrinsic not supported

2007-05-29 Thread dfranke at gcc dot gnu dot org
--- Comment #6 from dfranke at gcc dot gnu dot org 2007-05-29 18:13 --- I am currently looking at the implementation of signal, so adding this may be not too much effort. Some questions/remarks: The third argument flag is an integer that plays the role of SIG_DFL in the C library

[Bug middle-end/32140] [4.3 Regression] Miscompilation with -O1

2007-05-29 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2007-05-29 18:15 --- I assume this is another incarnation of this bugs but leads to a segfault and a slightly different valgrind output This test works for me with gfortran as of this morning and also with gfortran r12505 (on

[Bug bootstrap/31039] [4.3 Regression] Latest CVS-stage 2-Cannot create executables

2007-05-29 Thread rob1weld at aol dot com
--- Comment #9 from rob1weld at aol dot com 2007-05-29 18:21 --- Created an attachment (id=13629) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13629action=view) Fix Cygwin __sgetc_r bug with GCC 4.3.0 The information above is for patching the _source_ tree. If you obtained

[Bug middle-end/32140] [4.3 Regression] Miscompilation with -O1

2007-05-29 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2007-05-29 18:26 --- Plus forwprop only does: D.1046_37 = (*__result.0_23)[0]; D.1048_41 = (char *) _s1_2(D); D.1049_42 = D.1046_37 + D.1048_41; Into: D.1046_37 = (*__result.0_23)[0]; ... D.1048_41 = (char *) _s1_2(D);

[Bug fortran/32137] [4.3] func_result_3.f90 ICEs on powerpc-apple

2007-05-29 Thread brooks at gcc dot gnu dot org
--- Comment #5 from brooks at gcc dot gnu dot org 2007-05-29 18:45 --- As of SVN 125160, this is working again. Weird, indeed. I guess I'll close it as a chimera. -- brooks at gcc dot gnu dot org changed: What|Removed |Added

[Bug java/32098] New libtool doesn't support libjava

2007-05-29 Thread tromey at gcc dot gnu dot org
-- tromey at gcc dot gnu dot org changed: What|Removed |Added CC||tromey at gcc dot gnu dot |

[Bug ada/31174] [4.2 regression] ACATS C380004 fails

2007-05-29 Thread jdgressett at amli-denton dot com
--- Comment #5 from jdgressett at amli-denton dot com 2007-05-29 18:59 --- (In reply to comment #4) Now ACATS c380004 passes in gcc-4.3-20070518. But it is still in the relesed 4.2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31174

[Bug tree-optimization/32144] New: [pointer_plus] Ice in chrec_fold_plus_poly_poly, at tree-chrec.c:110

2007-05-29 Thread mstein at phenix dot rootshell dot be
Hello, I get an ICE when compiling linux-2.6.20 with a host-gcc from today's pointer_plus branch. gcc -m32 -Wp,-MD,fs/hfs/.extent.o.d -nostdinc -isystem /home/mstein/host-gcc/pointer_plus-2007-05-29/bin/../lib/gcc/i686-pc-linux-gnu/4.3.0/include -D__KERNEL__ -Iinclude -include

[Bug tree-optimization/32144] [pointer_plus] Ice in chrec_fold_plus_poly_poly, at tree-chrec.c:110

2007-05-29 Thread mstein at phenix dot rootshell dot be
--- Comment #1 from mstein at phenix dot rootshell dot be 2007-05-29 19:11 --- Created an attachment (id=13630) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13630action=view) from linux-2.6.20 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32144

[Bug tree-optimization/32144] [pointer_plus] Ice in chrec_fold_plus_poly_poly, at tree-chrec.c:110

2007-05-29 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-05-29 19:15 --- I have a fix, just reducing the testcase right now. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/32145] New: [pointer_plus] Ice in build2_stat, at tree.c:3074

2007-05-29 Thread mstein at phenix dot rootshell dot be
Hello, I get an ICE when compiling linux-2.6.20 with a host-gcc from today's pointer_plus branch. gcc -m32 -Wp,-MD,fs/xfs/.xfs_dir2.o.d -nostdinc -isystem /home/mstein/host-gcc/pointer_plus-2007-05-29/bin/../lib/gcc/i686-pc-linux-gnu/4.3.0/include -D__KERNEL__ -Iinclude -include

[Bug tree-optimization/32145] [pointer_plus] Ice in build2_stat, at tree.c:3074

2007-05-29 Thread mstein at phenix dot rootshell dot be
--- Comment #1 from mstein at phenix dot rootshell dot be 2007-05-29 19:37 --- Created an attachment (id=13631) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13631action=view) from linux-2.6.20 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32145

[Bug tree-optimization/32144] [pointer_plus] Ice in chrec_fold_plus_poly_poly, at tree-chrec.c:110

2007-05-29 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-05-29 19:37 --- Reduced testcase: typedef unsigned short __u16; typedef unsigned int u32; typedef __u16 __be16; struct hfs_extent { __be16 count; }; int hfs_free_fork( int type) { u32 total_blocks, blocks, start; struct

[Bug tree-optimization/32144] [pointer_plus] Ice in chrec_fold_plus_poly_poly, at tree-chrec.c:110

2007-05-29 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-05-29 19:40 --- The fix: Index: ../../gcc/tree-chrec.c === --- ../../gcc/tree-chrec.c (revision 125151) +++ ../../gcc/tree-chrec.c (working copy) @@ -107,7

[Bug tree-optimization/32145] [pointer_plus] Ice in build2_stat, at tree.c:3074

2007-05-29 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-05-29 19:49 --- I have a fix, just getting a reduced testcase (the ICE comes from VRP). The fix is: Index: ../../gcc/tree-vrp.c === --- ../../gcc/tree-vrp.c

[Bug fortran/32136] ICE with transfer in gfc_conv_array_initializer

2007-05-29 Thread pault at gcc dot gnu dot org
--- Comment #1 from pault at gcc dot gnu dot org 2007-05-29 20:01 --- I don't hit an ICE (Cygwin/amd64) but see a wrong result. It works fine with anything other than logical, as long as the SIZE parameter is set to ensure that truncation of the source data does not occur. Confirmed

[Bug testsuite/32057] Random failure on gfortran.dg/secnds.f

2007-05-29 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2007-05-29 20:25 --- Following the Steve Kargl's suggestion in http://gcc.gnu.org/ml/gcc-patches/2007-05/msg01945.html I have done the following test: [archimede] test/fortran cat sec_prec_1.f90 implicit none integer j, k, l, m, n

[Bug fortran/28484] system_clock with real-type count_rate does not compile

2007-05-29 Thread dfranke at gcc dot gnu dot org
--- Comment #8 from dfranke at gcc dot gnu dot org 2007-05-29 20:44 --- Taking over. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/32145] [pointer_plus] Ice in build2_stat, at tree.c:3074

2007-05-29 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-05-29 21:04 --- And here is a reduced testcase: void xfs_dir2_grow_inode(void) { int map; int *mapp; int nmap; mapp = map; if (nmap == 0 ) mapp = ((void *)0); if (mapp != map) kmem_free(mapp); } --

[Bug c++/32142] gcc crashes when creating coverage info and optimization

2007-05-29 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-05-29 21:12 --- This works for me in the 4.2 release. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32142

[Bug c++/32142] gcc crashes when creating coverage info and optimization

2007-05-29 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-05-29 21:14 --- But fails on the 4.1 branch. The ICE is in GC related code (inside GCC). -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/32146] New: Bad matrix layout transformations

2007-05-29 Thread hjl at lucon dot org
I got /export/build/gnu/gcc-dfp/build-x86_64-linux/gcc/xgcc -B/export/build/gnu/gcc-dfp/build-x86_64-linux/gcc/ /export/gnu/src/gcc-dfp/gcc/gcc/testsuite/gcc.dg/matrix/matrix-6.c -O3 -fipa-matrix-reorg -fdump-ipa-matrix-reorg -fwhole-program -combine -fno-show-column -S -o matrix-6.s

[Bug tree-optimization/32146] Bad matrix layout transformations

2007-05-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-05-29 21:29 --- I get the same failure on powerpc64-linux-gnu. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

  1   2   >