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

2007-11-29 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2007-11-30 07:49 --- (In reply to comment #5) > Erik, Paul, as authors of the original patch and testcases, can you confirm my > conclusion that the code in comment #4 (and thus, the > gfortran.dg/alloc_comp_constructor_1.f90 testcase) is

[Bug c++/34275] [4.1/4.2 regression] Broken diagnostic: 'obj_type_ref' not supported by dump_expr

2007-11-29 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2007-11-30 07:26 --- Fixed on the trunk. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Summary|

[Bug c++/34275] [4.1/4.2/4.3 regression] Broken diagnostic: 'obj_type_ref' not supported by dump_expr

2007-11-29 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2007-11-30 07:25 --- Subject: Bug 34275 Author: jakub Date: Fri Nov 30 07:24:54 2007 New Revision: 130533 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130533 Log: PR c++/34275 * error.c (dump_expr): Handle OBJ_TY

[Bug tree-optimization/34244] [4.3 Regression] VRP/SCEV miscompiles Firefox

2007-11-29 Thread jakub at gcc dot gnu dot org
--- Comment #11 from jakub at gcc dot gnu dot org 2007-11-30 07:20 --- Fixed, thanks. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSI

[Bug target/32086] [4.3 Regression] 10% to 20% Performance Regression Between 4.1.3 and 4.3

2007-11-29 Thread bonzini at gnu dot org
--- Comment #4 from bonzini at gnu dot org 2007-11-30 07:17 --- So -fvect-cost-model is doing its job. The vectorizations must not be profitable, or are they? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32086

[Bug c++/34298] [3.4] ICE on templated class with statically sized array computed from static const member

2007-11-29 Thread dweatherford at facebook dot com
--- Comment #1 from dweatherford at facebook dot com 2007-11-30 07:00 --- Created an attachment (id=14669) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14669&action=view) Reduced test case The two branches of the '#if' should be functionally identical, but the one indicated as d

[Bug c++/34298] New: [3.4] ICE on templated class with statically sized array computed from static const member

2007-11-29 Thread dweatherford at facebook dot com
I'm not really sure how to explain this one, so I'll let the attached reduced test case do the talking. The same code compiles fine on the same machine running g++-4.1.2-20061115 (Debian prerelease 4.1.1-21) Output of `g++ -v`: Reading specs from /usr/lib/gcc/i486-linux-gnu/3.4.6/specs Configured

[Bug target/32086] [4.3 Regression] 10% to 20% Performance Regression Between 4.1.3 and 4.3

2007-11-29 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2007-11-30 06:42 --- (In reply to comment #1) > w/ -fvect-cost-model: > user0m46.439s Looking a bit into generated code, it looks that -fect-cost-model effectively disables all interesting vectorizations, effectively -fno-tree-vectorize.

[Bug target/32086] [4.3 Regression] 10% to 20% Performance Regression Between 4.1.3 and 4.3

2007-11-29 Thread bonzini at gnu dot org
--- Comment #2 from bonzini at gnu dot org 2007-11-30 05:41 --- What were the benchmarks where the cost model was slower? -- bonzini at gnu dot org changed: What|Removed |Added ---

[Bug regression/33928] [4.3 Regression] 22% performance slowdown from 4.2.2 to 4.3.0 in floating-point code

2007-11-29 Thread bonzini at gnu dot org
--- Comment #16 from bonzini at gnu dot org 2007-11-30 05:39 --- One suspect is fwprop. Anyone can confirm? -- bonzini at gnu dot org changed: What|Removed |Added

[Bug libfortran/34291] [4.3 Regression] Segfault in io/list_read.c handling of end conditions

2007-11-29 Thread jvdelisle at gcc dot gnu dot org
--- Comment #7 from jvdelisle at gcc dot gnu dot org 2007-11-30 05:16 --- I have retitled this to reflect a bit more correctly. The workaround in Comment #6 almost works, but it masks another problem. The patch that caused the regression is r129016. The test case works fine on r129015

[Bug fortran/34230] Expressions of parameters evaluated with too high precision

2007-11-29 Thread jvdelisle at gcc dot gnu dot org
--- Comment #12 from jvdelisle at gcc dot gnu dot org 2007-11-30 04:18 --- Subject: Bug 34230 Author: jvdelisle Date: Fri Nov 30 04:18:05 2007 New Revision: 130532 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130532 Log: 2007-11-29 Steven G. Kargl <[EMAIL PROTECTED]>

[Bug libfortran/33583] FAIL: gfortran.dg/gamma_1.f90

2007-11-29 Thread jvdelisle at gcc dot gnu dot org
--- Comment #22 from jvdelisle at gcc dot gnu dot org 2007-11-30 04:14 --- Subject: Bug 33583 Author: jvdelisle Date: Fri Nov 30 04:14:01 2007 New Revision: 130531 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130531 Log: 2007-11-29 Steven G. Kargl <[EMAIL PROTECTED]>

[Bug fortran/34203] Treat \ as normal character (at least on Windows); diagnose unrecognized escape characters

2007-11-29 Thread jvdelisle at gcc dot gnu dot org
--- Comment #10 from jvdelisle at gcc dot gnu dot org 2007-11-30 04:11 --- Subject: Bug 34203 Author: jvdelisle Date: Fri Nov 30 04:10:47 2007 New Revision: 130530 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130530 Log: 2007-11-29 Steven G. Kargl <[EMAIL PROTECTED]>

[Bug fortran/34230] Expressions of parameters evaluated with too high precision

2007-11-29 Thread jvdelisle at gcc dot gnu dot org
--- Comment #11 from jvdelisle at gcc dot gnu dot org 2007-11-30 04:11 --- Subject: Bug 34230 Author: jvdelisle Date: Fri Nov 30 04:10:47 2007 New Revision: 130530 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130530 Log: 2007-11-29 Steven G. Kargl <[EMAIL PROTECTED]>

[Bug libfortran/34291] Uninitialized variable is used in io/list_read.c which causes segfault

2007-11-29 Thread jvdelisle at gcc dot gnu dot org
--- Comment #6 from jvdelisle at gcc dot gnu dot org 2007-11-30 04:04 --- I will get on this soon. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/34291] Uninitialized variable is used in io/list_read.c which causes segfault

2007-11-29 Thread ek dot kato at gmail dot com
--- Comment #5 from ek dot kato at gmail dot com 2007-11-30 02:39 --- Maybe I could find a reliable testcase for the problem. Following program will crash while accessing dtp->u.p.line_buffer[dtp->u.p.item_count]. IMPLICIT NONE CHARACTER(len=10), DIMENSION(2) :: var NAMELIST /i

[Bug libfortran/34291] Uninitialized variable is used in io/list_read.c which causes segfault

2007-11-29 Thread ek dot kato at gmail dot com
--- Comment #4 from ek dot kato at gmail dot com 2007-11-30 01:11 --- I can't provide a simple test case sorry, but I now realized that it seems to be related that READ() for a namelist file ended with "&END" instead of "/" causes the problem. I use a library which creates namelist file

[Bug tree-optimization/34244] [4.3 Regression] VRP/SCEV miscompiles Firefox

2007-11-29 Thread rakdver at gcc dot gnu dot org
--- Comment #10 from rakdver at gcc dot gnu dot org 2007-11-30 00:32 --- Subject: Bug 34244 Author: rakdver Date: Fri Nov 30 00:32:04 2007 New Revision: 130527 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130527 Log: PR tree-optimization/34244 * tree-vrp.c (ad

[Bug c++/34297] static linking with pthreads stl runtime error

2007-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-11-29 23:59 --- This is really a bug in glibc and not GCC. Static linking never worked correctly with pthreads anyways. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/34297] New: static linking with pthreads stl runtime error

2007-11-29 Thread thehighhat at gmail dot com
Tracking down a problem with a much more rigorous codebase. Using this contrived example to demonstrate the issue: #include using namespace std; // static link this with pthreads to test int main() { // this will exit cleanly cout << "std::cout" << endl; // this will segfault, why?

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

2007-11-29 Thread sam at gcc dot gnu dot org
--- Comment #2 from sam at gcc dot gnu dot org 2007-11-29 23:26 --- Confirmed on SVN trunk +===GNAT BUG DETECTED==+ | 4.3.0 20071129 (experimental) (i686-pc-linux-gnu) Assert_Failure exp_disp.adb:| | Error detected at main_windows

[Bug tree-optimization/33434] [4.3 Regression] inlining miscompilation

2007-11-29 Thread jakub at gcc dot gnu dot org
--- Comment #21 from jakub at gcc dot gnu dot org 2007-11-29 21:58 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/33434] [4.3 Regression] inlining miscompilation

2007-11-29 Thread jakub at gcc dot gnu dot org
--- Comment #20 from jakub at gcc dot gnu dot org 2007-11-29 21:57 --- Subject: Bug 33434 Author: jakub Date: Thu Nov 29 21:57:38 2007 New Revision: 130521 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130521 Log: PR tree-optimization/33434 * tree-inline.c (setu

[Bug c++/34268] [4.3 regression] ICE applying __decltype to destructor

2007-11-29 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2007-11-29 21:08 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/34267] [4.3 regression] ICE applying __decltype to name of template class

