[Bug java/9157] SEGV on bad java source

2004-10-10 Thread timo dot lindfors at iki dot fi

--- Additional Comments From timo dot lindfors at iki dot fi  2004-10-10 20:09 
---
This one seems to be alive still,
$ gcj -C AddString.java
AddString.java: In class `AddString':
AddString.java: In method `AddString.add(int)':
AddString.java:6: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html> for instructions.
$ gcj -v
Reading specs from
/home/lindi/installdir/installdir-gcc-20041009/lib/gcc/i686-pc-linux-gnu/4.0.0/specs
Reading specs from
/home/lindi/installdir/installdir-gcc-20041009/lib/gcc/i686-pc-linux-gnu/4.0.0/../../../libgcj.spec
rename spec lib to liborig
Configured with: ../configure
--prefix=/home/lindi/installdir/installdir-gcc-20041009
Thread model: posix
gcc version 4.0.0 20041009 (experimental)

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9157


[Bug target/15923] [4.0 Regression] gcc.c-torture/execute/931004-12.c fails on powerpc-apple-darwin

2004-10-10 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-10 20:18 
---
gcc.c-torture/execute/va-arg-22.c  also fails the same way.
So does:
FAIL: gcc.dg/compat/struct-by-value-2 c_compat_x_tst.o-c_compat_y_tst.o execute 
FAIL: gcc.dg/compat/struct-by-value-4 c_compat_x_tst.o-c_compat_y_tst.o execute 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15923


[Bug debug/17924] New: [4.0 Regression] gcc.dg/debug/dwarf2/dwarf-die7.c fails

2004-10-10 Thread pinskia at gcc dot gnu dot org
FAIL: gcc.dg/debug/dwarf2/dwarf-die7.c scan-assembler 1.*DW_AT_inline
FAIL: gcc.dg/debug/dwarf2/dwarf-die7.c scan-assembler 1.*DW_AT_inline

Fails on the mainline.

-- 
   Summary: [4.0 Regression] gcc.dg/debug/dwarf2/dwarf-die7.c fails
   Product: gcc
   Version: 4.0.0
Status: UNCONFIRMED
  Keywords: wrong-debug
  Severity: normal
  Priority: P2
 Component: debug
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17924


[Bug debug/17924] [4.0 Regression] gcc.dg/debug/dwarf2/dwarf-die7.c fails

2004-10-10 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-10 20:23 
---
Confirmed by every testsuite results since the tree-ssa merge.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-10 20:23:31
   date||
   Target Milestone|--- |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17924


[Bug target/17836] [4.0 Regression] ABI breakage for 16-byte vectors (non-Altivec ABI & ISA)

2004-10-10 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-10 20:27 
---
Causes these two tests to fail on ppc:
FAIL: gcc.dg/compat/vector-2 c_compat_x_tst.o compile
FAIL: gcc.dg/compat/vector-2 c_compat_y_tst.o compile
And:
FAIL: gcc.dg/pr17055-1.c (test for excess errors)

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17836


[Bug fortran/15326] ICE with assumed length character strings

2004-10-10 Thread tobi at gcc dot gnu dot org

--- Additional Comments From tobi at gcc dot gnu dot org  2004-10-10 21:04 ---
The patch is wrong because it does only solve part of the problem.

