[Bug c/32314] for gcc-4.2gcc-4disable-decimal-float not working on i686, powerpc, sparc. gcc-4.3.0

2007-06-13 Thread malitzke at metronets dot com
--- Comment #3 from malitzke at metronets dot com 2007-06-13 06:06 --- Maybe some people should read __carefully__ both the C standard and the new GPL3 -- malitzke at metronets dot com changed: What|Removed |Added

[Bug fortran/32315] New: DATA with implied-do: Bounds checks missing

2007-06-13 Thread burnus at gcc dot gnu dot org
Found at: http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/34f509b6b4241c6d/ program chkdata character(len=20), dimension(4) :: string data ( string(i) ,i=1,5 ) / 'A', 'B', 'C', 'D', 'E' / write(*,*) string end program chkdata gfortran gives no

[Bug c/32314] for gcc-4.2gcc-4disable-decimal-float not working on i686, powerpc, sparc. gcc-4.3.0

2007-06-13 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-06-13 06:26 --- Maybe some people should read __carefully__ both the C standard and the new GPL3 What does that mean? There is a working draft of dfp in the C standards committee See

[Bug target/32313] [4.3 Regression] Bootstrap failure running gengtype in stage 2.

2007-06-13 Thread daney at gcc dot gnu dot org
--- Comment #3 from daney at gcc dot gnu dot org 2007-06-13 06:26 --- Created an attachment (id=13696) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13696action=view) Proposed fix. I will try to bootstrap the Proposed fix tomorrow. --

[Bug target/32313] [4.3 Regression] Bootstrap failure running gengtype in stage 2.

2007-06-13 Thread echristo at apple dot com
--- Comment #4 from echristo at apple dot com 2007-06-13 06:36 --- Patch looks reasonable. -- echristo at apple dot com changed: What|Removed |Added CC|

[Bug fortran/32315] DATA with implied-do: Bounds checks missing

2007-06-13 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-06-13 06:46 --- Dump shows: static char string[4][1:20] = {A , B , C , D , E} Check should probably be in resolve.c's

[Bug c/32314] for gcc-4.2gcc-4disable-decimal-float not working on i686, powerpc, sparc. gcc-4.3.0

2007-06-13 Thread malitzke at metronets dot com
--- Comment #5 from malitzke at metronets dot com 2007-06-13 07:09 --- All I want for gcc is that it meets both the letter __and__ the spirit of applicable contracts and specifications. First, the GPL is a contract, do __not__ take my word for it but consult a lawyer. Second, the C

[Bug fortran/32310] Intel-darwin specific ICE on CP2K code