2007-11-29 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2007-11-29 21:07 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/34270] [4.2 regression] ICE applying __decltype to ternary expression

2007-11-29 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2007-11-29 21:07 --- Fixed on the trunk. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Summary|

[Bug c++/34270] [4.2/4.3 regression] ICE applying __decltype to ternary expression

2007-11-29 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2007-11-29 21:06 --- Subject: Bug 34270 Author: jakub Date: Thu Nov 29 21:06:18 2007 New Revision: 130520 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130520 Log: PR c++/34270 * tree.c (lvalue_p_1) : Handle x ?:

[Bug c++/34268] [4.3 regression] ICE applying __decltype to destructor

2007-11-29 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2007-11-29 21:04 --- Subject: Bug 34268 Author: jakub Date: Thu Nov 29 21:04:04 2007 New Revision: 130519 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130519 Log: PR c++/34267 PR c++/34268 * parser.c (cp_

[Bug c++/34267] [4.3 regression] ICE applying __decltype to name of template class

2007-11-29 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2007-11-29 21:04 --- Subject: Bug 34267 Author: jakub Date: Thu Nov 29 21:04:04 2007 New Revision: 130519 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130519 Log: PR c++/34267 PR c++/34268 * parser.c (cp_

[Bug middle-end/34285] buffer overflow incorrectly detected

2007-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2007-11-29 19:27 --- I still say GCC is incorrect here, even if I was drinking last night. This should work as the whole struct is touched and not even looked at the one field. Even if the documentation says that, it is still bad behav

[Bug tree-optimization/34038] 176.gcc segfaults when compiled with -O2 -ftree-vectorize -maltivec

2007-11-29 Thread janis at gcc dot gnu dot org
--- Comment #2 from janis at gcc dot gnu dot org 2007-11-29 19:01 --- I can reproduce the failure with revision 130507 on a p970 system. I compile 176.gcc with "-m32 -O3 -maltivec" and execute that benchmark program with test input. My list of vectorized loops is the same except that r

[Bug tree-optimization/33434] [4.3 Regression] inlining miscompilation

2007-11-29 Thread jakub at gcc dot gnu dot org
--- Comment #19 from jakub at gcc dot gnu dot org 2007-11-29 18:39 --- Have a modified patch which cures this, testing... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33434

[Bug preprocessor/34288] ssize_t used in libcpp/files.c without autoconf detection

2007-11-29 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2007-11-29 18:20 --- The check in gcc/configure.ac defaults ssize_t to int if it isn't found. But, we also need to do this in libcpp/configure.ac. If I send you a patch, can you test it? I will send a patch for configure as well. --

[Bug c++/34294] Strange transmission of symbols between dynamically opened libs

2007-11-29 Thread dvt at isoft dot fr
--- Comment #2 from dvt at isoft dot fr 2007-11-29 18:16 --- (In reply to comment #1) > Testcase? It might be because you are using global bindings for the shared > libraries. > Note this really cannot be a GCC bug as GCC does not do dynamic loading. > "MSDEV, IBM XLC", have you tried G

[Bug c++/34294] Strange transmission of symbols between dynamically opened libs

2007-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-11-29 18:08 --- Testcase? It might be because you are using global bindings for the shared libraries. Note this really cannot be a GCC bug as GCC does not do dynamic loading. "MSDEV, IBM XLC", have you tried GCC on Windows or AIX

[Bug fortran/34248] ICE on assumed length character function

2007-11-29 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2007-11-29 17:43 --- FIXED on the trunk (4.3.0). I do not intent to backport the fix to 4.2.x or 4.1.x, but I can be convinced to do so. -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/34248] ICE on assumed length character function

2007-11-29 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2007-11-29 17:41 --- Subject: Bug 34248 Author: burnus Date: Thu Nov 29 17:41:37 2007 New Revision: 130517 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130517 Log: 2007-11-29 Tobias Burnus <[EMAIL PROTECTED]> PR fort

[Bug c++/34295] Bad optimization in an inlined method

2007-11-29 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2007-11-29 17:23 --- Try compiling with -fno-strict-aliasing. This is only automatically enabled at -O2 or higher. See the fine manual. I'm not sure what you mean with "more efficient than memcpy". If you mean more efficient as in pro

[Bug c++/34295] Bad optimization in an inlined method

2007-11-29 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-11-29 17:21 --- The recommended (and optimized) way to do this is: union { INT64 i; double d; } x; x.d = arg; return x.i; you can also make your way work optimized by specifying -fno-strict-aliasing. That it works without op

[Bug c++/34295] Bad optimization in an inlined method

2007-11-29 Thread dvt at isoft dot fr
--- Comment #2 from dvt at isoft dot fr 2007-11-29 17:09 --- (In reply to comment #1) > You are violating C aliasing rules. Use memcpy (as you did) or a union to > guard > the type punning. > *** This bug has been marked as a duplicate of 21920 *** Are-you sure? Were is the rule that f

[Bug testsuite/34253] Lots of failures in gcc.dg/vect

2007-11-29 Thread andreasmeier80 at gmx dot de
--- Comment #7 from andreasmeier80 at gmx dot de 2007-11-29 17:05 --- It fails in 128121, works in 128079 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34253

[Bug c/21920] aliasing violations

2007-11-29 Thread rguenth at gcc dot gnu dot org
--- Comment #123 from rguenth at gcc dot gnu dot org 2007-11-29 16:54 --- *** Bug 34295 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/34295] Bad optimization in an inlined method

2007-11-29 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-11-29 16:54 --- You are violating C aliasing rules. Use memcpy (as you did) or a union to guard the type punning. *** This bug has been marked as a duplicate of 21920 *** -- rguenth at gcc dot gnu dot org changed:

[Bug c++/34293] Hang because of extreme inlining

2007-11-29 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-11-29 16:52 --- We cannot do anything about such a report then. Sorry. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added -

gcc-4.2 bug, optimizer optimized strings away

2007-11-29 Thread Markus Kammerstetter
Hi, if you publish this email, please remove my email address from the posting. Problem description: gcc versions >= 4.0 seem to optimize away strings. Older versions seem to work. For a more detailed description see below. exact gcc versions containing the bug: --

[Bug target/32130] [4.3 Regression] linking problems: multiple definition of `__DTOR_END__'

2007-11-29 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2007-11-29 16:28 --- Tested today on x86_64-linux -> powerpc-eabisim combined tree cross. While without the patch, e.g. neither libgfortran nor libstdc++-v3 configures successfully, with this patch it builds just fine. E.g. for make check

[Bug c++/34293] Hang because of extreme inlining

2007-11-29 Thread dvt at isoft dot fr
--- Comment #2 from dvt at isoft dot fr 2007-11-29 16:26 --- (In reply to comment #1) > Testcase? No : As I said, this is a very big method. It is in a template and includes other inlined template and non-template methods : it contains only inlined functions. Thus, it is very difficult

[Bug target/32130] [4.3 Regression] linking problems: multiple definition of `__DTOR_END__'

2007-11-29 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2007-11-29 16:21 --- Subject: Bug 32130 Author: jakub Date: Thu Nov 29 16:21:18 2007 New Revision: 130516 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130516 Log: PR target/32130 * config/rs6000/eabi-cn.asm (__DT

[Bug fortran/34296] Intent(out) and character functions with RESULT: Value-not-set warning

2007-11-29 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-11-29 16:05 --- I wanted to add that a possible reason for the character FUNCTION problem is that the value is returned as argument and not as function return value: test (__result, .__result) -- http://gcc.gnu.org/bugzilla/

[Bug fortran/34296] New: Intent(out) and character functions with RESULT: Value-not-set warning

2007-11-29 Thread burnus at gcc dot gnu dot org
The following code does not give a warning: CHARACTER(2) FUNCTION ctbgt() RESULT(ctab) END function ctbgt Only if one removes either the RESULT or changes CHARACTER in, e.g., INTEGER a warning is shown. w/ RESULT and INTEGER: warning: Function return value not set w/o RESULT: warning: Functi

[Bug c++/34295] New: Bad optimization in an inlined method

2007-11-29 Thread dvt at isoft dot fr
In an inlined method, we cast a double argument into an INT64& : with gcc4.2.1 (not with other versions or compilers), this gives a completely false result that leads to a crash. To avoid this, we had to create an INT64 on the stach and to memcpy the double into it, which is much less optimized...

[Bug tree-optimization/34265] Missed optimizations

2007-11-29 Thread dominiq at lps dot ens dot fr
--- Comment #24 from dominiq at lps dot ens dot fr 2007-11-29 15:49 --- I think I have now a partial understanding of what is happening for the induct variants that do not vectorize with the patch in comment #5: they do not contain any loop inside the k loop. If I replace

[Bug c++/34293] Hang because of extreme inlining

2007-11-29 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-11-29 15:31 --- Testcase? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONF

[Bug c++/33984] [4.2/4.3 Regression] bit-fields, references and overloads

2007-11-29 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2007-11-29 15:14 --- Created an attachment (id=14668) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14668&action=view) gcc43-pr33984.patch I've tried to fix this by the attached patch. standard_conversion also uses is_bitfield_expr_

[Bug fortran/34292] fortran initialization code does not compile

2007-11-29 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-11-29 15:08 --- This is an internal compiler error on invalid code. REAL ::X(2,2)=0. DATA (( X(I,J), I=1,2), J=1,2) / 4*0. / You initialize the variable X twice, which is not allowed according to the Fortran standa

[Bug libfortran/34291] Uninitialized variable is used in io/list_read.c which causes segfault

2007-11-29 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2007-11-29 15:01 --- Jerry, libgfortran IO is your domain... -- burnus at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/34262] MVBITS does not work for arrays

