[Bug java/6388] Integer.MIN_VALUE == 0x80000000 optimized to false on powerpc

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

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-29 07:07 
---
Subject: Bug 6388

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-3_2-rhl8-branch
Changes by: [EMAIL PROTECTED]   2004-10-29 07:06:57

Modified files:
gcc/java   : ChangeLog decl.c java-tree.h lex.c lex.h 

Log message:
2002-11-05  Tom Tromey  <[EMAIL PROTECTED]>

Fix for PR java/6388.
* lex.h (JAVA_INTEGRAL_RANGE_ERROR): Wrap in do...while.
* java-tree.h (enum java_tree_index): New values
JTI_DECIMAL_INT_MAX_NODE, JTI_DECIMAL_LONG_MAX_NODE.
(decimal_int_max, decimal_long_max): New defines.
* lex.c (yylex): Rewrote range checking.  Sign extend literals.
(error_if_numeric_overflow): Rewrote range checking.
* decl.c (java_init_decl_processing): Initialize decimal_int_max,
decimal_long_max.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=1.925.2.59.2.2.2.11&r2=1.925.2.59.2.2.2.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/decl.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=1.117.2.2.8.1&r2=1.117.2.2.8.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/java-tree.h.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=1.136.2.3.4.1&r2=1.136.2.3.4.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/lex.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=1.80.8.4.8.1&r2=1.80.8.4.8.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/lex.h.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=1.26&r2=1.26.30.1



-- 


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


[Bug fortran/17590] Standard conformance should take intrinsics into account.

2004-10-29 Thread jblomqvi at cc dot hut dot fi

--- Additional Comments From jblomqvi at cc dot hut dot fi  2004-10-29 07:16 
---
Here is the revised patch, which for some reason isn't flagged as belonging to
the same thread as the original:

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

-- 


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


[Bug c++/17695] [4.0 regression] ICE in add_abstract_origin_attribute

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

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-29 07:17 
---
Subject: Bug 17695

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2004-10-29 07:16:50

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

Log message:
PR c++/17695
* decl.c (grokdeclarator): Mark TYPE_DECLs as abstract when they
appear in a constructor/destructor that will be cloned.

PR c++/17695
* g++.dg/debug/typedef2.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4462&r2=1.4463
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&r1=1.1321&r2=1.1322
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4517&r2=1.4518
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/debug/typedef2.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


[Bug c/3581] large string causes Segmentation Fault in cc1

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

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-29 07:19 
---
Subject: Bug 3581

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-3_2-rhl8-branch
Changes by: [EMAIL PROTECTED]   2004-10-29 07:19:00

Modified files:
gcc: ChangeLog c-common.c c-common.h c-parse.in 
 c-typeck.c 
gcc/cp : ChangeLog parse.y rtti.c semantics.c spew.c 
gcc/objc   : objc-act.c 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/g++.dg/parse: concat1.C 
gcc/testsuite/gcc.dg: concat2.c 

Log message:
2002-04-26  Richard Henderson  <[EMAIL PROTECTED]>

PR c/3581
* c-common.c (fix_string_type): Split out of ...
(combine_strings): ... here.  Take a varray, not a tree list.
(c_expand_builtin_printf): Use fix_string_type.
* c-common.h: Update decls.
* c-parse.in (string): Remove.  Update all uses to use STRING
instead, and not call combine_strings.
(yylexstring): New.
(_yylex): Use it.
* c-typeck.c (simple_asm_stmt): Don't call combine_strings.
(build_asm_stmt): Likewise.
* objc/objc-act.c (my_build_string): Use fix_string_type.
(build_objc_string_object): Build varray for combine_strings.
cp/
* parse.y (string): Remove.  Update all uses to use STRING
instead, and not call combine_strings.
* rtti.c (tinfo_name): Use fix_string_type.
* semantics.c (finish_asm_stmt): Don't call combine_strings.
* spew.c (yylexstring): New.
(read_token): Use it.
testsuite/
* g++.dg/parse/concat1.C: New test.
* gcc.dg/concat2.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=1.13152.2.657.2.27.2.203&r2=1.13152.2.657.2.27.2.204
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=1.294.2.9.2.1.2.6&r2=1.294.2.9.2.1.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.h.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=1.115.2.3.4.1.2.3&r2=1.115.2.3.4.1.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-parse.in.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=1.127.2.2.4.1.2.5&r2=1.127.2.2.4.1.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-typeck.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=1.180.2.2.4.1.2.4&r2=1.180.2.2.4.1.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=1.2685.2.114.2.8.2.30&r2=1.2685.2.114.2.8.2.31
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parse.y.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=1.248.2.5.4.1.2.5&r2=1.248.2.5.4.1.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/rtti.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=1.130.6.1.2.2&r2=1.130.6.1.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=1.252.2.6.8.3&r2=1.252.2.6.8.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/spew.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=1.61.10.2&r2=1.61.10.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/objc/objc-act.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=1.126.2.1.8.1&r2=1.126.2.1.8.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=1.1672.2.166.2.8.2.85&r2=1.1672.2.166.2.8.2.86
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/concat1.C.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=NONE&r2=1.1.106.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/concat2.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=NONE&r2=1.1.106.1



-- 


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


[Bug target/11591] [3.4 only] ICE in gcc.dg/altivec-5.c

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

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-29 07:27 
---
Subject: Bug 11591

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-3_2-rhl8-branch
Changes by: [EMAIL PROTECTED]   2004-10-29 07:27:05

Modified files:
gcc: ChangeLog 
gcc/config/rs6000: rs6000.c 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/gcc.dg: altivec-5.c 

Log message:
2004-03-30  Hartmut Penner  <[EMAIL PROTECTED]>