2007-06-13 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2007-06-13 07:27 --- (In reply to comment #2) I can't reduce that any more, it depends on the module files being huge: if you trim them down to a lower number of symbols, they ICE disapears. And I can't reproduced it either on

[Bug c/32314] for gcc-4.2gcc-4disable-decimal-float not working on i686, powerpc, sparc. gcc-4.3.0

2007-06-13 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2007-06-13 07:30 --- The C extensions are disabled with --disable-decimal-float. I never said they were not, in fact here is a quote from me: Even if you disable dfp, libdecnumber is still needed to compile gcc as disable-decimal-float

[Bug target/32180] Paranoia UCB GSL TestFloat libm tests fail - accuracy of recent gcc math poor

2007-06-13 Thread rob1weld at aol dot com
--- Comment #16 from rob1weld at aol dot com 2007-06-13 07:53 --- I did some testing on the CVS of crlibm, (it needs a few files from crlibm-1.0beta1.tar.gz). The new docs list these interesting features: • portable to any system implementing the ISO-C99 and IEEE-754 standards, •

[Bug fortran/32310] Intel-darwin specific ICE on CP2K code

2007-06-13 Thread fxcoudert at gcc dot gnu dot org
--- Comment #4 from fxcoudert at gcc dot gnu dot org 2007-06-13 08:02 --- (In reply to comment #3) Are there any equivalences in the the sources for the modules and do they have any data statements? Even if they do, I am not sure that I believe that the PR29786 patch is involved -

[Bug middle-end/32258] Testsuite reports - FAIL: gcc.dg/torture/builtin-pow-mpfr-1.c

2007-06-13 Thread rob1weld at aol dot com
--- Comment #11 from rob1weld at aol dot com 2007-06-13 08:06 --- The configure script should check the headers against the library version. Two people from gcc.gnu.org and I all got nailed by this. It may bite others with less computer knowledge than ourselves. The bug is this: 1):

[Bug target/32274] FAIL: gcc.dg/vect/pr32224.c

2007-06-13 Thread dorit at il dot ibm dot com
--- Comment #1 from dorit at il dot ibm dot com 2007-06-13 08:41 --- Sorry about the breakage. Does it work for you if you change the testcase as follows?: Index: pr32224.c === --- pr32224.c (revision 125641) +++

[Bug target/32274] FAIL: gcc.dg/vect/pr32224.c

2007-06-13 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-06-13 08:50 --- Sorry about the breakage. Does it work for you if you change the testcase as follows?: Yes it will fix it but note there is still a bug in the ia64 back-end anyways so this bug should not be closed as being

[Bug fortran/32302] [4.2/4.3 Regression] Incorrect result with -O2

2007-06-13 Thread pault at gcc dot gnu dot org
--- Comment #5 from pault at gcc dot gnu dot org 2007-06-13 09:01 --- Dear All, I think that you are probably right - it looks like my patch for PR29786 is to blame, since it is the only thing to touch trans-common.c for a long time. This is incorrect - it goes back at least as

[Bug fortran/32302] [4.2/4.3 Regression] Incorrect result with -O2

2007-06-13 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2007-06-13 09:04 --- PS - It also explains a failure by gfortran to produce a working version of the PROTEUS tokamak equilibrium code. I just tried, for the first time, to compile it with no optimization. It is SLOW but it goes. It

[Bug fortran/32302] [4.2/4.3 Regression] Incorrect result with -O2

2007-06-13 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2007-06-13 09:30 --- The problem lies with the common block aux32, which is declared in subroutine unpki with 6 integer(4) arrays at the beginning and, elsewhere, is declared with default reals. Apparently, this makes a mess of the

[Bug middle-end/32258] Testsuite reports - FAIL: gcc.dg/torture/builtin-pow-mpfr-1.c

2007-06-13 Thread rob1weld at aol dot com
--- Comment #12 from rob1weld at aol dot com 2007-06-13 09:32 --- Comment #10 From Andrew Pinski 2007 This is not a bug. Here is the deal, the reporter compiled GCC with the new headers but is using the old library (which is known to be buggy). Comment #6 From Rob warning: MPFR

[Bug middle-end/32258] Testsuite reports - FAIL: gcc.dg/torture/builtin-pow-mpfr-1.c

2007-06-13 Thread rob1weld at aol dot com
--- Comment #13 from rob1weld at aol dot com 2007-06-13 09:38 --- Reopen bug reason: Request we add proposed fix to main configuration script. -- rob1weld at aol dot com changed: What|Removed |Added

[Bug middle-end/20218] Can't use __attribute__ ((visibility (hidden))) to hide a symbol

2007-06-13 Thread seb at frankengul dot org
--- Comment #52 from seb at frankengul dot org 2007-06-13 10:12 --- (In reply to comment #51) I believe I'm seeing this bug using a redhat build: gcc4.1.1-1 (shows up all the way through -51). It's only on 64bit FC5, 32bit is okay and am installing FC6 to test. Building XULRunner

[Bug c++/32316] New: internal compiler error: Segmentation fault

2007-06-13 Thread patrick dot pastoor at onespin-solutions dot com
When compiling with g++ -fprofile-arcs -ftest-coverage ... I got the following segmentation fault: /temp//TypeDictionary.C: In function ‘(static destructors for /temp//TypeDictionary.C)’: /temp//TypeDictionary.C:315: internal compiler error: Segmentation fault Taking a look at the

[Bug target/32180] Paranoia UCB GSL TestFloat libm tests fail - accuracy of recent gcc math poor

2007-06-13 Thread joseph at codesourcery dot com
--- Comment #17 from joseph at codesourcery dot com 2007-06-13 11:30 --- Subject: Re: Paranoia UCB GSL TestFloat libm tests fail - accuracy of recent gcc math poor I previously suggested to the crlibm authors that they consider assigning it to the FSF for contribution to

[Bug target/32274] FAIL: gcc.dg/vect/pr32224.c

2007-06-13 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2007-06-13 11:55 --- (In reply to comment #2) Sorry about the breakage. Does it work for you if you change the testcase as follows?: Yes it will fix it but note there is still a bug in the ia64 back-end anyways so this bug should not

[Bug middle-end/32258] Testsuite reports - FAIL: gcc.dg/torture/builtin-pow-mpfr-1.c

2007-06-13 Thread rguenth at gcc dot gnu dot org
--- Comment #14 from rguenth at gcc dot gnu dot org 2007-06-13 12:08 --- Can you provide a working patch? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32258

[Bug fortran/32302] [4.2/4.3 Regression] Incorrect result with -O2

2007-06-13 Thread pault at gcc dot gnu dot org
--- Comment #8 from pault at gcc dot gnu dot org 2007-06-13 12:26 --- This fixes it but is, as yet unregtested. I'll do the business tonight and will commit as 'obvious', if all is well. Thanks, Dale! Paul Index: gcc/fortran/trans-common.c

[Bug rtl-optimization/32283] Missed induction variable optimization

2007-06-13 Thread pranav dot bhandarkar at gmail dot com
--- Comment #5 from pranav dot bhandarkar at gmail dot com 2007-06-13 12:36 --- Which RTL pass should take care of such induction variable optimization in 4.3 ? For e.g In 4.1, It was old-loop that was doing it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32283

[Bug gcov-profile/32316] internal compiler error: Segmentation fault

2007-06-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-13 13:14 --- Can you attach the preprocessed source? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/32274] FAIL: gcc.dg/vect/pr32224.c

2007-06-13 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-06-13 13:24 --- Sorry if I was not clear before. This is the correct fix for the testcase but not the bug itself. Users could accidently use the %q0 and then get the ICE. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32274

[Bug rtl-optimization/32296] [4.3 Regression] Bootstrap failure in stage1 on hppa*-*-*

2007-06-13 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #10 from dave at hiauly1 dot hia dot nrc dot ca 2007-06-13 13:28 --- Subject: Re: [4.3 Regression] Bootstrap failure in stage1 on hppa*-*-* It's my turn to ask: so what information does hppa_can_use_return_p need to make the decision ? We need to know that the return

[Bug target/30315] optimize unsigned-add overflow test on x86 to use cpu flags from addl

2007-06-13 Thread rask at sygehus dot dk
--- Comment #7 from rask at sygehus dot dk 2007-06-13 13:36 --- Looking at this again, I don't think the transformation I'm making with the splitter is valid, because I'm making up a zero extension which wasn't there to begin with. The upper part could have been non-zero before the

[Bug fortran/32317] New: No warning on bad arguments with explicit interface

2007-06-13 Thread terry at chem dot gu dot se
Even when an explicit interface is known, no warnings are generated when array argument bounds (available to the compiler) don't match. Consider the following: module mod implicit none contains subroutine a(n,v) integer,intent(in)::n real,dimension(n),intent(in)::v write(*,*)v end subroutine a

[Bug fortran/32302] [4.2/4.3 Regression] Incorrect result with -O2

2007-06-13 Thread dir at lanl dot gov
--- Comment #9 from dir at lanl dot gov 2007-06-13 13:39 --- Your Welcome Paul, With a little luck, the fix for this will cure the remaining problems that I have been having with my programs when optimization is turned on. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32302

[Bug fortran/32317] No warning on bad arguments with explicit interface

2007-06-13 Thread terry at chem dot gu dot se
--- Comment #1 from terry at chem dot gu dot se 2007-06-13 13:43 --- (Whoops. Mixed up output in that last post. Only 8 reals are printed in reality. My bad.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32317

[Bug gcov-profile/32316] internal compiler error: Segmentation fault

2007-06-13 Thread patrick dot pastoor at onespin-solutions dot com
--- Comment #2 from patrick dot pastoor at onespin-solutions dot com 2007-06-13 14:26 --- I am really sorry. But I think there is no possiblity to upload a preprocessed source here -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32316

[Bug bootstrap/18388] bootstrapping failing on HP-UX 11.23/IA64

2007-06-13 Thread ckirshen at gnupower dot net
--- Comment #2 from ckirshen at gnupower dot net 2007-06-13 14:37 --- This problem definitely exists on both hpux 11v2 and 11v3, even when passing in --with-gnu-as and --with-as. I'm trying this on gcc-3.4.3 and gcc-3.4.6 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18388

[Bug fortran/32302] [4.2/4.3 Regression] Incorrect result with -O2

2007-06-13 Thread pault at gcc dot gnu dot org
--- Comment #10 from pault at gcc dot gnu dot org 2007-06-13 15:00 --- I goofed - the previous does not fix it at all. I hope that I am not too late to stop folk from building with this patch. Cheers Paul PS Compiling the subroutines separately or padding out the first aux32 both

[Bug middle-end/32285] [4.1 Regression] Miscompilation with pure _Complex returning call inside another fn's argument list

2007-06-13 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2007-06-13 15:22 --- I see that PR25505 caused a bunch of code generation regressions. On i?86, with -O2 -m32: _Complex double foo (_Complex double x) { return __builtin_cexp (x); } generated code got much worse, similarly: elemental

[Bug ada/32318] New: GNAT.Calendar.Time_IO %c incorrectly claims to be reporting the time zone

2007-06-13 Thread bauhaus at futureapps dot de
The spec file explains that the picture %c stands for locale's date and time (including the time zone). However, the replacement picture doesn't include %z (which isn't supported AFAICS.) from the spec: -- %c locale's date and time (Sat Nov 04 12:02:33 EST 1989) from the body:

[Bug fortran/32319] New: Bad automatic array argument

2007-06-13 Thread terry at chem dot gu dot se
[EMAIL PROTECTED] cat run.f90 subroutine aa(v) integer,dimension(:),intent(out)::v write(*,*)size(v) v=0 end subroutine aa program ff implicit none integer,dimension(10)::w w=1 write(*,*)w call aa(w(1:5)) write(*,*)w end [EMAIL PROTECTED] gfortran -Wall -W -fbounds-check -O --std=f95 --pedantic

[Bug objc++/32320] New: [4.1 regression] ICE with invalid template parameter

2007-06-13 Thread uhle1982 at yahoo dot com
+++ This bug was initially created as a clone of Bug #27668 +++ The following invalid code snippet triggers an ICE since GCC 3.4.0: == templatetypename class T, T = T() struct A {}; templateint void foo(Aint);

[Bug middle-end/32321] New: ICE in df_refs_verify

2007-06-13 Thread tsarkov at cs dot man dot ac dot uk
gcc-4.3 -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc/configure --enable-checking --prefix=/opt/gcc --enable-shared --enable-threads --program-suffix=-4.3 --enable-__cxa_atexit --disable-nls --with-mpfr=/usr/local --enable-languages=c,c++,objc,obj-c++,treelang,fortran

[Bug c++/32322] New: pointers to overloaded methods not correctly resolved

2007-06-13 Thread mavdzee at yahoo dot co dot uk
In a template-context, pointers to overloaded methods are not correctly resolved. the following main.cpp does not compile on gcc 4.1.2, however it does compile on version 3.4.6: #include boost/multi_index_container.hpp #include boost/multi_index/member.hpp #include

[Bug middle-end/32321] ICE in df_refs_verify

2007-06-13 Thread tsarkov at cs dot man dot ac dot uk
--- Comment #1 from tsarkov at cs dot man dot ac dot uk 2007-06-13 15:42 --- Created an attachment (id=13697) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13697action=view) Preprocessed sources Code that triggers ICE -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32321

[Bug bootstrap/32312] [4.3 regression] bootstrap failure on sparc-sun-solaris2.10

2007-06-13 Thread ghazi at gcc dot gnu dot org
--- Comment #3 from ghazi at gcc dot gnu dot org 2007-06-13 15:45 --- Fixed: http://gcc.gnu.org/ml/gcc-testresults/2007-06/msg00615.html by this patch: http://gcc.gnu.org/ml/gcc-patches/2007-06/msg00842.html -- ghazi at gcc dot gnu dot org changed: What|Removed

[Bug target/30652] SSE expansion is missing for isinf() and other fpclassify functions

2007-06-13 Thread ghazi at gcc dot gnu dot org
--- Comment #4 from ghazi at gcc dot gnu dot org 2007-06-13 15:57 --- (In reply to comment #2) The generic implementation, including for SSE, is isgreater (abs(f), FLT_MAX) For isfinite, use islessequal instead. For isnan, one can use isunordered(f, f) For isnormal, it'd be

[Bug fortran/32319] Bad automatic array argument

2007-06-13 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2007-06-13 15:57 --- If you would provide an explicit interface for AA, the binary would not segfault: $ cat pr32319.f90 program ff implicit none integer,dimension(4)::w w=1 write(*,*)w call aa(w(2:3)) write(*,*)w contains

[Bug fortran/32319] Bad automatic array argument

2007-06-13 Thread terry at chem dot gu dot se
--- Comment #2 from terry at chem dot gu dot se 2007-06-13 16:10 --- Ah. Of course explicit interfaces are required for automatic array arguments. My Fortran-Fu seems to be deserting me at the moment. :-( -- terry at chem dot gu dot se changed: What|Removed

[Bug fortran/32317] No warning on bad arguments with explicit interface

2007-06-13 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2007-06-13 16:17 --- Neither SUN nor Intel fortran compilers issue such a warning. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/32321] [4.3 Regression] ICE in df_refs_verify with -fgcse-sm

2007-06-13 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||spark at gcc dot gnu dot org Keywords|

[Bug fortran/32317] No warning on bad arguments with explicit interface

2007-06-13 Thread terry at chem dot gu dot se
--- Comment #3 from terry at chem dot gu dot se 2007-06-13 16:23 --- (In reply to comment #2) Neither SUN nor Intel fortran compilers issue such a warning. Indeed. That does not imply that gfortran shouldn't, though. Hence the enhancement request. --

[Bug fortran/32323] New: Accepts invalid vector subscript actual argument for intent(out) dummy argument

2007-06-13 Thread terry at chem dot gu dot se
[EMAIL PROTECTED] cat run.f90 module mod implicit none contains subroutine aa(v) integer,dimension(:),intent(out)::v write(*,*)size(v) v=0 end subroutine aa end module mod program ff use mod implicit none integer,dimension(10)::w w=1 call aa(w((/3,2,1/))) write(*,*)w end [EMAIL PROTECTED]

[Bug c/32324] New: unsigned long long operator and integer literals

2007-06-13 Thread gcc at axel-naumann dot de
The result of the division of 18446744065119617024llu by the result of (131) is wrong on a 32bit platform. Reproduce: gcc s.c ./a.out should have exit code 0 but doesn't. Expected: gcc -DEXPECTED s.c ./a.out has exit code 0 as expected. gcc -v Reading specs from

[Bug c/32324] unsigned long long operator and integer literals

2007-06-13 Thread gcc at axel-naumann dot de
--- Comment #1 from gcc at axel-naumann dot de 2007-06-13 16:50 --- Created an attachment (id=13699) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13699action=view) Test case as stated in the report. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32324

[Bug middle-end/32285] [4.1 Regression] Miscompilation with pure _Complex returning call inside another fn's argument list

2007-06-13 Thread jconner at apple dot com
--- Comment #7 from jconner at apple dot com 2007-06-13 17:09 --- (In reply to comment #6) I see that PR25505 caused a bunch of code generation regressions. On i?86, with -O2 -m32: ... When you say regressions, I assume you mean size/performance, not correctness, right? If so,

[Bug c++/32261] Thread race segfault in std::string::append with -O and -s

2007-06-13 Thread appfault at hotmail dot com
--- Comment #4 from appfault at hotmail dot com 2007-06-13 17:38 --- Yes in addition to the issue of adding a test case, it is quite unsettling to not know what might have fixed it. Reopening pending response to comment 2 and comment 3. -- appfault at hotmail dot com changed:

[Bug target/32180] Paranoia UCB GSL TestFloat libm tests fail - accuracy of recent gcc math poor

2007-06-13 Thread kargl at gcc dot gnu dot org
--- Comment #18 from kargl at gcc dot gnu dot org 2007-06-13 17:52 --- The libm library is the least accurate and on average the fastest; though not fastest for every function instance. The most accurate is always CRLibm, sometimes it is fastest. The MPFR library is second most

[Bug rtl-optimization/32283] Missed induction variable optimization

2007-06-13 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2007-06-13 17:53 --- Look at PR 17108 also. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

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

2007-06-13 Thread appfault at hotmail dot com
--- Comment #5 from appfault at hotmail dot com 2007-06-13 17:56 --- Ok well, I'll take your word on that, since I can't really tell where gcc and ld end and glibc begins. It's perhaps glibc that is in need of better documentation then. However if I file such a zilla I suspect it will

[Bug c/32324] unsigned long long operator and integer literals

2007-06-13 Thread andrew dot stubbs at st dot com
--- Comment #2 from andrew dot stubbs at st dot com 2007-06-13 18:00 --- As it happens, I encountered your real problem quite recently. :) (int)(131) is undefined (C99 standard 6.5.7/4). This modified version gives the same result both ways: int main (){ unsigned long long a =

[Bug fortran/32323] Accepts invalid vector subscript actual argument for intent(out) dummy argument

2007-06-13 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-06-13 18:03 --- Thanks for finding this bug! I think it is the following in the Fortran 2003 standard: 12.4.1.2 Actual arguments associated with dummy data objects If a nonpointer dummy argument has INTENT (OUT) or INTENT (INOUT),

[Bug c++/32325] New: cc1plus ICE configuring libstdc++ on Tru64 UNIX V5.1B: SEGV in rtl_verify_flow_info

2007-06-13 Thread gcc-bugzilla at gcc dot gnu dot org
During a mainline bootstrap on alpha-dec-osf5.1b, the libstdc++ configure failed: checking for exception model to use... configure: error: unable to detect exception model make[1]: *** [configure-target-libstdc++-v3] Error 1 config.log reveals: configure:13794: checking for exception model to

[Bug target/32325] [4.3 Regression] cc1plus ICE configuring libstdc++ on Tru64 UNIX V5.1B: SEGV in rtl_verify_flow_info

2007-06-13 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|critical|normal Component|c++ |target

[Bug c/32326] New: ICE when -g specified

2007-06-13 Thread joel at gcc dot gnu dot org
This may be a duplicate of PR 28868 a.c = typedef struct a1 { int x; } a1_t __attribute__((may_alias)); = a.c:3: internal compiler error: in splice_child_die, at dwarf2out.c:5503 Please submit a full bug report, with preprocessed source if appropriate. See

[Bug c/32326] ICE when -g specified

2007-06-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-13 19:27 --- It does not occur targeting I doubt those use dwarf2/3 :). *** This bug has been marked as a duplicate of 29436 *** -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug debug/29436] [4.0/4.1/4.2/4.3 Regression] ICE in modified_type_die

