[Bug c++/39038] Redeclaration

2009-01-29 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-01-30 07:23 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug c++/39040] Redeclaration

2009-01-29 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-01-30 07:21 --- *** This bug has been marked as a duplicate of 39038 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/39038] Redeclaration

2009-01-29 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-01-30 07:21 --- *** Bug 39040 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39038

[Bug c/20785] Pragma STDC * (C99 FP) unimplemented

2009-01-29 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-01-30 07:19 --- *** Bug 39036 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c/39036] Decimal floating-point exception flags done wrong

2009-01-29 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-01-30 07:19 --- STDC FENV_ACCESS is not implemented. *** This bug has been marked as a duplicate of 20785 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c/39035] if( 0.0DF ) is considered true

2009-01-29 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-01-30 07:17 --- isn't this a dup of the previous bug? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c/39032] DEC_INFINITY missing from

2009-01-29 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-01-30 07:14 --- Invalid. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFI

[Bug c/39026] Gcc accepts invalid code

2009-01-29 Thread rguenther at suse dot de
--- Comment #6 from rguenther at suse dot de 2009-01-30 06:52 --- Subject: Re: Gcc accepts invalid code On Fri, 30 Jan 2009, hjl dot tools at gmail dot com wrote: > --- Comment #5 from hjl dot tools at gmail dot com 2009-01-30 01:17 > --- > (In reply to comment #4) > > > >

[Bug lto/38995] lto1 uses unaligned data accesses

2009-01-29 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2009-01-30 05:35 --- A patch is posted at http://gcc.gnu.org/ml/gcc-patches/2009-01/msg01498.html -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug c++/39040] New: Redeclaration

