[Bug tree-optimization/26865] [4.1 Regression] Segmentation fault with -std=c99 -O1 on genksyms.c

2006-03-24 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-03-25 07:24 --- Backtrace: #0 0x006fa7ae in find_func_aliases (t=0x2b1483c0, ai=0xb1d9b0) at /home/pinskia/src/gcc-4.1/gcc/gcc/tree-ssa-structalias.c:2932 #1 0x006fad8e in compute_points_to_sets (ai=0xb1d9b

[Bug libmudflap/26864] multithreaded mudflap not working

2006-03-24 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-25 07:20 --- This was reported to the list before (I cannot find it right now). -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c/26865] Segmentation fault with -std=c99 -O1 on genksyms.c

2006-03-24 Thread flash at pobox dot com
--- Comment #4 from flash at pobox dot com 2006-03-25 05:57 --- Created an attachment (id=11123) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11123&action=view) Original header -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26865

[Bug c/26865] Segmentation fault with -std=c99 -O1 on genksyms.c

2006-03-24 Thread flash at pobox dot com
--- Comment #3 from flash at pobox dot com 2006-03-25 05:57 --- Created an attachment (id=11122) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11122&action=view) Original source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26865

[Bug c/26865] Segmentation fault with -std=c99 -O1 on genksyms.c

2006-03-24 Thread flash at pobox dot com
--- Comment #2 from flash at pobox dot com 2006-03-25 05:56 --- Created an attachment (id=11121) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11121&action=view) Pre-processed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26865

[Bug c/26865] Segmentation fault with -std=c99 -O1 on genksyms.c

2006-03-24 Thread flash at pobox dot com
--- Comment #1 from flash at pobox dot com 2006-03-25 05:56 --- Created an attachment (id=11120) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11120&action=view) Preprocessed Delta-reduced source file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26865

[Bug c/26865] New: Segmentation fault with -std=c99 -O1 on genksyms.c

2006-03-24 Thread flash at pobox dot com
The attached preprocessed files, 122593_genksyms_min.i and its Delta-reduction 122593_genksyms_min.i, cause a segfault for checking=all builds of GCC 4.1.0 on both Ubuntu 5.04 and OSX 10.4.5 with -std=c99 and -O1. The original .c and .h files from the Linux kernel distribution (which I'll also att

[Bug c/26864] New: multithreaded mudflap not working

2006-03-24 Thread pr2345 at gmail dot com
gcc version: gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8) Sample program t1.c: int main() { int a[3] = { 1, 2, 3 }; return a[3]; } When I compile this with mudflap, it correctly reports an error: $ gcc -fmudflap t1.c -lmudflap $ a.out *** mudflap violation 1 (check/read): time=1143264091

[Bug target/26459] [4.1/4.2 Regression] gcc fails to build on powerpc e500-double targets

2006-03-24 Thread amodra at bigpond dot net dot au
--- Comment #16 from amodra at bigpond dot net dot au 2006-03-25 03:00 --- Indeed, that patch cures the problem. -- amodra at bigpond dot net dot au changed: What|Removed |Added -

[Bug target/26459] [4.1/4.2 Regression] gcc fails to build on powerpc e500-double targets

2006-03-24 Thread amodra at bigpond dot net dot au
-- amodra at bigpond dot net dot au changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |amodra at bigpond dot net |dot org

[Bug c++/26862] Non-pod data structure copied incorrectly during static initialization

2006-03-24 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-25 02:45 --- Fixed in 4.0.0. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|

[Bug tree-optimization/26859] [4.2 Regression] ICE Segmentation Fault