2007-06-13 Thread pinskia at gcc dot gnu dot org
--- Comment #16 from pinskia at gcc dot gnu dot org 2007-06-13 19:27 --- *** Bug 32326 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/32323] Accepts invalid vector subscript actual argument for intent(out) dummy argument

2007-06-13 Thread patchapp at dberlin dot org
--- Comment #2 from patchapp at dberlin dot org 2007-06-13 19:30 --- Subject: Bug number PR32323 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-06/msg00910.html --

[Bug target/32313] [4.3 Regression] Bootstrap failure running gengtype in stage 2.

2007-06-13 Thread daney at gcc dot gnu dot org
--- Comment #5 from daney at gcc dot gnu dot org 2007-06-13 19:44 --- Unfortunatly the patch causes an ICE compiling crtstuff.c. I will have to adjust it a bit... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32313

[Bug c/32327] New: Incorrect stack sharing causing removal of live code

2007-06-13 Thread dnovillo at gcc dot gnu dot org
Given the following code: -- typedef unsigned int size_t; typedef unsigned long long uint64; extern C { extern void *memcpy (void *__restrict __dest, __const void *__restrict __src, size_t __n) /*throw ()*/; }

[Bug rtl-optimization/32300] [4.3 Regression] ICE with -O2 -fsee