2007-11-29 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2007-11-29 15:00 --- Fixed on the trunk (4.3.0). I do not intent to backport the patch to 4.2.x and 4.1.x, but I can be convinced to do so. -- burnus at gcc dot gnu dot org changed: What|Removed |Ad

[Bug fortran/34262] MVBITS does not work for arrays

2007-11-29 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2007-11-29 14:57 --- Subject: Bug 34262 Author: burnus Date: Thu Nov 29 14:56:48 2007 New Revision: 130513 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130513 Log: 2007-11-29 Tobias Burnus <[EMAIL PROTECTED]> PR fort

[Bug c++/34294] New: Strange transmission of symbols between dynamically opened libs

2007-11-29 Thread dvt at isoft dot fr
We have several libraries that we load dynamically (dlopen), and from which we use only one symbol, in which we use the same variable (char **) in the cpp files. These symbols are never shared between libraries, but on this version (4.2.1) of gcc, we experience big problems, because these homonym v

[Bug c++/34293] New: Hang because of extreme inlining

2007-11-29 Thread dvt at isoft dot fr
In some of our methods, that are very long and fully inlined, we experience hangs (infinite loops), that are automatically solved when we add a real (non-inlined) call to any other function. -- Summary: Hang because of extreme inlining Product: gcc Version: 4.2.1

