[Bug libmudflap/20003] libmudflap.cth

2005-07-26 Thread gschafer at zip dot com dot au
--- Additional Comments From gschafer at zip dot com dot au 2005-07-26 06:07 --- (In reply to comment #1) Fixed at least in 4.0.1. No it's not. Please see these results for example (all from different folks): http://gcc.gnu.org/ml/gcc-testresults/2005-07/msg01370.html

[Bug libmudflap/23069] New: libmudflap.cth timeouts too short

2005-07-26 Thread gschafer at zip dot com dot au
In these files: libmudflap/testsuite/libmudflap.cth/pass3{7,9}-frag.c the timeout is overridden to 3 seconds. This is way too short if for example running the testsuite with -j3 on an SMP box. It results in many timeouts as per these examples:

[Bug c/23070] New: CALL_V4_CLEAR_FP_ARGS flag not properly set

2005-07-26 Thread tong_ho at yahoo dot com
When a prototyped function of var-arg is called without any arguments to the variable part, crxor 6,6,6 is not generated. -O0 -mno-prototype does NOT resolve the problem either. test.c int test(const char *a, ...); void test1(const char *a) { test(a, 0); } void test2(const char

[Bug tree-optimization/23068] [4.1 Regression] errors in comparison operator for char

2005-07-26 Thread Jean-pierre dot vial at wanadoo dot fr
--- Additional Comments From Jean-pierre dot vial at wanadoo dot fr 2005-07-26 06:36 --- (In reply to comment #1) I cannot reproduce it on 20050725. What options are you using to create the executable. I tried with -O0, -O1, -O2, and -O3 and no success. no bug with -O0 or -O1 bug

[Bug target/23071] New: Darwin alignment ignores attribute packed for first 'double' element of a struct

2005-07-26 Thread sabre at nondot dot org
Darwin ignores the alignment/packed attributes on this structure, forcing the structure to have 8-byte alignment and 16-byte size: --- struct Test { double D __attribute__((packed,aligned(4))); short X; }; --- Ian Lance Taylor did a great analysis of the history of this, tracking it back to

[Bug tree-optimization/19049] not vectorizing a fortran loop

2005-07-26 Thread irar at il dot ibm dot com
--- Additional Comments From irar at il dot ibm dot com 2005-07-26 07:07 --- The data dependence issue was solved by this patch http://gcc.gnu.org/ml/gcc- patches/2005-07/msg01195.html (committed). However, this loop is still not vectorizable because of noncontinuous access. --

[Bug tree-optimization/22486] Upcasts are not folded away

2005-07-26 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-26 07:35 --- Subject: Bug 22486 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-07-26 07:34:58 Modified files: gcc: ChangeLog fold-const.c

[Bug tree-optimization/22486] Upcasts are not folded away

2005-07-26 Thread rguenth at gcc dot gnu dot org
--- Additional Comments From rguenth at gcc dot gnu dot org 2005-07-26 07:37 --- In principle this is fixed. Of course we either need a tree-combiner or forwprop on steroids to catch all cases. Which would make this bug a duplicate. Closed Fixed. -- What|Removed

[Bug tree-optimization/22504] [4.1 Regression] benchmark - galgel fails at runtime with miscompare output

2005-07-26 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-07-26 08:26 --- These are the only bugs I could find in expand_complex_addition: Index: tree-complex.c === RCS file: /cvs/gcc/gcc/gcc/tree-complex.c,v

[Bug treelang/23072] New: multiple runs of treelang testsuite does not work...

2005-07-26 Thread christian dot joensson at gmail dot com
In http://gcc.gnu.org/ml/gcc-testresults/2005-07/msg01369.html and test results of mine not yet posted, I see that if one tries to run the treelang test suite multiple times, e.g., with different compile options such as for multilibbed builds, the first run is done but not more... To me, this

07 Cok Gec olabilir

2005-07-26 Thread Cocuk Geleceki
Okul Oncesi Couk ve Anne Baba Egitimi Okul Oncesi Cocuklar Icın Hazırlanmis Odullu CD'leri Gordunuzmu? http://www.cocukdunyasi.net

[Bug tree-optimization/22598] [4.1 Regression] 23_containers/set/explicit_instantiation/3.cc fails

2005-07-26 Thread hp at gcc dot gnu dot org
--- Additional Comments From hp at gcc dot gnu dot org 2005-07-26 09:44 --- I'm betting it's the same bug that is visible with 1.cc (again, 1.cc indeed FAILs, does not PASS) on mmix-knuth-mmixware (cutnpaste from log):

[Bug c++/19932] [3.4 Regression] FAIL: g++.old-deja/g++.jason/rfg12.C (test for excess errors)

2005-07-26 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-07-26 09:46 --- What is the value of 'type' when error() is called? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19932

[Bug libstdc++/23053] Const-correctness issue in TR1 hashtable

2005-07-26 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-26 09:46 --- Subject: Bug 23053 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-07-26 09:46:23 Modified files: libstdc++-v3 :

[Bug libstdc++/23053] Const-correctness issue in TR1 hashtable

2005-07-26 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2005-07-26 09:48 --- Fixed for 4.0.2. -- What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug tree-optimization/23073] New: [4.1 regression] testsuite failure, gcc.dg/tree-ssa/ifc-20040816-2.c

2005-07-26 Thread hp at gcc dot gnu dot org
PASSes with Mon Jul 18 16:34:10 UTC 2005. FAILs with Mon Jul 25 22:33:14 UTC 2005. gcc.log says: Executing on host: /home/hp/combined/mmix-regobj/gcc/xgcc -B/home/hp/combined/mmix-regobj/gcc/ /hom\ e/hp/combined/combined/gcc/testsuite/gcc.dg/tree-ssa/ifc-20040816-2.c -c -O2 -ftree-vectorize

[Bug tree-optimization/23073] [4.1 regression] testsuite failure, gcc.dg/tree-ssa/ifc-20040816-2.c

2005-07-26 Thread hp at gcc dot gnu dot org
--- Additional Comments From hp at gcc dot gnu dot org 2005-07-26 09:58 --- Created an attachment (id=9362) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9362action=view) preprocessed testcase /home/hp/combined/mmix-regobj/gcc/cc1 -fpreprocessed ifc-20040816-2.i -quiet -dumpbase

[Bug tree-optimization/22236] [4.1 Regression] wrong code for casts and scev

2005-07-26 Thread sebastian dot pop at cri dot ensmp dot fr
--- Additional Comments From sebastian dot pop at cri dot ensmp dot fr 2005-07-26 10:06 --- Subject: Re: [4.1 Regression] wrong code for casts and scev After inlining, we end up with a loop containing the following code: b.0_3 = (signed char) b_8; D.1621_4 = (int) b.0_3; a_5

[Bug debug/20161] [4.0/4.1 Regression] ICE with dwarf for incomplete element type argument

2005-07-26 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-07-26 10:18 --- Let's try this patch then. Index: passes.c === RCS file: /cvs/gcc/gcc/gcc/passes.c,v retrieving revision 2.105 diff -u -3 -p -r2.105

[Bug tree-optimization/22236] [4.1 Regression] wrong code for casts and scev

2005-07-26 Thread richard dot guenther at gmail dot com
--- Additional Comments From richard dot guenther at gmail dot com 2005-07-26 10:38 --- Subject: Re: [4.1 Regression] wrong code for casts and scev You should also add the (two) testcases from the PR. Richard. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22236

[Bug tree-optimization/22591] [4.0/4.1 Regression] std::swap() followed by list::erase() produces incorrect list::begin()

2005-07-26 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-07-26 10:39 --- I can reproduce this with the C test case from comment #24 on x86_64-linux with -march=nocona. With -march=k8 that test case does _not_ abort. -- What|Removed |Added

[Bug tree-optimization/22591] [4.0/4.1 Regression] std::swap() followed by list::erase() produces incorrect list::begin()

2005-07-26 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-07-26 10:43 --- Well I'll be damned! $ ./xgcc -B. t.c -O2 -march=nocona $ ./a.out Aborted $ ./xgcc -B. t.c -O2 -march=nocona -da -fdump-tree-all $ ./a.out $ $ ./xgcc -B. t.c -O2 -march=nocona -S -da $ mv t.s

[Bug tree-optimization/22591] [4.0/4.1 Regression] std::swap() followed by list::erase() produces incorrect list::begin()

2005-07-26 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-07-26 11:18 --- My version of t.c: === void abort (); typedef struct _Node { struct _Node *next, *prev; } Node; void __attribute__ ((noinline)) append (Node * q, Node *

[Bug tree-optimization/22591] [4.0/4.1 Regression] std::swap() followed by list::erase() produces incorrect list::begin()

2005-07-26 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-07-26 11:43 --- Smaller test case: == void abort (); typedef struct _Node { struct _Node *next, *prev; } Node; inline void swap (Node ** a, Node ** b) {

[Bug tree-optimization/22591] [4.0/4.1 Regression] wrong alias information causes an incorrect redundant load elimination

2005-07-26 Thread steven at gcc dot gnu dot org
-- What|Removed |Added Priority|P2 |P1 Summary|[4.0/4.1 Regression]|[4.0/4.1 Regression] wrong |std::swap()

[Bug target/18170] [4.0/4.1 Regression] m32r-elf-as, m32r-linux-as debug relocation error for c++

2005-07-26 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-07-26 12:01 --- What should we do with this bug? If m32r is no longer affected, then what is? Maybe suspend this one or close it as WONTFIX? -- What|Removed |Added

[Bug middle-end/21953] [4.1 Regression] Many tmpdir-gcc.dg-struct-layout-1 tests fail on Tru64 UNIX V5.1B

2005-07-26 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-07-26 12:03 --- Rainer, can you look into those failures a bit more closely? Maybe you can see in the testsuite log how they fail? -- What|Removed |Added

[Bug fortran/23074] New: g77-style typeless BOZ constants not implemented

2005-07-26 Thread p dot w dot draper at durham dot ac dot uk
In g77 you define a typeless BOZ constant that can be assigned to any other type, using the formats ''X, ''Z etc. This allows PARAMETERs to be defined like: PROGRAM TLBOZ DOUBLE PRECISION inf, nan PARAMETER ( inf = '7FF0'Z ) PARAMETER ( nan =

[Bug c/23075] New: Redundant / bogus warning

2005-07-26 Thread neil at gcc dot gnu dot org
Compiling int foo (void) { return; } with -ansi -pedantic gives two warnings; with GCC 3.3 it only gave one. As a QOI issue 3.3's behaviour is superior - warning about control reaching the end of the function is a bit odd. -- Summary: Redundant / bogus warning

[Bug c/23075] Redundant / bogus warning

2005-07-26 Thread neil at gcc dot gnu dot org
--- Additional Comments From neil at gcc dot gnu dot org 2005-07-26 12:13 --- I meant to add -Wall to the warning list. -- What|Removed |Added Summary|Redundant

[Bug target/23070] CALL_V4_CLEAR_FP_ARGS flag not properly set

2005-07-26 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|c |target http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23070

[Bug tree-optimization/23059] [4.1 Regression] ICE: verify_ssa failed with -O3 -ftree-vectorize -Woverloaded-virtual

2005-07-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 12:54 --- Created an attachment (id=9363) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9363action=view) Smaller testcase -- What|Removed |Added

[Bug tree-optimization/23059] [4.1 Regression] ICE: verify_ssa failed with -O3 -ftree-vectorize -Woverloaded-virtual

2005-07-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 12:58 --- Confirmed, I cannot reduce the testcase any further. Removing any little unneeded code makes the bug go away. -- What|Removed |Added

[Bug c/23076] New: GNU C extension / attribute destructor + static : invalid storage class for function

2005-07-26 Thread ppelissi at caramail dot com
The follwing program: #include stdio.h #define LOG FILE *log_file; int f2 (int x) { #ifdef LOG static long toto = 0; static const char *fname = __func__; static void __attribute__ ((destructor)) f (void) { fprintf (log_file, %s: toto=%ld\n, fname, toto); } toto += x; #endif

[Bug fortran/23074] g77-style typeless BOZ constants not implemented

2005-07-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 13:03 --- This isn't just related, this is a dup of PR 18026. *** This bug has been marked as a duplicate of 18026 *** -- What|Removed |Added

[Bug fortran/18026] boz initialization of REALs fails

2005-07-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 13:03 --- *** Bug 23074 has been marked as a duplicate of this bug. *** -- What|Removed |Added

==operator gives unexpected result using -O0

2005-07-26 Thread Jakob Andreas Bærentzen
Hello, I do apologize if my ignorance is the problem here, but I am having a strange problem with the version of gcc included in suse 9.3: gcc version 3.3.5 20050117 (prerelease) (SUSE Linux). The same problem was observed with gcc 3.3.1. I have not tried later versions, but I can't find the

[Bug c/23076] GNU C extension / attribute destructor + static : invalid storage class for function

2005-07-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 13:05 --- Just remove the static and it will work. -- What|Removed |Added

[Bug c/23076] GNU C extension / attribute destructor + static : invalid storage class for function

2005-07-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 13:06 --- I should note static functions inside a function is invalid code. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23076

[Bug tree-optimization/22591] [4.0/4.1 Regression] wrong alias information causes an incorrect redundant load elimination

2005-07-26 Thread rguenth at gcc dot gnu dot org
--- Additional Comments From rguenth at gcc dot gnu dot org 2005-07-26 13:10 --- I have (with whatever load of patches applied...) ;; Function ListSwap (ListSwap) ListSwap (x, y) { struct Node * tmp; struct _Node * D.1292; bb 0: tmp = x-next; if (tmp != 0B) goto L0; else goto

[Bug c/23075] [4.0/4.1 Regression] Redundant / bogus warning

2005-07-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 13:11 --- Confirmed, one warning comes from the front-end and the other bogus warning comes from the middle-end. I have not looked to see if we set TREE_NO_WARNING on the return and if the middle-end looks at

[Bug tree-optimization/23073] [4.1 regression] testsuite failure, gcc.dg/tree-ssa/ifc-20040816-2.c

2005-07-26 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added CC||pinskia at gcc dot gnu dot ||org Keywords|

[Bug tree-optimization/22598] [4.1 Regression] 23_containers/set/explicit_instantiation/3.cc fails

2005-07-26 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added CC||dnovillo at gcc dot gnu dot ||org

[Bug tree-optimization/21445] [meta-bug] we need a reassociate pass

2005-07-26 Thread dberlin at gcc dot gnu dot org
--- Additional Comments From dberlin at gcc dot gnu dot org 2005-07-26 13:14 --- We have one now :) -- What|Removed |Added Status|NEW

[Bug tree-optimization/19104] in range test not noticed

2005-07-26 Thread dberlin at gcc dot gnu dot org
-- Bug 19104 depends on bug 21445, which changed state. Bug 21445 Summary: [meta-bug] we need a reassociate pass http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21445 What|Old Value |New Value

[Bug tree-optimization/15878] a b ~a ~b not optimized at the tree level

2005-07-26 Thread dberlin at gcc dot gnu dot org
-- Bug 15878 depends on bug 21445, which changed state. Bug 21445 Summary: [meta-bug] we need a reassociate pass http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21445 What|Old Value |New Value

[Bug tree-optimization/19105] fold does not spot anti-range test

2005-07-26 Thread dberlin at gcc dot gnu dot org
-- Bug 19105 depends on bug 21445, which changed state. Bug 21445 Summary: [meta-bug] we need a reassociate pass http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21445 What|Old Value |New Value

[Bug tree-optimization/16157] gcc fails to optimize redundant expression (reassocation)

2005-07-26 Thread dberlin at gcc dot gnu dot org
-- Bug 16157 depends on bug 21445, which changed state. Bug 21445 Summary: [meta-bug] we need a reassociate pass http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21445 What|Old Value |New Value

[Bug tree-optimization/17955] Perform associative optimization when it is safe

2005-07-26 Thread dberlin at gcc dot gnu dot org
-- Bug 17955 depends on bug 21445, which changed state. Bug 21445 Summary: [meta-bug] we need a reassociate pass http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21445 What|Old Value |New Value

[Bug target/23067] Incorrect struct layout on darwin

2005-07-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 13:14 --- Confirmed based on what Apple's GCC does and what Geoff said. -- What|Removed |Added

[Bug debug/20253] [3.4 regression]: Macro debug info broken due to lexer change

2005-07-26 Thread dberlin at gcc dot gnu dot org
--- Additional Comments From dberlin at gcc dot gnu dot org 2005-07-26 13:16 --- This has moved very much off my radar since it was fixed in 4.1.0 and 4.0.0 -- What|Removed |Added

[Bug tree-optimization/22591] [4.0/4.1 Regression] wrong alias information causes an incorrect redundant load elimination

2005-07-26 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2005-07-26 13:17 --- Yes, but why P1 - P2?!? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22591

[Bug tree-optimization/19581] Missed store motion on the tree level

2005-07-26 Thread dberlin at gcc dot gnu dot org
--- Additional Comments From dberlin at gcc dot gnu dot org 2005-07-26 13:18 --- Richard guenther is working on aliasing for arrays, i'll leave this one for him -- What|Removed |Added

[Bug tree-optimization/22488] [4.1 Regression] ICE: in first_vi_for_offset, at tree-ssa-structalias.c:2585 with -O3

2005-07-26 Thread rguenth at gcc dot gnu dot org
--- Additional Comments From rguenth at gcc dot gnu dot org 2005-07-26 13:21 --- http://gcc.gnu.org/ml/gcc-patches/2005-07/msg01608.html does not help -- What|Removed |Added

[Bug target/23071] Darwin alignment ignores attribute packed for first 'double' element of a struct

2005-07-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 13:21 --- I still don't believe this is a bug. As the alignment of whole struct is still 8 as double is first, even if the alignment of that double is 4. -- What|Removed |Added

[Bug fortran/23074] g77-style typeless BOZ constants not implemented

2005-07-26 Thread p dot w dot draper at durham dot ac dot uk
--- Additional Comments From p dot w dot draper at durham dot ac dot uk 2005-07-26 13:28 --- Andrew, I've said this is related to bug 18026, rather than a duplicate, as the actual format used for these typeless BOZ constants is none standard and not the same as in bug 18026. As in

[Bug tree-optimization/19581] Missed store motion on the tree level

2005-07-26 Thread rguenth at gcc dot gnu dot org
--- Additional Comments From rguenth at gcc dot gnu dot org 2005-07-26 13:29 --- For a reduced array with only 4 elements (I know - this should be a --param) we now get in .vars (with the array aliasing patch): f (n) { int n.39; unsigned int ivtmp.33; int lsm_tmp.32; int

[Bug tree-optimization/22236] [4.1 Regression] wrong code for casts and scev

2005-07-26 Thread dorit at il dot ibm dot com
--- Additional Comments From dorit at il dot ibm dot com 2005-07-26 13:59 --- Subject: Re: [4.1 Regression] wrong code for casts and scev Hi Sebastian, The modifications you suggest will make the tests uninteresting - they were introduced with unknown loop-bound/offset on

[Bug target/23071] Darwin alignment ignores attribute packed for first 'double' element of a struct

2005-07-26 Thread dje at gcc dot gnu dot org
--- Additional Comments From dje at gcc dot gnu dot org 2005-07-26 14:08 --- The ABI specifies the alignment of the entire record is doubleword if the first field is an FP double, regardless of the alignment of the type itself. -- What|Removed

[Bug tree-optimization/22591] [4.0/4.1 Regression] wrong alias information causes an incorrect redundant load elimination

2005-07-26 Thread dnovillo at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |dnovillo at gcc dot gnu dot |dot org |org Status|NEW

[Bug libobjc/22606] Exceptions cannot be thrown from -forward::

2005-07-26 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-26 14:27 --- Subject: Bug 22606 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-07-26 14:27:33 Modified files: gcc/testsuite : ChangeLog libobjc:

[Bug libobjc/22606] Exceptions cannot be thrown from -forward::

2005-07-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 14:28 --- Fixed, added your testcase also. Also I noticed that your testcase fails with the next runtime, oh well. Not my bug. -- What|Removed |Added

[Bug middle-end/21992] [4.1 regression] testsuite failure: many objc execution tests fail, first objc/execute/_cmd.m execution

2005-07-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 14:32 --- I think I see the same thing at -O2 on a couple of tests on ppc-darwin. Is the execution a missing symbol? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21992

[Bug c/23077] New: Invalid code with O2 flag (bad alias analysis?)

2005-07-26 Thread nicos at maunakeatech dot com
Source code: #include stdio.h int main (int argc, char * argv[]) { unsigned int t[2] = {1, 1}; *((double *)t) = 0.0; printf(%d\n, t[1]); } This code prints 1 insted of 0 when with: gcc foo.c -o foo -O2 Output of gcc -v foo.c -o foo2 -O2: Reading specs from

[Bug c/23077] Invalid code with O2 flag (bad alias analysis?)

2005-07-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 14:36 --- No this is not bad alias analysis, You are invoking undefined code by violating aliasing rules in C/C++. This is a dup of bug 21920. *** This bug has been marked as a duplicate of 21920 *** --

[Bug c/21920] alias violating

2005-07-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 14:37 --- *** Bug 23077 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug tree-optimization/22591] [4.0/4.1 Regression] wrong alias information causes an incorrect redundant load elimination

2005-07-26 Thread dnovillo at gcc dot gnu dot org
--- Additional Comments From dnovillo at gcc dot gnu dot org 2005-07-26 14:46 --- (In reply to comment #31) Smaller test case: This works for me. The original test case does abort, though. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22591

[Bug tree-optimization/22236] [4.1 Regression] wrong code for casts and scev

2005-07-26 Thread sebastian dot pop at cri dot ensmp dot fr
--- Additional Comments From sebastian dot pop at cri dot ensmp dot fr 2005-07-26 15:15 --- Subject: Re: [4.1 Regression] wrong code for casts and scev Dorit Naishlos wrote: The modifications you suggest will make the tests uninteresting - they were introduced with unknown

[Bug tree-optimization/23073] [4.1 regression] testsuite failure, gcc.dg/tree-ssa/ifc-20040816-2.c

2005-07-26 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-07-26 15:21 --- Confirmed. The following testcase crashes on i686-pc-linux-gnu when compiled with -O -ftree-vectorize -msse2: == void foo(int* __restrict__ p, int*

[Bug tree-optimization/23073] [4.1 regression] testsuite failure, gcc.dg/tree-ssa/ifc-20040816-2.c

2005-07-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 15:26 --- Here is the backtrace: #0 0x00424b88 in fwrite () from /lib/tls/libc.so.6 #1 0x081381fd in vect_analyze_data_refs_alignment (loop_vinfo=0xa3bebb0) at /home/peshtigo/

[Bug c++/23078] New: m68k ICE

2005-07-26 Thread wouter at grep dot be
g++ -O3 -Iboxes -Ierrors -Ievaluate -Igenerator -Iparser -Ipropagate -Isignals -Itlib -Idraw-c -o boxes/boxtype.o boxes/boxtype.cpp boxes/boxtype.cpp: In function 'void getBoxType(CTree*, int*, int*)': boxes/boxtype.cpp:74: internal compiler error: Segmentation fault Please submit a full bug

[Bug c++/23078] m68k ICE

2005-07-26 Thread wouter at grep dot be
--- Additional Comments From wouter at grep dot be 2005-07-26 15:29 --- Created an attachment (id=9364) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9364action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23078

[Bug middle-end/21992] [4.1 regression] testsuite failure: many objc execution tests fail, first objc/execute/_cmd.m execution

2005-07-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 15:31 --- This fails on PPC-darwin also. -- What|Removed |Added GCC target

[Bug middle-end/21992] [4.1 regression] testsuite failure: many objc execution tests fail, first objc/execute/_cmd.m execution

2005-07-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 15:34 --- I wonder why this does not fail on i686-pc-linux-gnu. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21992

[Bug target/23078] m68k ICE

2005-07-26 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|c++ |target http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23078

[Bug middle-end/21992] [4.1 regression] testsuite failure: many objc execution tests fail, first objc/execute/_cmd.m execution

2005-07-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 15:39 --- === objc Summary === # of expected passes1309 # of unexpected failures328 # of unresolved testcases 3 # of unsupported tests 1 Those are what I get on

[Bug middle-end/21992] [4.1 regression] testsuite failure: many objc execution tests fail, first objc/execute/_cmd.m execution

2005-07-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 15:52 --- I think libobjc is also being miscompiled which is why some fails at -O0. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21992

[Bug tree-optimization/23079] New: ICE in tree_low_cst, at tree.c:4268 with -ftree-vectorize

2005-07-26 Thread micis at gmx dot de
When I compile the small program with the actual snapshot of gcc41 (20050723) I get an ICE. Michael Cieslinski unsigned int foo () { unsigned int y[256]; unsigned int* x; for (x = y + 1; x y + 256; ++x) *x += x[-1]; return y[0]; } gcc41h -O -ftree-vectorize -c sort.i -o

[Bug tree-optimization/23079] ICE in tree_low_cst, at tree.c:4268 with -ftree-vectorize

2005-07-26 Thread micis at gmx dot de
--- Additional Comments From micis at gmx dot de 2005-07-26 16:14 --- last working snapshot is gcc-4.1-20050508 first failing snapshot is gcc-4.1-20050528 (between these 2 I didn't compile other snapshots) gcc401 is working correctly -- What|Removed

[Bug tree-optimization/22591] [4.0/4.1 Regression] wrong alias information causes an incorrect redundant load elimination

2005-07-26 Thread dnovillo at gcc dot gnu dot org
--- Additional Comments From dnovillo at gcc dot gnu dot org 2005-07-26 16:19 --- Testing patch. The shortcut we were taking in may_alias_p is invalid even with strict aliasing. --- tree-ssa-alias.c25 Jul 2005 12:04:50 - 2.107 +++ tree-ssa-alias.c26 Jul 2005 16:16:34

[Bug tree-optimization/23079] [4.1 Regression] ICE in tree_low_cst, at tree.c:4268 with -ftree-vectorize

2005-07-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 16:19 --- Confirmed, also fails with 20050714. -- What|Removed |Added Status|UNCONFIRMED

[Bug target/23071] Darwin alignment ignores attribute packed for first 'double' element of a struct

2005-07-26 Thread sabre at nondot dot org
--- Additional Comments From sabre at nondot dot org 2005-07-26 16:25 --- Okay, in that case, how does one change the alignment of the structure? The only way I'm aware of to do this is with attribute packed, but that will also modify the inter-field padding of the structure. For

[Bug c/23080] New: m68k ICE

2005-07-26 Thread wouter at grep dot be
cc -c -O4 -DSYSINC -I/usr/include/lam -Df77IsF2C -DBlacsDebugLvl=0 -DUseMpi2 BI_BeComb.c BI_BeComb.c: In function 'BI_BeComb': BI_BeComb.c:102: internal compiler error: Segmentatie fout Please submit a full bug report, with preprocessed source if appropriate. See

[Bug target/23080] m68k ICE

2005-07-26 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|c |target Keywords||ice-on-valid-code

[Bug target/23080] m68k ICE

2005-07-26 Thread wouter at grep dot be
--- Additional Comments From wouter at grep dot be 2005-07-26 16:29 --- Created an attachment (id=9365) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9365action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23080

[Bug libstdc++/23081] New: Finish the implementation of tr1::array

2005-07-26 Thread pcarlini at suse dot de
It would be nice to complete the implementation in time for 4.1: a few members are more or less trivial, like front(), back() and data()... -- Summary: Finish the implementation of tr1::array Product: gcc Version: 4.1.0 Status: UNCONFIRMED

[Bug c++/18462] [3.4 Regression] Segfault on declaration of large array member

2005-07-26 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-07-26 16:39 --- The testcase in PR18602 does not cause a segfault anymore for GCC 3.4 CVS. Is this bug fixed then? Or do we need a new testcase? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18462

[Bug tree-optimization/23082] New: internal compiler error: tree check: expected ssa_name, have var_decl in verify_ssa, at tree-ssa.c:746

2005-07-26 Thread p dot van-hoof at qub dot ac dot uk
When the attached is compiled as follows, it generates an ICE: pluto gcc -c -O1 -ftree-vectorize a.c a.c: In function ‘a’: a.c:4: internal compiler error: tree check: expected ssa_name, have var_decl in verify_ssa, at tree-ssa.c:746 Please submit a full bug report, with preprocessed source if

[Bug tree-optimization/23082] internal compiler error: tree check: expected ssa_name, have var_decl in verify_ssa, at tree-ssa.c:746

2005-07-26 Thread p dot van-hoof at qub dot ac dot uk
--- Additional Comments From p dot van-hoof at qub dot ac dot uk 2005-07-26 16:46 --- Created an attachment (id=9366) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9366action=view) code that causes the ICE -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23082

[Bug tree-optimization/23082] [4.1 Regression] internal compiler error: tree check: expected ssa_name, have var_decl in verify_ssa, at tree-ssa.c:746

2005-07-26 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Keywords||ice-on-valid-code Summary|internal compiler error:|[4.1 Regression] internal

[Bug target/23071] Darwin alignment ignores attribute packed for first 'double' element of a struct

2005-07-26 Thread ian at airs dot com
--- Additional Comments From ian at airs dot com 2005-07-26 16:55 --- The whole point of attribute ((packed)) is to change the ABI. If it can't change the ABI, it is meaningless. So I don't find the argument based on the ABI to be particularly convincing. --

[Bug target/23071] Darwin alignment ignores attribute packed for first 'double' element of a struct

2005-07-26 Thread dje at watson dot ibm dot com
--- Additional Comments From dje at watson dot ibm dot com 2005-07-26 16:58 --- Subject: Re: Darwin alignment ignores attribute packed for first 'double' element of a struct If Chris and Apple want to change the behavior for Darwin, be my guest. David --

[Bug target/23071] Darwin alignment ignores attribute packed for first 'double' element of a struct

2005-07-26 Thread dje at gcc dot gnu dot org
--- Additional Comments From dje at gcc dot gnu dot org 2005-07-26 17:02 --- reopen -- What|Removed |Added Status|RESOLVED|UNCONFIRMED

[Bug target/23071] Darwin alignment ignores attribute packed for first 'double' element of a struct

2005-07-26 Thread dje at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|dje at watson dot ibm dot |unassigned at gcc dot gnu |com |dot org

[Bug tree-optimization/23082] [4.1 Regression] internal compiler error: tree check: expected ssa_name, have var_decl in verify_ssa, at tree-ssa.c:746

2005-07-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 17:03 --- Confirmed, this worked on the 18th. -- What|Removed |Added Status|UNCONFIRMED

[Bug tree-optimization/22504] [4.1 Regression] benchmark - galgel fails at runtime with miscompare output

2005-07-26 Thread uttamp at us dot ibm dot com
--- Additional Comments From uttamp at us dot ibm dot com 2005-07-26 17:27 --- Steven's patch has fixed the galgel failure. I've verified it on Powerpc. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22504

[Bug target/23067] Incorrect struct layout on darwin

2005-07-26 Thread sabre at nondot dot org
--- Additional Comments From sabre at nondot dot org 2005-07-26 17:35 --- Potential patch: http://gcc.gnu.org/ml/gcc-patches/2005-07/msg01732.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23067

[Bug tree-optimization/23083] New: internal compiler error: Segmentation fault

2005-07-26 Thread p dot van-hoof at qub dot ac dot uk
The attached code causes the compiler to crash when compiled as follows: pluto gcc -c -O1 -ftree-vectorize m.c m.c: In function ‘C’: m.c:7: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See URL:http://gcc.gnu.org/bugs.html

[Bug target/23067] Incorrect struct layout on darwin

2005-07-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 17:37 --- Patch does not get the following correct: struct f { long long i; int j; }; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23067

[Bug tree-optimization/23083] internal compiler error: Segmentation fault

2005-07-26 Thread p dot van-hoof at qub dot ac dot uk
--- Additional Comments From p dot van-hoof at qub dot ac dot uk 2005-07-26 17:37 --- Created an attachment (id=9367) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9367action=view) code fragment that causes the crash -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23083

  1   2   >