2007-06-13 Thread dje at gcc dot gnu dot org
--- Comment #6 from dje at gcc dot gnu dot org 2007-06-13 20:00 --- From IRC: see.c:2732 makes a copy of an insn and then hacks on it with validate_change (and it's close relatives). This copy has a basic_block, even though it is not in the insn stream, as well as the same insn_uid as

[Bug fortran/32323] Accepts invalid vector subscript actual argument for intent(out) dummy argument

2007-06-13 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2007-06-13 20:12 --- Subject: Bug 32323 Author: burnus Date: Wed Jun 13 20:12:40 2007 New Revision: 125684 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=125684 Log: 2007-06-13 Tobias Burnus [EMAIL PROTECTED] PR

[Bug fortran/32323] Accepts invalid vector subscript actual argument for intent(out) dummy argument

2007-06-13 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2007-06-13 20:14 --- Fixed in 4.3. As it is neither a regression nor a wrong-code bug, it will not be fixed for 4.2.1 or 4.1.3. -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/31723] Use reciprocal and reciprocal square root with -ffast-math

2007-06-13 Thread ubizjak at gmail dot com
--- Comment #25 from ubizjak at gmail dot com 2007-06-13 20:20 --- RFC patch at http://gcc.gnu.org/ml/gcc-patches/2007-06/msg00916.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31723