PR 11591
* config/rs6000/rs6000.c (rs6000_legitimate_address):
Allow any offset to argument pointer in no-strict case.

2002-04-16  Jakub Jelinek  <[EMAIL PROTECTED]>

* gcc.dg/altivec-5.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=1.13152.2.657.2.27.2.205&r2=1.13152.2.657.2.27.2.206
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=1.291.2.13.2.5.2.21&r2=1.291.2.13.2.5.2.22
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=1.1672.2.166.2.8.2.87&r2=1.1672.2.166.2.8.2.88
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/altivec-5.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=NONE&r2=1.2.28.1



-- 


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


[Bug c++/17695] [4.0 regression] ICE in add_abstract_origin_attribute

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

--- Additional Comments From mmitchel at gcc dot gnu dot org  2004-10-29 07:27 
---
Fixed in GCC 4.0.

-- 
   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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


[Bug fortran/18108] [gfortran] overloading does not work for functions

2004-10-29 Thread c dot lemmen at fz-juelich dot de

--- Additional Comments From c dot lemmen at fz-juelich dot de  2004-10-29 08:13 
---
Further reduced, same error:


module foo
implicit none

interface bar
  module procedure bar_real
end interface

contains

function bar_real (rarg)
  real rarg
  logical bar_real
  bar_real = (rarg==0.0)
end function

subroutine baz
  logical l
  l = bar (3.0)
end subroutine

end module foo


-- 


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


[Bug c++/18216] New: Different results when an array is statically/dynamically allocated

2004-10-29 Thread dkouroun at mailbox dot gr
The README files in the tarball, show that when an array is declared 
double V[N]; 
or 
double* V = new double[N]; 
 
computations with values stored in that array give different results! 
Should floating point calculations with values stored in an array 
depend on the way that array has been allocated? Both g++-3.4.2  
and icc-8.1.022 exhibit similar behaviour with icc being both more  
accurate and much faster on a pentium4 Laptop.

-- 
   Summary: Different results when an array is
statically/dynamically allocated
   Product: gcc
   Version: 3.4.2
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dkouroun at mailbox dot gr
CC: gcc-bugs at gcc dot gnu dot org


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


[Bug c++/18216] Different results when an array is statically/dynamically allocated

2004-10-29 Thread dkouroun at mailbox dot gr

--- Additional Comments From dkouroun at mailbox dot gr  2004-10-29 10:25 ---
Created an attachment (id=7427)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7427&action=view)
source code and the results in README.1, README.2


-- 


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


[Bug libgcj/14070] gij and -jar argument should set the manifest Class-path recursively

2004-10-29 Thread aph at gcc dot gnu dot org


-- 
   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |aph at gcc dot gnu dot org
   |dot org |
 Status|NEW |ASSIGNED
  Known to fail|4.0 3.3.3 3.0.4 3.3.1 3.2.3 |3.3.3 3.0.4 3.3.1 3.2.3
   |3.2.2 3.4.0 |3.2.2 3.4.0


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


[Bug bootstrap/18208] error compiling gcc34 on freebsd 5.1

2004-10-29 Thread micko_s at hotmail dot com