[Bug ada/34284] Missing dynamic library support for GNAT 4.3.0 on x86-*-Darwin8

2007-11-29 Thread sam at gcc dot gnu dot org
--- Comment #6 from sam at gcc dot gnu dot org 2007-11-29 13:48 --- Patch looks fine to me. -- sam at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug libfortran/34291] Uninitialized variable is used in io/list_read.c which causes segfault

2007-11-29 Thread aldot at gcc dot gnu dot org
--- Comment #2 from aldot at gcc dot gnu dot org 2007-11-29 13:27 --- Can you please provide a testcase for the testsuite? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34291

[Bug fortran/34292] New: fortran initialization code does not compile

2007-11-29 Thread pspftf-bugzilla at yahoo dot de
Hi, the following program does not compile. Omiting the data statement leads to a compile without notice. program bsp INTEGER :: I,J REAL ::X(2,2)=0. !code compiles, if the following line is commented out. DATA (( X(I,J), I=1,2), J=1,2) / 4*0. / end program b

[Bug libfortran/34291] Uninitialized variable is used in io/list_read.c which causes segfault

2007-11-29 Thread ek dot kato at gmail dot com
--- Comment #1 from ek dot kato at gmail dot com 2007-11-29 13:18 --- It turns out that my explanation and assumption about uninitialization was wrong, but the real cause of the segmentation fault is that some functions call free_line(dtp) without resetting line_buffer_enabled. Here is