[Bug target/32313] [4.3 Regression] Bootstrap failure running gengtype in stage 2.

2007-06-13 Thread daney at gcc dot gnu dot org
--- Comment #6 from daney at gcc dot gnu dot org 2007-06-13 20:39 --- Created an attachment (id=13700) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13700action=view) Revised patch. I don't know what I was thinking with the first version of the patch :-( The new version I think

[Bug fortran/32203] Support the vendor intrinsic function TIMEF

2007-06-13 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug fortran/32155] Unresolved external __gfortran_os_error in program that manipulates strings

2007-06-13 Thread fxcoudert at gcc dot gnu dot org
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2007-06-13 20:45 --- Hard to tell what is going wrong. I've been building and using compilers on i386-darwin with no problem. Please contact the people behind HPC MacOS X to see if they can help you using this compiler, or download

[Bug fortran/32289] mips version of gfortran produces internal compiler error

2007-06-13 Thread fxcoudert at gcc dot gnu dot org
--- Comment #10 from fxcoudert at gcc dot gnu dot org 2007-06-13 20:49 --- (In reply to comment #9) I don't see the point of these questions though. After all, I confirmed your bug with gcc 4.1, and also that it's fixed in 4.2 and 4.3. So the remaining question is whether this

[Bug fortran/32317] [bounds checking] No warning on bad arguments with explicit interface