2006-03-24 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-03-25 02:40 --- Reduced testcase: void f(long nb) { long i, j, d, d2; for (i=1; i<=nb; i++) if (i>1) { d = i-1; d2 = 2*i-3; for (j=d; j>0; j--) {

[Bug c++/26862] New: Non-pod data structure copied incorrectly during static initialization

2006-03-24 Thread e_hohenstein at yahoo dot com
When a structure is defined without a constructor but that contains non-pod data, the containing structure is also non-pod. When an array of these enclosing non-pod structures is declared as a global static array with an initializer list, the structures appear to be constructed on the stack and cop

[Bug libgcj/26861] New: VirtualMachineError in interperter.

2006-03-24 Thread daney at gcc dot gnu dot org
While running make -k check for libjava, the testcase for PR26858 protuces a VirtualMachineError in the interperter. Exception in thread "main" java.lang.VirtualMachineError at PR26858.printV (PR26858.java:2057) at PR26858.main (PR26858.java:2067) XFAIL: PR26858 execution - gij test UNTESTE

[Bug libgcj/26858] NullPointerException not generated for large classes...

2006-03-24 Thread daney at gcc dot gnu dot org
--- Comment #2 from daney at gcc dot gnu dot org 2006-03-25 01:57 --- The testcase has been committed to the libgcj testsuite as testsuite/libjava.lang/PR26858.java -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26858

[Bug libgcj/26858] NullPointerException not generated for large classes...

2006-03-24 Thread daney at gcc dot gnu dot org
--- Comment #1 from daney at gcc dot gnu dot org 2006-03-25 01:56 --- *** Bug 26860 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26858

[Bug libgcj/26860] NullPointerException not generated for large classes...

2006-03-24 Thread daney at gcc dot gnu dot org
--- Comment #1 from daney at gcc dot gnu dot org 2006-03-25 01:56 --- Due to a slip of the fingers, I created a duplicate entry. *** This bug has been marked as a duplicate of 26858 *** -- daney at gcc dot gnu dot org changed: What|Removed |Added

[Bug libgcj/26860] New: NullPointerException not generated for large classes...

2006-03-24 Thread daney at gcc dot gnu dot org
When running on some Linux kernels, the heap is mapped into memory low in the address space. Dereferencing a null pointer for class with a lot of fields an erroneously access the heap instead of throwing a NullPointerException. -- Summary: NullPointerException not generated for large

[Bug libgcj/13212] JNI/CNI AttachCurrentThread does not register thread with garbage collector

2006-03-24 Thread matz at suse dot de
--- Comment #29 from matz at suse dot de 2006-03-25 01:07 --- There is a minor glitch in the patch from Richard, which went in when cleaning it up. This line: + __asm__ (".symver pthread_create, pthread_create@@" GC_PTHREAD_SYM_VERSION); which creates the right version of the overridi

[Bug tree-optimization/26859] ICE Segmentation Fault

2006-03-24 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-03-25 01:00 --- Oh, by the way please next time put the command and console out not in the attachment but in the comments. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26859

[Bug tree-optimization/26859] ICE Segmentation Fault

2006-03-24 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-25 00:59 --- Reducing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26859

[Bug c/26859] ICE Segmentation Fault

2006-03-24 Thread malitzke at metronets dot com
--- Comment #1 from malitzke at metronets dot com 2006-03-25 00:45 --- Created an attachment (id=8) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8&action=view) complete test case (command, console out, *.e) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26859

[Bug c/26859] New: ICE Segmentation Fault

2006-03-24 Thread malitzke at metronets dot com
dunno see complete test case -- Summary: ICE Segmentation Fault Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org Repor

[Bug libgcj/26858] New: NullPointerException not generated for large classes...

2006-03-24 Thread daney at gcc dot gnu dot org
When running on some Linux kernels, the heap is mapped into memory low in the address space. Dereferencing a null pointer for class with a lot of fields an erroneously access the heap instead of throwing a NullPointerException. -- Summary: NullPointerException not generated for large

[Bug preprocessor/26857] New: Warning for absolute or dotted header paths

2006-03-24 Thread mbland at google dot com
Given that some build systems try to encapsulate system headers separately from those found in /usr/include, primarily through careful arrangement of -I flags, it would be helpful if there was a warning flag, let's call it -Wstrict-header-path for now, which would signal when a source file tries to

[Bug middle-end/26840] [4.2 Regression] escaping global variables cause 'definition follows use' error.

2006-03-24 Thread law at redhat dot com
--- Comment #12 from law at redhat dot com 2006-03-24 23:24 --- Fix via today's checkin. -- law at redhat dot com changed: What|Removed |Added Status|NEW

[Bug middle-end/26840] [4.2 Regression] escaping global variables cause 'definition follows use' error.

2006-03-24 Thread law at redhat dot com
--- Comment #10 from law at redhat dot com 2006-03-24 23:23 --- Subject: Re: [4.2 Regression] escaping global variables cause 'definition follows use' error. On Fri, 2006-03-24 at 03:03 +, pinskia at gcc dot gnu dot org wrote: > > --- Comment #2 from pinskia at gcc dot

[Bug target/26856] compilation errors in mesa and xorg-server with -march=k6-3

2006-03-24 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-24 22:56 --- *** This bug has been marked as a duplicate of 20653 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug target/20653] value too large for field on k6-2 (loop instruction)

2006-03-24 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-03-24 22:56 --- *** Bug 26856 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug other/26856] New: compilation errors in mesa and xorg-server with -march=k6-3

2006-03-24 Thread agathos at fobos dot org
When compiling mesa and xorg-server (in the same file in fact) and using -march=k6-3 I got an assembly error, that not occurs if using (for proximity to my type of cpu) -march=pentium-mmx I've got the same error also in two other packages: imagemagick and sdl_image. Steps to reproduce: ---

[Bug middle-end/26840] [4.2 Regression] escaping global variables cause 'definition follows use' error.

2006-03-24 Thread geoffk at gcc dot gnu dot org
--- Comment #9 from geoffk at gcc dot gnu dot org 2006-03-24 21:59 --- Subject: Bug 26840 Author: geoffk Date: Fri Mar 24 21:59:48 2006 New Revision: 112361 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112361 Log: 2006-03-23 Geoffrey Keating <[EMAIL PROTECTED]> PR 2

[Bug target/26793] [4.2 Regression] C++ is broken on powerpc-darwin7.9.0 after __cxa_atexit patch

2006-03-24 Thread geoffk at gcc dot gnu dot org
--- Comment #2 from geoffk at gcc dot gnu dot org 2006-03-24 21:59 --- Subject: Bug 26793 Author: geoffk Date: Fri Mar 24 21:59:48 2006 New Revision: 112361 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112361 Log: 2006-03-23 Geoffrey Keating <[EMAIL PROTECTED]> PR 2

[Bug rtl-optimization/26855] [4.2 Regression] ICE in add_deps_for_def with -fmodulo-sched -maltivec

2006-03-24 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 rtl-optimization/26855] ICE in add_deps_for_def with -fmodulo-sched -maltivec