--- Additional Comments From micko_s at hotmail dot com  2004-10-29 10:41 ---
(In reply to comment #1)
> CFLAGS containing -mcpu= is your problem, this is listed on the instation
instructions because it has 
> bitten some of other people already.
> 
> `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
> 

Sorry but i don't know how to write a make statemant with -mtune or -march!

-- 


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


[Bug ada/18217] New: [4.0 Regression] Bootstrap failures on powerpc-darwin with undefined symbol (__Unwind_fallback_frame_state_for)

2004-10-29 Thread pinskia at gcc dot gnu dot org
../../xgcc -B../../ -c -DIN_GCC   `echo -O2 -g -O2 -W -Wall -Wwrite-strings 
-Wstrict-prototypes 
-Wmissing-prototypes -fno-common |sed -e 's/-pedantic//g' -e 's/-Wtraditional//g'`   
-O2 -g -O2   
-I. -I.. -I../.. -I/Users/pinskia/src/local2/gcc/gcc/ada 
-I/Users/pinskia/src/local2/gcc/gcc/ada/../
config -I/Users/pinskia/src/local2/gcc/gcc/ada/../../include 
-I/Users/pinskia/src/local2/gcc/gcc/ada/
.. /Users/pinskia/src/local2/gcc/gcc/ada/link.c \
  -o link.o
../../xgcc -B../../ -DIN_GCC   `echo -O2 -g -O2 -W -Wall -Wwrite-strings 
-Wstrict-prototypes 
-Wmissing-prototypes -fno-common |sed -e 's/-pedantic//g' -e 's/-Wtraditional//g'`   
-o ../../
gnatmake b_gnatm.o a-except.o ctrl_c.o ali.o ali-util.o s-casuti.o alloc.o atree.o 
binderr.o butil.o 
casing.o csets.o debug.o elists.o einfo.o erroutc.o errutil.o err_vars.o fmap.o 
fname.o fname-uf.o 
fname-sf.o gnatmake.o gnatvsn.o hostparm.o interfac.o i-c.o i-cstrin.o krunch.o lib.o 
make.o 
makeusg.o makeutl.o mlib.o mlib-fil.o mlib-prj.o mlib-tgt.o mlib-utl.o namet.o 
nlists.o opt.o osint.o 
osint-m.o output.o prj.o prj-attr.o prj-attr-pm.o prj-com.o prj-dect.o prj-env.o 
prj-err.o prj-ext.o 
prj-nmsc.o prj-pars.o prj-part.o prj-proc.o prj-strt.o prj-tree.o prj-util.o rident.o 
s-exctab.o s-
secsta.o s-stalib.o s-stoele.o scans.o scng.o sdefault.o sfn_scan.o s-purexc.o 
s-htable.o sinfo.o 
sinput.o sinput-c.o sinput-p.o snames.o stand.o stringt.o styleg.o stylesw.o system.o 
validsw.o 
switch.o switch-m.o table.o targparm.o tempdir.o tree_io.o types.o uintp.o  uname.o 
urealp.o usage.o 
widechar.o  \
  ../rts/libgnat.a  ../../prefix.o ../../version.o link.o 
../../../libiberty/libiberty.a  
/usr/bin/ld: Undefined symbols:
__Unwind_fallback_frame_state_for
collect2: ld returned 1 exit status
make[4]: *** [../../gnatmake] Error 1
make[3]: *** [gnattools1] Error 2
make[2]: *** [gnattools-native] Error 2
make[1]: *** [all-target-libada] Error 2
make: *** [bootstrap] Error 2
gcc_build: error: Could not bootstrap the compiler

-- 
   Summary: [4.0 Regression] Bootstrap failures on powerpc-darwin
with undefined symbol
(__Unwind_fallback_frame_state_for)
   Product: gcc
   Version: 4.0.0
Status: UNCONFIRMED
  Keywords: build
  Severity: normal
  Priority: P2
 Component: ada
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=18217


[Bug ada/18217] [4.0 Regression] Bootstrap failures on powerpc-darwin with undefined symbol (__Unwind_fallback_frame_state_for)

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


-- 
   What|Removed |Added

   Target Milestone|--- |4.0.0


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


[Bug target/18216] Different results when an array is statically/dynamically allocated

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 11:36 
---
This might be related to PR 17990.

-- 
   What|Removed |Added

  Component|c++ |target


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


[Bug fortran/18218] New: Miscompare in sixtrack benchmark caused by loss of precision

2004-10-29 Thread lei at il dot ibm dot com
I could reproduce this problem only on power4 hardware,
running SUSE linux.

% uname -a
Linux regsuse01 2.6.5-7-pseries64 #1 SMP Thu Apr 8 15:55:41 UTC 2004 ppc64 ppc64
ppc64 GNU/Linux

% ~/gcc/bin/gfortran --version
GNU Fortran 95 (GCC 4.0.0 20041027 (experimental))

Running SIXTRACK spec benchmark results in a miscompare,
even with all optimizations turned off.  The miscompare is caused
by the following place in file eig66.f

  do 40 i=1,ndim2
if(abs(reval(i)**2+aieval(i)**2 -one).gt.c1m10) then
  write(6,*) ' EIG6: EIGENVALUES OFF THE UNIT CIRCLE!'
  return
endif

This code checks that the distance from computed complex
eigenvalues to the unit circle is no more than 10**-10.
With g77, the distance is about 10**-14, and I get similar
results on other platforms with gfortran.  On power4+gfortran
the distance is about 10**-8, which triggers the error
message and causes miscompare.

There is some possibility that this problem is related
to 17927.

-- 
   Summary: Miscompare in sixtrack benchmark caused by loss of
precision
   Product: gcc
   Version: 4.0.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: lei at il dot ibm dot com
CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc64-unknown-linux-gnu
  GCC host triplet: powerpc64-unknown-linux-gnu
GCC target triplet: powerpc64-unknown-linux-gnu


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


[Bug target/11739] i386 prefetch tests need to made smarter

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

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-29 12:37 
---
Subject: Bug 11739

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-3_3-rhl-branch
Changes by: [EMAIL PROTECTED]   2004-10-29 12:37:36

Modified files:
gcc: ChangeLog 
gcc/config/i386: i386.c 
gcc/testsuite  : ChangeLog 
gcc/testsuite/gcc.misc-tests: i386-prefetch.exp 

Log message:
2004-07-09  Jakub Jelinek  <[EMAIL PROTECTED]>

* Backport from mainline:
2004-07-08  Paolo Bonzini  <[EMAIL PROTECTED]>
Jakub Jelinek  <[EMAIL PROTECTED]>

* config/i386/i386.c (override_options): Enable
SSE prefetches with -mtune, as long as we are
compiling for i686 or higher.  All i686 processors
accept SSE prefetches as NOPS, some i586's don't.

2004-07-07  Jakub Jelinek  <[EMAIL PROTECTED]>

* config/i386/i386.c (override_options): Don't set x86_prefetch_sse
from -mtune= option.

2004-07-08  Jakub Jelinek  <[EMAIL PROTECTED]>

* gcc.mist-tests/i386-prefetch.exp (PREFETCH_SSE): Change all
-march=i386 into -march=i686.  Add -march=i686 -mcpu=prescott and
-march=prescott.
(PREFETCH_3DNOW): Add -march=c3.

2003-08-04  Janis Johnson  <[EMAIL PROTECTED]>

PR target/11739
* gcc.misc-tests/i386-prefetch.exp: Use -march=i386 when specifying
a value for -mcpu.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-rhl-branch&r1=1.16114.2.523.2.112&r2=1.16114.2.523.2.113
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-rhl-branch&r1=1.495.2.20.4.24&r2=1.495.2.20.4.25
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-rhl-branch&r1=1.2261.2.170.2.61&r2=1.2261.2.170.2.62
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.misc-tests/i386-prefetch.exp.diff?cvsroot=gcc&only_with_tag=gcc-3_3-rhl-branch&r1=1.2&r2=1.2.52.1



-- 


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


[Bug c++/16276] [3.4 only] G++ generates local references to linkonce sections

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

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-29 13:00 
---
Subject: Bug 16276

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-3_3-rhl-branch
Changes by: [EMAIL PROTECTED]   2004-10-29 12:59:56

Modified files:
gcc: ChangeLog final.c output.h varasm.c 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/g++.old-deja/g++.other: comdat4-aux.cc comdat4.C 

Log message:
PR c++/16276
* output.h (function_readonly_data_section): New prototype.
* varasm.c (function_readonly_data_section): New function.
* final.c (final_scan_insn): Call it instead of
readonly_data_section.

* g++.old-deja/g++.other/comdat4.C: New test.
* g++.old-deja/g++.other/comdat4-aux.cc: New.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-rhl-branch&r1=1.16114.2.523.2.114&r2=1.16114.2.523.2.115
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/final.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-rhl-branch&r1=1.271.2.1.4.2&r2=1.271.2.1.4.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/output.h.diff?cvsroot=gcc&only_with_tag=gcc-3_3-rhl-branch&r1=1.116.6.1&r2=1.116.6.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/varasm.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-rhl-branch&r1=1.324.2.4.2.10&r2=1.324.2.4.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-rhl-branch&r1=1.2261.2.170.2.62&r2=1.2261.2.170.2.63
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.other/comdat4-aux.cc.diff?cvsroot=gcc&only_with_tag=gcc-3_3-rhl-branch&r1=NONE&r2=1.1.32.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.other/comdat4.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-rhl-branch&r1=NONE&r2=1.1.32.1



-- 


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


[Bug c++/16276] [3.4 only] G++ generates local references to linkonce sections

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

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-29 13:04 
---
Subject: Bug 16276

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-3_3-rhl-branch
Changes by: [EMAIL PROTECTED]   2004-10-29 13:03:55

Modified files:
gcc: ChangeLog 
gcc/cp : rtti.c 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/g++.dg/rtti: tinfo1.C 

Log message:
2004-07-07  H.J. Lu  <[EMAIL PROTECTED]>

PR c++/16276
* rtti.c (emit_tinfo_decl): Turn off DECL_ONE_ONLY if typeinfo
is not public.

PR c++/16276
* g++.dg/rtti/tinfo1.C: New file.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-rhl-branch&r1=1.16114.2.523.2.115&r2=1.16114.2.523.2.116
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/rtti.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-rhl-branch&r1=1.146.2.1.2.2&r2=1.146.2.1.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-rhl-branch&r1=1.2261.2.170.2.63&r2=1.2261.2.170.2.64
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/rtti/tinfo1.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-rhl-branch&r1=NONE&r2=1.3.28.1



-- 


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


[Bug target/18216] Different results when an array is statically/dynamically allocated

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 13:06 
---
The source is not fully compilable.  You missed the timing.h header.

-- 


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


[Bug java/18212] nativ compilation with multiple jars fails / gives internal compiler error

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 13:08 
---
This is most likely the same as PR 7.

Could you attach all three jar files?

-- 
   What|Removed |Added

   Keywords||ice-on-valid-code


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


[Bug c++/18207] misleading diagnostic for ill-formed implicitly-defined default constructor

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 13:10 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Keywords||diagnostic
  Known to fail||2.95 3.4.3 4.0.0 3.3.3 3.2.3
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 13:10:16
   date||
Summary|wrong diagnostic for ill-   |misleading diagnostic for
   |formed implicitly-defined   |ill-formed implicitly-
   |default constructor |defined default constructor


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


[Bug target/18206] -dynamic-linker option seems to be badly named, broken and undocumented

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 13:14 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
  Known to fail||2.95.3 3.0.4 3.2.3 3.3.3
   ||3.4.0 4.0.0
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 13:14:13
   date||


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


[Bug ada/18217] [4.0 Regression] Bootstrap failures on powerpc-darwin with undefined symbol (__Unwind_fallback_frame_state_for)

2004-10-29 Thread ebotcazou at gcc dot gnu dot org


-- 
   What|Removed |Added

 CC||ebotcazou at gcc dot gnu dot
   ||org


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


[Bug rtl-optimization/16088] [4.0 Regression] Generates wrong code

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 13:19 
---
Can you try again, there was recently patch which might help, also can you attach a 
preprocessed 
source which you can link?

-- 


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


[Bug ada/15799] Legal program rejected, using 'Base

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


-- 
   What|Removed |Added

  Known to fail||4.0.0


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


[Bug ada/17666] Ada tests hanging during make check

2004-10-29 Thread charlet at gcc dot gnu dot org

--- Additional Comments From charlet at gcc dot gnu dot org  2004-10-29 13:22 
---
Are these tests still hanging on a more recent GCC version ?
AFAIK, these tests should be compiled properly now (assuming Ada
builds successfully).

Arno

-- 
   What|Removed |Added

 Status|UNCONFIRMED |WAITING


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


[Bug ada/15803] Illegal program not detected, RM 8.3(19)

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


-- 
   What|Removed |Added

  Known to fail||4.0.0


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


[Bug ada/15804] Illegal program not detected, RM 3.8.1(2)

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


-- 
   What|Removed |Added

  Known to fail||4.0.0


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


[Bug ada/15805] Illegal program not detected, allows writing through access to constant

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


-- 
   What|Removed |Added

  Known to fail||4.0.0


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


[Bug ada/15808] Illegal program not detected, RM 3.9.3(10)

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


-- 
   What|Removed |Added

  Known to fail||4.0.0


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


[Bug ada/15840] Illegal program not detected, RM 3.7(14)

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


-- 
   What|Removed |Added

  Known to fail||4.0.0


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


[Bug target/18216] Different results when an array is statically/dynamically allocated

2004-10-29 Thread bangerth at dealii dot org

--- Additional Comments From bangerth at dealii dot org  2004-10-29 13:27 ---
I can't compile your code, due to this: 
g/x> /home/bangerth/bin/gcc-3.4.3-pre/bin/c++ main1.cc 
main1.cc:3:20: timing.h: No such file or directory 
main1.cc:9: error: `R' does not name a type 
main1.cc: In function `int main(int, char**)': 
main1.cc:20: error: `indexType' does not name a type 
main1.cc:21: error: `indexType' undeclared (first use this function) 
main1.cc:21: error: (Each undeclared identifier is reported only once for each 
function it appears in.) 
main1.cc:21: error: expected `;' before "i" 
[...] 
 
The file timing.h isn't in your tarball. 
 
But besides that, can you try to come up with a smaller and more obvious 
testcase? You may be able to merge everything into one file which would 
make things more obvious. 
 
Thanks 
 W. 

-- 
   What|Removed |Added

 Status|UNCONFIRMED |WAITING


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


[Bug ada/15841] Illegal program not detected, RM 3.9(17)

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 13:27 
---
On the mainline I get: 
test_247015.ads:7:26: "Tag" attribute can only be applied to objects of class-wide type
test_247015.ads:8:16: missing ";"

Is this a correct error?

-- 


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


[Bug ada/18085] [Ada] - C++ interoperability sample program fails, 3.4.2, Linux 2.4.20-8, Red Hat 9.0

2004-10-29 Thread charlet at gcc dot gnu dot org

--- Additional Comments From charlet at gcc dot gnu dot org  2004-10-29 13:28 
---
I believe recent changes in Interfaces.CPP may have fixed things, if
there's indeed something to fix.

Could you verify ?

Arno

-- 
   What|Removed |Added

 Status|UNCONFIRMED |WAITING


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


[Bug ada/15841] Illegal program not detected, RM 3.9(17)

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 13:30 
---
Note the error about the semicolon was my fault for not copying the semicolon at the 
end of the line 
but does not matter we still reject it:
test_247015.ads:7:23: "Tag" attribute can only be applied to objects of class-wide type


-- 


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


[Bug ada/15841] Illegal program not detected, RM 3.9(17)

2004-10-29 Thread charlet at gcc dot gnu dot org

--- Additional Comments From charlet at gcc dot gnu dot org  2004-10-29 13:31 
---
Yes, error message seems fine.

Closing.

Arno

-- 
   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.0.0


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


[Bug ada/15842] Legal program rejected

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 13:32 
---
I get this on the mainline):
cannot generate code for file test_247016.ads (package spec)
to check package spec for errors, use -gnatc