[Bug c++/34267] [4.3 regression] ICE applying __decltype to name of template class

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

[Bug tree-optimization/34265] Missed optimizations

2007-11-29 Thread dominiq at lps dot ens dot fr
--- Comment #23 from dominiq at lps dot ens dot fr 2007-11-29 12:24 --- In top of the first two patches of comment #17, I have MOVED + NEXT_PASS (pass_tree_loop_init); + NEXT_PASS (pass_complete_unrolli); + NEXT_PASS (pass_tree_loop_done); to the second suggested place.

[Bug libfortran/34291] New: Uninitialized variable is used in io/list_read.c which causes segfault

2007-11-29 Thread ek dot kato at gmail dot com
) as follows. Tested with gcc version 4.3.0 20071129 (experimental) (GCC) on Mac OS X 10.4.11 intel. Index: libgfortran/io/list_read.c === --- libgfortran/io/list_read.c (revision 130508) +++ libgfortran/io/list_read.c (working copy

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

2007-11-29 Thread vgodunko at rostel dot ru
-- vgodunko at rostel dot ru changed: What|Removed |Added Severity|normal |major http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34290

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

2007-11-29 Thread vgodunko at rostel dot ru
--- Comment #1 from vgodunko at rostel dot ru 2007-11-29 12:02 --- Created an attachment (id=14667) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14667&action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34290

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

2007-11-29 Thread vgodunko at rostel dot ru
Hello, I have following compiler crash: gcc -c main_windows-constructors.adb +===GNAT BUG DETECTED==+ | 4.3.0 20071129 (experimental) (i686-pc-linux-gnu) Assert_Failure exp_disp.adb:| | Error detected at main_windows-constructors.adb:10:57

[Bug ada/34289] Systematic recompilation of up-to-date object files when using the "-s" gnatmake option GNAT 4.3.0 on x86-*-Darwin8

2007-11-29 Thread bechir dot zalila at gmail dot com
--- Comment #2 from bechir dot zalila at gmail dot com 2007-11-29 12:01 --- Created an attachment (id=14666) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14666&action=view) Ada package body -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34289

[Bug ada/34289] Systematic recompilation of up-to-date object files when using the "-s" gnatmake option GNAT 4.3.0 on x86-*-Darwin8

2007-11-29 Thread bechir dot zalila at gmail dot com
--- Comment #1 from bechir dot zalila at gmail dot com 2007-11-29 12:01 --- Created an attachment (id=14665) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14665&action=view) Ada package spec -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34289

[Bug ada/34289] New: Systematic recompilation of up-to-date object files when using the "-s" gnatmake option GNAT 4.3.0 on x86-*-Darwin8

2007-11-29 Thread bechir dot zalila at gmail dot com
Hi, When recompiling an Ada file (attachements p.ads p.adb) using "-s" option for gnatmake. The object file is systemtically rebuild even if it is up-to-date and if even the compiler flags have not changed. * How to reproduce the bug: === INPUT FILES: Attach

[Bug middle-end/33713] [4.3 Regression] can't find a register in class 'GENERAL_REGS' while reloading 'asm'

2007-11-29 Thread aldyh at gcc dot gnu dot org
--- Comment #17 from aldyh at gcc dot gnu dot org 2007-11-29 11:56 --- I am testing this patch, and will post to gcc-patches when they finish. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33713

[Bug middle-end/34285] [4.3 Regression] buffer overflow incorrectly detected

2007-11-29 Thread mueller at gcc dot gnu dot org
--- Comment #7 from mueller at gcc dot gnu dot org 2007-11-29 11:47 --- Andrew, read the comments or stop reopening. the behaviour is documented that way even. -- mueller at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/3507] appalling optimisation with sub/cmp on multiple targets

2007-11-29 Thread bonzini at gnu dot org
--- Comment #12 from bonzini at gnu dot org 2007-11-29 11:43 --- I think this should use find_comparison_args. -- bonzini at gnu dot org changed: What|Removed |Added

[Bug middle-end/34285] [4.3 Regression] buffer overflow incorrectly detected

2007-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2007-11-29 11:29 --- (In reply to comment #5) > family of functions not only can't overflow into some other object, but can't > overflow from one struct field into another HUH There is no overflow from one struct field to another he

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

2007-11-29 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|WAITING |NEW Last reconfirmed|2007-11-29 11:25:01 |2007-11-29 11:2

[Bug middle-end/34285] [4.3 Regression] buffer overflow incorrectly detected

2007-11-29 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2007-11-29 11:25 --- It is invalid for -D_FORTIFY_SOURCE=2. -D_FORTIFY_SOURCE=1 allows all standard conforming code, -D_FORTIFY_SOURCE=2 imposes further restrictions (one is e.g. that %n for *printf arguments must be only used in strings w

[Bug fortran/34186] dump-parse-tree: ICE for ts->cl->length, if ts->cl == NULL

2007-11-29 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 recon

[Bug fortran/34228] -std=f* should diagnose used but later typed variables

2007-11-29 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 recon

[Bug preprocessor/34288] New: ssize_t used in libcpp/files.c without autoconf detection

2007-11-29 Thread antoine64leca at hotmail dot com
Overview: While trying to compile GCC with an old release of Mingw headers (2.4), I got a stop in libcpp, trying to use ssize_t which was not typedef'd. Steps to reproduce: - grab an old-fashionned, non-POSIX, environment - ./configure && ./make all-gcc - go out for lunch if the hardware

[Bug c++/34268] [4.3 regression] ICE applying __decltype to destructor

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

[Bug tree-optimization/34265] Missed optimizations

2007-11-29 Thread dominiq at lps dot ens dot fr
--- Comment #22 from dominiq at lps dot ens dot fr 2007-11-29 11:16 --- In top of the first two patches of comment #17, I have MOVED + NEXT_PASS (pass_tree_loop_init); + NEXT_PASS (pass_complete_unrolli); + NEXT_PASS (pass_tree_loop_done); to the first suggested place. N

[Bug middle-end/34285] [4.3 Regression] buffer overflow incorrectly detected

2007-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-11-29 11:14 --- (In reply to comment #3) > use fortify_source=1 or fix your broken code. The code is not broken as the person is accessing via the array via char and not via a different type. -- pinskia at gcc dot gnu dot org

[Bug tree-optimization/34265] Missed optimizations

2007-11-29 Thread rguenther at suse dot de
--- Comment #21 from rguenther at suse dot de 2007-11-29 11:13 --- Subject: Re: Missed optimizations On Thu, 29 Nov 2007, dominiq at lps dot ens dot fr wrote: > Richard, > > I am not sure to understand your patch in comment #17. I have already in > gcc/passes.c (after your patch in c

[Bug c++/34286] Segmentation fault in exit when loading oracle client in a dynamically loaded library

2007-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-11-29 11:11 --- Is this really a GCC issue? Where is the crash? Use a debugger and see where the crash is. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/34287] New: Simple Ada bug [Barnes' Silly]

2007-11-29 Thread meudecc at itcarlow dot ie
[Already posted on gcc-bugs mailing list sorry] Here is my program inspired by Barnes' Ada 95 2nd book page 158: --bug1.ads package bug1 is I : Integer := 0; A: array(1.. 10) of Integer := (others => 0); procedure Silly(X: in out Integer); end bug1; --bug1.adb with Ada.Integer_Text_Io; use Ad

[Bug c++/34238] [4.3 regression] "static data member used, but not defined" error on member definition

2007-11-29 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2007-11-29 11:07 --- Fix has been already posted 3 days ago: http://gcc.gnu.org/ml/gcc-patches/2007-11/msg01419.html -- jakub at gcc dot gnu dot org changed: What|Removed |Added -

[Bug tree-optimization/34265] Missed optimizations

2007-11-29 Thread dominiq at lps dot ens dot fr
--- Comment #20 from dominiq at lps dot ens dot fr 2007-11-29 11:00 --- I have applied my interpretation of the first two changes in comment #17. gfortran.dg/array_1.f90 still abort and induct.v3.f90 is still not vectorized. The good news are that induct.f90 is still properly unrolled an

[Bug c++/34238] [4.3 regression] "static data member used, but not defined" error on member definition

2007-11-29 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2007-11-29 11:00 --- Yes, this looks invalid - but can we diagnose this at compile-time? Also, from decl2.c: /* Error on namespace { struct A { static int i; }; } int foo () { return A::i

[Bug c++/34286] New: Segmentation fault in exit when loading oracle client in a dynamically loaded library

2007-11-29 Thread dvt at isoft dot fr
When we compile an application loading Oracle client 9.2.0.4 from a dynamically (dlopen) loaded library, we get a segmentation fault in teh exit method, at the very end of the application. This does not happen when loading libclntsh.so dynamically directly from teh main method, before starting the

[Bug ada/17985] GNAT accepts extension aggregate where expexted type is not extension

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

[Bug middle-end/34285] [4.3 Regression] buffer overflow incorrectly detected

2007-11-29 Thread mueller at gcc dot gnu dot org
--- Comment #3 from mueller at gcc dot gnu dot org 2007-11-29 10:47 --- fortify_source=2 is supposed to reject it (only sizeof the struct member, not the whole struct is allowed). use fortify_source=1 or fix your broken code. -- mueller at gcc dot gnu dot org changed:

[Bug middle-end/34285] [4.3 Regression] buffer overflow incorrectly detected

2007-11-29 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-11-29 10:42 --- __builtin___strncpy_chk (&foo.a[0], line, 19, 10) The issue comes down to folding of (char*)&foo into &foo.a[0], we should not be doing that folding. -- pinskia at gcc dot gnu dot org changed: What

[Bug tree-optimization/34265] Missed optimizations

2007-11-29 Thread dominiq at lps dot ens dot fr
--- Comment #19 from dominiq at lps dot ens dot fr 2007-11-29 10:40 --- Richard, I am not sure to understand your patch in comment #17. I have already in gcc/passes.c (after your patch in comment #5): NEXT_PASS (pass_merge_phi); NEXT_PASS (pass_vrp); NEXT_PASS (pass_d

[Bug c/34285] buffer overflow incorrectly detected

2007-11-29 Thread marcus at jet dot franken dot de
--- Comment #1 from marcus at jet dot franken dot de 2007-11-29 10:37 --- Created an attachment (id=14664) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14664&action=view) xx.i gcc -O2 -Wall -c xx.i -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34285

[Bug c/34285] New: buffer overflow incorrectly detected

2007-11-29 Thread marcus at jet dot franken dot de
A construct with char arrays within a struct incorrectly triggers a buffer overflow warning. testcase attached. -- Summary: buffer overflow incorrectly detected Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Prio

[Bug middle-end/34282] Unnecessary load from volatile var

2007-11-29 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-11-29 10:33 --- Yes, I also think 'return z' is a load from z which cannot be optimized away. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34282

  1   2   >