2006-03-24 Thread janis at gcc dot gnu dot org
--- Comment #1 from janis at gcc dot gnu dot org 2006-03-24 21:42 --- Created an attachment (id=6) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6&action=view) minimized testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26855

[Bug rtl-optimization/26855] New: ICE in add_deps_for_def with -fmodulo-sched -maltivec

2006-03-24 Thread janis at gcc dot gnu dot org
GCC mainline gets an internal compiler error on powerpc-linux building HMMER (http://hmmer.wustl.edu/) with "-O2 -fmodulo-sched -maltivec". I'll attach a minimized test case. The failure is with trunk; 4.1 and 4.0 don't fail. elm3b145% /opt/gcc-nightly/trunk/bin/gcc -O2 -fmodulo-sched -maltivec

[Bug c/26854] New: Inordinate compile times on large routines

2006-03-24 Thread lucier at math dot purdue dot edu
At this location: http://www.math.purdue.edu/~lucier/gcc/test-files/bugzilla/1/all.i.gz is the file -rw-r--r--1 lucier lucier 6556015 Mar 22 20:28 all.i.gz On a 2GHz Mac G5, this file took 3.4GB and 30 minutes to compile using gcc-4.1.0 configured and compiled with /bin/rm -rf *; env CC=

[Bug ada/26853] New: [4.2 Regression] ACATS c43212a failure at runtime

2006-03-24 Thread ebotcazou at gcc dot gnu dot org
The error message is: ,.,. C43212A ACATS 2.5 06-03-24 20:48:43 C43212A CHECK THAT CONSTRAINT_ERROR IS RAISED IF ALL SUBAGGREGATES FOR A PARTICULAR DIMENSION DO NOT HAVE THE SAME BOUNDS. raised STORAGE_ERROR : stack overflow (or erroneous memory access) FAIL: c43212a --

[Bug gcov/profile/25351] Segmentation fault in function coverage_checksum_string

2006-03-24 Thread lothar at tradescape dot biz
--- Comment #5 from lothar at tradescape dot biz 2006-03-24 18:45 --- We also get ICEs on valid code with gcc 4.1.0 on both i686 and x86_64 both on Linux if we compile our source with -fprofile-arcs -ftest-coverage. When I tried to produce a precompiled (-E) file I could NOT reproduce th

[Bug libgcj/13212] JNI/CNI AttachCurrentThread does not register thread with garbage collector

2006-03-24 Thread aph at gcc dot gnu dot org
--- Comment #28 from aph at gcc dot gnu dot org 2006-03-24 17:41 --- Richard Guenther: should this be posted to [EMAIL PROTECTED] for discussion? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13212

[Bug bootstrap/26829] broken classpath install (missed tools.zip), zip or fastjar not found

2006-03-24 Thread debian-gcc at lists dot debian dot org
--- Comment #7 from debian-gcc at lists dot debian dot org 2006-03-24 17:24 --- testing fix ... --- libjava/configure.ac~ 2006-03-14 01:03:16.0 + +++ libjava/configure.ac2006-03-24 18:14:55.0 + @@ -340,6 +340,7 @@ # We need this as qt is disable

[Bug bootstrap/26829] broken classpath install (missed tools.zip), zip or fastjar not found

2006-03-24 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-03-24 17:14 --- *** Bug 26852 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug bootstrap/26852] bootstrap fails, if neither zip nor fastjar can be found