(I don't know gnat/Ada that much, does that mean this code is accepted?)

-- 
   What|Removed |Added

   Target Milestone|--- |4.0.0


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


[Bug ada/15843] Illegal program not detected, RM 3.7.2(2)

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 13:33 
---
I do get a warning on the mainline:
test_247017.adb:8:18: warning: "x" is never assigned a value


-- 
   What|Removed |Added

  Known to fail||4.0.0


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


[Bug ada/15842] Legal program rejected

2004-10-29 Thread charlet at gcc dot gnu dot org

--- Additional Comments From charlet at gcc dot gnu dot org  2004-10-29 13:34 
---
If that's the only error you are getting, and compiling the spec with -gnatc
gives no error, then indeed the problem is fixed.

Arno

-- 
   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED


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


[Bug ada/15845] Illegal program not detected, circular renames

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


-- 
   What|Removed |Added

  Known to fail||4.0.0


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


[Bug ada/15846] Illegal program not detected, self renames

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


-- 
   What|Removed |Added

  Known to fail||4.0.0


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


[Bug ada/15847] Legal program rejected, RM 3.10.2(32)

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


-- 
   What|Removed |Added

  Known to fail||4.0.0


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


[Bug ada/15915] Illegal program not detected, RM 13.11(15)

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


-- 
   What|Removed |Added

  Known to fail||4.0.0


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


[Bug ada/15916] Illegal program not detected, RM 12.4(7)

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


-- 
   What|Removed |Added

  Known to fail||4.0.0


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


[Bug ada/15604] Ambiguous aggregate -- Accepts invalid

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


-- 
   What|Removed |Added

  Known to fail||4.0.0


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


[Bug ada/15605] invalid program not detected, RM 8.3(22)

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


-- 
   What|Removed |Added

  Known to fail||4.0.0


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


[Bug ada/15611] Invalid program not detected, RM 3.7(11)

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


-- 
   What|Removed |Added

  Known to fail||4.0.0


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


[Bug ada/15613] Accepts named parameters not last

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


-- 
   What|Removed |Added

  Known to fail||4.0.0


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


[Bug ada/13370] 'constant String' with 'pragma Machine_Attribute' triggers ICE

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 13:49 
---
An attribute name is NULL.

-- 
   What|Removed |Added

   Last reconfirmed|2003-12-10 08:00:37 |2004-10-29 13:49:38
   date||


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


[Bug libfortran/17999] libfortran: uses some C99 functions (snprintf)

2004-10-29 Thread ebotcazou at gcc dot gnu dot org

--- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-10-29 13:54 
---
This affects Solaris 2.5.1 (once the library is built).


-- 
   What|Removed |Added

 CC||ebotcazou at gcc dot gnu dot
   ||org


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


[Bug ada/12959] Range checking code bug/optimizations

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 13:57 
---
Fixed on the mainline by the tree optimizators.

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.0.0


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


[Bug c/18219] New: gcc-4.0.0 bloats code by 31%

2004-10-29 Thread miguel55angel at hotmail dot com
Hi,
this little function shows an increase in codesize by 31% or 13 byte.
   
void cdt (int *limit, int *base, int minLen, int maxLen)
{
   int i;
   
   for (i = minLen + 1; i <= maxLen; i++)
  base[i] = ((limit[i-1] + 1) << 1) - base[i];
}
   
   
Size  Version Flags
  41  3.4.2   -Os
  54  4.0.0   -Os -fno-ivopts
  63  4.0.0   -Os

3.4.2 disassembly code
 :
   0:   55  push   %ebp
   1:   89 e5   mov%esp,%ebp
   3:   8b 4d 14mov0x14(%ebp),%ecx
   6:   56  push   %esi
   7:   8b 55 10mov0x10(%ebp),%edx  
   a:   8b 75 08mov0x8(%ebp),%esi
   d:   53  push   %ebx
   e:   8b 5d 0cmov0xc(%ebp),%ebx
  11:   42  inc%edx
  12:   39 ca   cmp%ecx,%edx  
  14:   7f 0f   jg 25 
  16:   8b 44 96 fc mov0xfffc(%esi,%edx,4),%eax
  1a:   40  inc%eax
  1b:   01 c0   add%eax,%eax
  1d:   2b 04 93sub(%ebx,%edx,4),%eax
  20:   89 04 93mov%eax,(%ebx,%edx,4)
  23:   eb ec   jmp11 
  25:   5b  pop%ebx
  26:   5e  pop%esi
  27:   5d  pop%ebp
  28:   c3  ret


4.0.0-20041028 disassembly code
 :
   0:   55  push   %ebp
   1:   89 e5   mov%esp,%ebp
   3:   8b 4d 10mov0x10(%ebp),%ecx
   6:   57  push   %edi
   7:   8b 7d 08mov0x8(%ebp),%edi
   a:   56  push   %esi
   b:   8b 75 14mov0x14(%ebp),%esi
   e:   53  push   %ebx
   f:   8b 5d 0cmov0xc(%ebp),%ebx
  12:   41  inc%ecx
  13:   8d 14 8d 00 00 00 00lea0x0(,%ecx,4),%edx
  1a:   eb 11   jmp2d 
  1c:   8b 44 3a fc mov0xfffc(%edx,%edi,1),%eax
  20:   41  inc%ecx
  21:   40  inc%eax
  22:   01 c0   add%eax,%eax
  24:   2b 04 1asub(%edx,%ebx,1),%eax
  27:   89 04 1amov%eax,(%edx,%ebx,1)
  2a:   83 c2 04add$0x4,%edx
  2d:   39 f1   cmp%esi,%ecx
  2f:   7e eb   jle1c 
  31:   5b  pop%ebx
  32:   5e  pop%esi
  33:   5f  pop%edi
  34:   5d  pop%ebp
  35:   c3  ret
  
This PR may be related to PR17549, but it's much smaller and
hopefully easier to analyse!

-- 
   Summary: gcc-4.0.0 bloats code by 31%
   Product: gcc
   Version: 4.0.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: miguel55angel at hotmail dot com
CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i386-linux


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


[Bug tree-optimization/18219] [4.0 Regression] gcc-4.0.0 bloats code by 31%

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


-- 
   What|Removed |Added

OtherBugsDependingO||17549
  nThis||
  Component|c   |tree-optimization
   Keywords||missed-optimization
Summary|gcc-4.0.0 bloats code by 31%|[4.0 Regression] gcc-4.0.0
   ||bloats code by 31%
   Target Milestone|--- |4.0.0


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


[Bug middle-end/12966] x86 array comparison optimization

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:05 
---
Well Ada does not build a memcmp but the middle-end does and we don't optimize memcmp 
well in 
the middle-end/back-end that well.

-- 
   What|Removed |Added

  Component|ada |middle-end
   Last reconfirmed|2004-10-11 13:51:30 |2004-10-29 14:05:26
   date||


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


[Bug java/18212] nativ compilation with multiple jars fails / gives internal compiler error

2004-10-29 Thread bojan at antonovic dot com

--- Additional Comments From bojan at antonovic dot com  2004-10-29 14:19 ---
Subject: Re:  nativ compilation with multiple jars fails /
 gives internal compiler error

pinskia at gcc dot gnu dot org wrote:

>--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 13:08 
>---
>This is most likely the same as PR 7.
>
>Could you attach all three jar files?
>
>  
>
You have them in the attachment.

Because they're renamed, the real compilation calls for the classes of X 
are:

working: gcj --classpath=A.jar:B.jar:. --main=ProcessorOptimizer.Main 
ProcessorOptimizer/*.class ProcessorOptimizer/*/*.class A.jar B.jar
crashing: gcj -o x.exec --classpath=A.jar:B.jar:. 
--main=ProcessorOptimizer.Main ProcessorOptimizer/*.class 
ProcessorOptimizer/*/*.class A.jar B.jar
crashing: gcj -o x.exec --classpath=A.jar:B.jar:X.jar:. 
--main=ProcessorOptimizer.Main ProcessorOptimizer/*.class 
ProcessorOptimizer/*/*.class A.jar B.jar

The last crashing one is new.

working:  gcj --classpath=A.jar:B.jar:. --main=ProcessorOptimizer.Main 
X.jar A.jar B.jar
failing: gcj -o x.exec --classpath=A.jar:B.jar:. 
--main=ProcessorOptimizer.Main X.jar A.jar B.jar
failing: gcj -o x.exec --classpath=B.jar:A.jar:. 
--main=ProcessorOptimizer.Main X.jar A.jar B.jar

The last failing one is new.

I have tested this calls. I hope _I_ made no bug in the bug report! :)