With the testcase from the mailing list posting referred to above, we get code
like this:
  {
logical4 D.464;
char[1 .. .d] * pstr.0;

pstr.0 = (char[1 .. .d] *) _gfortran_internal_malloc (.d);
d (pstr.0, .d, &t1, 10);
where .d is used uninitialized.

If the function D from the testcase is declared external, with no interface, we
hit the same assertion as without the patch.

-- 
   What|Removed |Added

   Keywords|patch   |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15326


[Bug middle-end/17925] New: [4.0 Regression] Gotos do not locations

2004-10-10 Thread pinskia at gcc dot gnu dot org
This causes the following failures:
FAIL: 102:is -:should be 1
FAIL: g++.dg/gcov/gcov-1.C gcov: 1 failures in line counts, 0 in branch percentages, 0 
in return 
percentages
FAIL: 96:is -:should be 1
FAIL: gcc.misc-tests/gcov-4.c gcov: 1 failures in line counts, 0 in branch 
percentages, 0 in return 
percentages

-- 
   Summary: [4.0 Regression] Gotos do not locations
   Product: gcc
   Version: 4.0.0
Status: UNCONFIRMED
  Keywords: wrong-code
  Severity: normal
  Priority: P2
 Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17925


[Bug middle-end/17925] [4.0 Regression] Gotos do not locations

2004-10-10 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-10 21:07 
---
Confirmed based on testresults since the tree-ssa was merged.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-10 21:07:05
   date||
   Target Milestone|--- |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17925


[Bug fortran/15326] ICE with assumed length character strings

2004-10-10 Thread Tobias dot Schlueter at physik dot uni-muenchen dot de

--- Additional Comments From Tobias dot Schlueter at physik dot uni-muenchen dot 
de  2004-10-10 21:08 ---
Subject: Re:  ICE with assumed length character strings

tobi at gcc dot gnu dot org wrote:
> If the function D from the testcase is declared external, with no interface, we
> hit the same assertion as without the patch.
> 
Ugh, messed up when editing. This is meant to read:
"If the function D from the testcase is external, not contained, we hit the
same assertion as without the patch."



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15326


[Bug c++/17393] [3.4/4.0 Regression] "unused variable '._0'" warning with -Wall

2004-10-10 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-10 21:49 
---
Subject: Bug 17393

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2004-10-10 21:49:27

Modified files:
gcc/cp : ChangeLog decl.c 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/g++.dg/parse: error21.C 

Log message:
PR c++/17393
* decl.c (grokdeclarator): Robustify error-recovery on invalid
declarations.

PR c++/17393
* g++.dg/parse/error21.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4418&r2=1.4419
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&r1=1.1312&r2=1.1313
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4430&r2=1.4431
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/error21.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17393


[Bug rtl-optimization/17853] [3.4 Regression] -O2 ICE for MMX testcase

2004-10-10 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-10 21:53 
---
Subject: Bug 17853

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-3_4-branch
Changes by: [EMAIL PROTECTED]   2004-10-10 21:53:39

Modified files:
gcc: ChangeLog combine.c cse.c simplify-rtx.c 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/gcc.dg: i386-mmx-5.c 

Log message:
2004-10-10  Roger Sayle  <[EMAIL PROTECTED]>

PR rtl-optimization/17853
* combine.c (combine_simplify_rtx): Don't attempt any simplifications
of vector mode comparison operators.
* cse.c (fold_rtx): Likewise.
* simplify-rtx.c (simplify_gen_relational):  Avoid calling
simplify_relational_operation with vector mode comparison operators.
(simplify_rtx): Likewise.

2004-10-10  Stuart Hastings  <[EMAIL PROTECTED]>
Roger Sayle  <[EMAIL PROTECTED]>

PR rtl-optimization/17853
* gcc.dg/i386-mmx-5.c: New testcase.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.652&r2=2.2326.2.653
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/combine.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.400.4.9&r2=1.400.4.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cse.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.278.4.6&r2=1.278.4.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/simplify-rtx.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.172.4.2&r2=1.172.4.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3389.2.282&r2=1.3389.2.283
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/i386-mmx-5.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.4.1



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17853


[Bug c++/17393] [3.4/4.0 Regression] "unused variable '._0'" warning with -Wall

2004-10-10 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-10 21:55 
---
Subject: Bug 17393

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-3_4-branch
Changes by: [EMAIL PROTECTED]   2004-10-10 21:55:02

Modified files:
gcc/cp : ChangeLog decl.c 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/g++.dg/parse: error21.C 

Log message:
PR c++/17393
* decl.c (grokdeclarator): Robustify error-recovery on invalid
declarations.

PR c++/17393
* g++.dg/parse/error21.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3892.2.166&r2=1.3892.2.167
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.1174.2.25&r2=1.1174.2.26
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3389.2.283&r2=1.3389.2.284
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/error21.C.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.2.1



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17393


[Bug c++/17393] [3.4/4.0 Regression] "unused variable '._0'" warning with -Wall

2004-10-10 Thread mmitchel at gcc dot gnu dot org

--- Additional Comments From mmitchel at gcc dot gnu dot org  2004-10-10 21:55 
---
Fixed in GCC 3.4.3.

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17393


[Bug rtl-optimization/17853] [3.4 Regression] -O2 ICE for MMX testcase

2004-10-10 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-10 21:56 
---
Fixed.

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17853


[Bug c++/17920] add __attribute__((reimpl)) as a replacement for the (optional) virtual keyword for reimplementations of virtual functions

2004-10-10 Thread giovannibajo at libero dot it

--- Additional Comments From giovannibajo at libero dot it  2004-10-10 22:41 
---
As far as I can tell, this is just a hint for the compiler to generate better 
diagnostic. Pretty much like attribute(sentinel) for instance: we just give the 
compiler more information, we are not modifying the semantic of a program.

I'm actually in favor of this PR so I will confirm this. This is not an 
extension as in we are modifying the language semantic, adding strange features 
or whatnot.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-10 22:41:32
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17920


[Bug c++/17920] add __attribute__((reimpl)) as a replacement for the (optional) virtual keyword for reimplementations of virtual functions

2004-10-10 Thread gdr at cs dot tamu dot edu

--- Additional Comments From gdr at cs dot tamu dot edu  2004-10-10 22:46 ---
Subject: Re:  add __attribute__((reimpl)) as a replacement for the (optional) virtual 
keyword for reimplementations of virtual functions

"giovannibajo at libero dot it" <[EMAIL PROTECTED]> writes:

| As far as I can tell, this is just a hint for the compiler to
| generate better diagnostic. Pretty much like attribute(sentinel) for
| instance: we just give the compiler more information, we are not
| modifying the semantic of a program. 
| 
| I'm actually in favor of this PR so I will confirm this. This is not an 
| extension as in we are modifying the language semantic, adding
| strange features or whatnot.

I disagree with the notion that it is just a diagnostic related issue;
because it comes with a semantics part.  Let's not not disguise a
language extension under the name of diagnostic improvement.  
It helps nobody. 

-- Gaby


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17920


[Bug middle-end/17926] New: infinite loop in LAPACK test at -Os and -O2

2004-10-10 Thread tobi at gcc dot gnu dot org
The LAPACK test slarrv.f ends up in an infinite loop, when compiled with -Os or
-O2. Closer look at the assembly reveals that we're inddeed generating an
infinite loop.

The relevant parts form the loop looks something like this:
   40CONTINUE
 IF( NDONE.LT.IM ) THEN
OLDNCL = NCLUS
NCLUS = 0
LSBDPT = 1 - LSBDPT
DO 150 I = 1, OLDNCL

150   CONTINUE
NDEPTH = NDEPTH + 1
GO TO 40
 END IF
And in the -Os assembly (I have the patch from PR17560 in tree in order to build
some other files from LAPACK with -Os):
   40CONTINUE
 IF( NDONE.LT.IM ) THEN
 2ab:   8b bd 48 ff ff ff   mov0xff48(%ebp),%edi
 2b1:   3b 7d eccmp0xffec(%ebp),%edi
 2b4:   0f 8d 25 0a 00 00   jgecdf 
  
OLDNCL = NCLUS
NCLUS = 0
LSBDPT = 1 - LSBDPT
DO 150 I = 1, OLDNCL
 2ba:   83 bd 3c ff ff ff 00cmpl   $0x0,0xff3c(%ebp)
 2c1:   c7 45 ac 00 00 00 00movl   $0x0,0xffac(%ebp)
 2c8:   0f 8e fd 09 00 00   jleccb 
 2ce:   c7 45 b0 01 00 00 00movl   $0x1,0xffb0(%ebp)
  ...
 ccb:   8b 45 acmov0xffac(%ebp),%eax
 cce:   ff 85 44 ff ff ff   incl   0xff44(%ebp)
 cd4:   89 85 3c ff ff ff   mov%eax,0xff3c(%ebp)
 cda:   e9 cc f5 ff ff  jmp2ab 
  140  CONTINUE
  150   CONTINUE
NDEPTH = NDEPTH + 1
GO TO 40
 END IF

(gfortran doesn't output debug information for the end do statements, that's why
they appear after the relevant code)

If you look closely enough, you'll see the infinite loop: the condition at 2b4
can never be true if the jump at 2c8 is taken.

If anybody has good ideas on reducing the testcase, I'm all ears. I'll attach
the source file, and the output from objdump -s

-- 
   Summary: infinite loop in LAPACK test at -Os and -O2
   Product: gcc
   Version: 4.0.0
Status: UNCONFIRMED
  Keywords: wrong-code
  Severity: normal
  Priority: P2
 Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tobi at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17926


[Bug middle-end/17926] infinite loop in LAPACK test at -Os and -O2

2004-10-10 Thread tobi at gcc dot gnu dot org

--- Additional Comments From tobi at gcc dot gnu dot org  2004-10-10 23:50 ---
Created an attachment (id=7319)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7319&action=view)
LAPACK source file which shows the infinite loop


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17926