2006-03-24 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-24 17:14 --- *** This bug has been marked as a duplicate of 26829 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug bootstrap/26829] broken classpath install (missed tools.zip), zip or fastjar not found

2006-03-24 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|WAITING |NEW Ever Confirmed|0 |1 Last reconfi

[Bug bootstrap/26852] New: bootstrap fails, if neither zip nor fastjar can be found

2006-03-24 Thread debian-gcc at lists dot debian dot org
the install in libjava/classpath/tools fails, if neither zip nor fastjar can be found. The just built fastjar is not found/used. (cd classes; \ if test "" != ""; then -r ../tools.zip .; fi; \ if test "/usr/bin/fastjar" != ""; then /usr/bin/fastjar cf ../tools.zip .; fi; \

[Bug c++/26740] [4.2 regression] ICE taking the address of a bound member function

2006-03-24 Thread reichelt at gcc dot gnu dot org
--- Comment #3 from reichelt at gcc dot gnu dot org 2006-03-24 17:08 --- The following code should compile with -fpermissive or -fms-extensions. So changing to ice-on-valid-code. == struct A { void foo(); }; void bar() { &A().foo; }

[Bug libmudflap/26446] Running large program compiled with mudflap aborts even before reaching main()

2006-03-24 Thread walter dot zimmer at dlr dot de
--- Comment #3 from walter dot zimmer at dlr dot de 2006-03-24 16:57 --- (In reply to comment #1) > Mudflap needs memory to set up runtime data structures, so you simply need > more > (virtual) memory. I investigated further and found that it is not the size of the memory that matters.

[Bug tree-optimization/26830] [4.1/4.2 Regression] Insane amount of compile-time / memory needed at -O1 and above

2006-03-24 Thread rguenth at gcc dot gnu dot org
--- Comment #17 from rguenth at gcc dot gnu dot org 2006-03-24 16:33 --- Now compare numbers from 4.0.3 (i686 again): tree PHI insertion: 6.50 (12%) usr 0.06 ( 2%) sys 6.99 (11%) wall tree SSA rewrite : 8.25 (15%) usr 0.02 ( 1%) sys 8.75 (14%) wall tree SSA othe

[Bug tree-optimization/26850] unused function not eliminated with -fwhole-program --combine

2006-03-24 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-24 16:27 --- IIRC the problem here is that we don't go through the program again to change TREE_ADDRESSABLE on those decls. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26850

[Bug tree-optimization/26830] [4.1/4.2 Regression] Insane amount of compile-time / memory needed at -O1 and above

2006-03-24 Thread rguenth at gcc dot gnu dot org
--- Comment #16 from rguenth at gcc dot gnu dot org 2006-03-24 16:26 --- With -O1 -fno-tree-ch we get (on ia64 again): tree copy propagation : 132.88 (22%) usr 0.07 ( 1%) sys 132.94 (22%) wall 5037 kB ( 0%) ggc tree store copy prop : 27.43 ( 5%) usr 0.01 ( 0%) sys 27.44 ( 5

[Bug tree-optimization/26850] New: unused function not eliminated with -fwhole-program --combine

2006-03-24 Thread dann at godzilla dot ics dot uci dot edu
Compile these 2 files with gcc -O2 -fwhole-program --combine a.c b.c a.c: int main (void) { return 0;} b.c: static int tst1 (int x) {return x;} static int global_static; int global; int tst2 (int x, int y) {foo (tst1, x, y, &global_static, &global);} The generated assembly still contains the

[Bug middle-end/26611] openmp gomp ICE at gimplify.c:4257

2006-03-24 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2006-03-24 16:14 --- Subject: Bug 26611 Author: jakub Date: Fri Mar 24 16:14:40 2006 New Revision: 112351 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112351 Log: PR middle-end/26611 * gimplify.c (gimplify_bind_e

[Bug c++/26844] in compile time

2006-03-24 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-03-24 16:14 --- Fixed in 3.4.0. Reduced testcase: namespace std { class type_info {}; } int main(int argc, char **argv) { int filas, columnas; typeid( new double[filas][columnas] ); } This is invalid code: t.cc: In functi

[Bug tree-optimization/26830] [4.1/4.2 Regression] Insane amount of compile-time / memory needed at -O1 and above

2006-03-24 Thread bonzini at gnu dot org
--- Comment #15 from bonzini at gnu dot org 2006-03-24 16:07 --- tree_duplicate_sese_region calls update_ssa. that makes the loop grow very fast with the number of basic blocks. 4.0, instead, has 5081 /* Add phi nodes for definitions at exit. TODO -- once we have immediate 5082

[Bug tree-optimization/26830] [4.1/4.2 Regression] Insane amount of compile-time / memory needed at -O1 and above

2006-03-24 Thread rguenth at gcc dot gnu dot org
--- Comment #14 from rguenth at gcc dot gnu dot org 2006-03-24 15:50 --- I wonder what makes us regress so much in comparison to 4.0.3. The CFG structure before into-ssa should be the same (-fno-inline doesn't help the testcase). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2683

[Bug ada/26849] New: gnat_to_gnu error when using Short_Integer

2006-03-24 Thread rolf dot ebert dot gcc at gmx dot de
This simple package causes a GNAT bug box package Short is bug : Short_Integer; end Short; +===GNAT BUG DETECTED==+ | 4.1.0 20060116 (prerelease) AVR-Ada snapshot (avr-unknown-none) GCC error:| | in gnat_to_gnu, at ada/trans.c:2588

[Bug tree-optimization/26830] [4.1/4.2 Regression] Insane amount of compile-time / memory needed at -O1 and above

2006-03-24 Thread bonzini at gnu dot org
--- Comment #13 from bonzini at gnu dot org 2006-03-24 15:42 --- maybe it's enough to throttle down the salias limits, depending on the number of incoming edges in the basic block? readding alias keyword, and ccing Dan -- bonzini at gnu dot org changed: What|Removed

[Bug libgcj/13212] JNI/CNI AttachCurrentThread does not register thread with garbage collector

2006-03-24 Thread rguenth at gcc dot gnu dot org
--- Comment #27 from rguenth at gcc dot gnu dot org 2006-03-24 15:35 --- Created an attachment (id=5) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5&action=view) patch fixing OO problems with LD_PRELOAD of libgcj One problem with LD_PRELOADing of libgcj.so is that boehm

[Bug c++/26846] hidden visibility of static member in class derived from hash_map changes to default visibility

2006-03-24 Thread laszlo dot szakony at philips dot com
--- Comment #1 from laszlo dot szakony at philips dot com 2006-03-24 15:06 --- Created an attachment (id=3) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=3&action=view) Automke sources to reproduce/test the visibility change of static members -- http://gcc.gnu.org/bug

[Bug rtl-optimization/26847] New: Missed optimization in simplify_plus_minus - regression against 4.1.0

2006-03-24 Thread krebbel at gcc dot gnu dot org
copied from: http://gcc.gnu.org/ml/gcc-patches/2006-02/msg00812.html Hi Paolo, with your patch: http://gcc.gnu.org/ml/gcc-patches/2005-11/msg01718.html simplify_plus_minus isn't able anymore to simplify things like (r1 + 8) - r1. The function is left at: if (!canonicalized) { int n

[Bug c++/26846] New: hidden visibility of static member in class derived from hash_map changes to default visibility

2006-03-24 Thread laszlo dot szakony at philips dot com
gcc (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux) SUSE Linux 10.0 i686 I don'know, if this is a gcc or elf bug. I use the following construct: Slib1 => Dlib1 Slib1 + Dlib1 => Dlib2 Test => dlopen/dlclose (Dlib2) Slib1 is a static lib. Dlib1 is a shared lib containing S

[Bug middle-end/26840] [4.2 Regression] escaping global variables cause 'definition follows use' error.

2006-03-24 Thread law at redhat dot com
--- Comment #8 from law at redhat dot com 2006-03-24 14:56 --- Subject: Re: [4.2 Regression] escaping global variables cause 'definition follows use' error. On Fri, 2006-03-24 at 14:49 +, dberlin at gcc dot gnu dot org wrote: > > --- Comment #6 from dberlin at gcc dot

[Bug middle-end/26840] [4.2 Regression] escaping global variables cause 'definition follows use' error.

2006-03-24 Thread law at redhat dot com
--- Comment #7 from law at redhat dot com 2006-03-24 14:53 --- Subject: Re: [4.2 Regression] escaping global variables cause 'definition follows use' error. On Fri, 2006-03-24 at 13:58 +, pinskia at gcc dot gnu dot org wrote: > > --- Comment #5 from pinskia at gcc dot

[Bug middle-end/26836] ICE on valid code (tree type is null in tree-gimple.c)

2006-03-24 Thread law at redhat dot com
--- Comment #4 from law at redhat dot com 2006-03-24 14:51 --- Subject: Re: ICE on valid code (tree type is null in tree-gimple.c) On Fri, 2006-03-24 at 10:24 +, rguenth at gcc dot gnu dot org wrote: > > --- Comment #1 from rguenth at gcc dot gnu dot org 2006-03-24 10

[Bug middle-end/26840] [4.2 Regression] escaping global variables cause 'definition follows use' error.

2006-03-24 Thread dberlin at gcc dot gnu dot org
--- Comment #6 from dberlin at gcc dot gnu dot org 2006-03-24 14:49 --- The only reason i can think that this would occur is if the copies had different SMT's or NMT's associated with them, but that shouldn't happen, since they are copies :) -- http://gcc.gnu.org/bugzilla/show_bug.c

[Bug tree-optimization/26806] [4.2 Regression] ICE at gcc/tree-gimple.c:269

2006-03-24 Thread malitzke at metronets dot com
--- Comment #15 from malitzke at metronets dot com 2006-03-24 14:30 --- re this PR 26806 and PR 26833 (judged equivalent) the yasm--0.4.0 referred to in PR 26833 compiled OK with the temporary fix and passed an extensive battery of tests included in yasm-0.4.0. Documentation issues (irr

[Bug target/26459] [4.1/4.2 Regression] gcc fails to build on powerpc e500-double targets

2006-03-24 Thread amodra at bigpond dot net dot au
--- Comment #15 from amodra at bigpond dot net dot au 2006-03-24 14:23 --- Appears to be the peephole in rs6000.md immediately after this comment: ;; after inserting conditional returns we can sometimes have ;; unnecessary register moves. (subreg:DF (reg:DI 3 3 [128]) 0) is a valid gpc

[Bug tree-optimization/26830] [4.1/4.2 Regression] Insane amount of compile-time / memory needed at -O1 and above

2006-03-24 Thread bonzini at gnu dot org
--- Comment #12 from bonzini at gnu dot org 2006-03-24 14:16 --- confirming, but removing the "alias" keyword. -- bonzini at gnu dot org changed: What|Removed |Added

[Bug tree-optimization/26830] [4.1/4.2 Regression] Insane amount of compile-time / memory needed at -O1 and above

2006-03-24 Thread bonzini at gnu dot org
--- Comment #11 from bonzini at gnu dot org 2006-03-24 14:16 --- > so it may even be that something creates an incredibly interconnected CFG? i mean, we may end up having the equivalent of the multiple computed gotos, that we factor. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2

[Bug tree-optimization/26830] [4.1/4.2 Regression] Insane amount of compile-time / memory needed at -O1 and above

2006-03-24 Thread bonzini at gnu dot org
--- Comment #10 from bonzini at gnu dot org 2006-03-24 14:15 --- so it may even be that something creates an incredibly interconnected CFG? can you add a test somewhere in execute_one_pass to print the number of basic blocks and the total number of edges? along these lines: if (pass->

[Bug libgcj/13212] JNI/CNI AttachCurrentThread does not register thread with garbage collector

2006-03-24 Thread rguenth at gcc dot gnu dot org
--- Comment #26 from rguenth at gcc dot gnu dot org 2006-03-24 14:08 --- Note that with the "fix" installed on the 4.1 branch programs linked against libgcj.so get to use libgcjs pthread_create wrapper, but programs later opening libgcj.so via dlopen, like OpenOffice, fail here. LD_PRE

[Bug c++/26844] in compile time

2006-03-24 Thread bedorlan at gmail dot com
--- Comment #2 from bedorlan at gmail dot com 2006-03-24 14:06 --- Created an attachment (id=2) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=2&action=view) g++ -ansi result.cc -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26844

[Bug middle-end/26840] [4.2 Regression] escaping global variables cause 'definition follows use' error.

2006-03-24 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-03-24 13:58 --- This was __NOT__ fixed by the patch for PR 26806. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26840

[Bug c++/26844] in compile time

2006-03-24 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-24 13:56 --- Details about this bug? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26844

[Bug c/26845] New: V850Ex/xxx hardware conflict with SLD instruction

2006-03-24 Thread Mathias dot Jirgal at gmx dot net
on some revised hardware manuals of V850Ex/xxx controllers a hardware conflict in conjunction with the SLD instruction and Interrupt requests are described. For example: V850E/ME2, August 2005, p113, 3.4.11 Restriction on conflict between sld instruction and interrupt request http://www.necel.com

[Bug c++/26844] New: in compile time

2006-03-24 Thread bedorlan at gmail dot com
-- Summary: in compile time Product: gcc Version: 3.3.5 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bedorlan at gmail dot com

[Bug tree-optimization/26806] [4.2 Regression] ICE at gcc/tree-gimple.c:269

2006-03-24 Thread pinskia at gcc dot gnu dot org
--- Comment #14 from pinskia at gcc dot gnu dot org 2006-03-24 13:29 --- *** Bug 26836 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug middle-end/26836] ICE on valid code (tree type is null in tree-gimple.c)

2006-03-24 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-03-24 13:29 --- Mark as a dup of bug 26806. *** This bug has been marked as a duplicate of 26806 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug middle-end/26836] ICE on valid code (tree type is null in tree-gimple.c)

2006-03-24 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-24 13:28 --- Reopening to ... -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug fortran/26822] Scalarization of non-elemental intrinsic: __logical_4_l4