Bojan




--- Additional Comments From bojan at antonovic dot com  2004-10-29 14:20 ---
Created an attachment (id=7428)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7428&action=view)

--- Additional Comments From bojan at antonovic dot com  2004-10-29 14:20 ---
Created an attachment (id=7429)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7429&action=view)

--- Additional Comments From bojan at antonovic dot com  2004-10-29 14:20 ---
Created an attachment (id=7430)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7430&action=view)


-- 


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


[Bug tree-optimization/18219] [4.0 Regression] gcc-4.0.0 bloats code by 31%

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:30 
---
Confirmed, on PPC, IV-OPTS causes a code bloat also, 7 new instructions but note 4.0.0 
with IV-OPTS 
on PPC is only one instruction more than 3.3. (on PPC every instruction is the same 
length).

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 14:30:12
   date||


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


[Bug ada/16079] Illegal program not detected, RM 8.2(9)

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:33 
---
Fixed on the mainline:
test_247573.ads:20:29: "x" is not a visible entity of "new_pak1"
test_247573.ads:21:18: "T1" is not a visible entity of "new_pak1"

-- 
   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.0.0


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


[Bug ada/16081] Illegal program not detected, ambiguous call to "="

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


-- 
   What|Removed |Added

  Known to fail||4.0.0


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