2009-01-29 Thread mahesh dot balasubramanian at wipro dot com
Hello, I found a strange behavior of the following code. void fn(int x, int y){ if(int temp = ( x > y ? (x /y) : (x % y))){ cout << temp; } else{ double temp = x / y; // ill-formed, redeclaration of temp cout << temp; } } int main(int argc, char **argv){ fn(2, 3); } According to $6.4

[Bug fortran/39039] New: segfault with common block and "-O1 -ftree-vectorize -msse2"

2009-01-29 Thread billingd at gcc dot gnu dot org
The following program segfaults when compiled with "-O1 -ftree-vectorize -msse2". Compiler is gfortran trunk revision 143693 (4.4.0 20090127). Also fails with higher levels of optimization but requires both -ftree-vectorize and -msse2. program common real (kind=8) b(5) common /com1/b b

[Bug c++/39038] New: Redeclaration

2009-01-29 Thread mahesh dot balasubramanian at wipro dot com
Hello, I found a strange behavior of the following code. void fn(int x, int y){ if(int temp = ( x > y ? (x /y) : (x % y))){ cout << temp; } else{ double temp = x / y; // ill-formed, redeclaration of temp cout << temp; } } int main(int argc, char **argv){ fn(2, 3); } According to $6.4

[Bug bootstrap/38892] gcc 4.4.0 20090104 - natVMVirtualMachine.cc:903: error: request for member 'frame_type' in ...

2009-01-29 Thread rob1weld at aol dot com
--- Comment #3 from rob1weld at aol dot com 2009-01-30 04:31 --- The building of Language Java is broken on (at least) two platforms. Checking http://gcc.gnu.org/ml/gcc-testresults/2009-01/ it seems to work on some other platforms. I'll investigate if it is my ./configure . Rob --

[Bug testsuite/38946] [4.4 Regression] gcc trunk 143562 - Testsuite - gfortran failing tests that worked previously

2009-01-29 Thread rob1weld at aol dot com
--- Comment #15 from rob1weld at aol dot com 2009-01-30 03:24 --- (In reply to comment #9) > Subject: Re: [trunk regression]?gcc trunk 143562 - Testsuite - gfortran > failing tests that worked previously > > I think adding a printf() clone to libiberty is WAY overkill just to > silence

[Bug c++/33465] Broken diagnostic: 'fix_trunc_expr' and 'float_expr' not supported by dump_expr

2009-01-29 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2009-01-30 03:22 --- On it. -- paolo dot carlini at oracle dot com changed: What|Removed |Added AssignedT

[Bug c/39036] Decimal floating-point exception flags done wrong

2009-01-29 Thread pinskia at gmail dot com
--- Comment #1 from pinskia at gmail dot com 2009-01-30 02:41 --- Subject: Re: New: Decimal floating-point exception flags done wrong Sent from my iPhone On Jan 29, 2009, at 6:00 PM, "tydeman at tybor dot com" wrote: > Using gcc 4.3.2-7 on Intel Pentium 4 running Linux Fedora Cor

Re: [Bug c/39036] New: Decimal floating-point exception flags done wrong

2009-01-29 Thread Andrew Thomas Pinski
Sent from my iPhone On Jan 29, 2009, at 6:00 PM, "tydeman at tybor dot com" > wrote: Using gcc 4.3.2-7 on Intel Pentium 4 running Linux Fedora Core 10 and -std=gnu99 There were some dfp fixes on the trunk relating to fp exceptions so you should try the trunk before reporting any more bug

[Bug c/39037] New: FLOAT_CONST_DECIMAL64 pragma not supported

2009-01-29 Thread tydeman at tybor dot com
Using gcc 4.3.2-7 on Intel Pentium 4 running Linux Fedora Core 10 with -std=gnu99 /* DFP TR 24732 == WG14 / N1312 */ #define __STDC_WANT_DEC_FP__ /* Tell implementation that we want Decimal FP */ #pragma STDC FLOAT_CONST_DECIMAL64 ON /* unsuffixed => Decimal (not Binary) */ _Decimal64 d10 = 1.0DD

[Bug c/39036] New: Decimal floating-point exception flags done wrong

2009-01-29 Thread tydeman at tybor dot com
Using gcc 4.3.2-7 on Intel Pentium 4 running Linux Fedora Core 10 and -std=gnu99 /* DFP TR 24732 == WG14 / N1176, N1312 */ #define __STDC_WANT_DEC_FP__ /* Tell implementation that we want Decimal FP */ #pragma STDC FENV_ACCESS ON /* will be testing FP exception flags */ #include /* prin

[Bug c++/38928] infinite loop on error message in C++ only

2009-01-29 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2009-01-30 01:43 --- On it. -- paolo dot carlini at oracle dot com changed: What|Removed |Added AssignedT

[Bug lto/38995] lto1 uses unaligned data accesses

2009-01-29 Thread hjl dot tools at gmail dot com
--- Comment #4 from hjl dot tools at gmail dot com 2009-01-30 01:41 --- I am testing this patch: Index: gcc/langhooks.c === --- gcc/langhooks.c (revision 143777) +++ gcc/langhooks.c (working copy) @@ -612,6 +612,7 @@

[Bug c/39035] New: if( 0.0DF ) is considered true

2009-01-29 Thread tydeman at tybor dot com
Using gcc 4.3.2-7 on Intel Pentium 4 running Fedora Core 10 and -std=gnu99 of /* DFP TR 24732 == WG14 / N1176, N1312 */ #define __STDC_WANT_DEC_FP__ /* Tell implementation that we want Decimal FP */ #include /* printf() */ int main(void){ if( 0.0DF ){ printf("0.0DF should be zero\n");

[Bug c/39034] New: Decimal floating-point math done wrong

2009-01-29 Thread tydeman at tybor dot com
Using gcc 4.3.2-7 on Intel Pentium 4 running Fedora Core 10 with -std=gnu99 of /* DFP TR 24732 == WG14 / N1176, N1312 */ #define __STDC_WANT_DEC_FP__ /* Tell implementation that we want Decimal FP */ #include /* printf() */ int main(void){ double d2 = (double)((28./3.-9.) - (31./3.-1

[Bug c/39026] Gcc accepts invalid code

2009-01-29 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2009-01-30 01:17 --- (In reply to comment #4) > > I think the frontend should, in C89 mode and if just issueing a warning, > set DECL_EXTERNAL properly on the decl. > Do we want to make such a change, especially for 4.3 branch? --

[Bug other/39033] DEC_EVAL_METHOD missing from

2009-01-29 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-01-30 01:13 --- Fixed by: http://gcc.gnu.org/ml/gcc-patches/2008-09/msg00944.html -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c/39033] DEC_EVAL_METHOD missing from

2009-01-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-01-30 01:12 --- /* The floating-point expression evaluation method. -1 indeterminate 0 evaluate all operations and constants just to the range and precision of the type 1 evaluate operations

[Bug c/39033] New: DEC_EVAL_METHOD missing from

2009-01-29 Thread tydeman at tybor dot com
Using gcc 4.3.2-7 on Intel Pentium running Linux Fedora Core 10 with -std=gnu99 of /* DFP TR 24732 == WG14 / N1176, N1312 */ #define __STDC_WANT_DEC_FP__ /* Tell implementation that we want Decimal FP */ #include /* DEC_EVAL_METHOD */ #ifndef DEC_EVAL_METHOD #error Missing DEC_EVAL_METHOD #

[Bug c/39032] DEC_INFINITY missing from

2009-01-29 Thread janis at gcc dot gnu dot org
--- Comment #2 from janis at gcc dot gnu dot org 2009-01-30 00:31 --- Please don't file a bug report against GLIBC for missing decimal float support unless you enjoy being yelled at. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39032

[Bug c/39031] HUGE_VAL_D32, HUGE_VAL_D64, HUGE_VAL_D128 missing from

2009-01-29 Thread janis at gcc dot gnu dot org
--- Comment #2 from janis at gcc dot gnu dot org 2009-01-30 00:25 --- Andrew is correct, math.h is not provided by GCC. TR 24732 is not supported by GLIBC and probably won't be until it is incorporated into a C standard. Meanwhile it is in a branch of the EGLIBC project, but I understa

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

2009-01-29 Thread pinskia at gcc dot gnu dot org
--- Comment #15 from pinskia at gcc dot gnu dot org 2009-01-30 00:21 --- *** Bug 39018 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/39018] Cannot take address of template function

2009-01-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-01-30 00:21 --- Yes this is a known bug, please see PR 11407. *** This bug has been marked as a duplicate of 11407 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c/39032] DEC_INFINITY missing from

2009-01-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-01-30 00:19 --- math.h is not controlled by the GCC project, so please file it with glibc. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39032

[Bug c/39032] New: DEC_INFINITY missing from

2009-01-29 Thread tydeman at tybor dot com
gcc 4.3.2-7 with command line option -std=gnu99 of /* DFP TR 24732 == WG14 / N1176, N1312 */ #define __STDC_WANT_DEC_FP__ /* Tell implementation that we want Decimal FP */ #include/* DEC_INFINITY */ _Decimal32 d32 = DEC_INFINITY; gets: test2.c:5: warning: ISO C does not support decimal

[Bug c/39031] HUGE_VAL_D32, HUGE_VAL_D64, HUGE_VAL_D128 missing from

2009-01-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-01-30 00:05 --- IIRC math.h is controlled by the glibc project and really this is a bug in glibc and not GCC. GCC officially only implements the freestanding C library. It is better to report it to the glibc project about this pro

[Bug c/39031] New: HUGE_VAL_D32, HUGE_VAL_D64, HUGE_VAL_D128 missing from

2009-01-29 Thread tydeman at tybor dot com
The Decimal Floating Point (DFP) Technical Report (TR) added DFP versions of HUGE_VAL to . They are missing in (at least) gcc 4.3.2-7. /* DFP TR 24732 == WG14 / N1176, N1312 */ #define __STDC_WANT_DEC_FP__/* Tell implementation that we want Decimal FP */ #include/* HUGE_VAL_D*

[Bug testsuite/36443] [4.3/4.4 Regression]: HOSTCC doesn't work with installed gcc

2009-01-29 Thread rob1weld at aol dot com
--- Comment #44 from rob1weld at aol dot com 2009-01-29 23:12 --- (In reply to comment #43) > Rob, your various assertions do not show that there is a bug here. ... ... > I built GCC from 20090106, broke a couple of thing affecting cc1, float.h, and > libgcc.a, and installed it. Then I

[Bug lto/38995] lto1 uses unaligned data accesses

2009-01-29 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2009-01-29 22:52 --- I think the problem is LTO uses mmap to read in LTO sections. But all LTO sections have alignment of 0. They have have alignment of void * instead. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38995

[Bug target/39002] [4.4 Regression] codegen bug, stack pointer is not restored

2009-01-29 Thread sezeroz at gmail dot com
--- Comment #27 from sezeroz at gmail dot com 2009-01-29 22:48 --- I can confirm that after applying pr_w64.diff of Kai Tietz to svn rev 143768, my similar problem which I reported at mingw-w64 site (which is also related to the 143119 commit) is fixed. Thanks to all who wonked on this.

[Bug middle-end/39015] [4.3/4.4 regression] wrong code building libgsf

2009-01-29 Thread pinskia at gcc dot gnu dot org
--- Comment #12 from pinskia at gcc dot gnu dot org 2009-01-29 22:41 --- (In reply to comment #9) > Assuming there is a way to trigger this, I wonder if the program is legal. In > particular I was looking at the initialization of GbArgTable which has a lot > of > holes in it. Those

[Bug middle-end/39015] [4.3/4.4 regression] wrong code building libgsf

2009-01-29 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2009-01-29 22:39 --- I don't see anything in gsf-scan.c which would have been changed by that patch. All the arrays are already marked as static. The only ones that changed by that patch are auto arrays. -- http://gcc.gnu.org/bu

[Bug c++/38655] Broken diagnostic: 'fixed_point_type' not supported by dump_type_prefix/dump_type_suffix

2009-01-29 Thread paolo dot carlini at oracle dot com
-- paolo dot carlini at oracle dot com changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |paolo dot carlini at oracle |dot org

[Bug middle-end/39015] [4.3/4.4 regression] wrong code building libgsf

2009-01-29 Thread doko at ubuntu dot com
--- Comment #10 from doko at ubuntu dot com 2009-01-29 22:36 --- I'm able to reproduce it with trunk 20090129. The gsf-scan executable links against the just built libgsf.so, so I assume we have to look for a miscompiled file in libgsf. -- doko at ubuntu dot com ch

[Bug testsuite/36443] [4.3/4.4 Regression]: HOSTCC doesn't work with installed gcc

2009-01-29 Thread janis at gcc dot gnu dot org
--- Comment #43 from janis at gcc dot gnu dot org 2009-01-29 22:36 --- Rob, your various assertions do not show that there is a bug here. The failure of gcc.target/i386/funcspec-3.c described in comment #41 does not prove that the compiler under test is using GCC files from the install

[Bug fortran/38956] tests gfortran.dg/chmod_{1,2,3}.f90 fails on i686-pc-cygwin

2009-01-29 Thread billingd at gcc dot gnu dot org
--- Comment #4 from billingd at gcc dot gnu dot org 2009-01-29 22:14 --- Tests gfortran.dg/chmod_2.f90 and gfortran.dg/chmod_3.f90 also fail. There is also some discussion at http://gcc.gnu.org/ml/fortran/2009-01/msg00353.html In each case, the failure is due to the test i = chmod

[Bug fortran/38956] test gfortran.dg/chmod_1.f90 fails on i686-pc-cygwin

2009-01-29 Thread billingd at gcc dot gnu dot org
--- Comment #3 from billingd at gcc dot gnu dot org 2009-01-29 22:09 --- I asked about this on the cygwin list. http://cygwin.com/ml/cygwin/2009-01/msg00718.html On Jan 24 18:40, David Billinghurst wrote: > I am having a problem with the access() function in cygwin-1.7. > > Under cygw

[Bug fortran/38324] Wrong lbound given to allocatable components

2009-01-29 Thread mikael at gcc dot gnu dot org
--- Comment #3 from mikael at gcc dot gnu dot org 2009-01-29 22:03 --- patch http://gcc.gnu.org/ml/fortran/2009-01/msg00348.html The failure for ik=8 is not fixed by this patch. I thought it was ok because of the kind conversion function call. But it seems it's not. It is impacting f

[Bug target/39027] double floating point suffix of 'd' and 'D' not accepted

2009-01-29 Thread janis at gcc dot gnu dot org
--- Comment #4 from janis at gcc dot gnu dot org 2009-01-29 21:57 --- We missed that. This is indeed a bug. -- janis at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/39027] double floating point suffix of 'd' and 'D' not accepted

2009-01-29 Thread tydeman at tybor dot com
--- Comment #3 from tydeman at tybor dot com 2009-01-29 21:52 --- The Decimal Floating-Point Technical Report (WG14/N1176 and later) added the suffixes 'd' and 'D' to indicate (binary) double, and 'dd' and 'DD' to indicate decimal double (_Decimal64). The suffixes 'd' and 'D' are in ad

[Bug c/39026] Gcc accepts invalid code

2009-01-29 Thread rguenther at suse dot de
--- Comment #4 from rguenther at suse dot de 2009-01-29 21:24 --- Subject: Re: Gcc accepts invalid code On Thu, 29 Jan 2009, joseph at codesourcery dot com wrote: > > > --- Comment #2 from joseph at codesourcery dot com 2009-01-29 20:02 > --- > Subject: Re: New: Gcc acce

[Bug target/39027] double floating point suffix of 'd' and 'D' not accepted

2009-01-29 Thread janis at gcc dot gnu dot org
--- Comment #2 from janis at gcc dot gnu dot org 2009-01-29 21:20 --- In the C99 standard, floating constants are defined in section 6.4.4.2. A floating constant of type double is unsuffixed; there is no 'd' or 'D' suffix. Unless I'm missing something the test case is invalid. -- j

[Bug fortran/39030] New: Support -fexcess-precision={standard,fast} also for Fortran

2009-01-29 Thread burnus at gcc dot gnu dot org
>From http://gcc.gnu.org/ml/fortran/2009-01/msg00332.html: The C99 patch (for GCC 4.5), http://gcc.gnu.org/ml/gcc-patches/2008-11/msg00105.html, fixes the excess precision problem of the infamous PR 323 (yes, that old). For C99 there exists a new option -fexcess-precision={standard,fast} which nee

Re: Attachments for gcc bugzilla entry #39028

2009-01-29 Thread Andrew Pinski
2009/1/29 Stephan Springl : > Hi, > > I just wanted to upload the attached files to gcc bugzilla entry #39028, but > I always hit a bugzilla bug. Could you please attach these files to the bug > for me? Well first patches go to gcc-patches@ list with a changelog. And then you don't need to uploa

[Bug pch/39029] New: #pragma once is not "exported" from the precompiled headers

2009-01-29 Thread bohan dot gnu at retropaganda dot info
When precompiling, #pragma once directives are handled correctly, but once we try to use the pch, these directives are lost and the compiler will #include again every real header file, even if it's already contained in the pch file. The "easy" workaround is to fallback to include guards instead of

Attachments for gcc bugzilla entry #39028

2009-01-29 Thread Stephan Springl
Hi, I just wanted to upload the attached files to gcc bugzilla entry #39028, but I always hit a bugzilla bug. Could you please attach these files to the bug for me? Thank you. Regards Stephancommit a9f24d7b25568b3fde13ae406deb1aeeacf45e23 Author: Stephan Springl Date: Thu Jan 29 20:00:31

[Bug c++/39028] [4.3/4.4 Regression] C++ front-end rejects "__label__" at the beginning of a block after "for" and "while"

2009-01-29 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug c/39026] Gcc accepts invalid code

2009-01-29 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2009-01-29 20:09 --- (In reply to comment #2) > If you use -std=c99 -pedantic-errors you get an error, as expected. > You're compiling in gnu89 mode. > > If you use -std=c99 without -pedantic-errors you get a duplicate warning: > > t

Re: [Bug c/39026] New: Gcc accepts invalid code

2009-01-29 Thread Joseph S. Myers
On Thu, 29 Jan 2009, hjl dot tools at gmail dot com wrote: > inline void foo (); > > int > main () > { > foo (); > return 0; > } > [...@gnu-6 gcc]$ gcc /tmp/i.i -S If you use -std=c99 -pedantic-errors you get an error, as expected. You're compiling in gnu89 mode. If you use -std=c99 wit

[Bug c++/39028] New: C++ front-end rejects "__label__" at the beginning of a block after "for" and "while"

2009-01-29 Thread springl-gcc at bfw-online dot de
label.C with g++ versions 4.4.0 20090129 (experimental) and 4.3.3 gives: label.C: In function 'void c()': label.C:2: error: '__label__' not at the beginning of a block label.C:3: error: '__label__' not at the beginning of a block label.C:3: error: duplicate label

[Bug c/39026] Gcc accepts invalid code

2009-01-29 Thread joseph at codesourcery dot com
--- Comment #2 from joseph at codesourcery dot com 2009-01-29 20:02 --- Subject: Re: New: Gcc accepts invalid code On Thu, 29 Jan 2009, hjl dot tools at gmail dot com wrote: > inline void foo (); > > int > main () > { > foo (); > return 0; > } > [...@gnu-6 gcc]$ gcc /tmp/i.i -

[Bug middle-end/38157] -fconserve-stack enabled by default

2009-01-29 Thread hjl dot tools at gmail dot com
-- hjl dot tools at gmail dot com changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38157

[Bug target/39027] double floating point suffix of 'd' and 'D' not accepted

2009-01-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-01-29 19:38 --- I think you need to configure GCC with DFP support. Defining __STDC_WANT_DEC_FP__ is not enough. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c/39027] New: double floating point suffix of 'd' and 'D' not accepted

2009-01-29 Thread tydeman at tybor dot com
With C command line option -std=gnu99 double floating-point constants with either 'd' or 'D' suffix are not accepted by gcc 4.3.2-7 running on Intel x86/x87 Pentium 4 running Fedora Core 10 Linux Part of gcc -v is: gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC) #define __STDC_WANT_DEC_FP__ /*

[Bug middle-end/39015] [4.3 regression] wrong code building libgsf

2009-01-29 Thread sje at cup dot hp dot com
--- Comment #9 from sje at cup dot hp dot com 2009-01-29 18:57 --- So far I have been unable to reproduce this problem. When compiling gsf-scan.i I do not even reach the code that I changed in PR 38615 and I get the same code with or without my change included. Assuming there is a way

[Bug c/39026] Gcc accepts invalid code

2009-01-29 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2009-01-29 18:34 --- Icc 11.0 gave: [...@gnu-6 tmp]$ /opt/intel/cce/11.0/bin/icc -S i.i-Wall i.i(1): remark #1419: external declaration in primary source file inline void foo (); ^ [...@gnu-6 tmp]$ /opt/intel/cce/11

[Bug testsuite/36443] [4.3/4.4 Regression]: HOSTCC doesn't work with installed gcc

2009-01-29 Thread janis at gcc dot gnu dot org
--- Comment #42 from janis at gcc dot gnu dot org 2009-01-29 18:32 --- I'm looking into this. It's all very messy and confusing, so I'm trying to step back and understand the big picture. Is there a reason that GCC_EXEC_PREFIX is set to $(libdir)/gcc/ for the compiler tests but not for

[Bug tree-optimization/39007] -ftree-loop-distribution ICEs

2009-01-29 Thread kazu at gcc dot gnu dot org
--- Comment #4 from kazu at gcc dot gnu dot org 2009-01-29 18:31 --- Fixed. -- kazu at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED

[Bug c/39026] New: Gcc accepts invalid code

2009-01-29 Thread hjl dot tools at gmail dot com
+++ This bug was initially created as a clone of Bug #39013 +++ [...@gnu-6 gcc]$ cat /tmp/i.i inline void foo (); int main () { foo (); return 0; } [...@gnu-6 gcc]$ gcc /tmp/i.i -S Is this valid C code? From http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39013#c10 -- IMHO this is invalid.

[Bug target/39013] [4.3/4.4 Regression] Missing @PLT when -fpie is used

2009-01-29 Thread zorry at ume dot nu
--- Comment #15 from zorry at ume dot nu 2009-01-29 18:23 --- We have this in the shared library that is compile with -fPIC inline u_int32_t libnet_getgre_length(u_int16_t fv) { code } And the app have code len = libnet_getgre_length(gre_flags); size += len; code -- http://gcc.

[Bug tree-optimization/39007] -ftree-loop-distribution ICEs

2009-01-29 Thread kazu at gcc dot gnu dot org
--- Comment #3 from kazu at gcc dot gnu dot org 2009-01-29 18:23 --- Subject: Bug 39007 Author: kazu Date: Thu Jan 29 18:23:21 2009 New Revision: 143767 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143767 Log: gcc/ PR tree-optimization/39007 * tree-loop-distrib

[Bug target/37364] [4.4 Regression] IRA generates inefficient code due to missing regmove pass

2009-01-29 Thread hjl dot tools at gmail dot com
--- Comment #33 from hjl dot tools at gmail dot com 2009-01-29 17:57 --- Reopen since revision 143757 isn't supposed to fix it. -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug middle-end/39015] [4.3 regression] wrong code building libgsf

2009-01-29 Thread pinskia at gmail dot com
--- Comment #8 from pinskia at gmail dot com 2009-01-29 17:53 --- Subject: Re: [4.3 regression] wrong code building libgsf Sent from my iPhone On Jan 29, 2009, at 2:01 AM, "rguenth at gcc dot gnu dot org" wrote: > > > --- Comment #3 from rguenth at gcc dot gnu dot org 2009-01

[Bug middle-end/39015] [4.3 regression] wrong code building libgsf

2009-01-29 Thread jdassen at debian dot org
--- Comment #7 from jdassen at debian dot org 2009-01-29 17:53 --- (In reply to comment #3) > The best option would be to revert that patch on the branch. Matthias did that in the 4.3.3-3 packages and with them, the problem has indeed gone away. (In reply to comment #6) > What GCC opti

Re: [Bug middle-end/39015] [4.3 regression] wrong code building libgsf

2009-01-29 Thread Andrew Thomas Pinski
Sent from my iPhone On Jan 29, 2009, at 2:01 AM, "rguenth at gcc dot gnu dot org" > wrote: --- Comment #3 from rguenth at gcc dot gnu dot org 2009-01-29 10:01 --- The best option would be to revert that patch on the branch. Except it alone could not cause wrong code. Some ot

[Bug fortran/38887] [4.4 Regression] run-time abort for MVBITS with run-time zero sized array arguments

2009-01-29 Thread hjl at gcc dot gnu dot org
--- Comment #6 from hjl at gcc dot gnu dot org 2009-01-29 17:43 --- Subject: Bug 38887 Author: hjl Date: Thu Jan 29 17:43:14 2009 New Revision: 143765 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143765 Log: 2009-01-29 H.J. Lu 2009-01-28 Richard Guenther

[Bug fortran/38883] [4.4 Regression] ICE for MVBITS with derived type argument that has run-time subscripts

2009-01-29 Thread hjl at gcc dot gnu dot org
--- Comment #9 from hjl at gcc dot gnu dot org 2009-01-29 17:43 --- Subject: Bug 38883 Author: hjl Date: Thu Jan 29 17:43:14 2009 New Revision: 143765 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143765 Log: 2009-01-29 H.J. Lu 2009-01-28 Richard Guenther

[Bug c++/38908] [4.4 regression] Unexplained "'' is used uninitialized in this function" warning in cc1plus -m64

2009-01-29 Thread hjl at gcc dot gnu dot org
--- Comment #15 from hjl at gcc dot gnu dot org 2009-01-29 17:43 --- Subject: Bug 38908 Author: hjl Date: Thu Jan 29 17:43:14 2009 New Revision: 143765 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143765 Log: 2009-01-29 H.J. Lu 2009-01-28 Richard Guenther

[Bug fortran/35681] wrong result for vector subscripted array expression in MVBITS

2009-01-29 Thread hjl dot tools at gmail dot com
-- hjl dot tools at gmail dot com changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35681

[Bug target/37364] [4.4 Regression] IRA generates inefficient code due to missing regmove pass

2009-01-29 Thread hjl dot tools at gmail dot com
--- Comment #32 from hjl dot tools at gmail dot com 2009-01-29 17:13 --- This has been fixed by revision 143757: http://gcc.gnu.org/ml/gcc-patches/2009-01/msg01410.html -- hjl dot tools at gmail dot com changed: What|Removed |Added --

[Bug bootstrap/39025] New: ICE in start_function, at c-decl.c:6225 while configuring libgcc

2009-01-29 Thread ro at gcc dot gnu dot org
The configure step of libgcc aborts with checking for suffix of object files... configure: error: in `/vol/gccsrc/obj/gcc-lto-20090127/11-gcc/sparc-sun-solaris2.11/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. config.log reveal

[Bug middle-end/38857] [4.4 Regression] ICE in selective scheduler

2009-01-29 Thread hjl at gcc dot gnu dot org
--- Comment #11 from hjl at gcc dot gnu dot org 2009-01-29 17:06 --- Subject: Bug 38857 Author: hjl Date: Thu Jan 29 17:06:01 2009 New Revision: 143762 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143762 Log: 2009-01-29 H.J. Lu Backport from mainline: 2009-

[Bug tree-optimization/38926] [4.4 Regression] ice in find_or_generate_expression, at tree-ssa-pre.c:2769

2009-01-29 Thread hjl at gcc dot gnu dot org
--- Comment #10 from hjl at gcc dot gnu dot org 2009-01-29 17:06 --- Subject: Bug 38926 Author: hjl Date: Thu Jan 29 17:06:01 2009 New Revision: 143762 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143762 Log: 2009-01-29 H.J. Lu Backport from mainline: 2009-

[Bug middle-end/39015] [4.3 regression] wrong code building libgsf

2009-01-29 Thread sje at cup dot hp dot com
--- Comment #6 from sje at cup dot hp dot com 2009-01-29 17:00 --- What GCC options was gsf-scan.i compiled with? I am trying to see what variables are getting/not getting promoted during the compilation and I am not seeing it affect any variables if I just compile gsf-scan.i with -O[01

[Bug bootstrap/39024] New: static libelf needs to be built PIC

2009-01-29 Thread ro at gcc dot gnu dot org
I had built the prerequisite libelf 0.8.10 for lto statically to avoid RPATH issues, but noticed that by default liblto_plugin.so.0 failed to link since libelf.a contained non-PIC code. Building with -fPIC fixed this, but the requirement better be documented. -- Summary: static libel

[Bug bootstrap/39023] New: lto-plugin.c uses mkdtemp unconditionally

2009-01-29 Thread ro at gcc dot gnu dot org
lto-plugin.c uses mkdtemp unconditionally, which breaks Solaris 10/x86 bootstrap where this function is missing (while it was introduced for Solaris 11). There should be a replacement, but the fix for PR bootstrap/39022 would avoid this since gold currently cannot be used on non-GNU/Linux configur

[Bug bootstrap/39022] New: lto-plugin is built unconditionally

2009-01-29 Thread ro at gcc dot gnu dot org
I just noticed that lto-plugin is only used with gold, but is built unconditionally. This may unnecessarily break builds and should be avoided. -- Summary: lto-plugin is built unconditionally Product: gcc Version: lto Status: UNCONFIRMED Se

[Bug tree-optimization/39007] -ftree-loop-distribution ICEs

2009-01-29 Thread kazu at gcc dot gnu dot org
--- Comment #2 from kazu at gcc dot gnu dot org 2009-01-29 16:11 --- Patch posted. -- kazu at gcc dot gnu dot org changed: What|Removed |Added URL|

[Bug bootstrap/39021] New: lto requires GCC as bootstrap compiler

2009-01-29 Thread ro at gcc dot gnu dot org
At least gcc/lto/common.c makes unconditional use of __attribute__ ((visibility ("hidden"))), which means you are forced to use GCC as a bootstrap compiler. If building lto and the lto-plugin were moved to stage2, this wouldn't be a problem. -- Summary: lto requires GCC as bootstrap

[Bug bootstrap/39020] New: lto-plugin requires visibility support

2009-01-29 Thread ro at gcc dot gnu dot org
The lto plugin currently requires a bootstrap compiler with visibility support: /vol/gcc/src/gcc-lto/lto-plugin/../gcc/lto/common.c:25: warning: visibility attribute not supported in this configuration; ignored Since it is built with -Werror, this causes a bootstrap failure if that support is mis

[Bug bootstrap/39019] New: Solaris and IRIX libelf cause trouble for build

2009-01-29 Thread ro at gcc dot gnu dot org
Despite they seem to have the same interface, the libelf bundled with Solaris (at least as far back as Solaris 8) cause trouble: * The Solaris libelf.h isn't largefile aware: #if defined(_ILP32) && (_FILE_OFFSET_BITS != 32) #error "large files are not supported by libelf" #endif This is explai

[Bug target/39013] [4.3/4.4 Regression] Missing @PLT when -fpie is used

2009-01-29 Thread hjl dot tools at gmail dot com
--- Comment #14 from hjl dot tools at gmail dot com 2009-01-29 15:53 --- Created an attachment (id=17211) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17211&action=view) A patch This patch only checks --- gcc/varasm.c.pie2008-11-30 08:49:54.0 -0800 +++ gcc/varasm.c

[Bug target/39013] [4.3/4.4 Regression] Missing @PLT when -fpie is used

2009-01-29 Thread hjl dot tools at gmail dot com
--- Comment #13 from hjl dot tools at gmail dot com 2009-01-29 15:52 --- (In reply to comment #12) > My testcase is > > > cat t2.c > void foo() {} The problem happens when t2.c is in a shared library. > > cat t.c > inline void foo (); > int main () > { > foo (); > return 0; > } >

[Bug target/39013] [4.3/4.4 Regression] Missing @PLT when -fpie is used

2009-01-29 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2009-01-29 15:20 --- My testcase is > cat t2.c void foo() {} > cat t.c inline void foo (); int main () { foo (); return 0; } which works perfectly fine even with 4.3 and 4.4 if I build both t2.c and t.c with -fpie and fails with

[Bug target/39013] Missing @PLT when -fpie is used

2009-01-29 Thread zorry at ume dot nu
--- Comment #11 from zorry at ume dot nu 2009-01-29 15:03 --- I don't get the link error with gcc 4.2.4 on the code in comment #7 -- zorry at ume dot nu changed: What|Removed |Added --

[Bug testsuite/36443] [4.3/4.4 Regression]: HOSTCC doesn't work with installed gcc

2009-01-29 Thread rob1weld at aol dot com
--- Comment #41 from rob1weld at aol dot com 2009-01-29 15:01 --- (In reply to comment #35) > In response to comment #34, the -B option overrides GCC_EXEC_PREFIX and the > compiler being tested in the build directory is invoked with -B. > GCC_EXEC_PREFIX will only be used to find files

[Bug c++/39017] ice for legal C++ with -O3

2009-01-29 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-01-29 14:50 --- This is likely a dup of PR38926 which was fixed Jan 28th. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39017

[Bug middle-end/35854] [4.3/4.4 Regression] life passes dump option still documented

2009-01-29 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.3.4 |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35854

[Bug middle-end/35854] [4.3/4.4 Regression] life passes dump option still documented

2009-01-29 Thread zadeck at naturalbridge dot com
--- Comment #8 from zadeck at naturalbridge dot com 2009-01-29 14:42 --- patch committed. closed for 4.4. richi said not to backport to 4.3 on irc. -- zadeck at naturalbridge dot com changed: What|Removed |Added --

[Bug middle-end/35854] [4.3/4.4 Regression] life passes dump option still documented

2009-01-29 Thread zadeck at naturalbridge dot com
--- Comment #7 from zadeck at naturalbridge dot com 2009-01-29 14:38 --- Subject: Re: [4.3/4.4 Regression] life passes dump option still documented Richard Guenther wrote: > On Wed, Jan 28, 2009 at 5:03 PM, Kenneth Zadeck > wrote: > >> rguenth at gcc dot gnu dot org wrote: >>

[Bug ada/38989] How much stack space should c380004 take?

2009-01-29 Thread ebotcazou at gcc dot gnu dot org
--- Comment #5 from ebotcazou at gcc dot gnu dot org 2009-01-29 14:37 --- > RTEMS has fixed size task stacks. This test is blowing a stack that is ~100K > large. How large does it need to be? Is is a bug to use this much stack? It's a QOI issue, the stack usage is already capped (se

[Bug middle-end/35854] [4.3/4.4 Regression] life passes dump option still documented

2009-01-29 Thread zadeck at gcc dot gnu dot org
--- Comment #6 from zadeck at gcc dot gnu dot org 2009-01-29 14:35 --- Subject: Bug 35854 Author: zadeck Date: Thu Jan 29 14:34:55 2009 New Revision: 143756 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143756 Log: 2009-01-29 Kenneth Zadeck PR middle-end/35854

  1   2   >