2007-06-13 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added OtherBugsDependingO||27766 nThis||

[Bug fortran/32315] DATA with implied-do: Bounds checks missing

2007-06-13 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added OtherBugsDependingO||27766 nThis||

[Bug fortran/32179] Ensure that ss-string_length is always set [TODO item]

2007-06-13 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug fortran/32095] Accepts invalid character(len(a)),dimension(1) :: a

2007-06-13 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug c/32328] New: 4.2.0: -O2 causes skipped code

2007-06-13 Thread tdragon at tdragon dot net
When the attached file is compiled with a mingw32 build of GCC 4.2.0 using the -O2 option (gcc -O2 -c timestamp2.i), lines 159 and 160 are never executed when running the program that uses this file. Since the hashitem function modifies the variable b which is passed to it by-address, leaving

[Bug c/32328] 4.2.0: -O2 causes skipped code

2007-06-13 Thread tdragon at tdragon dot net
--- Comment #1 from tdragon at tdragon dot net 2007-06-13 21:19 --- Created an attachment (id=13701) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13701action=view) Preprocessed example source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32328

[Bug middle-end/32327] Incorrect stack sharing causing removal of live code

2007-06-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-13 21:20 --- Why is the store to dest not being removed? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/32327] Incorrect stack sharing causing removal of live code