[Bug ada/16083] Illegal program not detected, RM 3.9.2(13)

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


-- 
   What|Removed |Added

  Known to fail||4.0.0


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


[Bug ada/16084] Illegal program not detected, RM 3.10.2(24)

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


-- 
   What|Removed |Added

  Known to fail||4.0.0


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


[Bug ada/16086] Legal program rejected, procedure of protected object should be visible

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:36 
---
Fixed on the mainline:
test_248172.ads:7:30: expect valid subprogram name as default


-- 
   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.0.0


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


[Bug ada/16086] Legal program rejected, procedure of protected object should be visible

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:36 
---
Woops read the bug wrong.

-- 
   What|Removed |Added

 Status|RESOLVED|UNCONFIRMED
  Known to fail||4.0.0
 Resolution|FIXED   |


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


[Bug ada/16087] Legal program rejected, RM 7.3(13)

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


-- 
   What|Removed |Added

  Known to fail||4.0.0


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


[Bug ada/16094] Illegal program not detected, RM 3.4.1(5)

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


-- 
   What|Removed |Added

  Known to fail||4.0.0


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


[Bug ada/16095] Illegal program not detected, X'Access of wrong type

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


-- 
   What|Removed |Added

  Known to fail||4.0.0


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


[Bug ada/16096] Illegal program not detected, RM 8.5.4(5)

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