2006-03-24 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-03-24 13:27 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug c/16622] [C99] extern inline is handled wrong in C99 mode

2006-03-24 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2006-03-24 13:26 --- *** Bug 26841 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c/26841] extern inline fails to create external definition in C99 mode

2006-03-24 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-24 13:26 --- *** This bug has been marked as a duplicate of 16622 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug middle-end/26835] ICE in f951 on valid code at -O2 -ftree-loop-linear

2006-03-24 Thread dberlin at dberlin dot org
--- Comment #2 from dberlin at gcc dot gnu dot org 2006-03-24 12:27 --- Subject: Re: ICE in f951 on valid code at -O2 -ftree-loop-linear On Fri, 2006-03-24 at 10:30 +, rguenth at gcc dot gnu dot org wrote: > > --- Comment #1 from rguenth at gcc dot gnu dot org 2006-03

[Bug middle-end/26835] ICE in f951 on valid code at -O2 -ftree-loop-linear

2006-03-24 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-03-24 10:30 --- Confirmed. We ICE after IVOPTs during computation of dominance frontiers. Other than that, tree-loop-linear seems to be somewhat buggy in general. Program received signal SIGSEGV, Segmentation fault. 0x081e85af in

[Bug middle-end/26836] ICE on valid code (tree type is null in tree-gimple.c)

