Re: Merging calls to `abort'

2005-03-15 Thread Clifford Wolf
Hi, On Sun, Mar 13, 2005 at 03:01:00PM +0200, Kai Henningsen wrote: Most of the rest of the error handling in this project is concerned with the absence of the feature I loved in the IBM PL/I compilers under the name SNAP; - putting out a stack backtrace (the usual idiom for abort() was

Re: Merging calls to `abort'

2005-03-15 Thread Richard Earnshaw
On Tue, 2005-03-15 at 09:59, Clifford Wolf wrote: Hi, On Sun, Mar 13, 2005 at 03:01:00PM +0200, Kai Henningsen wrote: Most of the rest of the error handling in this project is concerned with the absence of the feature I loved in the IBM PL/I compilers under the name SNAP; - putting

Re: Merging calls to `abort'

2005-03-15 Thread Clifford Wolf
Hi, On Fri, Mar 11, 2005 at 03:28:19PM -0500, Richard Stallman wrote: Currently, I believe, GCC combines various calls to abort in a single function, because it knows that none of them returns. afaics it is more generic. It merges them because it knows that it doesn't make any difference. This

RFC: always-inline vs unit-at-a-time

2005-03-15 Thread Dale Johannesen
Consider the following: static inline int a() __attribute((always_inline)); static inline int b() __attribute((always_inline)); static inline int b() { a(); } static inline int a() { } int c() { b(); } This compiles fine at -O2. At -O0 we get the baffling error sorry, unimplemented: inlining

Re: Merging calls to `abort'

2005-03-15 Thread Richard Kenner
However, the idea that users could search for previous bug reports is new to me. That might be an additional reason for using fancy_abort. It's not just users, but first level tech-support. There, it can help in suggesting a workaround to the user and knowing which file the abort is in

Re: RFC: always-inline vs unit-at-a-time

2005-03-15 Thread Zack Weinberg
Dale Johannesen [EMAIL PROTECTED] writes: It seems undesirable for -O options to affect which programs will compile. Agreed. Perhaps we should run the inliner at -O0 if we see always_inline attributes, just for those functions? We do; the problem is that it makes only 1 pass, so tries to

Re: Root Node of AST

2005-03-15 Thread James E Wilson
Rajesh Babu wrote: I am working with gcc-3.3.3, and I want to insert my module after construction of AST and before RTL generation. gcc-3.3 is not interesting for work like this. This stuff has already been obsoleted in current gcc sources. But if you insist on using out dated sources, look

Re: PR 19893 array_ref bug

2005-03-15 Thread Steve Ellcey
This program should generate an error; it's illogical. If the alignment of the element is greater than the element size, then arrays of such a type should be disallowed. Otherwise, stuff in either the compiler or the program itself could make the justified assumption that things of that

Libstdc++-v3 vs darwin vs weak support

2005-03-15 Thread Paolo Carlini
Hi, in March 2004 we added to many libstdc++-v3 testcases lines similar to #if !__GXX_WEAK__ _MT_ALLOCATOR_H // Explicitly instantiate for systems with no COMDAT or weak support. template class __gnu_cxx::__mt_allocstd::_List_nodeint ; #endif AFAIK, only in order to avoid spurious failures on

Re: PR 19893 array_ref bug