-- 
   What|Removed |Added

  Known to fail||4.0.0


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


[Bug ada/16097] Illegal program not detected, RM 6.3.1(9), RM 8.5.4(5)

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


-- 
   What|Removed |Added

  Known to fail||4.0.0


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


[Bug ada/15843] Illegal program not detected, RM 3.7.2(2)

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:44 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 14:44:57
   date||


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


[Bug ada/16084] Illegal program not detected, RM 3.10.2(24)

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:44 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 14:44:58
   date||


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


[Bug ada/15808] Illegal program not detected, RM 3.9.3(10)

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:44 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 14:44:59
   date||


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


[Bug ada/16087] Legal program rejected, RM 7.3(13)

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:44 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 14:44:59
   date||


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


[Bug ada/15916] Illegal program not detected, RM 12.4(7)

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:45 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 14:45:00
   date||


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


[Bug ada/15805] Illegal program not detected, allows writing through access to constant

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:45 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 14:45:01
   date||


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


[Bug ada/15613] Accepts named parameters not last

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:45 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 14:45:02
   date||


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


[Bug ada/16083] Illegal program not detected, RM 3.9.2(13)

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:45 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 14:45:04
   date||


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


[Bug ada/16095] Illegal program not detected, X'Access of wrong type

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:45 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 14:45:05
   date||


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


[Bug ada/15915] Illegal program not detected, RM 13.11(15)

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:45 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 14:45:07
   date||


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


[Bug ada/15605] invalid program not detected, RM 8.3(22)

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:45 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 14:45:06
   date||


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


[Bug ada/15840] Illegal program not detected, RM 3.7(14)

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:45 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 14:45:08
   date||


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


[Bug ada/15611] Invalid program not detected, RM 3.7(11)

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:45 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 14:45:13
   date||


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


[Bug ada/16081] Illegal program not detected, ambiguous call to "="

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:45 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 14:45:14
   date||


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


[Bug ada/15845] Illegal program not detected, circular renames

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:45 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 14:45:15
   date||


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


[Bug ada/15847] Legal program rejected, RM 3.10.2(32)

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:45 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 14:45:16
   date||


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


[Bug ada/15803] Illegal program not detected, RM 8.3(19)

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:45 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 14:45:17
   date||


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


[Bug ada/15799] Legal program rejected, using 'Base

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:45 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 14:45:18
   date||


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


[Bug ada/16094] Illegal program not detected, RM 3.4.1(5)

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:45 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 14:45:20
   date||


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


[Bug ada/15604] Ambiguous aggregate -- Accepts invalid

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:45 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 14:45:21
   date||


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


[Bug ada/16097] Illegal program not detected, RM 6.3.1(9), RM 8.5.4(5)

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:45 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 14:45:25
   date||


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


[Bug ada/16086] Legal program rejected, procedure of protected object should be visible

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:45 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 14:45:22
   date||


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


[Bug ada/16096] Illegal program not detected, RM 8.5.4(5)

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:45 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 14:45:26
   date||


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


[Bug ada/15804] Illegal program not detected, RM 3.8.1(2)

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:45 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 14:45:29
   date||


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


[Bug ada/15846] Illegal program not detected, self renames

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:45 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 14:45:32
   date||


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


[Bug c++/15172] [3.3/3.4 regression] Copy constructor optimization in aggregate initialization

2004-10-29 Thread TazForEver at dlfp dot org

--- Additional Comments From TazForEver at dlfp dot org  2004-10-29 15:15 ---
and ppc32

-- 


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


[Bug tree-optimization/18219] [4.0 Regression] gcc-4.0.0 bloats code by 31%

2004-10-29 Thread giovannibajo at libero dot it