[Bug middle-end/17926] infinite loop in LAPACK test at -Os and -O2

2004-10-10 Thread tobi at gcc dot gnu dot org

--- Additional Comments From tobi at gcc dot gnu dot org  2004-10-10 23:51 ---
Created an attachment (id=7320)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7320&action=view)
output of objdump -s


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17926


[Bug middle-end/17926] infinite loop in LAPACK test at -Os and -O2

2004-10-10 Thread tobi at gcc dot gnu dot org

--- Additional Comments From tobi at gcc dot gnu dot org  2004-10-10 23:52 ---
(In reply to comment #0)
> The relevant parts form the loop looks something like this:
>40CONTINUE
>  IF( NDONE.LT.IM ) THEN
> OLDNCL = NCLUS
> NCLUS = 0
> LSBDPT = 1 - LSBDPT
> DO 150 I = 1, OLDNCL
> 
   nothing ommitted here
> 150   CONTINUE


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17926


[Bug middle-end/17926] infinite loop in LAPACK test at -Os and -O2

2004-10-10 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-10 23:56 
---
Does -fno-ivopts help?

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17926


[Bug middle-end/17926] infinite loop in LAPACK test at -Os and -O2

2004-10-10 Thread tobi at gcc dot gnu dot org

--- Additional Comments From tobi at gcc dot gnu dot org  2004-10-11 00:01 ---
One more thing I should add: I have a patch in tree which makes gfortran output
sensible debug information for loops. This patch has been already posted
http://gcc.gnu.org/ml/fortran/2004-10/msg00073.html

I actually wrote that patch to be able to debug this problem, so you might find
it helpful as well :-)

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17926