2005-03-15 Thread Mark Mitchell
Steve Ellcey wrote: Most of the gcc.dg/vect/* tests contain something like: typedef float afloat __attribute__ ((__aligned__(16))); afloat a[N]; It looks like what is really intended here is to apply the alignment to the array type. The point is that the entire array has to be

Re: Libstdc++-v3 vs darwin vs weak support

2005-03-15 Thread Geoffrey Keating
Paolo Carlini [EMAIL PROTECTED] writes: Hi, in March 2004 we added to many libstdc++-v3 testcases lines similar to #if !__GXX_WEAK__ _MT_ALLOCATOR_H // Explicitly instantiate for systems with no COMDAT or weak support. template class __gnu_cxx::__mt_allocstd::_List_nodeint ; #endif

Re: Libstdc++-v3 vs darwin vs weak support

2005-03-15 Thread Paolo Carlini
Geoffrey Keating wrote: Darwin now has weak/comdat support, so it doesn't need or use this any more. Ah, great, I suspected that... However, AIX does need them, I think. Humpf, forgot AIX! David Edelsohn?!? Thanks, Paolo.

Re: PR 19893 array_ref bug

2005-03-15 Thread Steve Ellcey
The gcc.dg/compat/struct-layout problems seem to stem from struct-layout-1_generate.c. In generate_fields() it generates random types, some of these are arrays of some base type. Then based on another random number we might add an attribute like alignment. There is no check to ensure

Re: PR 19893 array_ref bug

2005-03-15 Thread Mark Mitchell
Joe Buck wrote: On Tue, Mar 15, 2005 at 04:42:03PM -0800, Steve Ellcey wrote: The simplest solution would probably be to ignore __aligned__ attributes completely when we have an array. Or to do the change you suggested for the vector tests and have the attribute attached to the array and not the

Re: Libstdc++-v3 vs darwin vs weak support

2005-03-15 Thread Andrew Pinski
On Mar 15, 2005, at 7:35 PM, Paolo Carlini wrote: Geoffrey Keating wrote: Darwin now has weak/comdat support, so it doesn't need or use this any more. Ah, great, I suspected that... However, AIX does need them, I think. Humpf, forgot AIX! David Edelsohn?!? There are other targets other than aix

Re: Libstdc++-v3 vs darwin vs weak support

2005-03-15 Thread Paolo Carlini
Andrew Pinski wrote: There are other targets other than aix that still need them too. Almost all non elf targets (and there might be some elf targets too). AIX 5.1 supports weak symbols (IIRC) and should work without the hack but older AIX still should be supported. Thanks Andrew for the info.

Re: Merging calls to `abort'

2005-03-15 Thread Miles Bader
Dave Korn [EMAIL PROTECTED] writes: I very strongly feel that this optimisation should be placed under user control rather than just disabled, and that it should remain enabled by default at -Os; but I wouldn't go to the ropes over whether or not it's included in -Os as long as there's a -f

Re: Libstdc++-v3 vs darwin vs weak support

2005-03-15 Thread David Edelsohn
Paolo Carlini writes: However, AIX does need them, I think. Paolo Humpf, forgot AIX! David Edelsohn?!? AIX probably needs this support indefinitely. If I remember correctly, the new allocator does not work on AIX due to ELF-like assumptions about the order of global constructors.

Re: Hand-written rec-descent parser of GCC-4.1 is WRONG!!!.

2005-03-15 Thread Richard Kenner
The best option is a clean grammar in Yacc/Bison!. GCC had such parsers for over a decade, and yet they are being replaced. Bison remains a good solution in many cases, especially for languages specifically designed to be easy to parse with an LALR parser (that is, languages

Re: Hand-written rec-descent parser of GCC-4.1 is WRONG!!!

2005-03-15 Thread jc-nospam
| http://gcc.gnu.org/gcc-4.1/changes.html | | New Languages and Language specific improvements | C and Objective-C | | * The old Bison-based C and Objective-C parser has been replaced |by a new, faster hand-written recursive-descent parser. | | Hahahahaha, WRONG!! |

Re: Hand-written rec-descent parser of GCC-4.1 is WRONG!!!

2005-03-15 Thread Joe Buck
On Wed, Mar 16, 2005 at 03:22:26AM +0100, [EMAIL PROTECTED] wrote: Do you demonstrate that C++ is not LALR(1)? I'll leave that to you as a homework assignment. Actually, C++ is not LALR(N) for any N. Get out the C++ grammar and figure it out, it's an easy proof. Come back when you have proved

Re: Libstdc++-v3 vs darwin vs weak support

2005-03-15 Thread Benjamin Kosnik
, for a couple of reasons. One, I don't know if they are necessary when using mt_alloc circa 20050315. I'm thinking that they are not, just due to design changes. Two, mt_alloc is not the default allocator for darwin, or for other platforms that are hostile to weak symbols. For full details on Darwin and weak

Re: Hand-written rec-descent parser of GCC-4.1 is WRONG!!!

2005-03-15 Thread jc-nospam
| Do you demonstrate that C++ is not LALR(1)? | | I'll leave that to you as a homework assignment. Actually, C++ is not | LALR(N) for any N. Get out the C++ grammar and figure it out, it's an | easy proof. Come back when you have proved it to your own satisfaction, | and please refrain from

RTL?

2005-03-15 Thread
i am studing RTL that is gcc front-end insn RTX has seven elements ex) (insn id prev next pattern code log_links reg_notes) (insn 12 10 14 (set (reg:QI 12 A0) (reg:QI 1 R1) -1 (nil) (nil)) where i get the impormation about code, log_links,

Re: Hand-written rec-descent parser of GCC-4.1 is WRONG!!!

2005-03-15 Thread Daniel Berlin
On Wed, 2005-03-16 at 04:56 +0100, [EMAIL PROTECTED] | | Bison remains a good solution in many cases, especially for languages | | specifically designed to be easy to parse with an LALR parser (that is, | | languages that don't look like C). | | Why don't we develop a LR(k) / k small

Re: Hand-written rec-descent parser of GCC-4.1 is WRONG!!!

2005-03-15 Thread Daniel Berlin
On Tue, 2005-03-15 at 23:41 -0500, Daniel Berlin wrote: On Wed, 2005-03-16 at 04:56 +0100, [EMAIL PROTECTED] | | Bison remains a good solution in many cases, especially for languages | | specifically designed to be easy to parse with an LALR parser (that is, | | languages that don't

Re: Hand-written rec-descent parser of GCC-4.1 is WRONG!!!

2005-03-15 Thread Zack Weinberg
[EMAIL PROTECTED] writes: | Do you demonstrate that C++ is not LALR(1)? | | I'll leave that to you as a homework assignment. Actually, C++ is not | LALR(N) for any N. Nor is it LR(N) nor LL(N). | Get out the C++ grammar and figure it out, it's an easy proof. | Come back when you have

Re: Hand-written rec-descent parser of GCC-4.1 is WRONG!!!

2005-03-15 Thread jc-nospam
| It's possible that C++ doesn't require unbounded lookahead | | No, it's not. | In fact, if you'd read the language grammar definition, you'd discover | you could pretty produce the anti-program with some work. | That given any k, it produces a C++ program that cannot be parsed with | an LR(k)

Re: Hand-written rec-descent parser of GCC-4.1 is WRONG!!!

2005-03-15 Thread jc-nospam
| | Do you demonstrate that C++ is not LALR(1)? | | | | I'll leave that to you as a homework assignment. Actually, C++ is not | | LALR(N) for any N. | | Nor is it LR(N) nor LL(N). | | | Get out the C++ grammar and figure it out, it's an easy proof. | | Come back when you have proved it

Re: Hand-written rec-descent parser of GCC-4.1 is WRONG!!!

2005-03-15 Thread jc-nospam
| | Do you demonstrate that C++ is not LALR(1)? | | | | I'll leave that to you as a homework assignment. Actually, C++ is not | | LALR(N) for any N. | | Nor is it LR(N) nor LL(N). | | | Get out the C++ grammar and figure it out, it's an easy proof. | | Come back when you have proved it

reload question

2005-03-15 Thread Miles Bader
Hi, I'm writing a new gcc port, and having problems making reload work. Say I've got a mov instruction that only works via an accumulator A, and a two-operand add instruction. r regclass includes regs A,X,Y, and a regclass only includes reg A. So mov has constraints like: 0 = g,a 1 = a,gi

Re: [Ada] Can't build gcc cvs trunk 20050315 on sparc-linux: a-except.adb: unhandled expression in get_expr_operands():

2005-03-15 Thread Eric Botcazou
stage1/xgcc -Bstage1/ -B/usr/local/sparc-linux/bin/ -c -g -O2 -gnatpg -gnata -g -O1 -fno-inline \ -I- -I. -Iada -I/usr/local/src/trunk/gcc/gcc/ada /usr/local/src/trunk/gcc/gcc/ada/a-except.adb -o ada/a-except.o unhandled expression in get_expr_operands(): error_mark 0x7018fda0 This is

[Bug target/20166] Bootstrap failure due to lack of fixinclude of pthread problem

2005-03-15 Thread rguenth at gcc dot gnu dot org
--- Additional Comments From rguenth at gcc dot gnu dot org 2005-03-15 08:15 --- Patch here: http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01377.html -- What|Removed |Added

[Bug middle-end/20479] New: Instruction scheduler falsely reorders insns (ia64)

2005-03-15 Thread grigory dot zagorodnev at intel dot com
Test listed below fails when compiled with -02 optimization at IA64. It appears that instruction scheduler misses dependency between two assignments in the 'set_code' routine and falsely reorders them. $ cat test.c typedef struct s_t { short a; short b; } *ps; void set_code (ps obj, short

[Bug middle-end/20479] Instruction scheduler falsely reorders insns (ia64)

2005-03-15 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-15 08:28 --- You are violating C89/C99/C++ aliasing rules so this is undefined. -- What|Removed |Added

[Bug libfortran/20480] New: libfortran: formatted write, ES edit descriptor

2005-03-15 Thread anlauf at hep dot tu-darmstadt dot de
Hi, write (*,10) 0.0 10 format (ES12.3) end prints 0.000E-01 instead of 0.000E+00 as it should. Cheers, -ha -- Summary: libfortran: formatted write, ES edit descriptor Product: gcc Version: 4.1.0 Status: UNCONFIRMED

[Bug rtl-optimization/17236] inefficient code for long long multiply on x86

2005-03-15 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-03-15 10:04 --- Roger explains what else needs to be done here: http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01386.html Right now, after his patch, mainline generates this code: pushl %edi pushl %esi

[Bug rtl-optimization/17236] inefficient code for long long multiply on x86

2005-03-15 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-03-15 10:07 --- Uros did some additional comments: http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01427.html -- What|Removed |Added

[Bug rtl-optimization/19398] secondary reloads don't consider m alternatives

2005-03-15 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-03-15 10:10 --- CC'ing reload guru -- What|Removed |Added CC|

[Bug tree-optimization/20474] ICE while compiling openmotif-2.2.3 with -ftree-vectorize

2005-03-15 Thread irar at il dot ibm dot com
--- Additional Comments From irar at il dot ibm dot com 2005-03-15 11:37 --- This problem was solved in autovect branch (http://gcc.gnu.org/ml/gcc- patches/2005-03/msg00754.html). This patch will be submitted to mainline in stage 2. --

[Bug rtl-optimization/19398] secondary reloads don't consider m alternatives

2005-03-15 Thread bernds_cb1 at t-online dot de
--- Additional Comments From bernds_cb1 at t-online dot de 2005-03-15 11:44 --- Interesting problem. I was temporarily confused by rth's mention of secondary reloads; it's actually secondary memory that we allocate here. What happens is 1. Notice none of the alternatives fit as-is 2.

[Bug rtl-optimization/19398] secondary reloads don't consider m alternatives

2005-03-15 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-03-15 12:23 --- But a peephole solution would fix a single backend, whilst I assume any kind of reload fix could improve code generation with multiple backends at the same time. --

[Bug rtl-optimization/19398] secondary reloads don't consider m alternatives

2005-03-15 Thread uros at kss-loka dot si
--- Additional Comments From uros at kss-loka dot si 2005-03-15 12:34 --- (In reply to comment #6) But a peephole solution would fix a single backend, whilst I assume any kind of Also, every insn pattern that accepts memory input would need an appropriate peephole2 pattern... --

[Bug rtl-optimization/20291] combine throws away clobbers before trying to split

2005-03-15 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-15 12:39 --- Subject: Bug 20291 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-03-15 12:39:06 Modified files: gcc: ChangeLog combine.c Log message:

[Bug fortran/20481] New: RAN() should not be an intrinsic function

2005-03-15 Thread lei at il dot ibm dot com
(1) This example compiles with ibm xlf compiler, and (2) I could not find any reference to RAN intrinsic in the last draft standard. hadas:~% cat 1000d_linpack.f double precision function ran( iseed ) integer iseed(4) ran = 0.0 end program linpack_test

[Bug fortran/20481] RAN() should not be an intrinsic function

2005-03-15 Thread lei at il dot ibm dot com
-- What|Removed |Added CC||leehod at il dot ibm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20481

[Bug c++/20381] [4.0/4.1 Regression] ICE in build_ptrmemfunc, at cp/typeck.c:5702

2005-03-15 Thread martin at mpa-garching dot mpg dot de
--- Additional Comments From martin at mpa-garching dot mpg dot de 2005-03-15 13:25 --- As far as I know, this regression is only present in mainline, but not on the 4.0 branch; but the title and Known to fail line of this report say the regression is also in 4.0. Could someone with

[Bug c++/20381] [4.0/4.1 Regression] ICE in build_ptrmemfunc, at cp/typeck.c:5702

2005-03-15 Thread schwab at suse dot de
--- Additional Comments From schwab at suse dot de 2005-03-15 13:30 --- The ICE is also reproducible on the 4.0 branch. -- What|Removed |Added CC|

[Bug fortran/20482] New: Problem when overloading LEN intrinsic

2005-03-15 Thread tow21 at cam dot ac dot uk
--prefix=/home/tow/root/gcc --enable-languages=c,f95 Thread model: posix gcc version 4.1.0 20050315 (experimental) parabrisas:~/test% ~/root/gcc/bin/gfortran -c m_wxml_buffer.f90 In file m_wxml_buffer.f90:19 character(len=1), dimension(len(s)) :: s_a 1 Error

[Bug fortran/20482] Problem when overloading LEN intrinsic

2005-03-15 Thread tow21 at cam dot ac dot uk
--- Additional Comments From tow21 at cam dot ac dot uk 2005-03-15 13:46 --- Created an attachment (id=8390) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8390action=view) testcase Testcase attached. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20482

[Bug tree-optimization/20474] ICE while compiling openmotif-2.2.3 with -ftree-vectorize

2005-03-15 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-03-15 13:48 --- Confirmed. Please, could the autovect people remember to confirm bugs when they look at them? If you have troubles with Bugzilla privileges and e-mail accounts, contact me in private. Another thing:

[Bug rtl-optimization/20291] combine throws away clobbers before trying to split

2005-03-15 Thread amylaar at gcc dot gnu dot org
--- Additional Comments From amylaar at gcc dot gnu dot org 2005-03-15 14:07 --- Fixed in mainline with patch applied today. -- What|Removed |Added Status|NEW

[Bug other/17652] [meta-bug] GCC 4.1 pending patches

2005-03-15 Thread amylaar at gcc dot gnu dot org
-- Bug 17652 depends on bug 20291, which changed state. Bug 20291 Summary: combine throws away clobbers before trying to split http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20291 What|Old Value |New Value

[Bug fortran/20483] New: Not Implemented: Scalarization of non-elemental intrinsic

2005-03-15 Thread tow21 at cam dot ac dot uk
Don't know if this is related to 12840 - submitting it anyway. parabrisas:~/test% cat char.f90 subroutine add_to_buffer_escaping_markup(s) character(len=*), intent(in) :: s character(len=1), dimension(len(s)) :: s_a call add_to_buffer(transfer(s,s_a)) end subroutine

[Bug target/18668] use prescott's fisttp

2005-03-15 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-15 14:44 --- Subject: Bug 18668 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-03-15 14:44:13 Modified files: gcc: ChangeLog gcc/config/i386:

[Bug target/18668] use prescott's fisttp

2005-03-15 Thread uros at kss-loka dot si
--- Additional Comments From uros at kss-loka dot si 2005-03-15 14:53 --- Patch is comitted to 4.1 mainline. For the testcase in description '-O2 -march=prescott' now generates: oof: pushl %ebp movl%esp, %ebp subl$8, %esp fldl8(%ebp)

[Bug fortran/20481] RAN() should not be an intrinsic function

2005-03-15 Thread sgk at troutmask dot apl dot washington dot edu
--- Additional Comments From sgk at troutmask dot apl dot washington dot edu 2005-03-15 15:24 --- Add external ran to your program. RAN is an intrinsic procedure because it was an intrinsic procedure in g77. Or add -std=f95 to your command line. --

[Bug c++/20484] New: No proper linkage created for in class initialized static const

2005-03-15 Thread dopheide at fmf dot nl
Example: template typename T T const max1(T const a, T const b) { return a b ? b : a; } template typename T T const max2(T const a, T const b) { return a b ? b : a; } struct Test { static int const A = 1; }; int main() { #if 0 max1(Test::A, 2); // OK. #else max2(Test::A, 2); //

[Bug ada/13470] 64bits Ada bootstrap failure:xnmake etc. crash generating nmake.adb etc.

2005-03-15 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-15 15:54 --- Subject: Bug 13470 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-03-15 15:53:11 Modified files: gcc/ada: a-stunau.ads a-stunau.adb

[Bug ada/19140] ACATS c37402a segfaults at runtime

2005-03-15 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-15 16:00 --- Subject: Bug 19140 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-03-15 15:59:55 Modified files: gcc/ada: decl.c gigi.h utils.c trans.c

[Bug ada/20255] GNAT Bug Box While Compiling florist-3.15p-src

2005-03-15 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-15 16:00 --- Subject: Bug 20255 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-03-15 15:59:55 Modified files: gcc/ada: decl.c gigi.h utils.c trans.c

[Bug ada/19900] [4.0/4.1 Regression] ACATS c391002 c432002 ICE categorize_ctor_elements_1

2005-03-15 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-15 16:00 --- Subject: Bug 19900 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-03-15 15:59:55 Modified files: gcc/ada: decl.c gigi.h utils.c trans.c

[Bug ada/19408] [4.0/4.1 Regression] ACATS c391002 failure on powerpc-darwin, wrong .space

2005-03-15 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-15 16:00 --- Subject: Bug 19408 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-03-15 15:59:55 Modified files: gcc/ada: decl.c gigi.h utils.c trans.c

[Bug ada/19900] [4.0/4.1 Regression] ACATS c391002 c432002 ICE categorize_ctor_elements_1

2005-03-15 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-15 16:00 --- Subject: Bug 19900 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-03-15 15:59:55 Modified files: gcc/ada: decl.c gigi.h utils.c trans.c

[Bug ada/20344] [4.0/4.1 regression] gnat1: error: unrecognized command line option -fRTS=/tmp/rts

2005-03-15 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-15 16:03 --- Subject: Bug 20344 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-03-15 16:02:28 Modified files: gcc/ada: misc.c lang.opt Log message:

[Bug ada/20226] [4.0/4.1 Regression] Error in __gnat_install_SEH_handler breaks bootstrap

2005-03-15 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-15 16:03 --- Subject: Bug 20226 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-03-15 16:02:28 Modified files: gcc/ada: misc.c lang.opt Log message:

[Bug ada/20255] GNAT Bug Box While Compiling florist-3.15p-src

2005-03-15 Thread charlet at gcc dot gnu dot org
--- Additional Comments From charlet at gcc dot gnu dot org 2005-03-15 16:03 --- Fixed on mainline. -- What|Removed |Added Status|WAITING

[Bug fortran/20481] RAN() should not be an intrinsic function

2005-03-15 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-15 16:03 --- Actually it was not g77 intrinsic but rather an hp extension intrinsic which I had filed (PR 14993), adding what Steve recommends fixes the problem. -- What|Removed

[Bug ada/19140] ACATS c37402a segfaults at runtime

2005-03-15 Thread charlet at gcc dot gnu dot org
--- Additional Comments From charlet at gcc dot gnu dot org 2005-03-15 16:05 --- Fixed on mainline. -- What|Removed |Added Status|ASSIGNED

[Bug ada/19408] [4.0/4.1 Regression] ACATS c391002 failure on powerpc-darwin, wrong .space

2005-03-15 Thread charlet at gcc dot gnu dot org
--- Additional Comments From charlet at gcc dot gnu dot org 2005-03-15 16:05 --- Fixed on mainline. -- What|Removed |Added Status|NEW

[Bug ada/19900] [4.0/4.1 Regression] ACATS c391002 c432002 ICE categorize_ctor_elements_1

2005-03-15 Thread charlet at gcc dot gnu dot org
--- Additional Comments From charlet at gcc dot gnu dot org 2005-03-15 16:06 --- Fixed on mainline. -- What|Removed |Added Status|ASSIGNED

[Bug ada/19408] [4.0/4.1 Regression] ACATS c391002 failure on powerpc-darwin, wrong .space

2005-03-15 Thread charlet at gcc dot gnu dot org
-- Bug 19408 depends on bug 19900, which changed state. Bug 19900 Summary: [4.0/4.1 Regression] ACATS c391002 c432002 ICE categorize_ctor_elements_1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19900 What|Old Value |New Value

[Bug ada/20226] [4.0/4.1 Regression] Error in __gnat_install_SEH_handler breaks bootstrap

2005-03-15 Thread charlet at gcc dot gnu dot org
--- Additional Comments From charlet at gcc dot gnu dot org 2005-03-15 16:07 --- Fixed on mainline. -- What|Removed |Added Status|ASSIGNED

[Bug ada/6852] gnatlib fails to build with newlib because it doesn't set up the include path

2005-03-15 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-15 16:11 --- Subject: Bug 6852 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-03-15 16:10:23 Modified files: gcc/ada: Makefile.in Log message:

[Bug ada/20344] [4.0/4.1 regression] gnat1: error: unrecognized command line option -fRTS=/tmp/rts

2005-03-15 Thread charlet at gcc dot gnu dot org
--- Additional Comments From charlet at gcc dot gnu dot org 2005-03-15 16:11 --- Marking as fixed. -- What|Removed |Added Status|ASSIGNED

[Bug c++/20484] No proper linkage created for in class initialized static const

2005-03-15 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-15 16:12 --- You need to declare space for the variable still like so: int const Test::A; This is invalid. -- What|Removed |Added

[Bug ada/15608] Bug box at sem_ch3.adb:8228

2005-03-15 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-15 16:13 --- Subject: Bug 15608 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-03-15 16:12:59 Modified files: gcc/ada: sem_util.adb Log message:

[Bug ada/20344] [4.0/4.1 regression] gnat1: error: unrecognized command line option -fRTS=/tmp/rts

2005-03-15 Thread charlet at gcc dot gnu dot org
--- Additional Comments From charlet at gcc dot gnu dot org 2005-03-15 16:09 --- Fixed on mainline. -- What|Removed |Added Target Milestone|---

[Bug ada/15608] Bug box at sem_ch3.adb:8228

2005-03-15 Thread charlet at gcc dot gnu dot org
--- Additional Comments From charlet at gcc dot gnu dot org 2005-03-15 16:17 --- Fixed on mainline. -- What|Removed |Added Status|NEW

[Bug libgcj/20251] [4.0/4.1 regression] libgcj configured with --enable-gtk-cairo fails on installation

2005-03-15 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-15 16:18 --- Patch here: http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01475.html. -- What|Removed |Added

[Bug tree-optimization/18727] [4.0/4.1 Regression] ACATS c43214c fails at runtime (aliasing pb)

2005-03-15 Thread ebotcazou at gcc dot gnu dot org
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-03-15 16:25 --- Fixed on mainline. -- What|Removed |Added Status|ASSIGNED

[Bug fortran/20483] Not Implemented: Scalarization of non-elemental intrinsic

2005-03-15 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-15 16:28 --- *** This bug has been marked as a duplicate of 17298 *** -- What|Removed |Added

[Bug fortran/17298] gfortran ICE: Not Implemented: Scalarization of non-elemental intrinsic: __transfer1

2005-03-15 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-15 16:28 --- *** Bug 20483 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug ada/6852] gnatlib fails to build with newlib because it doesn't set up the include path

2005-03-15 Thread charlet at gcc dot gnu dot org
--- Additional Comments From charlet at gcc dot gnu dot org 2005-03-15 16:32 --- Adding nathanael in cc: Nathanel, could you have a look at the comment #10 about passing GCC_FOR_TARGET down to libada/Makefile ? Arno -- What|Removed |Added

[Bug c++/20485] New: ice with -O1 or above

2005-03-15 Thread jes at bodi-klinke dot dk
Source available at http://www.bodi-klinke.dk/parser.ii $ /usr/local/bin/g++ -g -Wall -Werror -O1 -c parser.ii parser.hh: In member function `bool parser::Parser::parse_simple_declaration(parser::Environment*, parser::Parser::DeclEnv, const parser::Parser::fun_env_t, bool, parser::DeclStatement*,

[Bug c++/20381] [4.0/4.1 Regression] ICE in build_ptrmemfunc, at cp/typeck.c:5702

2005-03-15 Thread micis at gmx dot de
--- Additional Comments From micis at gmx dot de 2005-03-15 17:04 --- I got this ICE only with gcc 4.1.0 Michael Cieslinski -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20381

[Bug c++/20485] [3.4 Regression] ice with -O1 or above

2005-03-15 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-15 17:07 --- Note this code is partly invalid (and will be rejected in 4.0) but fixing that invalidness, still gets the error in 3.4.x. Basically friend support in 4.0 and above is closer to what the standard says

[Bug c++/20485] [3.4 Regression] ice with -O1 or above

2005-03-15 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Known to fail||3.4.0 4.0.0 Known to work||3.3.3 4.0.0 4.1.0

[Bug c++/20485] [3.4 Regression] ice with -O1 or above

2005-03-15 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Known to fail|3.4.0 4.0.0 |3.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20485

[Bug middle-end/19985] [3.4/4.0/4.1 Regression] executables created with -fprofile-arcs -ftest-coverage segfault in gcov_exit ()

2005-03-15 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Summary|executables created with - |[3.4/4.0/4.1 Regression] |fprofile-arcs -ftest- |executables created with -

[Bug libgcj/20486] New: Win32 needs Socket read returns EOF when count == 0 fix

2005-03-15 Thread daney at gcc dot gnu dot org
With this patch: http://gcc.gnu.org/ml/java-patches/2005-q1/msg00753.html I fixed the Socket read returns EOF when count == 0 problem for POSIX. A similar patch should be made to Win32 code. -- Summary: Win32 needs Socket read returns EOF when count == 0 fix Product: gcc

[Bug libgcj/20486] Win32 needs Socket read returns EOF when count == 0 fix

2005-03-15 Thread daney at gcc dot gnu dot org
-- What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed||1 Last reconfirmed|-00-00 00:00:00

[Bug rtl-optimization/20211] autoincrement generation is poor

2005-03-15 Thread amylaar at gcc dot gnu dot org
--- Additional Comments From amylaar at gcc dot gnu dot org 2005-03-15 18:08 --- A patch against 4.0 20050218 is here: http://gcc.gnu.org/ml/gcc-patches/2005-02/msg01612.html discover_flags_reg also needs to be updated to understand INSNs. --

[Bug c++/20485] [3.4 Regression] ice with -O1 or above

2005-03-15 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-03-15 18:15 --- Created an attachment (id=8393) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8393action=view) Preprocessed sources, not reduced -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20485

[Bug tree-optimization/20470] Branching sequence generated for ABS(x-y)

2005-03-15 Thread pthaugen at us dot ibm dot com
--- Additional Comments From pthaugen at us dot ibm dot com 2005-03-15 18:22 --- Ditto here, except added additional call to negate_expr_p(arg2) to make sure it was ok to flip the expression back to it's original form. Not sure if that was necessary, was assuming I'd get comments when I

[Bug c++/20484] No proper linkage created for in class initialized static const

2005-03-15 Thread dopheide at fmf dot nl
--- Additional Comments From dopheide at fmf dot nl 2005-03-15 18:46 --- You are correct. I was wrong. I thought, because of consistency reasons, that 1) both should link, or 2) both shouldn't link. (And I choose 1) for the bug-report.) As I now understand it, the static int const A =

Re: [Bug c++/20484] No proper linkage created for in class initialized static const

2005-03-15 Thread Andrew Pinski
On Mar 15, 2005, at 1:46 PM, dopheide at fmf dot nl wrote: It stills /looks/ inconsistent though. That is because there is an optimization going on here which is allowed by the standard. -- Pinski

[Bug c++/20484] No proper linkage created for in class initialized static const

2005-03-15 Thread pinskia at physics dot uc dot edu
--- Additional Comments From pinskia at physics dot uc dot edu 2005-03-15 18:50 --- Subject: Re: No proper linkage created for in class initialized static const On Mar 15, 2005, at 1:46 PM, dopheide at fmf dot nl wrote: It stills /looks/ inconsistent though. That is because there

[Bug libgcj/20251] [4.0/4.1 regression] libgcj configured with --enable-gtk-cairo fails on installation

2005-03-15 Thread fitzsim at redhat dot com
--- Additional Comments From fitzsim at redhat dot com 2005-03-15 19:09 --- I couldn't reproduce this on my machine. Can you try out Jakub's patch? If it solves your problem we can close this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20251

[Bug c++/20487] New: Bad code generation caused by -fschedule-insns2

2005-03-15 Thread c dot pop at free dot fr
This bug was detected in gcc 3.3.1 and is still here in gcc-3.4.3 and gcc-4.0.0 The bug is not in gcc-3.2.2 -O2 and -Os produces bad code. Switching optimization level to something less than -O2 produces a valid code. Using -O2 -fno-schedule-insns2 also produces valid code. ./g++-mainline-4.0

  1   2   >