--- Additional Comments From giovannibajo at libero dot it  2004-10-29 15:43 
---
Zdenek, this is another PR about ivopts and -Os. The test case is very very 
simple, so if you could give a look it would be great.

-- 
   What|Removed |Added

 CC||rakdver at gcc dot gnu dot
   ||org, giovannibajo at libero
   ||dot it


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


Problems with -mregparm=2 and unsigned long long

2004-10-29 Thread Lars Hamren

This program

int main()
{
unsigned long  high  = 0x0013ABC;
unsigned long  low   = 0xB388B94A;
unsigned long long time1 = (((unsigned long long)high << 32L) + low);
unsigned long long time  = time1 / 450;
return time == 0;
}


will return different values depending on the -mregparm compiler
option. With a value of zero or one it will compute the correct
result, but with a value of two or three the value of `time' will be
zero and the return code will be one:

$ for i in 0 1 2 3 ; do gcc34 rdtsc2.c -o rdtsc2 -mregparm=$i; ./rdtsc2 ; echo 
$? ; done;
0
0
1
1

This may be because the compiler generates calls to __udivdi3
uses parameter passing in register, but linking is done with libraries
that use stack parameter passing.

Extracting __udivdi3 from glibc and including it in the source code
will solve the problem.

This problem is present in both gcc 3.3.3 and gcc 3.4 on Fedora
Core 2. I have not tried later versions of gcc.

$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking 
--disable-libunwind-exceptions --with-system-zlib --enable-__cxa_atexit 
--host=i386-redhat-linux
Thread model: posix
gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)

This problem surfaced when I tried using `unsigned long long' in a Linux
kernel driver. The kernel is compiled with a high value for -mregparm.



rdtsc2.i
Description: Binary data


Regards
/Lars
---
Lars Hamrén  Tel...: +46(46)189090
Svensk Datorutveckling   e-post: [EMAIL PROTECTED]
Vadmöllan 211WWW...: www.sdu.se
S-225 94 Lund
Sweden


[Bug target/17063] internal compiler error: in arm_print_operand, at config/arm/arm.c:9816

2004-10-29 Thread rearnsha at gcc dot gnu dot org

--- Additional Comments From rearnsha at gcc dot gnu dot org  2004-10-29 15:54 
---
Fixed in 4.0.  Not intending to fix for 3.4 or earlier, since not a regression.

int f (int x, int y)
{
  __asm__("rorw $8, %w0" : "=r"(x): "0" (y) : "cc");
  return x;
}

test.c: In function 'f':
test.c:3: error: invalid `asm': invalid operand for code 'w'


-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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


[Bug rtl-optimization/15342] [arm-linux] internal compiler error: in verify_local_live_at_start

2004-10-29 Thread rearnsha at gcc dot gnu dot org

--- Additional Comments From rearnsha at gcc dot gnu dot org  2004-10-29 16:43 
---
I think the key to what has failed here is that the reg-rename pass has missed
the equivalence between start->index and a member of the copied structure.

In pseudo code, the output from the previous pass has the following instructions

r2 := [ip+8]/4
cc := cmp r2, #0
ne(cc): r0, r1, r2 := [r0]/12
ne(cc): [ip]/12 := r0, r1, r2   // Note [ip+8]/4 set to new r2 ...
cc := cmp r2, #1// ...so no need to reload it here
gt(cc): r3 := #0
gt(cc): [ip+8]/4 := r3
return

Note that r2 is updated by the first conditional instruction (a conditional ldm
on ARM).  The conditional move code on ARM uses hard registers, but CSE has
clearly noticed this equivalence at some point and merged the two uses to avoid
a redundant re-load of start->index.  Unfortunately, rename_registers has missed
this and split the two uses up again.  This creates a use of r2 when it isn't
correctly initialized.

r1 := [ip+8]/4
cc := cmp r1, #0
ne(cc): r0, r1, r2 := [r0]/12
ne(cc): [ip]/12 := r0, r1, r2
cc := cmp r2, #1// r2 incorrect if previous insn not exec
gt(cc): r3 := #0
gt(cc): [ip+8]/4 := r3
return

-- 
   What|Removed |Added

  Component|target  |rtl-optimization


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


[Bug java/18220] New: Test case libjava.lang/Process_3 does not end if "sed" not available

2004-10-29 Thread green at redhat dot com
libjava.lang/Process_3.java should be changed to do something other than hang
forever if "sed" is not available on the target test platform.

-- 
   Summary: Test case libjava.lang/Process_3 does not end if "sed"
not available
   Product: gcc
   Version: 4.0.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: green at redhat dot com
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org


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


[Bug ada/18221] New: Illegal program not detected, access to invisible type RM 8.2(9)

2004-10-29 Thread ludovic dot brenta at insalien dot org
Debian bug #278831:

package Test_128 is

   package inner is
   private
  type T1;
  type T2 is null record;
   end inner;

   type T1_ptr is access inner.T1; -- line  9 ERROR: gnat mistakenly accepts
   type T2_ptr is access inner.T2; -- line 10 ERROR: gnat correctly rejects
end Test_128;


The output from the compiler is:

test_128.ads:10:31: "T2" is not a visible entity of "inner"
gnatmake: "test_128.ads" compilation error

As can be seen, the error at line 9 is not diagnosed.

-- 
   Summary: Illegal program not detected, access to invisible type
RM 8.2(9)
   Product: gcc
   Version: 3.4.2
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ludovic dot brenta at insalien dot org
CC: gcc-bugs at gcc dot gnu dot org


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


[Bug ada/18221] Illegal program not detected, access to invisible type RM 8.2(9)

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

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 17:05 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Keywords||accepts-invalid
  Known to fail||4.0.0
   Last reconfirmed|-00-00 00:00:00 |2004-10-29 17:05:02
   date||


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


  1   2   >