[Bug middle-end/17926] infinite loop in LAPACK test at -Os and -O2

2004-10-10 Thread tobi at gcc dot gnu dot org

--- Additional Comments From tobi at gcc dot gnu dot org  2004-10-11 00:09 ---
(In reply to comment #4)
> Does -fno-ivopts help?

Yes. recompiling slarrv.f with '-Os -fno-ivopts -g' fixed this.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17926


[Bug middle-end/17926] infinite loop in LAPACK test at -Os and -O2

2004-10-10 Thread tobi at gcc dot gnu dot org

--- Additional Comments From tobi at gcc dot gnu dot org  2004-10-11 00:12 ---
BTW, afaics it is surprising that -fno-ivopts fixes this, as the infinite loop
problem had been present even before Paul rewrote code generation for loops to
allow better loop optimization.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17926


[Bug middle-end/17926] [4.0 Regression] infinite loop in LAPACK test at -Os and -O2

2004-10-10 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-11 00:28 
---
Zdenek could you look into this since -fno-ivopts makes it works?

-- 
   What|Removed |Added

 CC||rakdver at gcc dot gnu dot
   ||org
Summary|infinite loop in LAPACK test|[4.0 Regression] infinite
   |at -Os and -O2  |loop in LAPACK test at -Os
   ||and -O2
   Target Milestone|--- |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17926


[Bug java/17845] can't build GNU Classpath

2004-10-10 Thread tromey at gcc dot gnu dot org

--- Additional Comments From tromey at gcc dot gnu dot org  2004-10-11 01:32 
---
I did a build in Toronto.  It works perfectly there.
However, it continues to fail here at home nightly.
These nightly builds are pristine; I don't know what is
going on.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17845


[Bug middle-end/17925] [4.0 Regression] Gotos loses their locations

2004-10-10 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-11 01:53 
---
Mine. Patch here: .

-- 
   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED
   Keywords||patch


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17925


[Bug debug/17924] [4.0 Regression] gcc.dg/debug/dwarf2/dwarf-die7.c fails

2004-10-10 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-11 02:05 
---
The problem is that we are not calling gen_subprogram_die on the decl for the function 
t.

-- 
   What|Removed |Added

 CC||hubicka at gcc dot gnu dot
   ||org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17924


[Bug web/16500] Page internal Links in gcc.gnu.org/install/specific.html don't work

2004-10-10 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-11 02:51 
---
Fixed.

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16500


[Bug rtl-optimization/6585] Redundant store/load instruction pairs on ix86

2004-10-10 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-11 02:57 
---
Here is the latest asm from the mainline:
mul:
subl$20, %esp
movl32(%esp), %ecx
movl24(%esp), %eax
movl%ebx, 8(%esp)
movl36(%esp), %ebx
movl%edi, 12(%esp)
movl24(%esp), %edi
movl%ebp, 16(%esp)
mull%ecx
imull   28(%esp), %ecx
imull   %ebx, %edi
movl8(%esp), %ebx
movl%edx, %ebp
movl%eax, (%esp)
addl%edi, %ebp
movl(%esp), %eax
leal(%ebp,%ecx), %ecx
movl12(%esp), %edi
movl%ecx, 4(%esp)
movl16(%esp), %ebp
movl4(%esp), %edx
addl$20, %esp
ret

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6585


[Bug c++/17907] [4.0 Regression] ice in optimize_inline_calls, at tree-inline.c

2004-10-10 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-11 03:16 
---
Fixed.

-- 
   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17907


[Bug c++/17907] [4.0 Regression] ice in optimize_inline_calls, at tree-inline.c

2004-10-10 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-11 03:16 
---
Subject: Bug 17907

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2004-10-11 03:16:47

Modified files:
gcc/cp : ChangeLog semantics.c 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/g++.dg/eh: cleanup5.C 

Log message:
2004-10-10  Andrew Pinski  <[EMAIL PROTECTED]>

PR c++/17907
* semantics.c (add_decl_expr): If the decl has a size which
has side effects then the decl expression needs a cleanup point.
2004-10-10  Andrew Pinski  <[EMAIL PROTECTED]>

PR c++/17907
* g++.dg/eh/cleanup5.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4419&r2=1.4420
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&r1=1.443&r2=1.444
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4431&r2=1.4432
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/eh/cleanup5.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17907


[Bug middle-end/17657] [4.0 Regression] ICE in expand_case

2004-10-10 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-11 03:42 
---
Subject: Bug 17657

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2004-10-11 03:42:09

Modified files:
gcc: ChangeLog fold-const.c tree.h 
gcc/cp : ChangeLog semantics.c typeck.c 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/g++.dg/init: for3.C 
gcc/testsuite/g++.dg/opt: switch2.C 
gcc/testsuite/g++.dg/warn: Wreturn-2.C 

Log message:
2004-10-10  Andrew Pinski  <[EMAIL PROTECTED]>

PR c++/17554
part of c++/17657
middle-end/17703
* semantics.c (maybe_cleanup_point_expr): Call
fold_build_cleanup_point_expr.
(maybe_cleanup_point_expr_void): New function.
(add_decl_expr): Call maybe_cleanup_point_expr_void.
(finish_expr_stmt): Likewise.
(finish_return_stmt): Likewise.
(finish_for_expr): Likewise.
(finish_asm_stmt): Likewise.
* typeck.c (condition_conversion): Call
fold_build_cleanup_point_expr.

2004-10-10  Andrew Pinski  <[EMAIL PROTECTED]>

PR middle-end/17703
part of PR c++/17657
* fold-const.c (fold_build_cleanup_point_expr): New function.
* tree.h (fold_build_cleanup_point_expr): Prototype.

2004-10-10  Andrew Pinski  <[EMAIL PROTECTED]>

PR c++/17554
* g++.dg/init/for3.C: New test.

PR c++/17657
* g++.dg/opt/switch2.C: New test.

PR middle-end/17703
* g++.dg/warn/Wreturn-2.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.5829&r2=2.5830
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fold-const.c.diff?cvsroot=gcc&r1=1.467&r2=1.468
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.h.diff?cvsroot=gcc&r1=1.636&r2=1.637
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4420&r2=1.4421
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&r1=1.444&r2=1.445
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&r1=1.581&r2=1.582
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4432&r2=1.4433
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/for3.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/opt/switch2.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/warn/Wreturn-2.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17657


[Bug middle-end/17657] [4.0 Regression] ICE in expand_case

2004-10-10 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-11 03:42 
---
Subject: Bug 17657

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2004-10-11 03:42:09

Modified files:
gcc: ChangeLog fold-const.c tree.h 
gcc/cp : ChangeLog semantics.c typeck.c 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/g++.dg/init: for3.C 
gcc/testsuite/g++.dg/opt: switch2.C 
gcc/testsuite/g++.dg/warn: Wreturn-2.C 

Log message:
2004-10-10  Andrew Pinski  <[EMAIL PROTECTED]>

PR c++/17554
part of c++/17657
middle-end/17703
* semantics.c (maybe_cleanup_point_expr): Call
fold_build_cleanup_point_expr.
(maybe_cleanup_point_expr_void): New function.
(add_decl_expr): Call maybe_cleanup_point_expr_void.
(finish_expr_stmt): Likewise.
(finish_return_stmt): Likewise.
(finish_for_expr): Likewise.
(finish_asm_stmt): Likewise.
* typeck.c (condition_conversion): Call
fold_build_cleanup_point_expr.

2004-10-10  Andrew Pinski  <[EMAIL PROTECTED]>

PR middle-end/17703
part of PR c++/17657
* fold-const.c (fold_build_cleanup_point_expr): New function.
* tree.h (fold_build_cleanup_point_expr): Prototype.

2004-10-10  Andrew Pinski  <[EMAIL PROTECTED]>

PR c++/17554
* g++.dg/init/for3.C: New test.

PR c++/17657
* g++.dg/opt/switch2.C: New test.

PR middle-end/17703
* g++.dg/warn/Wreturn-2.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.5829&r2=2.5830
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fold-const.c.diff?cvsroot=gcc&r1=1.467&r2=1.468
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.h.diff?cvsroot=gcc&r1=1.636&r2=1.637
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4420&r2=1.4421
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&r1=1.444&r2=1.445
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&r1=1.581&r2=1.582
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4432&r2=1.4433
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/for3.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/opt/switch2.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/warn/Wreturn-2.C.diff?cvsroot=gcc&r1=NONE&r2=1.1


--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-11 03:42 
---
The orginal testcase is now fixed by the patch to the C++ front-end.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17657


[Bug middle-end/17703] [4.0 regression] spurious error about end of function reached

2004-10-10 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-11 03:42 
---
Subject: Bug 17703

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2004-10-11 03:42:09

Modified files:
gcc: ChangeLog fold-const.c tree.h 
gcc/cp : ChangeLog semantics.c typeck.c 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/g++.dg/init: for3.C 
gcc/testsuite/g++.dg/opt: switch2.C 
gcc/testsuite/g++.dg/warn: Wreturn-2.C 

Log message:
2004-10-10  Andrew Pinski  <[EMAIL PROTECTED]>

PR c++/17554
part of c++/17657
middle-end/17703
* semantics.c (maybe_cleanup_point_expr): Call
fold_build_cleanup_point_expr.
(maybe_cleanup_point_expr_void): New function.
(add_decl_expr): Call maybe_cleanup_point_expr_void.
(finish_expr_stmt): Likewise.
(finish_return_stmt): Likewise.
(finish_for_expr): Likewise.
(finish_asm_stmt): Likewise.
* typeck.c (condition_conversion): Call
fold_build_cleanup_point_expr.

2004-10-10  Andrew Pinski  <[EMAIL PROTECTED]>

PR middle-end/17703
part of PR c++/17657
* fold-const.c (fold_build_cleanup_point_expr): New function.
* tree.h (fold_build_cleanup_point_expr): Prototype.

2004-10-10  Andrew Pinski  <[EMAIL PROTECTED]>

PR c++/17554
* g++.dg/init/for3.C: New test.

PR c++/17657
* g++.dg/opt/switch2.C: New test.

PR middle-end/17703
* g++.dg/warn/Wreturn-2.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.5829&r2=2.5830
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fold-const.c.diff?cvsroot=gcc&r1=1.467&r2=1.468
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.h.diff?cvsroot=gcc&r1=1.636&r2=1.637
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4420&r2=1.4421
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&r1=1.444&r2=1.445
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&r1=1.581&r2=1.582
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4432&r2=1.4433
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/for3.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/opt/switch2.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/warn/Wreturn-2.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17703


[Bug c++/17554] [4.0 Regression] crashes in on kopete build (KDE's kdenetwork)

2004-10-10 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-11 03:42 
---
Subject: Bug 17554

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2004-10-11 03:42:09

Modified files:
gcc: ChangeLog fold-const.c tree.h 
gcc/cp : ChangeLog semantics.c typeck.c 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/g++.dg/init: for3.C 
gcc/testsuite/g++.dg/opt: switch2.C 
gcc/testsuite/g++.dg/warn: Wreturn-2.C 

Log message:
2004-10-10  Andrew Pinski  <[EMAIL PROTECTED]>

PR c++/17554
part of c++/17657
middle-end/17703
* semantics.c (maybe_cleanup_point_expr): Call
fold_build_cleanup_point_expr.
(maybe_cleanup_point_expr_void): New function.
(add_decl_expr): Call maybe_cleanup_point_expr_void.
(finish_expr_stmt): Likewise.
(finish_return_stmt): Likewise.
(finish_for_expr): Likewise.
(finish_asm_stmt): Likewise.
* typeck.c (condition_conversion): Call
fold_build_cleanup_point_expr.

2004-10-10  Andrew Pinski  <[EMAIL PROTECTED]>

PR middle-end/17703
part of PR c++/17657
* fold-const.c (fold_build_cleanup_point_expr): New function.
* tree.h (fold_build_cleanup_point_expr): Prototype.

2004-10-10  Andrew Pinski  <[EMAIL PROTECTED]>

PR c++/17554
* g++.dg/init/for3.C: New test.

PR c++/17657
* g++.dg/opt/switch2.C: New test.

PR middle-end/17703
* g++.dg/warn/Wreturn-2.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.5829&r2=2.5830
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fold-const.c.diff?cvsroot=gcc&r1=1.467&r2=1.468
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.h.diff?cvsroot=gcc&r1=1.636&r2=1.637
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4420&r2=1.4421
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&r1=1.444&r2=1.445
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&r1=1.581&r2=1.582
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4432&r2=1.4433
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/for3.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/opt/switch2.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/warn/Wreturn-2.C.diff?cvsroot=gcc&r1=NONE&r2=1.1


--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-11 03:42 
---
Fixed.

-- 
   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17554


[Bug middle-end/17703] [4.0 regression] spurious error about end of function reached

2004-10-10 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-11 03:42 
---
Subject: Bug 17703

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2004-10-11 03:42:09

Modified files:
gcc: ChangeLog fold-const.c tree.h 
gcc/cp : ChangeLog semantics.c typeck.c 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/g++.dg/init: for3.C 
gcc/testsuite/g++.dg/opt: switch2.C 
gcc/testsuite/g++.dg/warn: Wreturn-2.C 

Log message:
2004-10-10  Andrew Pinski  <[EMAIL PROTECTED]>

PR c++/17554
part of c++/17657
middle-end/17703
* semantics.c (maybe_cleanup_point_expr): Call
fold_build_cleanup_point_expr.
(maybe_cleanup_point_expr_void): New function.
(add_decl_expr): Call maybe_cleanup_point_expr_void.
(finish_expr_stmt): Likewise.
(finish_return_stmt): Likewise.
(finish_for_expr): Likewise.
(finish_asm_stmt): Likewise.
* typeck.c (condition_conversion): Call
fold_build_cleanup_point_expr.

2004-10-10  Andrew Pinski  <[EMAIL PROTECTED]>

PR middle-end/17703
part of PR c++/17657
* fold-const.c (fold_build_cleanup_point_expr): New function.
* tree.h (fold_build_cleanup_point_expr): Prototype.

2004-10-10  Andrew Pinski  <[EMAIL PROTECTED]>

PR c++/17554
* g++.dg/init/for3.C: New test.

PR c++/17657
* g++.dg/opt/switch2.C: New test.

PR middle-end/17703
* g++.dg/warn/Wreturn-2.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.5829&r2=2.5830
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fold-const.c.diff?cvsroot=gcc&r1=1.467&r2=1.468
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.h.diff?cvsroot=gcc&r1=1.636&r2=1.637
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4420&r2=1.4421
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&r1=1.444&r2=1.445
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&r1=1.581&r2=1.582
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4432&r2=1.4433
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/for3.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/opt/switch2.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/warn/Wreturn-2.C.diff?cvsroot=gcc&r1=NONE&r2=1.1


--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-11 03:42 
---
Fixed.

-- 
   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17703


[Bug c++/17554] [4.0 Regression] crashes in on kopete build (KDE's kdenetwork)

2004-10-10 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-11 03:42 
---
Subject: Bug 17554

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2004-10-11 03:42:09

Modified files:
gcc: ChangeLog fold-const.c tree.h 
gcc/cp : ChangeLog semantics.c typeck.c 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/g++.dg/init: for3.C 
gcc/testsuite/g++.dg/opt: switch2.C 
gcc/testsuite/g++.dg/warn: Wreturn-2.C 

Log message:
2004-10-10  Andrew Pinski  <[EMAIL PROTECTED]>

PR c++/17554
part of c++/17657
middle-end/17703
* semantics.c (maybe_cleanup_point_expr): Call
fold_build_cleanup_point_expr.
(maybe_cleanup_point_expr_void): New function.
(add_decl_expr): Call maybe_cleanup_point_expr_void.
(finish_expr_stmt): Likewise.
(finish_return_stmt): Likewise.
(finish_for_expr): Likewise.
(finish_asm_stmt): Likewise.
* typeck.c (condition_conversion): Call
fold_build_cleanup_point_expr.

2004-10-10  Andrew Pinski  <[EMAIL PROTECTED]>

PR middle-end/17703
part of PR c++/17657
* fold-const.c (fold_build_cleanup_point_expr): New function.
* tree.h (fold_build_cleanup_point_expr): Prototype.

2004-10-10  Andrew Pinski  <[EMAIL PROTECTED]>

PR c++/17554
* g++.dg/init/for3.C: New test.

PR c++/17657
* g++.dg/opt/switch2.C: New test.

PR middle-end/17703
* g++.dg/warn/Wreturn-2.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.5829&r2=2.5830
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fold-const.c.diff?cvsroot=gcc&r1=1.467&r2=1.468
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.h.diff?cvsroot=gcc&r1=1.636&r2=1.637
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4420&r2=1.4421
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&r1=1.444&r2=1.445
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&r1=1.581&r2=1.582
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4432&r2=1.4433
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/for3.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/opt/switch2.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/warn/Wreturn-2.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17554


[Bug target/17317] Match Constraints for *movdf_insn fails

2004-10-10 Thread ramana dot radhakrishnan at codito dot com

--- Additional Comments From ramana dot radhakrishnan at codito dot com  
2004-10-11 05:16 ---
Patch submitted for review. 

http://gcc.gnu.org/ml/gcc-patches/2004-10/msg00891.html



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17317


[Bug fortran/17927] New: Math error in simple divide operation

2004-10-10 Thread jvdelisle at verizon dot net
The following code produces erroneous results with:

GNU Fortran 95 (GCC 4.0.0 20041010 (experimental))
Copyright (C) 2003 Free Software Foundation, Inc.

program real_test

real(kind=4) :: little
real(kind=8) :: big

little=1.0/3.0
big=2.0/3.0

print *, little
print *, big

print *, '1/3 and 2/3?'

end program real_test

The output is:

  0.333
  0.66686534882
 1/3 and 2/3?

-- 
   Summary: Math error in simple divide operation
   Product: gcc
   Version: 4.0.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jvdelisle at verizon dot net
CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17927


[Bug preprocessor/15167] [3.4/4.0 Regression] Internal compiler error with "#pragma once"

2004-10-10 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-11 05:22 
---
f->buffer is NULL at the point of the crash.

-- 
   What|Removed |Added

  Known to fail|3.4.1 4.0   |3.4.1 4.0.0
  Known to work||3.3.3
   Last reconfirmed|2004-04-27 13:29:45 |2004-10-11 05:22:19
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15167


[Bug fortran/17927] Math error in simple divide operation

2004-10-10 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-11 05:28 
---
Confirmed, this is a front-end problem, we are not getting enough precission for some 
reason (really I 
don't know the rules of fortran).  I will note the equivalent  C code works just fine 
on the same build of 
the compiler so it is not a bug in the rest of GCC (aka fold and real.c).

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Keywords||wrong-code
   Last reconfirmed|-00-00 00:00:00 |2004-10-11 05:28:50
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17927