[Bug ada/29015] Ada 2005 observer pattern with mutually dependent packages and containers produces compiler error

2006-09-14 Thread ebotcazou at gcc dot gnu dot org
-- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added Severity|blocker |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29015

[Bug ada/25844] [4.1/4.2 regression] ICE on overloaded renames

2006-09-14 Thread ebotcazou at gcc dot gnu dot org
-- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added Severity|major |normal Summary|[4.1/4.2 regression] Ada ICE|[4.1/4.2

[Bug c++/28988] [4.0/4.1/4.2 Regression] g++ does not check first type name in pseudo-destructor-name

2006-09-14 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-09-14 06:38 --- (In reply to comment #2) Adding: To finish_pseudo_destructor_expr fixes this bug. This caused two regressions which I still need to look into, both are ICEs. --

[Bug c/29062] Parse error after label and variable declaration

2006-09-14 Thread tdalman at project-psi dot org
--- Comment #3 from tdalman at project-psi dot org 2006-09-14 06:40 --- Thanks for clarification. Nevertheless, your wording, Andreas, is exactly what I would have expected in the error message. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29062

[Bug bootstrap/29058] Unable to build under Irix 6.5

2006-09-14 Thread P dot Schaffnit at access dot rwth-aachen dot de
--- Comment #2 from P dot Schaffnit at access dot rwth-aachen dot de 2006-09-14 07:42 --- Hi! My PATH was indeed set wrong! (sorry about that...). It seems to work now (well, I mean it goes further...). Thanks a lot for your help! Philippe -- P dot Schaffnit at access dot

[Bug c++/29078] New: wrong alignment with pragma pack(4)

2006-09-14 Thread dsiata at poczta dot onet dot pl
Simple testcase: #include stdio.h #pragma pack(4) struct ABC { double a; int b; bool c; }; int main() { ABC A; ABC B; int C; ABC D; printf(A - %p; B - %p; C - %p; D - %p\n, A, B, C, D); return 0; } compiled with: gcc test.cpp -lstdc++ Variable D is aligned on 4 bytes

[Bug middle-end/29078] wrong alignment with pragma pack(4)

2006-09-14 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-14 08:05 --- #pragma pack(4) Variable D is aligned on 4 bytes and should be 8. No you said to align it to 4 bytes by that pack statement. This is not a bug. Why do you think otherwise? -- pinskia at gcc dot gnu dot org

[Bug middle-end/29078] wrong alignment with pragma pack(4)

2006-09-14 Thread dsiata at poczta dot onet dot pl
--- Comment #2 from dsiata at poczta dot onet dot pl 2006-09-14 08:14 --- Subject: Re: wrong alignment with pragma pack(4) U¿ytkownik pinskia at gcc dot gnu dot org [EMAIL PROTECTED] napisa³: --- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-14 08:05 --- #pragma

[Bug middle-end/29078] wrong alignment with pragma pack(4)

2006-09-14 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-09-14 08:19 --- (In reply to comment #2) Because double have to be aligned on 8 on sparc or bus error occurs. Note that first member of the structure is double. So now I'm not able to assign any value to D.a. Wrong, wrong,

[Bug c/29079] New: ICE during bootstrap when using HP-cc and -O2/-O3, works with -O0/-O1

2006-09-14 Thread michael dot haubenwallner at salomon dot at
When using HP ANSI C compiler with CFLAGS (and CXXFLAGS) set to -O2 or -O3 for bootstrap, xgcc does ICE during first compilation of gcc/libgcov.c. This does work when CFLAGS/CXXFLAGS unset, or set to -O0 or -O1 (thus severity minor). Works for gcc-3.4.5. Errormessage is: ./xgcc -B./

[Bug c/29079] ICE during bootstrap when using HP-cc and -O2/-O3, works with -O0/-O1

2006-09-14 Thread michael dot haubenwallner at salomon dot at
--- Comment #1 from michael dot haubenwallner at salomon dot at 2006-09-14 08:27 --- Created an attachment (id=12264) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12264action=view) tar.bz2 containing logfiles for ICE using HP 'cc -O2' configure.out: Output of 'configure'

[Bug rtl-optimization/28096] fdlibm/strtod.c miscompiled at -O2

2006-09-14 Thread aph at gcc dot gnu dot org
--- Comment #15 from aph at gcc dot gnu dot org 2006-09-14 08:27 --- I don't think this bug has anything to do with excess precision. Valgrind shows that, when compiled at -O2, we are reading from uninitialized memory. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28096

[Bug c/29079] ICE during bootstrap when using HP-cc and -O2/-O3, works with -O0/-O1

2006-09-14 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-09-14 08:30 --- This is why bootstrap exists in the first place. You should report this bug to HP and not us as we cannot fix HP's compiler. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug fortran/29060] spread causes ICE in gfc_trans_array_constructor

2006-09-14 Thread paul dot richard dot thomas at cea dot fr
--- Comment #2 from paul dot richard dot thomas at cea dot fr 2006-09-14 08:45 --- Created an attachment (id=12265) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12265action=view) Patch to provide the shape of the SPREAD intrinsic + testcase (In reply to comment #1) Yes, it

[Bug middle-end/29078] wrong alignment with pragma pack(4)

2006-09-14 Thread dsiata at poczta dot onet dot pl
--- Comment #4 from dsiata at poczta dot onet dot pl 2006-09-14 08:57 --- (In reply to comment #3) OK. Now I see it's new feature in 4.0 or 4.1 series. I have GPF in similar code but for now I cannot reproduce it on simple case... Thank you. Now I know to not use pack(4) :-) --

[Bug fortran/29067] Internal Error: gfc_resolve_expr(): Bad expression type

2006-09-14 Thread mathieu dot courtois at free dot fr
--- Comment #4 from mathieu dot courtois at free dot fr 2006-09-14 09:05 --- Created an attachment (id=12266) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12266action=view) work around With some *1 added, compilation pass !? --

[Bug fortran/29067] Internal Error: gfc_resolve_expr(): Bad expression type

2006-09-14 Thread mathieu dot courtois at free dot fr
--- Comment #5 from mathieu dot courtois at free dot fr 2006-09-14 09:08 --- I try as soon as possible. Thanks for your help. This subroutine is one of an open-source project which contains about 1.000.000 lines of fortran : http://www.code-aster.org. --

[Bug fortran/28817] [gfortran] problems with -Wunused

2006-09-14 Thread paul dot richard dot thomas at cea dot fr
--- Comment #1 from paul dot richard dot thomas at cea dot fr 2006-09-14 09:09 --- This is most likely related to (or identical with) PR21918. Martin, that is spot on. In fact, Tobi's patch works fine; albeit a bit more verbosely. Also, the locii need to be indirectly referenced,

[Bug bootstrap/15212] [4.0/4.1/4.2 Regression] bootstrap fails on interix3

2006-09-14 Thread mkoeppe at gmx dot de
--- Comment #22 from mkoeppe at gmx dot de 2006-09-14 10:12 --- (In reply to comment #21) Update 2 for gcc-4.2 I now successfully bootstrapped gcc-4.2-20060909, using native, i.e. ms-patched, binutils! After applying some hotfixes to interix, fixing the shell

[Bug c++/29080] New: Multiple-inheritance code triggers internal compiler error: in build_base_path, at cp/class.c:273

2006-09-14 Thread raymond at corvil dot com
Compiling a .cpp file with the following contents triggers an internal compiler error: struct Base { templateclass C void method() { } }; struct Left : public Base { }; struct Right: public Base { }; struct Join : public Left, public Right { }; voidfunction() {

[Bug middle-end/29078] wrong alignment with pragma pack(4)

2006-09-14 Thread dsiata at poczta dot onet dot pl
--- Comment #5 from dsiata at poczta dot onet dot pl 2006-09-14 10:46 --- (In reply to comment #3) And what with such example: #include stdio.h #pragma pack(4) struct ABC { double a; int b; bool c; }; void Init(double a) { a = 17.0; } int main() { ABC A; ABC

[Bug fortran/28526] 'end' is recognized as a variable incorrectly

2006-09-14 Thread tobi at gcc dot gnu dot org
--- Comment #4 from tobi at gcc dot gnu dot org 2006-09-14 10:59 --- The difference is that 'end' appears in other contexts, see e.g. the difference between these two testcases: [EMAIL PROTECTED]:~/src/pr/28526 cat t.f90 module m public function interface function module

[Bug libstdc++/29081] New: std::vector::back() does no boundscheck

2006-09-14 Thread hanwen at xs4all dot nl
I would like the following snippet to crash due to bounds checking. Instead, it prints a garbage value. #include stdio.h #include vector using std::vector; main () { vectorint x; x.push_back(5); x.pop_back(); printf (%d\n, x.back ()); } -- Summary:

[Bug libstdc++/29081] std::vector::back() does no boundscheck

2006-09-14 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2006-09-14 11:14 --- In order to catch this kind of run-time problem you want debug-mode: just recompile your code with -D_GLIBCXX_DEBUG. -- pcarlini at suse dot de changed: What|Removed |Added

[Bug target/29083] New: useless clrlwi instruction produced for 16-bit bitfield

2006-09-14 Thread bonzini at gnu dot org
This code produces this output: struct s { unsigned x : 16; }; int f(struct s *node) { int a = 0; do a++; while ((--node)-x == a); return a; } li r2,0 L2: lhzu r0,-4(r3) addi r2,r2,1 rlwinm r0,r0,0,0x cmpw cr7,r0,r2 beq+ cr7,L2

[Bug target/29083] useless clrlwi instruction produced for 16-bit bitfield

2006-09-14 Thread bonzini at gnu dot org
--- Comment #1 from bonzini at gnu dot org 2006-09-14 12:07 --- The sole difference in the IR is ;; if ((int) node-x == a) goto L0; else (void) 0; (insn 19 18 20 (set (reg:HI 125) (mem/s/j:HI (reg/v/f:SI 123 [ node ]) [2 variable.x+0 S2 A32])) -1 (nil) ;; if

[Bug target/29083] useless clrlwi instruction produced for 16-bit bitfield

2006-09-14 Thread zadeck at naturalbridge dot com
--- Comment #2 from zadeck at naturalbridge dot com 2006-09-14 12:51 --- Subject: Re: useless clrlwi instruction produced for 16-bit bitfield bonzini at gnu dot org wrote: --- Comment #1 from bonzini at gnu dot org 2006-09-14 12:07 --- The sole difference in the IR is

[Bug fortran/21061] gfortran ignores -Werror

2006-09-14 Thread patchapp at dberlin dot org
--- Comment #4 from patchapp at dberlin dot org 2006-09-14 13:00 --- Subject: Bug number pr21061 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-09/msg00551.html --

[Bug c++/29084] New: parser error, reject valid code.

2006-09-14 Thread pluto at agmk dot net
#include utility template typename T struct X { }; struct A { void f( X std::pair int, int v = X std::pair int, int () ); }; $ g++ tmp.cpp -Wall -c tmp.cpp:5: error: expected #8216;,#8217; or #8216;...#8217; before #8216;#8217; token tmp.cpp:5: error: wrong number of template

[Bug c++/29084] parser error, reject valid code.

2006-09-14 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2006-09-14 13:49 --- reduced testcase: template typename T struct X { }; template typename T, typename U struct Y { }; struct A { void f( X Y int, int v = X Y int, int () ); }; tmp.cpp:5: error: expected #8216;,#8217; or

[Bug middle-end/29078] wrong alignment with pragma pack(4)

2006-09-14 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-09-14 14:56 --- (In reply to comment #5) (In reply to comment #3) And what with such example: #include stdio.h #pragma pack(4) struct ABC { double a; int b; bool c; }; void Init(double a) { a = 17.0; }

[Bug c++/29084] parser error, reject valid code.

2006-09-14 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-09-14 14:59 --- There is a Defect report about the comma in default arguments. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29084

[Bug c++/29084] parser error, reject valid code.

2006-09-14 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-09-14 15:00 --- In fact this is a dup of bug 57 which is still SUSPENDED because the defect report has not been resolved yet. *** This bug has been marked as a duplicate of 57 *** -- pinskia at gcc dot gnu dot org changed:

[Bug c++/57] [DR 325] GCC can't parse a non-parenthesized comma in a template-id within a default argument

2006-09-14 Thread pinskia at gcc dot gnu dot org
--- Comment #31 from pinskia at gcc dot gnu dot org 2006-09-14 15:00 --- *** Bug 29084 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/29083] useless clrlwi instruction produced for 16-bit bitfield

2006-09-14 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 fortran/28526] 'end' is recognized as a variable incorrectly

2006-09-14 Thread paul dot richard dot thomas at cea dot fr
--- Comment #5 from paul dot richard dot thomas at cea dot fr 2006-09-14 15:23 --- module m public function interface function module procedure foo4 end interface contains subroutine foo4 end subroutine foo4 function foo5 foo5 = 0 end function foo5

[Bug c++/29080] [4.0/4.1/4.2 Regression] Multiple-inheritance with template method function code triggers internal compiler error: in build_base_path, at cp/class.c:273

2006-09-14 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-14 15:33 --- This is invalid code, 3.3.3 and before gave the following error: t.cc: In function `void function()': t.cc:13: error: `Base' is an ambiguous base of `Join' Which is correct. Also we don't get an ICE if we try with

[Bug pch/29085] New: Turning on precompiled header with anonymous namespaces spoils linking.

2006-09-14 Thread _vi at list dot ru
### How to create bug situation. [EMAIL PROTECTED]:~/code/test$ ls q.c stable.h w.c [EMAIL PROTECTED]:~/code/test$ cat stable.h namespace { int qwerty; } [EMAIL PROTECTED]:~/code/test$ cat q.c #include stable.h int main(){return 0;} [EMAIL PROTECTED]:~/code/test$ cat w.c #include stable.h

[Bug c++/29080] [4.0/4.1/4.2 Regression] Multiple-inheritance with template method function code triggers internal compiler error: in build_base_path, at cp/class.c:273

2006-09-14 Thread raymond at corvil dot com
--- Comment #2 from raymond at corvil dot com 2006-09-14 15:58 --- Line 13 in the sample code is invalid code but line 14 is valid (Base is an unambiguous base class of Left). Deleting line 13 leaves code that compiles cleanly with gcc-3.3.5 (i386-portbld-freebsd4.8, gcc version 3.3.5

[Bug pch/29085] Turning on precompiled header with anonymous namespaces spoils linking.

2006-09-14 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-14 16:01 --- This is a dup of bug 10591 which will be fixed with the release of 4.2.0. *** This bug has been marked as a duplicate of 10591 *** -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug c++/10591] PCH breaks anonymous namespaces

2006-09-14 Thread pinskia at gcc dot gnu dot org
--- Comment #26 from pinskia at gcc dot gnu dot org 2006-09-14 16:01 --- *** Bug 29085 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/29060] spread causes ICE in gfc_trans_array_constructor

2006-09-14 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2006-09-14 16:45 --- Have developed the above patch a tad and intend to submit tonight Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/29087] New: More than 35000 switch cases crash cc1plus

2006-09-14 Thread Denis dot Excoffier at airbus dot com
the exact version of GCC is 4.1.1 the system type is sparc-sun-solaris2.8 the options given when GCC was configured/built: --prefix=/tmp/local/unixutil/gcc-4.1.1 --with-local-prefix=/usr/local/myCompanyName (myCompanyName is not the exact wording) (also, there is a symlink

[Bug rtl-optimization/28618] The scheduler extends the lifetime of CLASS_LIKELY_SPILLED registers

2006-09-14 Thread amylaar at gcc dot gnu dot org
--- Comment #9 from amylaar at gcc dot gnu dot org 2006-09-14 17:54 --- (In reply to comment #8) There might be problems if no matching set can be found in the current basic block. I'll have to think about how to best check for this. I'm currently leaning to add a field in struct

[Bug rtl-optimization/28618] The scheduler extends the lifetime of CLASS_LIKELY_SPILLED registers

2006-09-14 Thread amylaar at gcc dot gnu dot org
--- Comment #10 from amylaar at gcc dot gnu dot org 2006-09-14 18:03 --- Created an attachment (id=12267) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12267action=view) current patch incarnation (still testing) At any rate, I must not set SCHED_GROUP_P on the first insn of a

[Bug boehm-gc/29068] [4.2 Regression] Bootstrap fails building libjava on SPARC/Solaris

2006-09-14 Thread tromey at gcc dot gnu dot org
--- Comment #6 from tromey at gcc dot gnu dot org 2006-09-14 18:06 --- Subject: Bug 29068 Author: tromey Date: Thu Sep 14 18:06:04 2006 New Revision: 116948 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=116948 Log: libjava PR boehm-gc/29068: * boehm.cc

[Bug boehm-gc/29068] [4.2 Regression] Bootstrap fails building libjava on SPARC/Solaris

2006-09-14 Thread tromey at gcc dot gnu dot org
--- Comment #7 from tromey at gcc dot gnu dot org 2006-09-14 18:07 --- Fix checked din. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/28015] Nonspecific error messages

2006-09-14 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-09-14 18:36 --- No feedback in 3 months. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/28526] 'end' is recognized as a variable incorrectly

2006-09-14 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2006-09-14 20:05 --- Iguchi-san and Tobi, This has proven to be an absorbing bug and is indicative of a rather serious malaise in the gfortran parser. As I surmised in the previous comment, it is the assignments that are the culprits.

[Bug c++/29089] New: Words substituted for %s in a sentence can not be translated

2006-09-14 Thread goeran at uddeborg dot se
In gcc/cp/typeck.c there are these messages: pedwarn (ISO C++ forbids %sing an enum, (code == PREINCREMENT_EXPR || code == POSTINCREMENT_EXPR) ? increment : decrement); error (cannot %s a pointer to incomplete type %qT, ((code == PREINCREMENT_EXPR || code ==

[Bug c++/29089] Words substituted for %s in a sentence can not be translated

2006-09-14 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-14 20:40 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/26504] [4.1/4.2 Regression] compute_frame_pointer_to_cfa_displacement error for avr target with --with-dwarf2

2006-09-14 Thread aesok at gcc dot gnu dot org
--- Comment #14 from aesok at gcc dot gnu dot org 2006-09-14 21:11 --- Subject: Bug 26504 Author: aesok Date: Thu Sep 14 21:11:33 2006 New Revision: 116950 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=116950 Log: PR target/26504 * config/avr/avr.h

[Bug middle-end/28884] [4.2 Regression] TARGET_FUNCTION_VALUE not documented

2006-09-14 Thread kazu at gcc dot gnu dot org
--- Comment #3 from kazu at gcc dot gnu dot org 2006-09-14 21:15 --- Subject: Bug 28884 Author: kazu Date: Thu Sep 14 21:15:12 2006 New Revision: 116951 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=116951 Log: PR middle-end/28884. * doc/tm.texi

[Bug middle-end/28884] [4.2 Regression] TARGET_FUNCTION_VALUE not documented

2006-09-14 Thread kazu at gcc dot gnu dot org
--- Comment #4 from kazu at gcc dot gnu dot org 2006-09-14 21:15 --- Just checked in a patch. -- kazu at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/26504] [4.1/4.2 Regression] compute_frame_pointer_to_cfa_displacement error for avr target with --with-dwarf2

2006-09-14 Thread aesok at gcc dot gnu dot org
--- Comment #15 from aesok at gcc dot gnu dot org 2006-09-14 21:19 --- Subject: Bug 26504 Author: aesok Date: Thu Sep 14 21:19:10 2006 New Revision: 116952 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=116952 Log: PR target/26504 * config/avr/avr.h

[Bug target/26504] [4.1/4.2 Regression] compute_frame_pointer_to_cfa_displacement error for avr target with --with-dwarf2

2006-09-14 Thread aesok at gcc dot gnu dot org
--- Comment #16 from aesok at gcc dot gnu dot org 2006-09-14 21:39 --- Change Status to FIXED. -- aesok at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/28618] The scheduler extends the lifetime of CLASS_LIKELY_SPILLED registers

2006-09-14 Thread amylaar at gcc dot gnu dot org
--- Comment #11 from amylaar at gcc dot gnu dot org 2006-09-14 21:43 --- (In reply to comment #10) Created an attachment (id=12267) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12267action=view) [edit] current patch incarnation (still testing) At any rate, I must not set

[Bug target/28574] [4.2 regression] switch statement points to unreferenced label at -O2

2006-09-14 Thread sje at cup dot hp dot com
--- Comment #9 from sje at cup dot hp dot com 2006-09-14 22:37 --- I don't see any way to delete a block without deleting the attached jumptable so the only fix I can see is to not delete the block in the first place. The block is being deleted on IA64 because it is a 'then block' on

[Bug c/29090] New: gcc.dg-struct-layout-1 failures on Darwin PPC at -m64

2006-09-14 Thread howarth at nitro dot med dot uc dot edu
I see a number of failures in the gcc.dg-struct-layout-1 testcases when executed after being compiled at -m64. The exact failures are listed at... http://gcc.gnu.org/ml/gcc/2006-09/msg00211.html I have modified gcc.dg/compat/struct-layout-1_test.h to just contain... T(94,struct atal16{}a;,)

[Bug c/29090] gcc.dg-struct-layout-1 failures on Darwin PPC at -m64

2006-09-14 Thread howarth at nitro dot med dot uc dot edu
--- Comment #1 from howarth at nitro dot med dot uc dot edu 2006-09-14 22:54 --- Created an attachment (id=12268) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12268action=view) preprocessed file for struct-layout-1_x.c generated on Darwin PPC at -m64 --

[Bug c/29090] gcc.dg-struct-layout-1 failures on Darwin PPC at -m64

2006-09-14 Thread howarth at nitro dot med dot uc dot edu
--- Comment #2 from howarth at nitro dot med dot uc dot edu 2006-09-14 22:55 --- Created an attachment (id=12269) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12269action=view) assembly file for struct-layout-1_x.c generated on Darwin PPC at -m64 --

[Bug c/29090] gcc.dg-struct-layout-1 failures on Darwin PPC at -m64

2006-09-14 Thread howarth at nitro dot med dot uc dot edu
--- Comment #3 from howarth at nitro dot med dot uc dot edu 2006-09-14 22:56 --- Created an attachment (id=12270) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12270action=view) preprocessed file for struct-layout-1_y.c generated on Darwin PPC at -m64 --

[Bug c/29090] gcc.dg-struct-layout-1 failures on Darwin PPC at -m64

2006-09-14 Thread howarth at nitro dot med dot uc dot edu
--- Comment #4 from howarth at nitro dot med dot uc dot edu 2006-09-14 22:56 --- Created an attachment (id=12271) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12271action=view) assembly file for struct-layout-1_y.c generated on Darwin PPC at -m64 --

[Bug c/29090] gcc.dg-struct-layout-1 failures on Darwin PPC at -m64

2006-09-14 Thread howarth at nitro dot med dot uc dot edu
--- Comment #5 from howarth at nitro dot med dot uc dot edu 2006-09-14 22:57 --- Created an attachment (id=12272) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12272action=view) preprocessed file for struct-layout-1_main.c generated on Darwin PPC at -m64 --

[Bug c/29090] gcc.dg-struct-layout-1 failures on Darwin PPC at -m64

2006-09-14 Thread howarth at nitro dot med dot uc dot edu
--- Comment #6 from howarth at nitro dot med dot uc dot edu 2006-09-14 22:58 --- Created an attachment (id=12273) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12273action=view) assembly file for struct-layout-1_main.c generated on Darwin PPC at -m64 --

[Bug c/29091] New: vector constant not fully outputed

2006-09-14 Thread pinskia at gcc dot gnu dot org
Testcase: #include stdlib.h __attribute__((vector_size(16))) int a = {1, 2}; int main(void) { int *b = (int*)a; if (b[0] != 1) abort (); if (b[1] != 2) abort (); if (b[2] != 0) abort (); if (b[3] != 0) abort (); return 0; } The VECTOR_CST has only two elements.

[Bug c/29092] New: vector int a = (vector int) { 1,1,2,2} is rejected as non constant

2006-09-14 Thread pinskia at gcc dot gnu dot org
Testcase: #define vector __attribute__((vector_size(16))) vector int a = (vector int){1, 2, 0, 0}; If I used a typedef instead, it works. -- Summary: vector int a = (vector int) { 1,1,2,2} is rejected as non constant Product: gcc Version:

[Bug c/29090] gcc.dg-struct-layout-1 failures on Darwin PPC at -m64

2006-09-14 Thread howarth at nitro dot med dot uc dot edu
--- Comment #7 from howarth at nitro dot med dot uc dot edu 2006-09-14 23:03 --- I forget to mention the other build command of... sw/src/fink.build/gcc4-4.1.999-20060911/darwin_objdir/gcc/xgcc -B/sw/src/fink.build/gcc4-4.1.999-20060911/darwin_objdir/gcc/ -w -DSKIP_DECIMAL_FLOAT

[Bug c/29092] vector int a = (vector int) { 1,1,2,2} is rejected as non constant

2006-09-14 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-14 23:05 --- (In reply to comment #0) If I used a typedef instead, it works. In that the following works: typedef vector int vec_int; vec_int a = (vec_int){1, 2, 0, 0}; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29092

[Bug c/29091] vector constant not fully outputed

2006-09-14 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-14 23:07 --- The C++ front-end produces: a: .long 1 .long 2 .zero 8 While the C front-end does not have .zero there. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29091

[Bug target/29090] gcc.dg-struct-layout-1 failures on Darwin PPC at -m64

2006-09-14 Thread howarth at nitro dot med dot uc dot edu
--- Comment #8 from howarth at nitro dot med dot uc dot edu 2006-09-14 23:10 --- FYI, as a stab in the dark, I tried re-executing each of the build commands above with -fno-common and that doesn't eliminate the abort on the test case. --

[Bug middle-end/28493] [4.1 Regression] Wrong address of stack object used for destructor call on PPC

2006-09-14 Thread jason at gcc dot gnu dot org
--- Comment #21 from jason at gcc dot gnu dot org 2006-09-14 23:13 --- Subject: Bug 28493 Author: jason Date: Thu Sep 14 23:13:30 2006 New Revision: 116955 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=116955 Log: PR middle-end/28493 * builtins.c

[Bug boehm-gc/28760] GC_PTHREAD_CREATE_NAME segfaults in statically linked binaries

2006-09-14 Thread tromey at gcc dot gnu dot org
--- Comment #6 from tromey at gcc dot gnu dot org 2006-09-14 23:19 --- I think the PR 13212 fix probably fixed this on svn trunk. Can one of you try that? -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug debug/29093] New: gcc.dg/debug/dwarf2/dwarf-file1.c fails on GNU/Linux

2006-09-14 Thread pinskia at gcc dot gnu dot org
The testcase gcc.dg/debug/dwarf2/dwarf-file1.c fails on i686 (and others) GNU/Linux: http://gcc.gnu.org/ml/gcc-testresults/2006-09/msg00664.html http://gcc.gnu.org/ml/gcc-testresults/2006-09/msg00663.html http://gcc.gnu.org/ml/gcc-testresults/2006-09/msg00662.html

[Bug testsuite/29093] gcc.dg/debug/dwarf2/dwarf-file1.c fails on targets that have .loc

2006-09-14 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-14 23:57 --- In fact it fails on all targets that have DWARF2_ASM_LINE_DEBUG_INFO as true. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/29030] gcc.dg/array-9.c produces internal compiler error on Darwin at -m64

2006-09-14 Thread howarth at nitro dot med dot uc dot edu
--- Comment #9 from howarth at nitro dot med dot uc dot edu 2006-09-15 01:32 --- Andrew, To answer my own question, the following is from tonight's gcc make check using the original version of your patch which only impacted the rs6000_darwin64_record_arg_advance_recurse...

[Bug c/29094] New: Inline definition vs builtin function calls

2006-09-14 Thread dannysmith at users dot sourceforge dot net
This testcase: /* f.c */ extern double exp (double); extern float strtof(const char*, char**); inline float expf (float x) {return (float) exp (x);} int main (int argc, char** argv) { float f; if (argc 1) { f = strtof (argv[1], (void*)0); printf (%g\n, expf(f)); } return

[Bug target/29030] gcc.dg/array-9.c produces internal compiler error on Darwin at -m64

2006-09-14 Thread howarth at nitro dot med dot uc dot edu
--- Comment #10 from howarth at nitro dot med dot uc dot edu 2006-09-15 02:40 --- Created an attachment (id=12274) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12274action=view) Patch to fix PR29030 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29030

[Bug fortran/28974] Extremely slow compilation of enumerated DATA statements.

2006-09-14 Thread bdavis at gcc dot gnu dot org
-- bdavis at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |bdavis at gcc dot gnu dot |dot org

[Bug fortran/29053] Consecutive STREAM I/O file positions mixed up

2006-09-14 Thread patchapp at dberlin dot org
--- Comment #4 from patchapp at dberlin dot org 2006-09-15 03:00 --- Subject: Bug number PR29053 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-09/msg00571.html --

[Bug fortran/28974] Extremely slow compilation of enumerated DATA statements.

2006-09-14 Thread bdavis at gcc dot gnu dot org
--- Comment #2 from bdavis at gcc dot gnu dot org 2006-09-15 03:01 --- This problem is very intriguing. For a first attempt I plan on adding a splay tree to constructors that need 'by element' access. This may allow this problem to be taken care of without changing every routine that

[Bug target/29094] Inline definition vs builtin function calls

2006-09-14 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-15 03:21 --- Is TARGET_C99_FUNCTIONS set for the mingw32 target? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/29094] Inline definition vs builtin function calls

2006-09-14 Thread dannysmith at users dot sourceforge dot net
--- Comment #2 from dannysmith at users dot sourceforge dot net 2006-09-15 03:34 --- (In reply to comment #1) Is TARGET_C99_FUNCTIONS set for the mingw32 target? It is set in my local development tree, and I was planning to set it in mingw32.h config file, but I may be a bit

[Bug target/29094] Inline definition vs builtin function calls

2006-09-14 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-09-15 03:42 --- (In reply to comment #2) It is set in my local development tree, and I was planning to set it in mingw32.h config file, but I may be a bit premature :( If you are defining expf with TARGET_C99_FUNCTIONS set to 1,

[Bug target/29094] Inline definition vs builtin function calls

2006-09-14 Thread dannysmith at users dot sourceforge dot net
--- Comment #4 from dannysmith at users dot sourceforge dot net 2006-09-15 03:51 --- (In reply to comment #3) If you are defining expf with TARGET_C99_FUNCTIONS set to 1, then you have to use -fno-builtin-exp. So just to make sure this is with TARGET_C99_FUNCTIONS set to 1? Yes.

[Bug target/29094] Inline definition vs builtin function calls

2006-09-14 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-09-15 04:06 --- This is not a bug in GCC. There is no benifit for the user if TARGET_C99_FUNCTIONS is defined and the C99 math functions are just wrappers around the C89 functions. Really TARGET_C99_FUNCTIONS is only used for

[Bug middle-end/28493] [4.1 Regression] Wrong address of stack object used for destructor call on PPC

2006-09-14 Thread pinskia at gcc dot gnu dot org
--- Comment #22 from pinskia at gcc dot gnu dot org 2006-09-15 04:37 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/29002] [4.0/4.1/4.2 regression] ICE on array of ptr-to-member or struct containing ptr-to-member of unknown size

2006-09-14 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-09-15 04:50 --- Subject: Bug 29002 Author: pinskia Date: Fri Sep 15 04:50:04 2006 New Revision: 116962 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=116962 Log: 2006-09-14 Andrew Pinski [EMAIL PROTECTED] PR

[Bug c++/29002] [4.0/4.1 regression] ICE on array of ptr-to-member or struct containing ptr-to-member of unknown size

2006-09-14 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-09-15 04:50 --- Fixed at least on the mainline. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/29092] [4.0/4.1/4.2 Regression] vector int a = (vector int) { 1,1,2,2} is rejected as non constant

2006-09-14 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-09-15 05:31 --- Janis could you do a regression hunt on this bug? Thanks. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/29030] gcc.dg/array-9.c produces internal compiler error on Darwin at -m64

2006-09-14 Thread howarth at nitro dot med dot uc dot edu
: unix/-m32 unix/-m64 Running target unix/-m32 Running /sw/src/fink.build/gcc4-4.1.999-20060914/gcc-4.2-20060914/gcc/testsuite/gcc.dg/dg.exp ... PASS: gcc.dg/array-9.c (test for errors, line 7) PASS: gcc.dg/array-9.c (test for excess errors) === gcc Summary for unix/-m32

[Bug c/29091] [4.0/4.1/4.2 Regression] vector constant not fully outputed

2006-09-14 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Known to fail||3.3.3 3.4.0 4.0.0 4.1.0 |

[Bug c/29091] [4.0/4.1/4.2 Regression] vector constant not fully outputed

2006-09-14 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-09-15 05:35 --- 3.2.3 on x86 with -msse (since we did not have generic vectors until 3.3) works. And 3.3.3 fails (even with -msse). Note a better testcase is something like: #include stdlib.h __attribute__((vector_size(16))) int a

[Bug target/29090] gcc.dg-struct-layout-1 failures on Darwin PPC at -m64

2006-09-14 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2006-09-15 05:40 --- This is most likely an ABI issue where one side of the function call thinks one thing and the other side thinks another about placement of the arguments. This shows up a lot in the darwin back-end even in 32bit