2006-03-24 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-03-24 10:24 --- Seems to be fixed now. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/26830] [4.1/4.2 Regression] Insane amount of compile-time / memory needed at -O1 and above

2006-03-24 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2006-03-24 08:43 --- Ok, without -fno-tree-salias things are just worse, not different: tree copy propagation : 134.88 ( 2%) usr 0.67 (10%) sys 136.04 ( 2%) wall 6573 kB ( 0%) ggc tree store copy prop : 26.55 ( 0%) usr 0.01 (

[Bug c/26841] New: extern inline fails to create external definition in C99 mode

2006-03-24 Thread algrant at acm dot org
In C99 this extern inline int f(int n) { return n + 1; } does not meet the criteria in 6.7.4#6 for 'inline definition' and is therefore an external definition. gcc -std=c99 fails to emit an external definition, though it does for the separate definition/declaration case in the 6.7.4#7 example.

[Bug fortran/26822] Scalarization of non-elemental intrinsic: __logical_4_l4

2006-03-24 Thread c dot lemmen at fz-juelich dot de
--- Comment #3 from c dot lemmen at fz-juelich dot de 2006-03-24 08:30 --- Created an attachment (id=0) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=0&action=view) Reduced Testcase that produces the failure Testcase attached -- http://gcc.gnu.org/bugzilla/show_bug.c