2007-06-13 Thread dougkwan at google dot com
--- Comment #2 from dougkwan at google dot com 2007-06-13 21:25 --- The address of dest has been passed to memcpy() and the alias analysis considers the varaible to escape. So potentially foo() can see the value of dest if memcpy() stash the pointer somewhere. This is impossible but the

[Bug middle-end/32327] Incorrect stack sharing causing removal of live code

2007-06-13 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-06-13 21:32 --- No, it should be marked as non escaping later on. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32327

[Bug middle-end/32327] Incorrect stack sharing causing removal of live code

2007-06-13 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-06-13 21:37 --- On the trunk, dest is changed to be non addressable in alias5, why is it not doing it in 4.2? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/32327] [4.2 Regression] Incorrect stack sharing causing removal of live code

2007-06-13 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2007-06-13 21:42 --- (In reply to comment #2) The address of dest has been passed to memcpy() and the alias analysis considers the varaible to escape. So potentially foo() can see the value of dest if memcpy() stash the pointer

[Bug middle-end/32327] [4.2 Regression] Incorrect stack sharing causing removal of live code

2007-06-13 Thread dougkwan at google dot com
--- Comment #6 from dougkwan at google dot com 2007-06-13 21:50 --- Subject: Re: [4.2 Regression] Incorrect stack sharing causing removal of live code Fixing alias analysis in 4.2.0 will make this problem go away but it does not change the underlying issue in the stack local sharing

[Bug middle-end/32327] [4.2 Regression] Incorrect stack sharing causing removal of live code

2007-06-13 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2007-06-13 21:53 --- (In reply to comment #6) Fixing alias analysis in 4.2.0 will make this problem go away but it does not change the underlying issue in the stack local sharing code. Is that really true? The underlying issue is

[Bug target/32313] [4.3 Regression] Bootstrap failure running gengtype in stage 2.

2007-06-13 Thread echristo at apple dot com
--- Comment #7 from echristo at apple dot com 2007-06-13 22:16 --- Um. Right. :) The new version is fine if it works. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32313

[Bug rtl-optimization/32328] 4.2.0: -O2 causes skipped code

2007-06-13 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-06-13 22:21 --- Do you mean the last two stores to b: b-time = time; b-progress = found ? 4 : 2; Though we could have an alias violation if you don't cast back in hashitem to the correct type of the argument. This is still a

[Bug tree-optimization/32328] 4.2.0: -O2 causes skipped code

2007-06-13 Thread tdragon at tdragon dot net
--- Comment #3 from tdragon at tdragon dot net 2007-06-13 22:27 --- (In reply to comment #2) Do you mean the last two stores to b: b-time = time; b-progress = found ? 4 : 2; Yes, those two lines are the ones that are wrongly skipped. --

[Bug c++/31903] [4.3 Regression] typeinfo of classes in anon namespace isn't being marked static

2007-06-13 Thread geoffk at gcc dot gnu dot org
--- Comment #10 from geoffk at gcc dot gnu dot org 2007-06-13 22:31 --- I think this problem is limited to just typeinfo. -- geoffk at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/32328] 4.2.0: -O2 causes skipped code

2007-06-13 Thread tdragon at tdragon dot net
--- Comment #4 from tdragon at tdragon dot net 2007-06-13 22:36 --- (In reply to comment #2) Though we could have an alias violation if you don't cast back in hashitem to the correct type of the argument. hashitem() uses the type as punned to HASHDATA* (where HASHDATA is a struct with

[Bug tree-optimization/32328] 4.2.0: -O2 causes skipped code

2007-06-13 Thread tdragon at tdragon dot net
--- Comment #5 from tdragon at tdragon dot net 2007-06-13 22:47 --- Is it possible that an optimization enabled by -O2 *assumes* that hashitem() will conform with strict aliasing by not dereferencing that argument, and thus optimizes those lines away? (Not the case.) If this is what is

[Bug middle-end/32258] Testsuite reports - FAIL: gcc.dg/torture/builtin-pow-mpfr-1.c

2007-06-13 Thread rob1weld at aol dot com
--- Comment #15 from rob1weld at aol dot com 2007-06-13 23:39 --- Can you provide a working patch? Soon. I am trying to fix the math inaccurcy in GCC 4.3.0 and merge a a new math library. You can try sticking that oneliner into your configure if your in a rush. --

[Bug c/32329] New: Use of option -fwhole-program needs to exclude option -c in spec file

2007-06-13 Thread rob1weld at aol dot com
The bug report is about the use of the option -fwhole-program. When I compiled a program (crlibm-0.18beta1.tar.gz , described in bug report http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32180 ) I found that GCC 4.2.0 with option -O2 produced code that was _slightly_ faster than GCC 4.3.0 with

[Bug c/32329] Use of option -fwhole-program needs to exclude option -c in spec file

2007-06-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-13 23:50 --- Read the documentation, use `externally_visible' as the docs say to. There is nothing here really except you did not read the docs at all, even though you quoted them :). -- pinskia at gcc dot gnu dot org

[Bug middle-end/32327] [4.2 Regression] Incorrect stack sharing causing removal of live code

2007-06-13 Thread dougkwan at google dot com
--- Comment #8 from dougkwan at google dot com 2007-06-14 00:14 --- Subject: Re: [4.2 Regression] Incorrect stack sharing causing removal of live code I thought like you do initially. But then I was told that in gimple everything is promoted to function scope. So dest is not out of

[Bug middle-end/32327] [4.2 Regression] Incorrect stack sharing causing removal of live code

2007-06-13 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2007-06-14 00:28 --- (In reply to comment #8) Subject: Re: [4.2 Regression] Incorrect stack sharing causing removal of live code I thought like you do initially. But then I was told that in gimple everything is promoted to

  1   2   >