[Bug ada/30027] New: Crash in get_memory_rtx, at builtins.c:1086

2006-11-30 Thread oliver dot kellogg at eads dot com
gcc -c p_aae_ts_control.adb
+===GNAT BUG DETECTED==+
| 4.1.0 (i686-pc-linux-gnu) in get_memory_rtx, at builtins.c:1086  |
| Error detected at p_aae_ts_control.adb:44:5  |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.|
| Use a subject line meaningful to you and us to track the bug.|
| Include the entire contents of this bug box in the report.   |
| Include the exact gcc or gnatmake command that you entered.  |
| Also include sources listed below in gnatchop format |
| (concatenated together with no headers between files).   |
+==+


-- 
   Summary: Crash in get_memory_rtx, at builtins.c:1086
   Product: gcc
   Version: 4.1.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: oliver dot kellogg at eads dot com
  GCC host triplet: i686-pc-linux


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



[Bug ada/30027] Crash in get_memory_rtx, at builtins.c:1086

2006-11-30 Thread oliver dot kellogg at eads dot com


--- Comment #1 from oliver dot kellogg at eads dot com  2006-11-30 08:13 
---
Created an attachment (id=12713)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12713&action=view)
Please include these source files with error report [...]


-- 


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



[Bug ada/30027] Crash in get_memory_rtx, at builtins.c:1086

2006-11-30 Thread oliver dot kellogg at eads dot com


--- Comment #2 from oliver dot kellogg at eads dot com  2006-11-30 08:14 
---
Does not happen with GNAT Pro 5.04a.


-- 


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



[Bug middle-end/20218] Can't use __attribute__ ((visibility ("hidden"))) to hide a symbol

2006-11-30 Thread pluto at agmk dot net


--- Comment #24 from pluto at agmk dot net  2006-11-30 10:47 ---
currently i'm trying to build the kdelibs with gcc42-svn.
my qt and gcc are patched with:

http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/gcc-pr20218.patch?rev=HEAD
http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/qt-fvisibility.patch?rev=HEAD

it *worked* fine for gcc41 on x86-64, ix86 and ppc.
now it fails only for gcc42 on x86-64 (ix86 and ppc work).

[~/rpm/BUILD/kdelibs-3.5.5/kcmshell]$ make

/bin/sh ../libtool --silent --tag=CXX   --mode=link "x86_64-pld-linux-g++" 
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2
-O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -Wformat-security
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new
-fno-common -fvisibility=hidden -fvisibility-inlines-hidden 
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -Wl,--as-needed  -o libkdeinit_kcmshell.la -rpath
/usr/lib64 -no-undefined -avoid-version -L/usr/lib64main.lo main_skel.lo
../kutils/libkutils.la
/usr/bin/ld: .libs/main_skel.o: relocation R_X86_64_PC32 against
`_ZTV9QMemArrayIcE' can not be used when making a shared object; recompile with
-fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status


$ readelf -sW /usr/lib64/libqt-mt.so.3.3.7 | grep _ZTV9QMemArrayIcE

19100: 009989c0  56 OBJECT WEAK DEFAULT 18 _ZTV9QMemArrayIcE

$ readelf -sW main_skel.o | grep _ZTV9QMemArrayIcE

   54:   56 OBJECT WEAK HIDDEN  45 _ZTV9QMemArrayIcE


$ readelf -r main_skel.o|grep _ZTV9QMemArrayIcE
0179  00360002 R_X86_64_PC32  _ZTV9QMemArrayIcE
+ c
0195  00360002 R_X86_64_PC32  _ZTV9QMemArrayIcE
+ c
0003  00360002 R_X86_64_PC32  _ZTV9QMemArrayIcE
+ c
0003  00360002 R_X86_64_PC32  _ZTV9QMemArrayIcE
+ c
Relocation section '.rela.data.rel.ro._ZTV9QMemArrayIcE' at offset 0x82010
contains 6 entries:

$ readelf -r /usr/lib64/libqt-mt.so.3.3.7| grep _ZTV9QMemArrayIcE
0099ad68  4a9c0001 R_X86_64_64   009989c0 _ZTV9QMemArrayIcE
+ 10
009e30d0  4a9c0006 R_X86_64_GLOB_DAT 009989c0 _ZTV9QMemArrayIcE
+ 0

any ideas?


-- 


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



[Bug ada/30027] Crash in get_memory_rtx, at builtins.c:1086

2006-11-30 Thread pinskia at gcc dot gnu dot org


--- Comment #3 from pinskia at gcc dot gnu dot org  2006-11-30 10:57 ---
Works at least on the 4.2 branch and the mainline.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Keywords||ice-on-valid-code
  Known to work||4.2.0 4.3.0


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



[Bug c++/30022] [4.0/4.1/4.2/4.3 regression] ICE on vector operand in division

2006-11-30 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2006-11-30 11:02 ---
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

URL||http://gcc.gnu.org/ml/gcc-
   ||patches/2006-
   ||11/msg02001.html
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Keywords||patch
   Last reconfirmed|-00-00 00:00:00 |2006-11-30 11:02:16
   date||


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



[Bug c/30020] missing limited range warning for a switch statement

2006-11-30 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2006-11-30 11:04 ---
I think it is harder in this case as the char is promoted to int and then we
don't demote it until after the front-end is doing its parsing ...


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Severity|normal  |enhancement
  GCC build triplet|all |
   GCC host triplet|all |
 GCC target triplet|all |
   Keywords||diagnostic


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



[Bug bootstrap/30018] [4.3 Regression] gcc trunk fails as "make install" when bootstrapping with GCC before 4.2

2006-11-30 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2006-11-30 11:06 ---
This was fixed by:
2006-11-29  Daniel Berlin  <[EMAIL PROTECTED]>
Steven Bosscher <[EMAIL PROTECTED]>

* Makefile.in (tree-ssanames.o): Remove gt-tree-ssanames.h,
since it no longer exists.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
  GCC build triplet|x86_64-unknown-linux-gnu|
   GCC host triplet|x86_64-unknown-linux-gnu|
 GCC target triplet|x86_64-unknown-linux-gnu|
   Keywords||build
 Resolution||FIXED
Summary|gcc trunk fails as "make|[4.3 Regression] gcc trunk
   |install" on x86_64-unknown- |fails as "make install" when
   |linux-gnu   |bootstrapping with GCC
   ||before 4.2
   Target Milestone|--- |4.3.0


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



[Bug tree-optimization/23744] VRP does not merge discontinuous ranges of PHIs

2006-11-30 Thread pinskia at gcc dot gnu dot org


--- Comment #8 from pinskia at gcc dot gnu dot org  2006-11-30 11:07 ---
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

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


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



[Bug middle-end/30016] internal compiler error: in convert_move, at expr.c:362

2006-11-30 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2006-11-30 11:24 ---
With checking we get a different ICE:
t1.cc: In function ‘void f()’:
t1.cc:3: error: statement makes a memory store, but has no V_MAY_DEFS nor
V_MUST_DEFS
VIEW_CONVERT_EXPR(b_1).a[1] = 1.0e+0;
t1.cc:3: internal compiler error: verify_ssa failed
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html> for instructions

And here is a reduced testcase for that:
typedef float __v_4F __attribute__ ((vector_size (16)));
typedef union {__v_4F v; float a[4];} __v4F;
void f(void)
{
  __v_4F b;
  (reinterpret_cast<__v4F>(b).a)[1] = 1;
}


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

  Component|c++ |middle-end


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



[Bug tree-optimization/30016] [4.0/4.1/4.2/4.3 Regression] internal compiler error: in convert_move, at expr.c:362

2006-11-30 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2006-11-30 11:54 ---
I think there are two issues, first this code should be rejected which it was
in 3.2.3:
t.cc:38: invalid reinterpret_cast from type `vector float' to type `__v4F'

Second the VIEW_CONVERT_EXPR issue which an tree-ssa issue which actually
blocks other work.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
  Component|middle-end  |tree-optimization
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2006-11-30 11:54:46
   date||
Summary|internal compiler error: in |[4.0/4.1/4.2/4.3 Regression]
   |convert_move, at expr.c:362 |internal compiler error: in
   ||convert_move, at expr.c:362
   Target Milestone|--- |4.0.4


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



[Bug c++/30021] [4.3 regression] ICE on invalid parameter for main

2006-11-30 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2006-11-30 11:56 ---
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

URL||http://gcc.gnu.org/ml/gcc-
   ||patches/2006-
   ||11/msg01996.html
   Severity|normal  |minor
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Keywords||patch
   Last reconfirmed|-00-00 00:00:00 |2006-11-30 11:56:24
   date||


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



[Bug fortran/30025] Standard F77 entry point failed

2006-11-30 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2006-11-30 11:58 ---


*** This bug has been marked as a duplicate of 25818 ***


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE


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



[Bug fortran/25818] Problem with handling optional and entry master arguments

2006-11-30 Thread pinskia at gcc dot gnu dot org


--- Comment #11 from pinskia at gcc dot gnu dot org  2006-11-30 11:58 
---
*** Bug 30025 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||elizabeth dot l dot yip at
   ||boeing dot com


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



[Bug middle-end/30028] New: [4.3 Regression] bcopy is wrongly converted to memcpy

2006-11-30 Thread kkojima at gcc dot gnu dot org
gcc.c-torture/execute/builtins/memops-asm.c fails on sh-elf
with -O1 and higher.  It seems that bcopy is converted to memcpy
even when source and destination area are overlapped.  It looks
same tests start to fail also on ia64 and s390 testresults.  They
don't fail on i686, but a similar testcase

typedef __SIZE_TYPE__ size_t;
extern void abort (void);
extern void bcopy (const void *, void *, size_t);
extern int memcmp (const void *, const void *, size_t);

char y[64] = "foXXXrfoobar";

int
main ()
{
  bcopy (y + 1, y + 2, 6);
  if (memcmp (y, "fooXXXrfobar", 13))
abort ();
  return 0;
}

aborts with -O1 on i686-pc-linux-gnu for revision 119302.
If the resent changes of builtins.c in r119292 and r119294 are
reverted, the errors go away.


-- 
   Summary: [4.3 Regression] bcopy is wrongly converted to memcpy
   Product: gcc
   Version: 4.3.0
Status: UNCONFIRMED
  Keywords: wrong-code
  Severity: normal
  Priority: P3
 Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kkojima at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: sh-elf


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



[Bug middle-end/30017] [4.3 Regression] ICE in cp_expr_size, at cp/cp-objcp-common.c:101

2006-11-30 Thread hubicka at gcc dot gnu dot org


--- Comment #8 from hubicka at gcc dot gnu dot org  2006-11-30 13:06 ---
Probably my bug, I guess the same as shown in dlv nightly tester.
I am looking into it.


-- 

hubicka at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |hubicka at gcc dot gnu dot
   |dot org |org
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2006-11-30 13:06:25
   date||


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



[Bug middle-end/30017] [4.3 Regression] ICE in cp_expr_size, at cp/cp-objcp-common.c:101

2006-11-30 Thread rguenth at gcc dot gnu dot org


--- Comment #9 from rguenth at gcc dot gnu dot org  2006-11-30 13:42 ---
Yes, it's a reduced testcase from the DVL failure.


-- 


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



[Bug middle-end/30028] [4.3 Regression] bcopy is wrongly converted to memcpy

2006-11-30 Thread rguenth at gcc dot gnu dot org


--- Comment #1 from rguenth at gcc dot gnu dot org  2006-11-30 13:52 ---
This is honza again.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

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


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



[Bug middle-end/30017] [4.3 Regression] ICE in cp_expr_size, at cp/cp-objcp-common.c:101

2006-11-30 Thread hubicka at ucw dot cz


--- Comment #10 from hubicka at ucw dot cz  2006-11-30 14:04 ---
Subject: Re:  [4.3 Regression] ICE in cp_expr_size, at cp/cp-objcp-common.c:101

Hi,
the problem is conversion of:
__builtin_memcpy(this,&f,sizeof(FIND_RESULT));
to assignment.  It triggers sanity check in cp-objcp-common.c that
things of this nature are not initialized directly by backend.  I am not
quite sure if such a check is neccesarily needed and I think in such an
side cases it is correct to silently accept the code (it has undefined
behaviour anyway, right?) as proposed in the patch.

Alternatively we can come up with some alternate way. What however
worries me too is why this look is needed at first place.
How does langhook.expr_size differ from TYPE_SIZE_UNIT?  Perhaps the
memcpy folder needs to be expanded to use TYPE_SIZE_UNIT too?

Honza

* cp-objcp-common.c (cp_expr_size): Do not sanity check that size of
certain
classes does not matter.
Index: cp/cp-objcp-common.c
===
*** cp/cp-objcp-common.c(revision 119360)
--- cp/cp-objcp-common.c(working copy)
*** cp_expr_size (tree exp)
*** 79,105 

if (CLASS_TYPE_P (type))
  {
-   /* The backend should not be interested in the size of an expression
-of a type with both of these set; all copies of such types must go
-through a constructor or assignment op.  */
-   gcc_assert (!TYPE_HAS_COMPLEX_INIT_REF (type)
- || !TYPE_HAS_COMPLEX_ASSIGN_REF (type)
- /* But storing a CONSTRUCTOR isn't a copy.  */
- || TREE_CODE (exp) == CONSTRUCTOR
- /* And, the gimplifier will sometimes make a copy of
-an aggregate.  In particular, for a case like:
- 
-   struct S { S(); };
-   struct X { int a; S s; };
-   X x = { 0 };
- 
-the gimplifier will create a temporary with
-static storage duration, perform static
-initialization of the temporary, and then copy
-the result.  Since the "s" subobject is never
-constructed, this is a valid transformation.  */
- || CP_AGGREGATE_TYPE_P (type));
- 
/* This would be wrong for a type with virtual bases, but they are
 caught by the assert above.  */
return (is_empty_class (type)
--- 79,84 


-- 


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



[Bug middle-end/30017] [4.3 Regression] ICE in cp_expr_size, at cp/cp-objcp-common.c:101

2006-11-30 Thread hubicka at ucw dot cz


--- Comment #11 from hubicka at ucw dot cz  2006-11-30 14:06 ---
Subject: Re:  [4.3 Regression] ICE in cp_expr_size, at cp/cp-objcp-common.c:101

> 
> 
> --- Comment #10 from hubicka at ucw dot cz  2006-11-30 14:04 ---
> Subject: Re:  [4.3 Regression] ICE in cp_expr_size, at 
> cp/cp-objcp-common.c:101
> 
> Hi,
> the problem is conversion of:
> __builtin_memcpy(this,&f,sizeof(FIND_RESULT));
> to assignment.  It triggers sanity check in cp-objcp-common.c that
> things of this nature are not initialized directly by backend.  I am not
> quite sure if such a check is neccesarily needed and I think in such an
> side cases it is correct to silently accept the code (it has undefined
> behaviour anyway, right?) as proposed in the patch.
> 
> Alternatively we can come up with some alternate way. What however
yes, there is alternate way ;) WHat I intended to say here is that we
can strenghten the tests in builtins.c to disable the conversion, but
the tests tested in the hook are C++ specific, so I am not sure if there
is some interface.

Honza


-- 


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



[Bug middle-end/30017] [4.3 Regression] ICE in cp_expr_size, at cp/cp-objcp-common.c:101

2006-11-30 Thread rguenth at gcc dot gnu dot org


--- Comment #12 from rguenth at gcc dot gnu dot org  2006-11-30 14:08 
---
The code has not undefined behavior, but I think removing the check is ok (it's
certainly not supposed to trigger _inside_ the assignment operator or the
copy constructor).


-- 


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



[Bug middle-end/30028] [4.3 Regression] bcopy is wrongly converted to memcpy

2006-11-30 Thread hubicka at ucw dot cz


--- Comment #2 from hubicka at ucw dot cz  2006-11-30 14:11 ---
Subject: Re:  [4.3 Regression] bcopy is wrongly converted to memcpy

Hi,
there is nice typo on the check validating the transformation.  I am
testing the patch and will commit it as obvious if it passes.

Honza

Index: builtins.c
===
--- builtins.c  (revision 119360)
+++ builtins.c  (working copy)
@@ -8176,7 +8176,7 @@ fold_builtin_memory_op (tree arglist, tr
  if (dest_align && src_align
  && (readonly_data_expr (src)
  || (host_integerp (len, 1)
- && (MIN (src_align, dest_align) / BITS_PER_UNIT <=
+ && (MIN (src_align, dest_align) / BITS_PER_UNIT >=
  tree_low_cst (len, 1)
{
  tree fn = implicit_built_in_decls[BUILT_IN_MEMCPY];


-- 


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



[Bug fortran/30029] New: variable not initialed shows non zero value

2006-11-30 Thread zig at fi dot infn dot it
The following program gives a wrong number for bb
as shown in the output. This error doesn't come with 
the g77 (and ifort).
It is enough to change something in the (small) program
to have the correct result (bb=0.)
c  program test

  real*4 ap(300,150),at(300,150),ap_x(300),at_x(300)
c
c~ A. Initial quantities 

  apr=116.  !projectile mass  
  ata=116. !target mass, ata > apr
  Ein=35.  !lab. energy, (Coul subtracted?)
  bin=sqrt(Ein/931.0)  !initial proj. velocity,(v/c) 
  bcm_comp=50.*apr/(apr+ata)
  write(6,*)'Ein,bin,bcm_comp',Ein,bin,bcm_comp 
  ds=0.2   !bin size in (fm) xand y
  izmax=150
  d_su=5.  [EMAIL PROTECTED]
  d_b=3.   [EMAIL PROTECTED] param?
  R_pr=1.18*apr**0.3
  R_ta=1.18*ata**0.3
  ixymax=(R_ta+d_su)/ds!number of bins in x&y  
  ipxmax=(R_ta+2.*R_pr+d_su+d_b)/ds [EMAIL PROTECTED] cos'e'??
  ixmax=ixymax+ipxmax  !@ cos'e'???
  bmax=R_ta+R_pr+d_b   !inpact parameter (dist. of closest app.)
  jb_max=bmax/ds
  jb_step=8
  write(6,899)ixymax,izmax,ipxmax,ixmax,d_su
 899  format(' ixymax,izmax,ipxmax,ixmax,d_su',4I5,f9.2)
  write(6,*)bb
  write(6,900)R_pr,R_ta,bb,bmax,jb_max
 900  format('R_pr= ',f9.2,' R_ta=',f9.2,' bb= ',f9.2,' bmax',f9.2,I4)
C~ B. Normalisation ~~
  end
***
OUTPUT:
 gfortran test.f
 a.out
 Ein,bin,bcm_comp   35.0  0.1938917   25.0
 ixymax,izmax,ipxmax,ixmax,d_su   53  150  126  179 5.00
  -1.480721
R_pr=  5.75 R_ta= 5.75 bb= -1.48 bmax14.51  72
***
gfortran -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions
--enable-libgcj-multifile--enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--enable-java-awt=gtk --disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic
--host=i386-redhat-linux
Thread model: posix
gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)
**
does one need to state


-- 
   Summary: variable not initialed  shows non zero value
   Product: gcc
   Version: unknown
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: zig at fi dot infn dot it


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



[Bug fortran/25818] Problem with handling optional and entry master arguments

2006-11-30 Thread pault at gcc dot gnu dot org


--- Comment #12 from pault at gcc dot gnu dot org  2006-11-30 14:25 ---
(In reply to comment #2)
> I'm an absolute beginner in programming gfortran, but the following patch 

I am coming to the conclusion that your patch is one of three possible
solutions to this and pr30025:
(i) Do as you have done and subject this block of code to be conditional on the
array being present.  We could with some value repsond to Steve's comment by
improving the flagging so that none of the arguments that are always present
are so treated.
(ii) Flag the condition so that in gfc_conv_expr the dummies in the
specification expression are tested if they are present.
(iii) Modify my patch of #6 so that only integer dummies are so treated.  This
works and regtests OK but I do not think that it picks up every possibilty; eg.
where an inquiry function with a missing argument is used in a specification
expression.

All in all, I think that a modified version of your patch would do very nicely.

Thanks

Paul

PS Andrew, we had a mid-air there:-)


-- 


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



[Bug middle-end/20218] Can't use __attribute__ ((visibility ("hidden"))) to hide a symbol

2006-11-30 Thread hjl at lucon dot org


--- Comment #25 from hjl at lucon dot org  2006-11-30 14:44 ---
The problem is with .libs/main_skel.o. Why don't you show us the relocation
and definition in .libs/main_skel.o?


-- 


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



[Bug middle-end/20218] Can't use __attribute__ ((visibility ("hidden"))) to hide a symbol

2006-11-30 Thread pluto at agmk dot net


--- Comment #26 from pluto at agmk dot net  2006-11-30 15:16 ---
Created an attachment (id=12714)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12714&action=view)
main_skel.o


-- 


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



[Bug tree-optimization/29212] ICE with -fipa-pta

2006-11-30 Thread wouter dot vermaelen at pi dot be


--- Comment #8 from wouter dot vermaelen at pi dot be  2006-11-30 15:40 
---
I'm not sure this is the same problem, but on todays build even an empty file
in c++ mode triggers an ICE:

> touch empty.c
> gcc -fipa-pta empty.c
   [this works as expected]

> touch empty.cpp
> gcc -fipa-pta empty.cpp
empty.cc:0: internal compiler error: Segmentation fault


-- 

wouter dot vermaelen at pi dot be changed:

   What|Removed |Added

 CC||wouter dot vermaelen at pi
   ||dot be


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



[Bug fortran/25818] Problem with handling optional and entry master arguments

2006-11-30 Thread pault at gcc dot gnu dot org


--- Comment #13 from pault at gcc dot gnu dot org  2006-11-30 15:52 ---
Created an attachment (id=12715)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12715&action=view)
A development of Alexander Taeschner's patch

It is regtesting as I write; if all is well, I will submit tonight with a
testcase based on pr30025.

Thanks Alexander!

Paul


-- 

pault at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |pault at gcc dot gnu dot org
   |dot org |
 Status|NEW |ASSIGNED


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



[Bug fortran/25818] Problem with handling optional and entry master arguments

2006-11-30 Thread pault at gcc dot gnu dot org


--- Comment #13 from pault at gcc dot gnu dot org  2006-11-30 15:52 ---
Created an attachment (id=12715)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12715&action=view)
A development of Alexander Taeschner's patch

It is regtesting as I write; if all is well, I will submit tonight with a
testcase based on pr30025.

Thanks Alexander!

Paul


--- Comment #14 from pault at gcc dot gnu dot org  2006-11-30 15:52 ---
Created an attachment (id=12716)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12716&action=view)
A development of Alexander Taeschner's patch

It is regtesting as I write; if all is well, I will submit tonight with a
testcase based on pr30025.

Thanks Alexander!

Paul


-- 

pault at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |pault at gcc dot gnu dot org
   |dot org |
 Status|NEW |ASSIGNED


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



[Bug other/29878] Clarify gcc jc1 cc1 cc1plus installation problem No such file or directory error

2006-11-30 Thread jg at jguk dot org


--- Comment #2 from jg at jguk dot org  2006-11-30 15:52 ---
Hi,

> What the issue is that distros split up GCC into different packages which 
> means
> it is an installation issue but not a GCC issue.

Good point.

I still think the text can be improved; how about like this:

gcc: installation problem, cannot exec GNU Java Compiler
'/usr/lib/gcc/i486-linux-gnu/4.0.3/jc1':

* This includes the full-path, as this is hard coded per build of gcc as I
understand it. i.e. "jc1" is not in the PATH.

* This change is needed because:
  (a) the present error mentions a directory
  (b) an indication of what jc1 actually is helps the user resolve the problem.

I'll wait for a reply before re-opening the bug.
Cheers
Jon


-- 


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



[Bug middle-end/20218] Can't use __attribute__ ((visibility ("hidden"))) to hide a symbol

2006-11-30 Thread hjl at lucon dot org


--- Comment #27 from hjl at lucon dot org  2006-11-30 15:53 ---
(In reply to comment #26)
> Created an attachment (id=12714)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12714&action=view) [edit]
> main_skel.o
> 

It looks OK. Please provide a complete testcase. It could be a gcc bug,
a linker bug and/or a problem on your system.


-- 


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



[Bug tree-optimization/30016] [4.0/4.1/4.2/4.3 Regression] internal compiler error: in convert_move, at expr.c:362

2006-11-30 Thread dimock at csail dot mit dot edu


--- Comment #3 from dimock at csail dot mit dot edu  2006-11-30 15:55 
---
(In reply to comment #2)
> ... first this code should be rejected which it was in 3.2.3:
> t.cc:38: invalid reinterpret_cast from type `vector float' to type `__v4F'

(0) I don't have 3.2.3 handy, but have 3.4.3 which also rejects the code. But
3.4.3 also rejects a lot of vector code which does not use reinterpret_cast on
vectors.  In fact it is difficult to write useful code for manipulating vectors
in versions of gcc before 4.0.

(1) I don't have the spec in front of me, but working from "C++ in a nutshell"
I believe that the code can not be rejected by a conforming C++ implementation.
You can have a compile-time error on reinterpret_cast only if it is used to
blur
the distinction between member functions of a class and other functions, either
by casting directly or to an object.
  Since behavior after a reinterpret_cast is undefined, you could issue a
warning and produce non-intuitive code, but the fact that the submitted error
case ran with C-style casts as a .c file and crashed the compiler with
reinterpret_cast as a .cpp file makes me believe that the gcc C++ compiler
should also produce working code for this case.
  Once again: I do not have a spec in front of me, someone should check the C++
spec.

(2a) [portability and performance] The standard way of handling the vector
extensions in gcc is to make a union of the vector and an array of the same
size so that the vector can be loaded or unloaded without making use of
machine-specific (non-portable) intrinsics or builtins.  I noticed that in my
machine-generated code which used unions everywhere, that gcc was able to
better optimize code if I took out unions where they were not needed (removing
unused unions produced different .s files on -mcpu=G4 on a PowerPC, and the
code with unions removed ran faster.  Performance not checked on pentium/SSE
since my real target is PPE/SPE.)  

(2b) Intuitively, casting between two types with the same memory representation
and alignment should work.  Also, it does work on most occasions.  The
following example casts vectors as both l-values and as r-values and produces
the expected output under gcc 4.1.1:

#include 
typedef float __v_4F __attribute__ ((vector_size (16)));
union __v_4Fa {float a[4];
   __v_4F v;  };

__v_4F x = {1.0f,2.0f,3.0f,4.0f};

int main(int argc, char** argv) {
  reinterpret_cast<__v_4Fa>(x).a[2] = -1.0f;
  printf ("%f %f\n", reinterpret_cast<__v_4Fa>(x).a[1], 
  reinterpret_cast<__v_4Fa>(x).a[2]);
  return 0;
}

$ gcc -O3 -o cpp-casting.out cpp-casting.cpp -lstdc++
$ ./cpp-casting.out
2.00 -1.00


This above code also works if I have
struct __v_4Fa {float a[4] __attribute__ ((aligned (16)));};
which also crashes the original submitted program (but I use unions since I am
trying to generate similar code for C and for C++ and gcc 4.1.1 C compiler
would reject casting to the struct, or to a union not containing a __v_4F
component).

(3) By the way: Your reduced test case also compiles without crashing on my
copy of gcc version 4.1.1 20060525 (Red Hat 4.1.1-1).  
  You seem to have caught a similar bug, but either your version of gcc is
different from the one that I reported on, or you switches are different. 


-- 


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



[Bug c++/29433] using boost::MPL requires lots of memory

2006-11-30 Thread patchapp at dberlin dot org


--- Comment #20 from patchapp at dberlin dot org  2006-11-30 16:15 ---
Subject: Bug number PR29433

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-11/msg02053.html


-- 


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



[Bug other/30030] New: -Wall -pedantic should be default

2006-11-30 Thread gcc at nefthy dot de
-Wall -pendatic options warn about a lot of issues that are often programming
errors. I would like to sugest reversing the warning policy so that warnings
should be explicitly turned off instead of on. The rational behind this is
that, the programmer should be warned about possible issues with his code. In
case the programmer knows what he is doing he can still disable the undesired
warning (but he has to do so explicitly).


-- 
   Summary: -Wall -pedantic should be default
   Product: gcc
   Version: unknown
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gcc at nefthy dot de
 GCC build triplet: *
  GCC host triplet: *
GCC target triplet: *


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



[Bug other/30030] -Wall -pedantic should be default

2006-11-30 Thread rguenth at gcc dot gnu dot org


--- Comment #1 from rguenth at gcc dot gnu dot org  2006-11-30 16:52 ---
As a bug this will be very likely ignore (I'm even tempted to close it as
WONTFIX or WORKSFORME).  Please raise policy issues on the appropriate
mailinglist (gcc@gcc.gnu.org).


-- 


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



[Bug driver/29931] following argv[0] symlink in process_command breaks symlinked-together toolchain

2006-11-30 Thread amylaar at gcc dot gnu dot org


--- Comment #2 from amylaar at gcc dot gnu dot org  2006-11-30 17:06 ---
Subject: Bug 29931

Author: amylaar
Date: Thu Nov 30 17:05:45 2006
New Revision: 119366

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119366
Log:
include:
2006-05-03  Andrew Stubbs  <[EMAIL PROTECTED]>
J"orn Rennecke <[EMAIL PROTECTED]>

PR driver/29931
* libiberty.h (make_relative_prefix_ignore_links): Declare.

libiberty:
2006-05-03  Andrew Stubbs  <[EMAIL PROTECTED]>
J"orn Rennecke <[EMAIL PROTECTED]>

PR driver/29931
* make-relative-prefix.c (make_relative_prefix_1): New function,
broken out of make_relative_prefix.  Make link resolution dependent
on new parameter.
(make_relative_prefix): Use make_relative_prefix_1.
(make_relative_prefix_ignore_links): New function.

Modified:
trunk/include/ChangeLog
trunk/include/libiberty.h
trunk/libiberty/ChangeLog
trunk/libiberty/make-relative-prefix.c


-- 


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



[Bug fortran/30029] [4.1 only] variable not initialed shows non zero value

2006-11-30 Thread burnus at gcc dot gnu dot org


--- Comment #1 from burnus at gcc dot gnu dot org  2006-11-30 17:23 ---
Confirm.
The error is fixed in 4.3 and 4.2 (today's builds). It is present in 4.1
20061115 (SUSE) and -- see original report -- 4.1 20061011 (Red Hat).

(I haven't check the svn 4.1 version.)


-- 

burnus at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Keywords||wrong-code
  Known to fail||4.1.1
  Known to work||4.2.0 4.3.0
   Last reconfirmed|-00-00 00:00:00 |2006-11-30 17:23:19
   date||
Summary|variable not initialed  |[4.1 only] variable not
   |shows non zero value|initialed  shows non zero
   ||value


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



[Bug other/30030] -Wall -pedantic should be default

2006-11-30 Thread gcc at nefthy dot de


--- Comment #2 from gcc at nefthy dot de  2006-11-30 17:33 ---
Please close. Will report to mailing list. Thx for the comment.


-- 


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



[Bug tree-optimization/30016] [4.0/4.1/4.2/4.3 Regression] internal compiler error: in convert_move, at expr.c:362

2006-11-30 Thread pinskia at gmail dot com


--- Comment #4 from pinskia at gmail dot com  2006-11-30 18:10 ---
Subject: Re:  [4.0/4.1/4.2/4.3 Regression]
internal compiler error: in convert_move, at expr.c:362

On Thu, 2006-11-30 at 15:55 +, dimock at csail dot mit dot edu
wrote:

> 
> (2a) [portability and performance] The standard way of handling the vector
> extensions in gcc is to make a union of the vector and an array of the same
> size so that the vector can be loaded or unloaded without making use of
> machine-specific (non-portable) intrinsics or builtins.  I noticed that in my
> machine-generated code which used unions everywhere, that gcc was able to
> better optimize code if I took out unions where they were not needed (removing
> unused unions produced different .s files on -mcpu=G4 on a PowerPC, and the
> code with unions removed ran faster.  Performance not checked on pentium/SSE
> since my real target is PPE/SPE.) 

The best portability (and better for performance) way is to make a
temporary variable.  Though unions are not that good for performance.
For SPU, you can use spu_extract/spu_insert to get better performance.

Thanks,
Andrew Pinski
a SPU maintainer (and a Cell guy in gneral)


-- 


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



[Bug middle-end/30028] [4.3 Regression] bcopy is wrongly converted to memcpy

2006-11-30 Thread pinskia at gcc dot gnu dot org


--- Comment #3 from pinskia at gcc dot gnu dot org  2006-11-30 18:14 ---
This also fails for spu-elf.
Confirmed.
http://gcc.gnu.org/ml/gcc-testresults/2006-11/msg01291.html


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
  GCC build triplet|i686-pc-linux-gnu   |
   GCC host triplet|i686-pc-linux-gnu   |
 GCC target triplet|sh-elf  |sh-elf, spu-elf
   Last reconfirmed|-00-00 00:00:00 |2006-11-30 18:14:15
   date||
   Target Milestone|--- |4.3.0


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



[Bug other/29878] Clarify gcc jc1 cc1 cc1plus installation problem No such file or directory error

2006-11-30 Thread pinskia at gcc dot gnu dot org


--- Comment #3 from pinskia at gcc dot gnu dot org  2006-11-30 18:20 ---
(In reply to comment #2)
> Hi,
> 
> > What the issue is that distros split up GCC into different packages which 
> > means
> > it is an installation issue but not a GCC issue.
> 
> Good point.
> 
> I still think the text can be improved; how about like this:
> 
> gcc: installation problem, cannot exec GNU Java Compiler
> '/usr/lib/gcc/i486-linux-gnu/4.0.3/jc1':
> 
> * This includes the full-path, as this is hard coded per build of gcc as I
> understand it. i.e. "jc1" is not in the PATH.

We look into acouple of directories to find jc1, so it is not hardcoded
directly.  The --prefix directory is hardcoded into gcc but that is just one
directory where we look into, we also search the PATH if we cannot find it in
that directory.  We also redirect the hardcoded path to be a relative one if
the installation has moved.


-- 


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



[Bug tree-optimization/30032] New: sqrt(CGAMMA*PRES[j]/DENS[j]) much slower than compiting compiler

2006-11-30 Thread burnus at gcc dot gnu dot org
The following program is based on the gaz_dyn.f90 test of Polyhedron; there
"gfortran -march=opteron -ffast-math -funroll-loops -ftree-vectorize -msse3 -O3
-g" needs
   0m13.999s
whereas ifort 9.1 "-O3 -xW -ipo -no-prec-div -static -V -g" needs
   0m7.638s.
See http://www.polyhedron.com/pb05/linux/f90bench_AMD.html


The following cut-down and C program needs with "icc -O3 -xW -no-prec-div
-static -V -g"
   0m2.406s
and with "gcc -march=opteron -ffast-math -funroll-loops -ftree-vectorize -msse3
-O3 -g"
   0m7.212s


void eos(const int NODES, const float CGAMMA, float CS[], float PRES[], float
DENS[])
{
  int j;
  for(j = 0; j < NODES; j ++)
  {
CS[j] = sqrt(CGAMMA*PRES[j]/DENS[j]);
  }
}

int main() {
  const int NODES = 25000;
  float CGAMMA;
  float DENS[NODES], CS[NODES], PRES[NODES];
  int i,j;
  for(i = 0; i < NODES; i++) {
 DENS[i] = 3.0;
 PRES[i] = 0.25;
  }
  CGAMMA = 2.0;
  for(i = 0; i < 2; i++) {
eos(NODES, CGAMMA, &CS, &PRES, &DENS);
CGAMMA = CGAMMA + CS[1];
  }
  return (int)CGAMMA;
}


-- 
   Summary: sqrt(CGAMMA*PRES[j]/DENS[j]) much slower than compiting
compiler
   Product: gcc
   Version: 4.3.0
Status: UNCONFIRMED
  Severity: enhancement
  Priority: P3
 Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org


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



[Bug other/30030] -Wall -pedantic should be default

2006-11-30 Thread pinskia at gcc dot gnu dot org


--- Comment #3 from pinskia at gcc dot gnu dot org  2006-11-30 18:29 ---
Closing as requested


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||INVALID


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



[Bug middle-end/30017] [4.3 Regression] ICE in cp_expr_size, at cp/cp-objcp-common.c:101

2006-11-30 Thread pinskia at gcc dot gnu dot org


--- Comment #13 from pinskia at gcc dot gnu dot org  2006-11-30 18:31 
---
(In reply to comment #12)
> The code has not undefined behavior, but I think removing the check is ok 
> (it's
> certainly not supposed to trigger _inside_ the assignment operator or the
> copy constructor).

Actually I don't think removing that check is ok.  Allows us to find problems
with the gimplifier, when it is trying to create a temprorary variable when it
should not.


-- 


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



[Bug tree-optimization/30032] sqrt(CGAMMA*PRES[j]/DENS[j]) much slower than compiting compiler

2006-11-30 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2006-11-30 18:38 ---
Here is the loop that is generated:
.L4:
flds(%ebx,%edx,4)
leal1(%edx), %eax
fmul%st(1), %st
fdivs   (%ecx,%edx,4)
fsqrt
fstps   (%esi,%edx,4)
flds(%ebx,%eax,4)
fmul%st(1), %st
fdivs   (%ecx,%eax,4)
fsqrt
fstps   (%esi,%eax,4)
leal2(%edx), %eax
flds(%ebx,%eax,4)
fmul%st(1), %st
fdivs   (%ecx,%eax,4)
fsqrt
fstps   (%esi,%eax,4)
leal3(%edx), %eax
flds(%ebx,%eax,4)
fmul%st(1), %st
fdivs   (%ecx,%eax,4)
fsqrt
fstps   (%esi,%eax,4)
leal4(%edx), %eax
flds(%ebx,%eax,4)
fmul%st(1), %st
fdivs   (%ecx,%eax,4)
fsqrt
fstps   (%esi,%eax,4)
leal5(%edx), %eax
flds(%ebx,%eax,4)
fmul%st(1), %st
fdivs   (%ecx,%eax,4)
fsqrt
fstps   (%esi,%eax,4)
leal6(%edx), %eax
flds(%ebx,%eax,4)
fmul%st(1), %st
fdivs   (%ecx,%eax,4)
fsqrt
fstps   (%esi,%eax,4)
leal7(%edx), %eax
addl$8, %edx
cmpl%edi, %edx
flds(%ebx,%eax,4)
fmul%st(1), %st
fdivs   (%ecx,%eax,4)
fsqrt
fstps   (%esi,%eax,4)
jne .L4

There are some issues with leal's that should not be there but I think what ICC
does is only calculates CS[1] instead of all of CS[i].


-- 


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



[Bug tree-optimization/30032] sqrt(CGAMMA*PRES[j]/DENS[j]) much slower than compiting compiler

2006-11-30 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2006-11-30 18:44 ---
Also you are using VLAs so maybe ICC also converts those VLAs to normal arrays.
You might also want to add "-mfpmath=sse,387".


-- 


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



[Bug rtl-optimization/29840] [4.3 Regression] build/genconditions ../../gcc/gcc/config/pa/pa.md > tmp-condmd.c: /bin/sh: 13354 Memory fault(coredump)

2006-11-30 Thread bonzini at gnu dot org


--- Comment #21 from bonzini at gnu dot org  2006-11-30 18:48 ---
Dave, is the compiler being miscompiled here?  Can you reproduce the failure
with "../configure --disable-bootstrap && make"?  If so, what is the backtrace?

Thanks,

Paolo


-- 


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



[Bug middle-end/30017] [4.3 Regression] ICE in cp_expr_size, at cp/cp-objcp-common.c:101

2006-11-30 Thread jh at suse dot cz


--- Comment #14 from jh at suse dot cz  2006-11-30 18:54 ---
Subject: Re:  [4.3 Regression] ICE in cp_expr_size, at cp/cp-objcp-common.c:101

> > The code has not undefined behavior, but I think removing the check is ok 
> > (it's
> > certainly not supposed to trigger _inside_ the assignment operator or the
> > copy constructor).
> 
> Actually I don't think removing that check is ok.  Allows us to find problems
> with the gimplifier, when it is trying to create a temprorary variable when it
> should not.

Well, actually we probably need to decide on one thing - ie if we want
to allow such a moves later at gimple form.  I would say that we want to
as we want to make gimple language indepdendent in longer form and thus
classes are just aggregates as of any kind and assigning them is safe.
If we don't want to, we need to come with check prohibiting builtins.c
to construct the assignment.
If we want to, we need to find way to either relax or elliminate the
check or move it to better place.  I still wonder why do we need
expr_size hook that late in compilation?
(ie using TYPE_UNIT_SIZE instead would solve the problem too)

Honza


-- 


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



[Bug tree-optimization/30032] sqrt(CGAMMA*PRES[j]/DENS[j]) much slower than compiting compiler

2006-11-30 Thread burnus at gcc dot gnu dot org


--- Comment #3 from burnus at gcc dot gnu dot org  2006-11-30 18:54 ---
Created an attachment (id=12717)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12717&action=view)
icc -O3 -xW -S of only the function eos()

> but I think what ICC does is only calculates CS[1] instead of all of CS[i].
I don't think so. If I use:
for(j = 0; j < NODES; j++) {
  CGAMMA = CGAMMA + CS[j];
}
rather than
CGAMMA = CGAMMA + CS[1];
the timings don't change. I also didn't include -ip or -ipo (inter process
analysis). With this change: icc 0m2.324s; gcc 0m7.194s.

> Also you are using VLAs so maybe ICC also converts those VLAs to normal 
> arrays. You might also want to add "-mfpmath=sse,387".
This does not really help: gcc 0m7.066s


-- 


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



[Bug rtl-optimization/29840] [4.3 Regression] build/genconditions ../../gcc/gcc/config/pa/pa.md > tmp-condmd.c: /bin/sh: 13354 Memory fault(coredump)

2006-11-30 Thread dave at hiauly1 dot hia dot nrc dot ca


--- Comment #22 from dave at hiauly1 dot hia dot nrc dot ca  2006-11-30 
19:10 ---
Subject: Re:  [4.3 Regression] build/genconditions
../../gcc/gcc/config/pa/pa.md > tmp-condmd.c: /bin/sh: 13354 M

> --- Comment #21 from bonzini at gnu dot org  2006-11-30 18:48 ---
> Dave, is the compiler being miscompiled here?  Can you reproduce the failure
> with "../configure --disable-bootstrap && make"?  If so, what is the 
> backtrace?

Don't know.  I do know that the same error occurs on hppa2.0w-hp-hpux11
with the proposed patch install.

I had an unexpected eye operation Tuesday and the vision in my right
eye is now half blocked by a gas bubble.  The bubble is supposed to
slowly decrease in size over a few weeks.  Don't know when reasonable
visiblity will return and when i'll be able to look at this.

Dave


-- 


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



[Bug rtl-optimization/29840] [4.3 Regression] build/genconditions ../../gcc/gcc/config/pa/pa.md > tmp-condmd.c: /bin/sh: 13354 Memory fault(coredump)

2006-11-30 Thread paolo dot bonzini at lu dot unisi dot ch


--- Comment #23 from paolo dot bonzini at lu dot unisi dot ch  2006-11-30 
19:18 ---
Subject: Re:  [4.3 Regression] build/genconditions
 ../../gcc/gcc/config/pa/pa.md > tmp-condmd.c: /bin/sh: 13354 Memory
fault(coredump)


> I had an unexpected eye operation Tuesday and the vision in my right
> eye is now half blocked by a gas bubble.  The bubble is supposed to
> slowly decrease in size over a few weeks.  Don't know when reasonable
> visiblity will return and when i'll be able to look at this.

No problem.  If the compiler is not being miscompiled, I will be able to 
look at it with a cross.  Good luck!

Paolo


-- 


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



[Bug libgomp/28209] None of the GOMP_* environment variables are documented

2006-11-30 Thread dfranke at gcc dot gnu dot org


-- 

dfranke at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |dfranke at gcc dot gnu dot
   |dot org |org
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2006-11-30 19:21:36
   date||


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



[Bug middle-end/23470] a*a (for floats) is not considered always postive (-ffast-math only)

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #5 from chaoyingfu at gcc dot gnu dot org  2006-11-30 19:25 
---
Subject: Bug 23470

Author: chaoyingfu
Date: Thu Nov 30 19:24:37 2006
New Revision: 119373

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119373
Log:
Merged revisions 118337-118377 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118337 | charlet | 2006-10-31 12:11:46 -0800 (Tue, 31 Oct 2006) | 2 lines

  Resync.

  r118338 | fxcoudert | 2006-10-31 12:15:22 -0800 (Tue, 31 Oct 2006) | 12 lines

PR fortran/29067

* decl.c (gfc_set_constant_character_len): NULL-terminate the
character constant string.
* data.c (create_character_intializer): Likewise.
* expr.c (gfc_simplify_expr): NULL-terminate the substring
character constant.
* primary.c (match_hollerith_constant): NULL-terminate the
character constant string.

* gfortran.dg/pr29067.f: New test.

  r118339 | fxcoudert | 2006-10-31 12:17:11 -0800 (Tue, 31 Oct 2006) | 2 lines

* ChangeLog: Forgotten ChangeLog entry for previous commit.

  r118340 | charlet | 2006-10-31 12:43:39 -0800 (Tue, 31 Oct 2006) | 2 lines

  Fix typo.

  r118341 | tkoenig | 2006-10-31 12:58:26 -0800 (Tue, 31 Oct 2006) | 18 lines

  2006-10-31  Thomas Koenig  <[EMAIL PROTECTED]>

PR libfortran/29627
* libgfortran.h: Add ERROR_SHORT_RECORD
* runtime/error.c (translate_error): Add case
for ERROR_SHORT_RECORD.
* io/transfer.c (read_block_direct):  Separate codepaths
for stream and record unformatted I/O.  Remove unneeded
tests for standard input, padding and formatted I/O.
If the record is short, read in as much data as possible,
then raise the error.

  2006-10-31  Thomas Koenig  <[EMAIL PROTECTED]>

PR libfortran/29627
* gfortran.dg/unf_short_record_1.f90:  New test.

  r118343 | sje | 2006-10-31 14:28:18 -0800 (Tue, 31 Oct 2006) | 4 lines

* inclhack.def (hpux11_extern_sendfile): New.
(hpux11_extern_sendpath): New.
* fixincl.x: Regenerate.

  r118344 | ebotcazou | 2006-10-31 15:29:06 -0800 (Tue, 31 Oct 2006) | 3 lines

  * gcc.c-torture/execute/20061031-1.c: New test.

  r118347 | aldot | 2006-10-31 15:38:58 -0800 (Tue, 31 Oct 2006) | 20 lines

  fortran/ChangeLog:
  2006-11-01  Bernhard Fischer  <[EMAIL PROTECTED]>

  PR fortran/29537
  * trans-common.c (gfc_trans_common): If the blank common is
  in a procedure or program without a name then proc_name is null, so
use
  the locus of the common.
  (gfc_sym_mangled_common_id): Fix whitespace.
  * match.c (gfc_match_common): Emit warning about blank common in
  block data.

  testsuite/ChangeLog:
  2006-11-01  Bernhard Fischer  <[EMAIL PROTECTED]>

  PR fortran/29537
  * gfortran.dg/blockdata_1.f90: Add warning about blank common in
block
data.
  * gfortran.dg/blockdata_2.f90: New testcase.

  r118353 | gccadmin | 2006-10-31 16:17:53 -0800 (Tue, 31 Oct 2006) | 1 line

  Daily bump.

  r118355 | sayle | 2006-10-31 18:56:45 -0800 (Tue, 31 Oct 2006) | 10 lines


PR middle-end/23470
* tree.h (tree_expr_nonnegative_p): Return "bool" instead of "int".
* fold-const.c (tree_expr_nonnegative_p): Likewise.  Consider
pow(x,y) and powi(x,y) to be nonnegative if either x is nonnegative
or y is an even integer.

* gcc.dg/pr23470-1.c: New test case.

  r118356 | geoffk | 2006-10-31 20:47:30 -0800 (Tue, 31 Oct 2006) | 27 lines

* c-decl.c (grokdeclarator): Don't set DECL_EXTERNAL on
inline static functions in c99 mode.

PR 16622
* doc/extend.texi (Inline): Update.
* c-tree.h (struct language_function): Remove field 'extern_inline'.
* c-decl.c (current_extern_inline): Delete.
(pop_scope): Adjust test for an undefined nested function.
Add warning about undeclared inline function.
(diagnose_mismatched_decls): Update comments.  Disallow overriding
of inline functions in a translation unit in C99.  Allow inline
declarations in C99 at any time.
(merge_decls): Boolize variables.  Handle C99 'extern inline'
semantics.
(grokdeclarator): Set DECL_EXTERNAL here for functions.  Handle
C99 inline semantics.
(start_function): Don't clear current_extern_inline.  Don't set
DECL_EXTERNAL.
(c_push_function_context): Don't push current_extern_inline.
(c_pop_function_context): Don't restore current_extern_inline.

PR 11377
* c-typeck.c (build_external_ref): Warn about static variables
used in extern inline functions.
* c-decl.c (start_decl): Warn about static variables declared
in extern inline functions.

  r118357 | geoffk | 2006-10-31 20:48:15 -0800

[Bug target/15834] NO_IMPLICIT_EXTERN_C should be gotten rid of

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #11 from chaoyingfu at gcc dot gnu dot org  2006-11-30 19:25 
---
Subject: Bug 15834

Author: chaoyingfu
Date: Thu Nov 30 19:24:37 2006
New Revision: 119373

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119373
Log:
Merged revisions 118337-118377 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118337 | charlet | 2006-10-31 12:11:46 -0800 (Tue, 31 Oct 2006) | 2 lines

  Resync.

  r118338 | fxcoudert | 2006-10-31 12:15:22 -0800 (Tue, 31 Oct 2006) | 12 lines

PR fortran/29067

* decl.c (gfc_set_constant_character_len): NULL-terminate the
character constant string.
* data.c (create_character_intializer): Likewise.
* expr.c (gfc_simplify_expr): NULL-terminate the substring
character constant.
* primary.c (match_hollerith_constant): NULL-terminate the
character constant string.

* gfortran.dg/pr29067.f: New test.

  r118339 | fxcoudert | 2006-10-31 12:17:11 -0800 (Tue, 31 Oct 2006) | 2 lines

* ChangeLog: Forgotten ChangeLog entry for previous commit.

  r118340 | charlet | 2006-10-31 12:43:39 -0800 (Tue, 31 Oct 2006) | 2 lines

  Fix typo.

  r118341 | tkoenig | 2006-10-31 12:58:26 -0800 (Tue, 31 Oct 2006) | 18 lines

  2006-10-31  Thomas Koenig  <[EMAIL PROTECTED]>

PR libfortran/29627
* libgfortran.h: Add ERROR_SHORT_RECORD
* runtime/error.c (translate_error): Add case
for ERROR_SHORT_RECORD.
* io/transfer.c (read_block_direct):  Separate codepaths
for stream and record unformatted I/O.  Remove unneeded
tests for standard input, padding and formatted I/O.
If the record is short, read in as much data as possible,
then raise the error.

  2006-10-31  Thomas Koenig  <[EMAIL PROTECTED]>

PR libfortran/29627
* gfortran.dg/unf_short_record_1.f90:  New test.

  r118343 | sje | 2006-10-31 14:28:18 -0800 (Tue, 31 Oct 2006) | 4 lines

* inclhack.def (hpux11_extern_sendfile): New.
(hpux11_extern_sendpath): New.
* fixincl.x: Regenerate.

  r118344 | ebotcazou | 2006-10-31 15:29:06 -0800 (Tue, 31 Oct 2006) | 3 lines

  * gcc.c-torture/execute/20061031-1.c: New test.

  r118347 | aldot | 2006-10-31 15:38:58 -0800 (Tue, 31 Oct 2006) | 20 lines

  fortran/ChangeLog:
  2006-11-01  Bernhard Fischer  <[EMAIL PROTECTED]>

  PR fortran/29537
  * trans-common.c (gfc_trans_common): If the blank common is
  in a procedure or program without a name then proc_name is null, so
use
  the locus of the common.
  (gfc_sym_mangled_common_id): Fix whitespace.
  * match.c (gfc_match_common): Emit warning about blank common in
  block data.

  testsuite/ChangeLog:
  2006-11-01  Bernhard Fischer  <[EMAIL PROTECTED]>

  PR fortran/29537
  * gfortran.dg/blockdata_1.f90: Add warning about blank common in
block
data.
  * gfortran.dg/blockdata_2.f90: New testcase.

  r118353 | gccadmin | 2006-10-31 16:17:53 -0800 (Tue, 31 Oct 2006) | 1 line

  Daily bump.

  r118355 | sayle | 2006-10-31 18:56:45 -0800 (Tue, 31 Oct 2006) | 10 lines


PR middle-end/23470
* tree.h (tree_expr_nonnegative_p): Return "bool" instead of "int".
* fold-const.c (tree_expr_nonnegative_p): Likewise.  Consider
pow(x,y) and powi(x,y) to be nonnegative if either x is nonnegative
or y is an even integer.

* gcc.dg/pr23470-1.c: New test case.

  r118356 | geoffk | 2006-10-31 20:47:30 -0800 (Tue, 31 Oct 2006) | 27 lines

* c-decl.c (grokdeclarator): Don't set DECL_EXTERNAL on
inline static functions in c99 mode.

PR 16622
* doc/extend.texi (Inline): Update.
* c-tree.h (struct language_function): Remove field 'extern_inline'.
* c-decl.c (current_extern_inline): Delete.
(pop_scope): Adjust test for an undefined nested function.
Add warning about undeclared inline function.
(diagnose_mismatched_decls): Update comments.  Disallow overriding
of inline functions in a translation unit in C99.  Allow inline
declarations in C99 at any time.
(merge_decls): Boolize variables.  Handle C99 'extern inline'
semantics.
(grokdeclarator): Set DECL_EXTERNAL here for functions.  Handle
C99 inline semantics.
(start_function): Don't clear current_extern_inline.  Don't set
DECL_EXTERNAL.
(c_push_function_context): Don't push current_extern_inline.
(c_pop_function_context): Don't restore current_extern_inline.

PR 11377
* c-typeck.c (build_external_ref): Warn about static variables
used in extern inline functions.
* c-decl.c (start_decl): Warn about static variables declared
in extern inline functions.

  r118357 | geoffk | 2006-10-31 20:48:15 -080

[Bug c/11377] fault or warn modifiable static in extern inline definition

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #8 from chaoyingfu at gcc dot gnu dot org  2006-11-30 19:25 
---
Subject: Bug 11377

Author: chaoyingfu
Date: Thu Nov 30 19:24:37 2006
New Revision: 119373

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119373
Log:
Merged revisions 118337-118377 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118337 | charlet | 2006-10-31 12:11:46 -0800 (Tue, 31 Oct 2006) | 2 lines

  Resync.

  r118338 | fxcoudert | 2006-10-31 12:15:22 -0800 (Tue, 31 Oct 2006) | 12 lines

PR fortran/29067

* decl.c (gfc_set_constant_character_len): NULL-terminate the
character constant string.
* data.c (create_character_intializer): Likewise.
* expr.c (gfc_simplify_expr): NULL-terminate the substring
character constant.
* primary.c (match_hollerith_constant): NULL-terminate the
character constant string.

* gfortran.dg/pr29067.f: New test.

  r118339 | fxcoudert | 2006-10-31 12:17:11 -0800 (Tue, 31 Oct 2006) | 2 lines

* ChangeLog: Forgotten ChangeLog entry for previous commit.

  r118340 | charlet | 2006-10-31 12:43:39 -0800 (Tue, 31 Oct 2006) | 2 lines

  Fix typo.

  r118341 | tkoenig | 2006-10-31 12:58:26 -0800 (Tue, 31 Oct 2006) | 18 lines

  2006-10-31  Thomas Koenig  <[EMAIL PROTECTED]>

PR libfortran/29627
* libgfortran.h: Add ERROR_SHORT_RECORD
* runtime/error.c (translate_error): Add case
for ERROR_SHORT_RECORD.
* io/transfer.c (read_block_direct):  Separate codepaths
for stream and record unformatted I/O.  Remove unneeded
tests for standard input, padding and formatted I/O.
If the record is short, read in as much data as possible,
then raise the error.

  2006-10-31  Thomas Koenig  <[EMAIL PROTECTED]>

PR libfortran/29627
* gfortran.dg/unf_short_record_1.f90:  New test.

  r118343 | sje | 2006-10-31 14:28:18 -0800 (Tue, 31 Oct 2006) | 4 lines

* inclhack.def (hpux11_extern_sendfile): New.
(hpux11_extern_sendpath): New.
* fixincl.x: Regenerate.

  r118344 | ebotcazou | 2006-10-31 15:29:06 -0800 (Tue, 31 Oct 2006) | 3 lines

  * gcc.c-torture/execute/20061031-1.c: New test.

  r118347 | aldot | 2006-10-31 15:38:58 -0800 (Tue, 31 Oct 2006) | 20 lines

  fortran/ChangeLog:
  2006-11-01  Bernhard Fischer  <[EMAIL PROTECTED]>

  PR fortran/29537
  * trans-common.c (gfc_trans_common): If the blank common is
  in a procedure or program without a name then proc_name is null, so
use
  the locus of the common.
  (gfc_sym_mangled_common_id): Fix whitespace.
  * match.c (gfc_match_common): Emit warning about blank common in
  block data.

  testsuite/ChangeLog:
  2006-11-01  Bernhard Fischer  <[EMAIL PROTECTED]>

  PR fortran/29537
  * gfortran.dg/blockdata_1.f90: Add warning about blank common in
block
data.
  * gfortran.dg/blockdata_2.f90: New testcase.

  r118353 | gccadmin | 2006-10-31 16:17:53 -0800 (Tue, 31 Oct 2006) | 1 line

  Daily bump.

  r118355 | sayle | 2006-10-31 18:56:45 -0800 (Tue, 31 Oct 2006) | 10 lines


PR middle-end/23470
* tree.h (tree_expr_nonnegative_p): Return "bool" instead of "int".
* fold-const.c (tree_expr_nonnegative_p): Likewise.  Consider
pow(x,y) and powi(x,y) to be nonnegative if either x is nonnegative
or y is an even integer.

* gcc.dg/pr23470-1.c: New test case.

  r118356 | geoffk | 2006-10-31 20:47:30 -0800 (Tue, 31 Oct 2006) | 27 lines

* c-decl.c (grokdeclarator): Don't set DECL_EXTERNAL on
inline static functions in c99 mode.

PR 16622
* doc/extend.texi (Inline): Update.
* c-tree.h (struct language_function): Remove field 'extern_inline'.
* c-decl.c (current_extern_inline): Delete.
(pop_scope): Adjust test for an undefined nested function.
Add warning about undeclared inline function.
(diagnose_mismatched_decls): Update comments.  Disallow overriding
of inline functions in a translation unit in C99.  Allow inline
declarations in C99 at any time.
(merge_decls): Boolize variables.  Handle C99 'extern inline'
semantics.
(grokdeclarator): Set DECL_EXTERNAL here for functions.  Handle
C99 inline semantics.
(start_function): Don't clear current_extern_inline.  Don't set
DECL_EXTERNAL.
(c_push_function_context): Don't push current_extern_inline.
(c_pop_function_context): Don't restore current_extern_inline.

PR 11377
* c-typeck.c (build_external_ref): Warn about static variables
used in extern inline functions.
* c-decl.c (start_decl): Warn about static variables declared
in extern inline functions.

  r118357 | geoffk | 2006-10-31 20:48:15 -0800

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

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #22 from chaoyingfu at gcc dot gnu dot org  2006-11-30 19:25 
---
Subject: Bug 29067

Author: chaoyingfu
Date: Thu Nov 30 19:24:37 2006
New Revision: 119373

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119373
Log:
Merged revisions 118337-118377 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118337 | charlet | 2006-10-31 12:11:46 -0800 (Tue, 31 Oct 2006) | 2 lines

  Resync.

  r118338 | fxcoudert | 2006-10-31 12:15:22 -0800 (Tue, 31 Oct 2006) | 12 lines

PR fortran/29067

* decl.c (gfc_set_constant_character_len): NULL-terminate the
character constant string.
* data.c (create_character_intializer): Likewise.
* expr.c (gfc_simplify_expr): NULL-terminate the substring
character constant.
* primary.c (match_hollerith_constant): NULL-terminate the
character constant string.

* gfortran.dg/pr29067.f: New test.

  r118339 | fxcoudert | 2006-10-31 12:17:11 -0800 (Tue, 31 Oct 2006) | 2 lines

* ChangeLog: Forgotten ChangeLog entry for previous commit.

  r118340 | charlet | 2006-10-31 12:43:39 -0800 (Tue, 31 Oct 2006) | 2 lines

  Fix typo.

  r118341 | tkoenig | 2006-10-31 12:58:26 -0800 (Tue, 31 Oct 2006) | 18 lines

  2006-10-31  Thomas Koenig  <[EMAIL PROTECTED]>

PR libfortran/29627
* libgfortran.h: Add ERROR_SHORT_RECORD
* runtime/error.c (translate_error): Add case
for ERROR_SHORT_RECORD.
* io/transfer.c (read_block_direct):  Separate codepaths
for stream and record unformatted I/O.  Remove unneeded
tests for standard input, padding and formatted I/O.
If the record is short, read in as much data as possible,
then raise the error.

  2006-10-31  Thomas Koenig  <[EMAIL PROTECTED]>

PR libfortran/29627
* gfortran.dg/unf_short_record_1.f90:  New test.

  r118343 | sje | 2006-10-31 14:28:18 -0800 (Tue, 31 Oct 2006) | 4 lines

* inclhack.def (hpux11_extern_sendfile): New.
(hpux11_extern_sendpath): New.
* fixincl.x: Regenerate.

  r118344 | ebotcazou | 2006-10-31 15:29:06 -0800 (Tue, 31 Oct 2006) | 3 lines

  * gcc.c-torture/execute/20061031-1.c: New test.

  r118347 | aldot | 2006-10-31 15:38:58 -0800 (Tue, 31 Oct 2006) | 20 lines

  fortran/ChangeLog:
  2006-11-01  Bernhard Fischer  <[EMAIL PROTECTED]>

  PR fortran/29537
  * trans-common.c (gfc_trans_common): If the blank common is
  in a procedure or program without a name then proc_name is null, so
use
  the locus of the common.
  (gfc_sym_mangled_common_id): Fix whitespace.
  * match.c (gfc_match_common): Emit warning about blank common in
  block data.

  testsuite/ChangeLog:
  2006-11-01  Bernhard Fischer  <[EMAIL PROTECTED]>

  PR fortran/29537
  * gfortran.dg/blockdata_1.f90: Add warning about blank common in
block
data.
  * gfortran.dg/blockdata_2.f90: New testcase.

  r118353 | gccadmin | 2006-10-31 16:17:53 -0800 (Tue, 31 Oct 2006) | 1 line

  Daily bump.

  r118355 | sayle | 2006-10-31 18:56:45 -0800 (Tue, 31 Oct 2006) | 10 lines


PR middle-end/23470
* tree.h (tree_expr_nonnegative_p): Return "bool" instead of "int".
* fold-const.c (tree_expr_nonnegative_p): Likewise.  Consider
pow(x,y) and powi(x,y) to be nonnegative if either x is nonnegative
or y is an even integer.

* gcc.dg/pr23470-1.c: New test case.

  r118356 | geoffk | 2006-10-31 20:47:30 -0800 (Tue, 31 Oct 2006) | 27 lines

* c-decl.c (grokdeclarator): Don't set DECL_EXTERNAL on
inline static functions in c99 mode.

PR 16622
* doc/extend.texi (Inline): Update.
* c-tree.h (struct language_function): Remove field 'extern_inline'.
* c-decl.c (current_extern_inline): Delete.
(pop_scope): Adjust test for an undefined nested function.
Add warning about undeclared inline function.
(diagnose_mismatched_decls): Update comments.  Disallow overriding
of inline functions in a translation unit in C99.  Allow inline
declarations in C99 at any time.
(merge_decls): Boolize variables.  Handle C99 'extern inline'
semantics.
(grokdeclarator): Set DECL_EXTERNAL here for functions.  Handle
C99 inline semantics.
(start_function): Don't clear current_extern_inline.  Don't set
DECL_EXTERNAL.
(c_push_function_context): Don't push current_extern_inline.
(c_pop_function_context): Don't restore current_extern_inline.

PR 11377
* c-typeck.c (build_external_ref): Warn about static variables
used in extern inline functions.
* c-decl.c (start_decl): Warn about static variables declared
in extern inline functions.

  r118357 | geoffk | 2006-10-31 20:48:15 -080

[Bug libfortran/29627] [4.1 only] partial unformatted reads shouldn't succeed

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #12 from chaoyingfu at gcc dot gnu dot org  2006-11-30 19:25 
---
Subject: Bug 29627

Author: chaoyingfu
Date: Thu Nov 30 19:24:37 2006
New Revision: 119373

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119373
Log:
Merged revisions 118337-118377 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118337 | charlet | 2006-10-31 12:11:46 -0800 (Tue, 31 Oct 2006) | 2 lines

  Resync.

  r118338 | fxcoudert | 2006-10-31 12:15:22 -0800 (Tue, 31 Oct 2006) | 12 lines

PR fortran/29067

* decl.c (gfc_set_constant_character_len): NULL-terminate the
character constant string.
* data.c (create_character_intializer): Likewise.
* expr.c (gfc_simplify_expr): NULL-terminate the substring
character constant.
* primary.c (match_hollerith_constant): NULL-terminate the
character constant string.

* gfortran.dg/pr29067.f: New test.

  r118339 | fxcoudert | 2006-10-31 12:17:11 -0800 (Tue, 31 Oct 2006) | 2 lines

* ChangeLog: Forgotten ChangeLog entry for previous commit.

  r118340 | charlet | 2006-10-31 12:43:39 -0800 (Tue, 31 Oct 2006) | 2 lines

  Fix typo.

  r118341 | tkoenig | 2006-10-31 12:58:26 -0800 (Tue, 31 Oct 2006) | 18 lines

  2006-10-31  Thomas Koenig  <[EMAIL PROTECTED]>

PR libfortran/29627
* libgfortran.h: Add ERROR_SHORT_RECORD
* runtime/error.c (translate_error): Add case
for ERROR_SHORT_RECORD.
* io/transfer.c (read_block_direct):  Separate codepaths
for stream and record unformatted I/O.  Remove unneeded
tests for standard input, padding and formatted I/O.
If the record is short, read in as much data as possible,
then raise the error.

  2006-10-31  Thomas Koenig  <[EMAIL PROTECTED]>

PR libfortran/29627
* gfortran.dg/unf_short_record_1.f90:  New test.

  r118343 | sje | 2006-10-31 14:28:18 -0800 (Tue, 31 Oct 2006) | 4 lines

* inclhack.def (hpux11_extern_sendfile): New.
(hpux11_extern_sendpath): New.
* fixincl.x: Regenerate.

  r118344 | ebotcazou | 2006-10-31 15:29:06 -0800 (Tue, 31 Oct 2006) | 3 lines

  * gcc.c-torture/execute/20061031-1.c: New test.

  r118347 | aldot | 2006-10-31 15:38:58 -0800 (Tue, 31 Oct 2006) | 20 lines

  fortran/ChangeLog:
  2006-11-01  Bernhard Fischer  <[EMAIL PROTECTED]>

  PR fortran/29537
  * trans-common.c (gfc_trans_common): If the blank common is
  in a procedure or program without a name then proc_name is null, so
use
  the locus of the common.
  (gfc_sym_mangled_common_id): Fix whitespace.
  * match.c (gfc_match_common): Emit warning about blank common in
  block data.

  testsuite/ChangeLog:
  2006-11-01  Bernhard Fischer  <[EMAIL PROTECTED]>

  PR fortran/29537
  * gfortran.dg/blockdata_1.f90: Add warning about blank common in
block
data.
  * gfortran.dg/blockdata_2.f90: New testcase.

  r118353 | gccadmin | 2006-10-31 16:17:53 -0800 (Tue, 31 Oct 2006) | 1 line

  Daily bump.

  r118355 | sayle | 2006-10-31 18:56:45 -0800 (Tue, 31 Oct 2006) | 10 lines


PR middle-end/23470
* tree.h (tree_expr_nonnegative_p): Return "bool" instead of "int".
* fold-const.c (tree_expr_nonnegative_p): Likewise.  Consider
pow(x,y) and powi(x,y) to be nonnegative if either x is nonnegative
or y is an even integer.

* gcc.dg/pr23470-1.c: New test case.

  r118356 | geoffk | 2006-10-31 20:47:30 -0800 (Tue, 31 Oct 2006) | 27 lines

* c-decl.c (grokdeclarator): Don't set DECL_EXTERNAL on
inline static functions in c99 mode.

PR 16622
* doc/extend.texi (Inline): Update.
* c-tree.h (struct language_function): Remove field 'extern_inline'.
* c-decl.c (current_extern_inline): Delete.
(pop_scope): Adjust test for an undefined nested function.
Add warning about undeclared inline function.
(diagnose_mismatched_decls): Update comments.  Disallow overriding
of inline functions in a translation unit in C99.  Allow inline
declarations in C99 at any time.
(merge_decls): Boolize variables.  Handle C99 'extern inline'
semantics.
(grokdeclarator): Set DECL_EXTERNAL here for functions.  Handle
C99 inline semantics.
(start_function): Don't clear current_extern_inline.  Don't set
DECL_EXTERNAL.
(c_push_function_context): Don't push current_extern_inline.
(c_pop_function_context): Don't restore current_extern_inline.

PR 11377
* c-typeck.c (build_external_ref): Warn about static variables
used in extern inline functions.
* c-decl.c (start_decl): Warn about static variables declared
in extern inline functions.

  r118357 | geoffk | 2006-10-31 20:48:15 -080

[Bug fortran/29537] ICE in gfc_match_common for blank common in BLOCK DATA unit

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #15 from chaoyingfu at gcc dot gnu dot org  2006-11-30 19:25 
---
Subject: Bug 29537

Author: chaoyingfu
Date: Thu Nov 30 19:24:37 2006
New Revision: 119373

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119373
Log:
Merged revisions 118337-118377 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118337 | charlet | 2006-10-31 12:11:46 -0800 (Tue, 31 Oct 2006) | 2 lines

  Resync.

  r118338 | fxcoudert | 2006-10-31 12:15:22 -0800 (Tue, 31 Oct 2006) | 12 lines

PR fortran/29067

* decl.c (gfc_set_constant_character_len): NULL-terminate the
character constant string.
* data.c (create_character_intializer): Likewise.
* expr.c (gfc_simplify_expr): NULL-terminate the substring
character constant.
* primary.c (match_hollerith_constant): NULL-terminate the
character constant string.

* gfortran.dg/pr29067.f: New test.

  r118339 | fxcoudert | 2006-10-31 12:17:11 -0800 (Tue, 31 Oct 2006) | 2 lines

* ChangeLog: Forgotten ChangeLog entry for previous commit.

  r118340 | charlet | 2006-10-31 12:43:39 -0800 (Tue, 31 Oct 2006) | 2 lines

  Fix typo.

  r118341 | tkoenig | 2006-10-31 12:58:26 -0800 (Tue, 31 Oct 2006) | 18 lines

  2006-10-31  Thomas Koenig  <[EMAIL PROTECTED]>

PR libfortran/29627
* libgfortran.h: Add ERROR_SHORT_RECORD
* runtime/error.c (translate_error): Add case
for ERROR_SHORT_RECORD.
* io/transfer.c (read_block_direct):  Separate codepaths
for stream and record unformatted I/O.  Remove unneeded
tests for standard input, padding and formatted I/O.
If the record is short, read in as much data as possible,
then raise the error.

  2006-10-31  Thomas Koenig  <[EMAIL PROTECTED]>

PR libfortran/29627
* gfortran.dg/unf_short_record_1.f90:  New test.

  r118343 | sje | 2006-10-31 14:28:18 -0800 (Tue, 31 Oct 2006) | 4 lines

* inclhack.def (hpux11_extern_sendfile): New.
(hpux11_extern_sendpath): New.
* fixincl.x: Regenerate.

  r118344 | ebotcazou | 2006-10-31 15:29:06 -0800 (Tue, 31 Oct 2006) | 3 lines

  * gcc.c-torture/execute/20061031-1.c: New test.

  r118347 | aldot | 2006-10-31 15:38:58 -0800 (Tue, 31 Oct 2006) | 20 lines

  fortran/ChangeLog:
  2006-11-01  Bernhard Fischer  <[EMAIL PROTECTED]>

  PR fortran/29537
  * trans-common.c (gfc_trans_common): If the blank common is
  in a procedure or program without a name then proc_name is null, so
use
  the locus of the common.
  (gfc_sym_mangled_common_id): Fix whitespace.
  * match.c (gfc_match_common): Emit warning about blank common in
  block data.

  testsuite/ChangeLog:
  2006-11-01  Bernhard Fischer  <[EMAIL PROTECTED]>

  PR fortran/29537
  * gfortran.dg/blockdata_1.f90: Add warning about blank common in
block
data.
  * gfortran.dg/blockdata_2.f90: New testcase.

  r118353 | gccadmin | 2006-10-31 16:17:53 -0800 (Tue, 31 Oct 2006) | 1 line

  Daily bump.

  r118355 | sayle | 2006-10-31 18:56:45 -0800 (Tue, 31 Oct 2006) | 10 lines


PR middle-end/23470
* tree.h (tree_expr_nonnegative_p): Return "bool" instead of "int".
* fold-const.c (tree_expr_nonnegative_p): Likewise.  Consider
pow(x,y) and powi(x,y) to be nonnegative if either x is nonnegative
or y is an even integer.

* gcc.dg/pr23470-1.c: New test case.

  r118356 | geoffk | 2006-10-31 20:47:30 -0800 (Tue, 31 Oct 2006) | 27 lines

* c-decl.c (grokdeclarator): Don't set DECL_EXTERNAL on
inline static functions in c99 mode.

PR 16622
* doc/extend.texi (Inline): Update.
* c-tree.h (struct language_function): Remove field 'extern_inline'.
* c-decl.c (current_extern_inline): Delete.
(pop_scope): Adjust test for an undefined nested function.
Add warning about undeclared inline function.
(diagnose_mismatched_decls): Update comments.  Disallow overriding
of inline functions in a translation unit in C99.  Allow inline
declarations in C99 at any time.
(merge_decls): Boolize variables.  Handle C99 'extern inline'
semantics.
(grokdeclarator): Set DECL_EXTERNAL here for functions.  Handle
C99 inline semantics.
(start_function): Don't clear current_extern_inline.  Don't set
DECL_EXTERNAL.
(c_push_function_context): Don't push current_extern_inline.
(c_pop_function_context): Don't restore current_extern_inline.

PR 11377
* c-typeck.c (build_external_ref): Warn about static variables
used in extern inline functions.
* c-decl.c (start_decl): Warn about static variables declared
in extern inline functions.

  r118357 | geoffk | 2006-10-31 20:48:15 -080

[Bug target/23067] Incorrect struct layout on darwin

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #29 from chaoyingfu at gcc dot gnu dot org  2006-11-30 19:25 
---
Subject: Bug 23067

Author: chaoyingfu
Date: Thu Nov 30 19:24:37 2006
New Revision: 119373

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119373
Log:
Merged revisions 118337-118377 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118337 | charlet | 2006-10-31 12:11:46 -0800 (Tue, 31 Oct 2006) | 2 lines

  Resync.

  r118338 | fxcoudert | 2006-10-31 12:15:22 -0800 (Tue, 31 Oct 2006) | 12 lines

PR fortran/29067

* decl.c (gfc_set_constant_character_len): NULL-terminate the
character constant string.
* data.c (create_character_intializer): Likewise.
* expr.c (gfc_simplify_expr): NULL-terminate the substring
character constant.
* primary.c (match_hollerith_constant): NULL-terminate the
character constant string.

* gfortran.dg/pr29067.f: New test.

  r118339 | fxcoudert | 2006-10-31 12:17:11 -0800 (Tue, 31 Oct 2006) | 2 lines

* ChangeLog: Forgotten ChangeLog entry for previous commit.

  r118340 | charlet | 2006-10-31 12:43:39 -0800 (Tue, 31 Oct 2006) | 2 lines

  Fix typo.

  r118341 | tkoenig | 2006-10-31 12:58:26 -0800 (Tue, 31 Oct 2006) | 18 lines

  2006-10-31  Thomas Koenig  <[EMAIL PROTECTED]>

PR libfortran/29627
* libgfortran.h: Add ERROR_SHORT_RECORD
* runtime/error.c (translate_error): Add case
for ERROR_SHORT_RECORD.
* io/transfer.c (read_block_direct):  Separate codepaths
for stream and record unformatted I/O.  Remove unneeded
tests for standard input, padding and formatted I/O.
If the record is short, read in as much data as possible,
then raise the error.

  2006-10-31  Thomas Koenig  <[EMAIL PROTECTED]>

PR libfortran/29627
* gfortran.dg/unf_short_record_1.f90:  New test.

  r118343 | sje | 2006-10-31 14:28:18 -0800 (Tue, 31 Oct 2006) | 4 lines

* inclhack.def (hpux11_extern_sendfile): New.
(hpux11_extern_sendpath): New.
* fixincl.x: Regenerate.

  r118344 | ebotcazou | 2006-10-31 15:29:06 -0800 (Tue, 31 Oct 2006) | 3 lines

  * gcc.c-torture/execute/20061031-1.c: New test.

  r118347 | aldot | 2006-10-31 15:38:58 -0800 (Tue, 31 Oct 2006) | 20 lines

  fortran/ChangeLog:
  2006-11-01  Bernhard Fischer  <[EMAIL PROTECTED]>

  PR fortran/29537
  * trans-common.c (gfc_trans_common): If the blank common is
  in a procedure or program without a name then proc_name is null, so
use
  the locus of the common.
  (gfc_sym_mangled_common_id): Fix whitespace.
  * match.c (gfc_match_common): Emit warning about blank common in
  block data.

  testsuite/ChangeLog:
  2006-11-01  Bernhard Fischer  <[EMAIL PROTECTED]>

  PR fortran/29537
  * gfortran.dg/blockdata_1.f90: Add warning about blank common in
block
data.
  * gfortran.dg/blockdata_2.f90: New testcase.

  r118353 | gccadmin | 2006-10-31 16:17:53 -0800 (Tue, 31 Oct 2006) | 1 line

  Daily bump.

  r118355 | sayle | 2006-10-31 18:56:45 -0800 (Tue, 31 Oct 2006) | 10 lines


PR middle-end/23470
* tree.h (tree_expr_nonnegative_p): Return "bool" instead of "int".
* fold-const.c (tree_expr_nonnegative_p): Likewise.  Consider
pow(x,y) and powi(x,y) to be nonnegative if either x is nonnegative
or y is an even integer.

* gcc.dg/pr23470-1.c: New test case.

  r118356 | geoffk | 2006-10-31 20:47:30 -0800 (Tue, 31 Oct 2006) | 27 lines

* c-decl.c (grokdeclarator): Don't set DECL_EXTERNAL on
inline static functions in c99 mode.

PR 16622
* doc/extend.texi (Inline): Update.
* c-tree.h (struct language_function): Remove field 'extern_inline'.
* c-decl.c (current_extern_inline): Delete.
(pop_scope): Adjust test for an undefined nested function.
Add warning about undeclared inline function.
(diagnose_mismatched_decls): Update comments.  Disallow overriding
of inline functions in a translation unit in C99.  Allow inline
declarations in C99 at any time.
(merge_decls): Boolize variables.  Handle C99 'extern inline'
semantics.
(grokdeclarator): Set DECL_EXTERNAL here for functions.  Handle
C99 inline semantics.
(start_function): Don't clear current_extern_inline.  Don't set
DECL_EXTERNAL.
(c_push_function_context): Don't push current_extern_inline.
(c_pop_function_context): Don't restore current_extern_inline.

PR 11377
* c-typeck.c (build_external_ref): Warn about static variables
used in extern inline functions.
* c-decl.c (start_decl): Warn about static variables declared
in extern inline functions.

  r118357 | geoffk | 2006-10-31 20:48:15 -080

[Bug c/16622] [C99] extern inline is handled wrong in C99 mode

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #18 from chaoyingfu at gcc dot gnu dot org  2006-11-30 19:25 
---
Subject: Bug 16622

Author: chaoyingfu
Date: Thu Nov 30 19:24:37 2006
New Revision: 119373

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119373
Log:
Merged revisions 118337-118377 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118337 | charlet | 2006-10-31 12:11:46 -0800 (Tue, 31 Oct 2006) | 2 lines

  Resync.

  r118338 | fxcoudert | 2006-10-31 12:15:22 -0800 (Tue, 31 Oct 2006) | 12 lines

PR fortran/29067

* decl.c (gfc_set_constant_character_len): NULL-terminate the
character constant string.
* data.c (create_character_intializer): Likewise.
* expr.c (gfc_simplify_expr): NULL-terminate the substring
character constant.
* primary.c (match_hollerith_constant): NULL-terminate the
character constant string.

* gfortran.dg/pr29067.f: New test.

  r118339 | fxcoudert | 2006-10-31 12:17:11 -0800 (Tue, 31 Oct 2006) | 2 lines

* ChangeLog: Forgotten ChangeLog entry for previous commit.

  r118340 | charlet | 2006-10-31 12:43:39 -0800 (Tue, 31 Oct 2006) | 2 lines

  Fix typo.

  r118341 | tkoenig | 2006-10-31 12:58:26 -0800 (Tue, 31 Oct 2006) | 18 lines

  2006-10-31  Thomas Koenig  <[EMAIL PROTECTED]>

PR libfortran/29627
* libgfortran.h: Add ERROR_SHORT_RECORD
* runtime/error.c (translate_error): Add case
for ERROR_SHORT_RECORD.
* io/transfer.c (read_block_direct):  Separate codepaths
for stream and record unformatted I/O.  Remove unneeded
tests for standard input, padding and formatted I/O.
If the record is short, read in as much data as possible,
then raise the error.

  2006-10-31  Thomas Koenig  <[EMAIL PROTECTED]>

PR libfortran/29627
* gfortran.dg/unf_short_record_1.f90:  New test.

  r118343 | sje | 2006-10-31 14:28:18 -0800 (Tue, 31 Oct 2006) | 4 lines

* inclhack.def (hpux11_extern_sendfile): New.
(hpux11_extern_sendpath): New.
* fixincl.x: Regenerate.

  r118344 | ebotcazou | 2006-10-31 15:29:06 -0800 (Tue, 31 Oct 2006) | 3 lines

  * gcc.c-torture/execute/20061031-1.c: New test.

  r118347 | aldot | 2006-10-31 15:38:58 -0800 (Tue, 31 Oct 2006) | 20 lines

  fortran/ChangeLog:
  2006-11-01  Bernhard Fischer  <[EMAIL PROTECTED]>

  PR fortran/29537
  * trans-common.c (gfc_trans_common): If the blank common is
  in a procedure or program without a name then proc_name is null, so
use
  the locus of the common.
  (gfc_sym_mangled_common_id): Fix whitespace.
  * match.c (gfc_match_common): Emit warning about blank common in
  block data.

  testsuite/ChangeLog:
  2006-11-01  Bernhard Fischer  <[EMAIL PROTECTED]>

  PR fortran/29537
  * gfortran.dg/blockdata_1.f90: Add warning about blank common in
block
data.
  * gfortran.dg/blockdata_2.f90: New testcase.

  r118353 | gccadmin | 2006-10-31 16:17:53 -0800 (Tue, 31 Oct 2006) | 1 line

  Daily bump.

  r118355 | sayle | 2006-10-31 18:56:45 -0800 (Tue, 31 Oct 2006) | 10 lines


PR middle-end/23470
* tree.h (tree_expr_nonnegative_p): Return "bool" instead of "int".
* fold-const.c (tree_expr_nonnegative_p): Likewise.  Consider
pow(x,y) and powi(x,y) to be nonnegative if either x is nonnegative
or y is an even integer.

* gcc.dg/pr23470-1.c: New test case.

  r118356 | geoffk | 2006-10-31 20:47:30 -0800 (Tue, 31 Oct 2006) | 27 lines

* c-decl.c (grokdeclarator): Don't set DECL_EXTERNAL on
inline static functions in c99 mode.

PR 16622
* doc/extend.texi (Inline): Update.
* c-tree.h (struct language_function): Remove field 'extern_inline'.
* c-decl.c (current_extern_inline): Delete.
(pop_scope): Adjust test for an undefined nested function.
Add warning about undeclared inline function.
(diagnose_mismatched_decls): Update comments.  Disallow overriding
of inline functions in a translation unit in C99.  Allow inline
declarations in C99 at any time.
(merge_decls): Boolize variables.  Handle C99 'extern inline'
semantics.
(grokdeclarator): Set DECL_EXTERNAL here for functions.  Handle
C99 inline semantics.
(start_function): Don't clear current_extern_inline.  Don't set
DECL_EXTERNAL.
(c_push_function_context): Don't push current_extern_inline.
(c_pop_function_context): Don't restore current_extern_inline.

PR 11377
* c-typeck.c (build_external_ref): Warn about static variables
used in extern inline functions.
* c-decl.c (start_decl): Warn about static variables declared
in extern inline functions.

  r118357 | geoffk | 2006-10-31 20:48:15 -080

[Bug middle-end/30028] [4.3 Regression] bcopy is wrongly converted to memcpy

2006-11-30 Thread hubicka at gcc dot gnu dot org


--- Comment #4 from hubicka at gcc dot gnu dot org  2006-11-30 19:36 ---
Subject: Bug 30028

Author: hubicka
Date: Thu Nov 30 19:36:02 2006
New Revision: 119375

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119375
Log:
PR middle-end/30028
* builtins.c (fold_builtin_memory_op): Fix typo in the check for
memmove/bcopy->memcpy conversion.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/builtins.c


-- 


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



[Bug target/27405] [4.2/4.3 Regression] gcc.c-torture/execute/960209-1.c ICEs on sh64-* with -O3

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #5 from chaoyingfu at gcc dot gnu dot org  2006-11-30 19:44 
---
Subject: Bug 27405

Author: chaoyingfu
Date: Thu Nov 30 19:43:57 2006
New Revision: 119376

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119376
Log:
Merged revisions 118384-118452 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118384 | sje | 2006-11-01 08:25:17 -0800 (Wed, 01 Nov 2006) | 2 lines

* tests/base/sys/socket.h: Update.

  r118385 | dgregor | 2006-11-01 08:27:23 -0800 (Wed, 01 Nov 2006) | 8 lines

  2006-11-01Douglas Gregor <[EMAIL PROTECTED]>

* include/cpplib.h (enum c_lang): Add CLK_GNUCXX0X and CLK_CXX0X
for experimental C++0x mode.
* init.c (lang_defaults): Add defaults for C++0x modes. C++0x has
adopted the preprocessor changes introduced in C99.

  r118386 | dgregor | 2006-11-01 08:29:06 -0800 (Wed, 01 Nov 2006) | 14 lines

  2006-11-01Douglas Gregor <[EMAIL PROTECTED]>

* c-common.c (flag_cpp0x): New.
* c-common.h (flag_cpp0x): New.
* c-cppbuiltin.c (c_cpp_builtins): If C++0x extensions are
supported, define __GXX_EXPERIMENTAL_CPP0X__.
* c-opts.c (set_std_cxx0x): New.
(c_common_handle_option): Handle -std=c++0x, -std=gnu++0x.
* c.opt (std=c++0x): Document.
(std=gnu++0x): Ditto.
* doc/cpp.texi: Document __GXX_EXPERIMENTAL_CPP0X__.
* doc/invoke.texi: Document -std=c++0x, -std=gnu++0x.


  r118389 | dgregor | 2006-11-01 09:13:27 -0800 (Wed, 01 Nov 2006) | 14 lines

  2006-11-01Douglas Gregor <[EMAIL PROTECTED]>

* c-common.c (flag_cpp0x): New.
* c-common.h (flag_cpp0x): New.
* c-cppbuiltin.c (c_cpp_builtins): If C++0x extensions are
supported, define __GXX_EXPERIMENTAL_CPP0X__.
* c-opts.c (set_std_cxx0x): New.
(c_common_handle_option): Handle -std=c++0x, -std=gnu++0x.
* c.opt (std=c++0x): Document.
(std=gnu++0x): Ditto.
* doc/cpp.texi: Document __GXX_EXPERIMENTAL_CPP0X__.
* doc/invoke.texi: Document -std=c++0x, -std=gnu++0x.

  r118391 | kseitz | 2006-11-01 10:20:19 -0800 (Wed, 01 Nov 2006) | 8 lines

  * gnu/gcj/jvmti/Location.java: New file.
  * gnu/gcj/jvmti/BreakpointManager.java: New file.
  * jvmti.cc (_Jv_JVMTI_SetBreakpoint): New function.
  (_Jv_JVMTI_ClearBreakpoint): New function.
  (_Jv_JVMTI_Interface): Define SetBreakpoint and ClearBreakpoint.
  * sources.am: Regenerated.
  * Makefile.in: Regenerated.

  r118392 | vprus | 2006-11-01 11:01:36 -0800 (Wed, 01 Nov 2006) | 6 lines

  2006-11-01  Chris Johns <[EMAIL PROTECTED]>

  PR bootstrap/28400
  * Makefile.in (install-driver): Use exeext when installing
  $target-gcc-$version.

  r118393 | nemet | 2006-11-01 11:19:28 -0800 (Wed, 01 Nov 2006) | 5 lines

* tree-pretty-print.c (dump_generic_node) : Use
HOST_WIDE_INT_PRINT to print high and low parts.  Use
HOST_BITS_PER_WIDE_INT for the width of HOST_WIDE_INT.  When
printing a hexadecimal number prefix it with 0x.

  r118394 | nemet | 2006-11-01 11:22:02 -0800 (Wed, 01 Nov 2006) | 5 lines

* gcc.dg/fold-mod-1.c: Match the leading 0x for the
hexadecimal value.
* gcc.dg/tree-prof/val-prof-2.c: Likewise.
* gcc.dg/pr14796-2.c: Likewise.

  r118396 | bergner | 2006-11-01 12:47:53 -0800 (Wed, 01 Nov 2006) | 67 lines

* doc/invoke.texi: Add cpu_type power6x
(RS/6000 and PowerPC Options): Add -mmfpgpr.
* config.gcc: Add cpu_type power6x.
* configure.ac: Add test for mf{t,f}gpr instructions.
(HAVE_AS_MFPGPR): New.
* config.in: Regenerate.
* configure: Regenerate.
* config/rs6000/aix52.h (ASM_CPU_SPEC): Add power6x.
* config/rs6000/rs6000.md (define_attr "type"): Add insert_dword,
shift,trap,var_shift_rotate,cntlz,exts, var_delayed_compare, mffgpr
and mftgpr attributes.
(define_attr "cpu"): Add power6.
Change instruction sequences to use new attributes.
(floatsidf2,fix_truncdfsi2): use TARGET_MFPGPR.
(fix_truncdfsi2_mfpgpr): New.
(floatsidf_ppc64_mfpgpr): New.
(floatsidf_ppc64): Added !TARGET_MFPGPR condition.
(movdf_hardfloat64_mfpgpr,movdi_mfpgpr): New.
(movdf_hardfloat64): Added !TARGET_MFPGPR condition.
(movdi_internal64): Added !TARGET_MFPGPR and related conditions.
(fix_truncdfsi2): Use gpc_reg_operand constraint.
* config/rs6000/{6xx.md,power4.md,8540.md,603.md,mpc.md,
7xx.md,rios2.md,7450.md,440.md,rios1.md,rs64.md,power5.md,40x.md}:
Add descriptions for insert_dword, shift,trap,var_shift_rotate,
cntlz,exts and var_delayed_compare.
* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
_ARCH_PWR6X, if features enabled.
* con

[Bug bootstrap/28400] install-driver is missing $(exeext) from gcc-$(version)

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #11 from chaoyingfu at gcc dot gnu dot org  2006-11-30 19:44 
---
Subject: Bug 28400

Author: chaoyingfu
Date: Thu Nov 30 19:43:57 2006
New Revision: 119376

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119376
Log:
Merged revisions 118384-118452 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118384 | sje | 2006-11-01 08:25:17 -0800 (Wed, 01 Nov 2006) | 2 lines

* tests/base/sys/socket.h: Update.

  r118385 | dgregor | 2006-11-01 08:27:23 -0800 (Wed, 01 Nov 2006) | 8 lines

  2006-11-01Douglas Gregor <[EMAIL PROTECTED]>

* include/cpplib.h (enum c_lang): Add CLK_GNUCXX0X and CLK_CXX0X
for experimental C++0x mode.
* init.c (lang_defaults): Add defaults for C++0x modes. C++0x has
adopted the preprocessor changes introduced in C99.

  r118386 | dgregor | 2006-11-01 08:29:06 -0800 (Wed, 01 Nov 2006) | 14 lines

  2006-11-01Douglas Gregor <[EMAIL PROTECTED]>

* c-common.c (flag_cpp0x): New.
* c-common.h (flag_cpp0x): New.
* c-cppbuiltin.c (c_cpp_builtins): If C++0x extensions are
supported, define __GXX_EXPERIMENTAL_CPP0X__.
* c-opts.c (set_std_cxx0x): New.
(c_common_handle_option): Handle -std=c++0x, -std=gnu++0x.
* c.opt (std=c++0x): Document.
(std=gnu++0x): Ditto.
* doc/cpp.texi: Document __GXX_EXPERIMENTAL_CPP0X__.
* doc/invoke.texi: Document -std=c++0x, -std=gnu++0x.


  r118389 | dgregor | 2006-11-01 09:13:27 -0800 (Wed, 01 Nov 2006) | 14 lines

  2006-11-01Douglas Gregor <[EMAIL PROTECTED]>

* c-common.c (flag_cpp0x): New.
* c-common.h (flag_cpp0x): New.
* c-cppbuiltin.c (c_cpp_builtins): If C++0x extensions are
supported, define __GXX_EXPERIMENTAL_CPP0X__.
* c-opts.c (set_std_cxx0x): New.
(c_common_handle_option): Handle -std=c++0x, -std=gnu++0x.
* c.opt (std=c++0x): Document.
(std=gnu++0x): Ditto.
* doc/cpp.texi: Document __GXX_EXPERIMENTAL_CPP0X__.
* doc/invoke.texi: Document -std=c++0x, -std=gnu++0x.

  r118391 | kseitz | 2006-11-01 10:20:19 -0800 (Wed, 01 Nov 2006) | 8 lines

  * gnu/gcj/jvmti/Location.java: New file.
  * gnu/gcj/jvmti/BreakpointManager.java: New file.
  * jvmti.cc (_Jv_JVMTI_SetBreakpoint): New function.
  (_Jv_JVMTI_ClearBreakpoint): New function.
  (_Jv_JVMTI_Interface): Define SetBreakpoint and ClearBreakpoint.
  * sources.am: Regenerated.
  * Makefile.in: Regenerated.

  r118392 | vprus | 2006-11-01 11:01:36 -0800 (Wed, 01 Nov 2006) | 6 lines

  2006-11-01  Chris Johns <[EMAIL PROTECTED]>

  PR bootstrap/28400
  * Makefile.in (install-driver): Use exeext when installing
  $target-gcc-$version.

  r118393 | nemet | 2006-11-01 11:19:28 -0800 (Wed, 01 Nov 2006) | 5 lines

* tree-pretty-print.c (dump_generic_node) : Use
HOST_WIDE_INT_PRINT to print high and low parts.  Use
HOST_BITS_PER_WIDE_INT for the width of HOST_WIDE_INT.  When
printing a hexadecimal number prefix it with 0x.

  r118394 | nemet | 2006-11-01 11:22:02 -0800 (Wed, 01 Nov 2006) | 5 lines

* gcc.dg/fold-mod-1.c: Match the leading 0x for the
hexadecimal value.
* gcc.dg/tree-prof/val-prof-2.c: Likewise.
* gcc.dg/pr14796-2.c: Likewise.

  r118396 | bergner | 2006-11-01 12:47:53 -0800 (Wed, 01 Nov 2006) | 67 lines

* doc/invoke.texi: Add cpu_type power6x
(RS/6000 and PowerPC Options): Add -mmfpgpr.
* config.gcc: Add cpu_type power6x.
* configure.ac: Add test for mf{t,f}gpr instructions.
(HAVE_AS_MFPGPR): New.
* config.in: Regenerate.
* configure: Regenerate.
* config/rs6000/aix52.h (ASM_CPU_SPEC): Add power6x.
* config/rs6000/rs6000.md (define_attr "type"): Add insert_dword,
shift,trap,var_shift_rotate,cntlz,exts, var_delayed_compare, mffgpr
and mftgpr attributes.
(define_attr "cpu"): Add power6.
Change instruction sequences to use new attributes.
(floatsidf2,fix_truncdfsi2): use TARGET_MFPGPR.
(fix_truncdfsi2_mfpgpr): New.
(floatsidf_ppc64_mfpgpr): New.
(floatsidf_ppc64): Added !TARGET_MFPGPR condition.
(movdf_hardfloat64_mfpgpr,movdi_mfpgpr): New.
(movdf_hardfloat64): Added !TARGET_MFPGPR condition.
(movdi_internal64): Added !TARGET_MFPGPR and related conditions.
(fix_truncdfsi2): Use gpc_reg_operand constraint.
* config/rs6000/{6xx.md,power4.md,8540.md,603.md,mpc.md,
7xx.md,rios2.md,7450.md,440.md,rios1.md,rs64.md,power5.md,40x.md}:
Add descriptions for insert_dword, shift,trap,var_shift_rotate,
cntlz,exts and var_delayed_compare.
* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
_ARCH_PWR6X, if features enabled.
* co

[Bug middle-end/29335] transcendental functions with constant arguments should be resolved at compile-time

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #35 from chaoyingfu at gcc dot gnu dot org  2006-11-30 19:44 
---
Subject: Bug 29335

Author: chaoyingfu
Date: Thu Nov 30 19:43:57 2006
New Revision: 119376

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119376
Log:
Merged revisions 118384-118452 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118384 | sje | 2006-11-01 08:25:17 -0800 (Wed, 01 Nov 2006) | 2 lines

* tests/base/sys/socket.h: Update.

  r118385 | dgregor | 2006-11-01 08:27:23 -0800 (Wed, 01 Nov 2006) | 8 lines

  2006-11-01Douglas Gregor <[EMAIL PROTECTED]>

* include/cpplib.h (enum c_lang): Add CLK_GNUCXX0X and CLK_CXX0X
for experimental C++0x mode.
* init.c (lang_defaults): Add defaults for C++0x modes. C++0x has
adopted the preprocessor changes introduced in C99.

  r118386 | dgregor | 2006-11-01 08:29:06 -0800 (Wed, 01 Nov 2006) | 14 lines

  2006-11-01Douglas Gregor <[EMAIL PROTECTED]>

* c-common.c (flag_cpp0x): New.
* c-common.h (flag_cpp0x): New.
* c-cppbuiltin.c (c_cpp_builtins): If C++0x extensions are
supported, define __GXX_EXPERIMENTAL_CPP0X__.
* c-opts.c (set_std_cxx0x): New.
(c_common_handle_option): Handle -std=c++0x, -std=gnu++0x.
* c.opt (std=c++0x): Document.
(std=gnu++0x): Ditto.
* doc/cpp.texi: Document __GXX_EXPERIMENTAL_CPP0X__.
* doc/invoke.texi: Document -std=c++0x, -std=gnu++0x.


  r118389 | dgregor | 2006-11-01 09:13:27 -0800 (Wed, 01 Nov 2006) | 14 lines

  2006-11-01Douglas Gregor <[EMAIL PROTECTED]>

* c-common.c (flag_cpp0x): New.
* c-common.h (flag_cpp0x): New.
* c-cppbuiltin.c (c_cpp_builtins): If C++0x extensions are
supported, define __GXX_EXPERIMENTAL_CPP0X__.
* c-opts.c (set_std_cxx0x): New.
(c_common_handle_option): Handle -std=c++0x, -std=gnu++0x.
* c.opt (std=c++0x): Document.
(std=gnu++0x): Ditto.
* doc/cpp.texi: Document __GXX_EXPERIMENTAL_CPP0X__.
* doc/invoke.texi: Document -std=c++0x, -std=gnu++0x.

  r118391 | kseitz | 2006-11-01 10:20:19 -0800 (Wed, 01 Nov 2006) | 8 lines

  * gnu/gcj/jvmti/Location.java: New file.
  * gnu/gcj/jvmti/BreakpointManager.java: New file.
  * jvmti.cc (_Jv_JVMTI_SetBreakpoint): New function.
  (_Jv_JVMTI_ClearBreakpoint): New function.
  (_Jv_JVMTI_Interface): Define SetBreakpoint and ClearBreakpoint.
  * sources.am: Regenerated.
  * Makefile.in: Regenerated.

  r118392 | vprus | 2006-11-01 11:01:36 -0800 (Wed, 01 Nov 2006) | 6 lines

  2006-11-01  Chris Johns <[EMAIL PROTECTED]>

  PR bootstrap/28400
  * Makefile.in (install-driver): Use exeext when installing
  $target-gcc-$version.

  r118393 | nemet | 2006-11-01 11:19:28 -0800 (Wed, 01 Nov 2006) | 5 lines

* tree-pretty-print.c (dump_generic_node) : Use
HOST_WIDE_INT_PRINT to print high and low parts.  Use
HOST_BITS_PER_WIDE_INT for the width of HOST_WIDE_INT.  When
printing a hexadecimal number prefix it with 0x.

  r118394 | nemet | 2006-11-01 11:22:02 -0800 (Wed, 01 Nov 2006) | 5 lines

* gcc.dg/fold-mod-1.c: Match the leading 0x for the
hexadecimal value.
* gcc.dg/tree-prof/val-prof-2.c: Likewise.
* gcc.dg/pr14796-2.c: Likewise.

  r118396 | bergner | 2006-11-01 12:47:53 -0800 (Wed, 01 Nov 2006) | 67 lines

* doc/invoke.texi: Add cpu_type power6x
(RS/6000 and PowerPC Options): Add -mmfpgpr.
* config.gcc: Add cpu_type power6x.
* configure.ac: Add test for mf{t,f}gpr instructions.
(HAVE_AS_MFPGPR): New.
* config.in: Regenerate.
* configure: Regenerate.
* config/rs6000/aix52.h (ASM_CPU_SPEC): Add power6x.
* config/rs6000/rs6000.md (define_attr "type"): Add insert_dword,
shift,trap,var_shift_rotate,cntlz,exts, var_delayed_compare, mffgpr
and mftgpr attributes.
(define_attr "cpu"): Add power6.
Change instruction sequences to use new attributes.
(floatsidf2,fix_truncdfsi2): use TARGET_MFPGPR.
(fix_truncdfsi2_mfpgpr): New.
(floatsidf_ppc64_mfpgpr): New.
(floatsidf_ppc64): Added !TARGET_MFPGPR condition.
(movdf_hardfloat64_mfpgpr,movdi_mfpgpr): New.
(movdf_hardfloat64): Added !TARGET_MFPGPR condition.
(movdi_internal64): Added !TARGET_MFPGPR and related conditions.
(fix_truncdfsi2): Use gpc_reg_operand constraint.
* config/rs6000/{6xx.md,power4.md,8540.md,603.md,mpc.md,
7xx.md,rios2.md,7450.md,440.md,rios1.md,rs64.md,power5.md,40x.md}:
Add descriptions for insert_dword, shift,trap,var_shift_rotate,
cntlz,exts and var_delayed_compare.
* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
_ARCH_PWR6X, if features enabled.
* co

[Bug other/29639] [4.3 regression] ext/bitmap_allocator/check_allocate_max_size.cc execution test

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #51 from chaoyingfu at gcc dot gnu dot org  2006-11-30 19:44 
---
Subject: Bug 29639

Author: chaoyingfu
Date: Thu Nov 30 19:43:57 2006
New Revision: 119376

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119376
Log:
Merged revisions 118384-118452 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118384 | sje | 2006-11-01 08:25:17 -0800 (Wed, 01 Nov 2006) | 2 lines

* tests/base/sys/socket.h: Update.

  r118385 | dgregor | 2006-11-01 08:27:23 -0800 (Wed, 01 Nov 2006) | 8 lines

  2006-11-01Douglas Gregor <[EMAIL PROTECTED]>

* include/cpplib.h (enum c_lang): Add CLK_GNUCXX0X and CLK_CXX0X
for experimental C++0x mode.
* init.c (lang_defaults): Add defaults for C++0x modes. C++0x has
adopted the preprocessor changes introduced in C99.

  r118386 | dgregor | 2006-11-01 08:29:06 -0800 (Wed, 01 Nov 2006) | 14 lines

  2006-11-01Douglas Gregor <[EMAIL PROTECTED]>

* c-common.c (flag_cpp0x): New.
* c-common.h (flag_cpp0x): New.
* c-cppbuiltin.c (c_cpp_builtins): If C++0x extensions are
supported, define __GXX_EXPERIMENTAL_CPP0X__.
* c-opts.c (set_std_cxx0x): New.
(c_common_handle_option): Handle -std=c++0x, -std=gnu++0x.
* c.opt (std=c++0x): Document.
(std=gnu++0x): Ditto.
* doc/cpp.texi: Document __GXX_EXPERIMENTAL_CPP0X__.
* doc/invoke.texi: Document -std=c++0x, -std=gnu++0x.


  r118389 | dgregor | 2006-11-01 09:13:27 -0800 (Wed, 01 Nov 2006) | 14 lines

  2006-11-01Douglas Gregor <[EMAIL PROTECTED]>

* c-common.c (flag_cpp0x): New.
* c-common.h (flag_cpp0x): New.
* c-cppbuiltin.c (c_cpp_builtins): If C++0x extensions are
supported, define __GXX_EXPERIMENTAL_CPP0X__.
* c-opts.c (set_std_cxx0x): New.
(c_common_handle_option): Handle -std=c++0x, -std=gnu++0x.
* c.opt (std=c++0x): Document.
(std=gnu++0x): Ditto.
* doc/cpp.texi: Document __GXX_EXPERIMENTAL_CPP0X__.
* doc/invoke.texi: Document -std=c++0x, -std=gnu++0x.

  r118391 | kseitz | 2006-11-01 10:20:19 -0800 (Wed, 01 Nov 2006) | 8 lines

  * gnu/gcj/jvmti/Location.java: New file.
  * gnu/gcj/jvmti/BreakpointManager.java: New file.
  * jvmti.cc (_Jv_JVMTI_SetBreakpoint): New function.
  (_Jv_JVMTI_ClearBreakpoint): New function.
  (_Jv_JVMTI_Interface): Define SetBreakpoint and ClearBreakpoint.
  * sources.am: Regenerated.
  * Makefile.in: Regenerated.

  r118392 | vprus | 2006-11-01 11:01:36 -0800 (Wed, 01 Nov 2006) | 6 lines

  2006-11-01  Chris Johns <[EMAIL PROTECTED]>

  PR bootstrap/28400
  * Makefile.in (install-driver): Use exeext when installing
  $target-gcc-$version.

  r118393 | nemet | 2006-11-01 11:19:28 -0800 (Wed, 01 Nov 2006) | 5 lines

* tree-pretty-print.c (dump_generic_node) : Use
HOST_WIDE_INT_PRINT to print high and low parts.  Use
HOST_BITS_PER_WIDE_INT for the width of HOST_WIDE_INT.  When
printing a hexadecimal number prefix it with 0x.

  r118394 | nemet | 2006-11-01 11:22:02 -0800 (Wed, 01 Nov 2006) | 5 lines

* gcc.dg/fold-mod-1.c: Match the leading 0x for the
hexadecimal value.
* gcc.dg/tree-prof/val-prof-2.c: Likewise.
* gcc.dg/pr14796-2.c: Likewise.

  r118396 | bergner | 2006-11-01 12:47:53 -0800 (Wed, 01 Nov 2006) | 67 lines

* doc/invoke.texi: Add cpu_type power6x
(RS/6000 and PowerPC Options): Add -mmfpgpr.
* config.gcc: Add cpu_type power6x.
* configure.ac: Add test for mf{t,f}gpr instructions.
(HAVE_AS_MFPGPR): New.
* config.in: Regenerate.
* configure: Regenerate.
* config/rs6000/aix52.h (ASM_CPU_SPEC): Add power6x.
* config/rs6000/rs6000.md (define_attr "type"): Add insert_dword,
shift,trap,var_shift_rotate,cntlz,exts, var_delayed_compare, mffgpr
and mftgpr attributes.
(define_attr "cpu"): Add power6.
Change instruction sequences to use new attributes.
(floatsidf2,fix_truncdfsi2): use TARGET_MFPGPR.
(fix_truncdfsi2_mfpgpr): New.
(floatsidf_ppc64_mfpgpr): New.
(floatsidf_ppc64): Added !TARGET_MFPGPR condition.
(movdf_hardfloat64_mfpgpr,movdi_mfpgpr): New.
(movdf_hardfloat64): Added !TARGET_MFPGPR condition.
(movdi_internal64): Added !TARGET_MFPGPR and related conditions.
(fix_truncdfsi2): Use gpc_reg_operand constraint.
* config/rs6000/{6xx.md,power4.md,8540.md,603.md,mpc.md,
7xx.md,rios2.md,7450.md,440.md,rios1.md,rs64.md,power5.md,40x.md}:
Add descriptions for insert_dword, shift,trap,var_shift_rotate,
cntlz,exts and var_delayed_compare.
* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
_ARCH_PWR6X, if features enabled.
* co

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

2006-11-30 Thread amylaar at gcc dot gnu dot org


--- Comment #34 from amylaar at gcc dot gnu dot org  2006-11-30 20:04 
---
Created an attachment (id=12718)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12718&action=view)
add-on patch

I've found that this patch is also necessary to avoid invalid transformations.


-- 


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



[Bug libfortran/29568] implement unformatted files with subrecords (Intel style)

2006-11-30 Thread patchapp at dberlin dot org


--- Comment #31 from patchapp at dberlin dot org  2006-11-30 20:10 ---
Subject: Bug number PR libfortran/29568

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-11/msg02060.html


-- 


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



[Bug tree-optimization/30032] sqrt(CGAMMA*PRES[j]/DENS[j]) much slower than compiting compiler

2006-11-30 Thread burnus at gcc dot gnu dot org


--- Comment #4 from burnus at gcc dot gnu dot org  2006-11-30 21:14 ---
> Also you are using VLAs so maybe ICC also converts those VLAs to normal 
> arrays.

Some tests with
void eos(const int NODES, const float CGAMMA, float CS[NODES], const float
PRES[NODES], const float DENS[NODES])

icc -O3 -xW -ipo -static
real: 0m1.879s 0m1.878s
gcc -march=opteron -ffast-math -funroll-loops -ftree-vectorize -msse3 -O3
real: 0m6.478s 0m6.791s
gcc -march=opteron -ffast-math -funroll-loops -ftree-vectorize -msse3 -O3
-mfpmath=sse,387
real: 0m6.907s 0m6.501s


-- 


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



Re: [Bug tree-optimization/30032] sqrt(CGAMMA*PRES[j]/DENS[j]) much slower than compiting compiler

2006-11-30 Thread Andrew Pinski
> 
> 
> 
> --- Comment #4 from burnus at gcc dot gnu dot org  2006-11-30 21:14 
> ---
> > Also you are using VLAs so maybe ICC also converts those VLAs to normal 
> > arrays.

You misunderstood me.
const int NODES = 2500;
float f[NODES];

causes a VLA to happen because in C, NODES is not a constant expression.
You can do instead:
#define NODES 2500
to get the non VLA.

-- Pinski


[Bug tree-optimization/30032] sqrt(CGAMMA*PRES[j]/DENS[j]) much slower than compiting compiler

2006-11-30 Thread pinskia at physics dot uc dot edu


--- Comment #5 from pinskia at physics dot uc dot edu  2006-11-30 21:23 
---
Subject: Re:  sqrt(CGAMMA*PRES[j]/DENS[j]) much slower than compiting compiler

> 
> 
> 
> --- Comment #4 from burnus at gcc dot gnu dot org  2006-11-30 21:14 
> ---
> > Also you are using VLAs so maybe ICC also converts those VLAs to normal 
> > arrays.

You misunderstood me.
const int NODES = 2500;
float f[NODES];

causes a VLA to happen because in C, NODES is not a constant expression.
You can do instead:
#define NODES 2500
to get the non VLA.

-- Pinski


-- 


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



[Bug gcov-profile/17040] GCOV not working properly on Windows platforms

2006-11-30 Thread p dot obry at wanadoo dot fr


--- Comment #4 from p dot obry at wanadoo dot fr  2006-11-30 21:38 ---
(In reply to comment #3)
> *** Bug 25560 has been marked as a duplicate of this bug. ***

Not a duplicate as the patch sent for 25560 does not fix my problem. Tested
with GCC 4.1.2. So this still needs to be fixed.


-- 


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



[Bug fortran/24784] Warning about unused routine argument should not read "unused variable"

2006-11-30 Thread dfranke at gcc dot gnu dot org


--- Comment #3 from dfranke at gcc dot gnu dot org  2006-11-30 22:34 ---
In addition to comment #2, it is to note, that "-W" alone does not give any
diagnostic at all. 

Also, the FE emits different messages, if different flags are specified:
# -Wall
Warning: Unused variable x declared at (1)

# -Wall -W
Warning: Unused parameter x declared at (1)
^


-- 


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



[Bug fortran/30029] [4.1 only] variable not initialed shows non zero value

2006-11-30 Thread tkoenig at gcc dot gnu dot org


--- Comment #2 from tkoenig at gcc dot gnu dot org  2006-11-30 22:57 ---
bb is used uninitialized in this program, so
the program can do anything (including
starting world war III).  Assuming that
non-initialized variables are set to zero
was part of a lot of legacy codes.  g77
supported -finit-local-zero to emulate this
behavior, which gfortran doesn't yet do
(see PR 20411).

Resolving as a duplicate of PR 20411.

*** This bug has been marked as a duplicate of 20441 ***


-- 

tkoenig at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE


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



[Bug fortran/20441] -finit-local-zero is missing from gfortran

2006-11-30 Thread tkoenig at gcc dot gnu dot org


--- Comment #7 from tkoenig at gcc dot gnu dot org  2006-11-30 22:57 ---
*** Bug 30029 has been marked as a duplicate of this bug. ***


-- 

tkoenig at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||zig at fi dot infn dot it


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



[Bug c++/18313] Missing warning for superfluous const's in return types

2006-11-30 Thread mueller at gcc dot gnu dot org


--- Comment #3 from mueller at gcc dot gnu dot org  2006-11-30 23:08 ---
Subject: Bug 18313

Author: mueller
Date: Thu Nov 30 23:08:27 2006
New Revision: 119382

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119382
Log:
2006-12-01  Dirk Mueller  <[EMAIL PROTECTED]>

PR c++/18313
* decl.c (grokdeclarator): Warn for type qualifiers on return
type for non-dependent types.
* pt.c (tsubst_function_type): Warn for type qualifiers on
return type for dependent types.

* g++.dg/warn/Wreturn-type-4.C: New testcase.


Added:
trunk/gcc/testsuite/g++.dg/warn/Wreturn-type-4.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog


-- 


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



[Bug c++/18313] Missing warning for superfluous const's in return types

2006-11-30 Thread mueller at gcc dot gnu dot org


--- Comment #4 from mueller at gcc dot gnu dot org  2006-11-30 23:11 ---
Implemented for 4.3. 


-- 

mueller at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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



[Bug c++/19564] -Wparentheses does not work with the C++ front-end

2006-11-30 Thread mueller at gcc dot gnu dot org


--- Comment #4 from mueller at gcc dot gnu dot org  2006-11-30 23:15 ---
what is the status of these patches? I just started to look into this..


-- 

mueller at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||mueller at gcc dot gnu dot
   ||org


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



[Bug c++/19756] -Wparentheses doesn't warn on ambiguous if in C++

2006-11-30 Thread mueller at gcc dot gnu dot org


--- Comment #7 from mueller at gcc dot gnu dot org  2006-11-30 23:16 ---
not entirely related. 


-- 

mueller at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |mueller at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED


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



[Bug other/29878] Clarify gcc jc1 cc1 cc1plus installation problem No such file or directory error

2006-11-30 Thread jg at jguk dot org


--- Comment #4 from jg at jguk dot org  2006-12-01 00:00 ---
Hi, Thanks for your reply.

> We look into acouple of directories to find jc1, so it is not hardcoded
> directly.  The --prefix directory is hardcoded into gcc but that is just one
> directory where we look into, we also search the PATH if we cannot find it in
> that directory.  We also redirect the hardcoded path to be a relative one if
> the installation has moved.

Ok, good points.

I was a little surprised that GCC checks the PATH as well, if the wrong jc1 got
called that might introduce a problem I would expect.. (but I'm sure there is a
 reason).

How about changing it just to give an indication of what the jc1 file is and
where was searched?

gcc: installation problem, cannot exec GNU Java Compiler jc1 in
'/usr/lib/gcc/i486-linux-gnu/4.0.3/' or the PATH.

* Presently it says "No such file or directory", when jc1 would definitely not
be a directory.

Kind regards
Jon


-- 


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



[Bug tree-optimization/30032] sqrt(CGAMMA*PRES[j]/DENS[j]) much slower than competing compiler

2006-11-30 Thread burnus at gcc dot gnu dot org


--- Comment #6 from burnus at gcc dot gnu dot org  2006-12-01 00:04 ---
> You misunderstood me.
> const int NODES = 2500;
> float f[NODES];
> causes a VLA to happen because in C, NODES is not a constant expression.
> You can do instead:
> #define NODES 2500
> to get the non VLA.

I should really read a good C book.

gcc: 0m1.390s
icc: 0m2.439s

Thus converting such VLA arrays into normal arrays seems to be indeed what icc
does -- and GCC should do!?

The next question is of cause whether this has anything to do with my Fortran
slowness. Using oprofile, I found with for gfortran in gas_dyn.f90:
150879 51.8663 :  CS(:NODES) = SQRT(CGAMMA*PRES(:NODES)/DENS(:NODES))

In any case, for the following program I get:
gfortran -O4 -msse3 -ftree-vectorize -funroll-loops -march=opteron -ffast-math
 0m7.281s
ifort -O3 -xW
 0m2.633s

program main
  implicit none
  integer, parameter :: NODES = 25000
  real :: CGAMMA
  real :: DENS(NODES), CS(NODES), PRES(NODES)
  integer :: i
  CGAMMA = sqrt(2.0)
  DENS = sqrt(3.0)
  PRES = sin(0.25)
  CGAMMA = 3.0
  do i=1,2
 call EOS(NODES,CGAMMA, DENS,PRES,CS)
 CGAMMA = CGAMMA + CS(1)
  end do
  print *,CS(1)
contains
   SUBROUTINE EOS(NODES, CGAMMA, DENS, PRES, CS)
  IMPLICIT NONE
  integer :: i
  INTEGER NODES
  REAL CGAMMA
  REAL, DIMENSION(NODES) :: DENS, PRES, CS
  do i = 1,NODES
CS(i) = sqrt(cgamma*PRES(i)/Dens(i))
  end do
end subroutine
end program main


-- 


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



Re: [Bug other/29878] Clarify gcc jc1 cc1 cc1plus installation problem No such file or directory error

2006-11-30 Thread Andrew Pinski
> 
> --- Comment #4 from jg at jguk dot org  2006-12-01 00:00 ---
> Hi, Thanks for your reply.
> 

Again if the distros did not split up the compiler, you would not have an 
installation
problem but a notice that the Java compiler is not installed so I don't think 
this 
should be fixed or really there is no bug since there is an installation 
problem and
not really a GCC issue.


-- Pinski


[Bug other/29878] Clarify gcc jc1 cc1 cc1plus installation problem No such file or directory error

2006-11-30 Thread pinskia at physics dot uc dot edu


--- Comment #5 from pinskia at physics dot uc dot edu  2006-12-01 00:05 
---
Subject: Re:  Clarify gcc jc1 cc1 cc1plus installation problem No such file or
directory error

> 
> --- Comment #4 from jg at jguk dot org  2006-12-01 00:00 ---
> Hi, Thanks for your reply.
> 

Again if the distros did not split up the compiler, you would not have an
installation
problem but a notice that the Java compiler is not installed so I don't think
this 
should be fixed or really there is no bug since there is an installation
problem and
not really a GCC issue.


-- Pinski


-- 


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



[Bug fortran/29713] [4.1 Regression] ICE in gfc_set_constant_character_len decl.c:762

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #9 from chaoyingfu at gcc dot gnu dot org  2006-12-01 00:07 
---
Subject: Bug 29713

Author: chaoyingfu
Date: Fri Dec  1 00:05:26 2006
New Revision: 119383

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119383
Log:
Merged revisions 118455-118543 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118455 | fxcoudert | 2006-11-03 03:51:09 -0800 (Fri, 03 Nov 2006) | 20 lines

PR libfortran/27895

* intrinsics/reshape_generic.c (reshape_internal): Fix so that it
works correctly for zero-sized arrays.
* m4/reshape.m4: Likewise.
* generated/reshape_r16.c: Regenerate.
* generated/reshape_c4.c: Regenerate.
* generated/reshape_i4.c: Regenerate.
* generated/reshape_c16.c: Regenerate.
* generated/reshape_r10.c: Regenerate.
* generated/reshape_r8.c: Regenerate.
* generated/reshape_c10.c: Regenerate.
* generated/reshape_c8.c: Regenerate.
* generated/reshape_i8.c: Regenerate.
* generated/reshape_i16.c: Regenerate.
* generated/reshape_r4.c: Regenerate.

* gcc/testsuite/gfortran.dg/zero_sized_1.f90: Uncomment checks
for RESHAPE.

  r118458 | amylaar | 2006-11-03 06:52:19 -0800 (Fri, 03 Nov 2006) | 97 lines

  gcc:

  2006-11-03  J"orn Rennecke  <[EMAIL PROTECTED]>

* config/sh/crt1.asm: Fix #ifdef indent.

  2006-11-03  J"orn Rennecke  <[EMAIL PROTECTED]>
Merged from STMicroelectronics sources:
2006-10-06  Andrew Stubbs  <[EMAIL PROTECTED]>
  * config/sh/crt1.asm (vbr_600): Add missing #if.
2006-08-03  J"orn Rennecke  <[EMAIL PROTECTED]>
  * sh.opt (mfused-madd): New option.
  * sh.md (mac_media, macsf3): Make conditional on TARGET_FMAC.
2006-07-04  Andrew Stubbs  <[EMAIL PROTECTED]>
  * config/sh/crt1.asm (vbr_start): Move to new section .test.vbr.
  Remove pointless handler at VBR+0.
  (vbr_200, vbr_300, vbr_500): Remove pointless handler.
  (vbr_600): Save and restore mach and macl, fpul and fpscr and fr0 to
  fr7. Make sure the timer handler is called with the correct FPU
  precision setting, according to the ABI.
2006-06-14  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/sh.opt (m2a-single, m2a-single-only): Fix Condition.
  * config/sh/sh.h (SUPPORT_SH2A_NOFPU): Fix condition.
  (SUPPORT_SH2A_SINGLE_ONLY, SUPPORT_SH2A_SINGLE_ONLY): Likewise.
2006-06-09  J"orn Rennecke <[EMAIL PROTECTED]>
  * sh.md (cmpgeusi_t): Change into define_insn_and_split.  Accept
  zero as second operand.
2006-04-28  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/divtab-sh4-300.c, config/sh/lib1funcs-4-300.asm:
  Fixed some bugs related to negative values, in particular -0
  and overflow at -0x8000.
  * config/sh/divcost-analysis: Added sh4-300 figures.
2006-04-27  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/t-sh (MULTILIB_MATCHES): Add -m4-300* / -m4-340 options.
2006-04-26  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/t-sh (OPT_EXTRA_PARTS): Add libgcc-4-300.a.
  ($(T)div_table-4-300.o, $(T)libgcc-4-300.a): New rules.
  * config/sh/divtab-sh4-300.c, config/sh/lib1funcs-4-300.asm:
New files.
  * config/sh/embed-elf.h (LIBGCC_SPEC): Use -lgcc-4-300 for -m4-300* /
  -m4-340.
2006-04-24  J"orn Rennecke <[EMAIL PROTECTED]>
  SH4-300 scheduling description & fixes to SH4-[12]00 description:
  * sh.md: New instruction types: fstore, movi8, fpscr_toggle, gp_mac,
  mac_mem, mem_mac, dfp_mul, fp_cmp.
  (insn_class, dfp_comp, any_fp_comp): Update.
  (push_fpul, movsf_ie, fpu_switch, toggle_sz, toggle_pr): Update type.
  (cmpgtsf_t, "cmpeqsf_t, cmpgtsf_t_i4, cmpeqsf_t_i4): Likewise.
  (muldf3_i): Likewise.
  (movsi_i): Split rI08 alternative into two separate alternatives.
  Update type.
  (movsi_ie, movsi_i_lowpart): Likewise.
  (movqi_i): Split ri alternative into two separate alternatives.
  Update type.
  * sh1.md (sh1_load_store, sh1_fp): Update.
  * sh4.md (sh4_store, sh4_mac_gp, fp_arith, fp_double_arith): Update.
  (mac_mem, sh4_fpscr_toggle): New insn_reservations.
  * sh4a.md (sh4a_mov, sh4a_load, sh4a_store, sh4a_fp_arith): Update.
  (sh4a_fp_double_arith): Likewise.
  * sh4-300.md: New file.
  * sh.c (sh_handle_option): Handle m4-300* options.
  (sh_adjust_cost): Fix latency of auto-increments.
  Handle SH4-300 differently than other SH4s.  Check for new insn
types.
  * sh.h (OVERRIDE_OPTIONS): Initilize sh_branch_cost if it has not
  been set by an option.
  * sh.opt (m4-300, m4-100-nofpu, m4-200-nofpu): New options.
  (m4-300-nofpu, -m4-340, m4-300-si

[Bug ada/29707] s-osinte.adb:86:13: warning: function "To_Target_Priority" is not referenced

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #6 from chaoyingfu at gcc dot gnu dot org  2006-12-01 00:07 
---
Subject: Bug 29707

Author: chaoyingfu
Date: Fri Dec  1 00:05:26 2006
New Revision: 119383

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119383
Log:
Merged revisions 118455-118543 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118455 | fxcoudert | 2006-11-03 03:51:09 -0800 (Fri, 03 Nov 2006) | 20 lines

PR libfortran/27895

* intrinsics/reshape_generic.c (reshape_internal): Fix so that it
works correctly for zero-sized arrays.
* m4/reshape.m4: Likewise.
* generated/reshape_r16.c: Regenerate.
* generated/reshape_c4.c: Regenerate.
* generated/reshape_i4.c: Regenerate.
* generated/reshape_c16.c: Regenerate.
* generated/reshape_r10.c: Regenerate.
* generated/reshape_r8.c: Regenerate.
* generated/reshape_c10.c: Regenerate.
* generated/reshape_c8.c: Regenerate.
* generated/reshape_i8.c: Regenerate.
* generated/reshape_i16.c: Regenerate.
* generated/reshape_r4.c: Regenerate.

* gcc/testsuite/gfortran.dg/zero_sized_1.f90: Uncomment checks
for RESHAPE.

  r118458 | amylaar | 2006-11-03 06:52:19 -0800 (Fri, 03 Nov 2006) | 97 lines

  gcc:

  2006-11-03  J"orn Rennecke  <[EMAIL PROTECTED]>

* config/sh/crt1.asm: Fix #ifdef indent.

  2006-11-03  J"orn Rennecke  <[EMAIL PROTECTED]>
Merged from STMicroelectronics sources:
2006-10-06  Andrew Stubbs  <[EMAIL PROTECTED]>
  * config/sh/crt1.asm (vbr_600): Add missing #if.
2006-08-03  J"orn Rennecke  <[EMAIL PROTECTED]>
  * sh.opt (mfused-madd): New option.
  * sh.md (mac_media, macsf3): Make conditional on TARGET_FMAC.
2006-07-04  Andrew Stubbs  <[EMAIL PROTECTED]>
  * config/sh/crt1.asm (vbr_start): Move to new section .test.vbr.
  Remove pointless handler at VBR+0.
  (vbr_200, vbr_300, vbr_500): Remove pointless handler.
  (vbr_600): Save and restore mach and macl, fpul and fpscr and fr0 to
  fr7. Make sure the timer handler is called with the correct FPU
  precision setting, according to the ABI.
2006-06-14  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/sh.opt (m2a-single, m2a-single-only): Fix Condition.
  * config/sh/sh.h (SUPPORT_SH2A_NOFPU): Fix condition.
  (SUPPORT_SH2A_SINGLE_ONLY, SUPPORT_SH2A_SINGLE_ONLY): Likewise.
2006-06-09  J"orn Rennecke <[EMAIL PROTECTED]>
  * sh.md (cmpgeusi_t): Change into define_insn_and_split.  Accept
  zero as second operand.
2006-04-28  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/divtab-sh4-300.c, config/sh/lib1funcs-4-300.asm:
  Fixed some bugs related to negative values, in particular -0
  and overflow at -0x8000.
  * config/sh/divcost-analysis: Added sh4-300 figures.
2006-04-27  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/t-sh (MULTILIB_MATCHES): Add -m4-300* / -m4-340 options.
2006-04-26  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/t-sh (OPT_EXTRA_PARTS): Add libgcc-4-300.a.
  ($(T)div_table-4-300.o, $(T)libgcc-4-300.a): New rules.
  * config/sh/divtab-sh4-300.c, config/sh/lib1funcs-4-300.asm:
New files.
  * config/sh/embed-elf.h (LIBGCC_SPEC): Use -lgcc-4-300 for -m4-300* /
  -m4-340.
2006-04-24  J"orn Rennecke <[EMAIL PROTECTED]>
  SH4-300 scheduling description & fixes to SH4-[12]00 description:
  * sh.md: New instruction types: fstore, movi8, fpscr_toggle, gp_mac,
  mac_mem, mem_mac, dfp_mul, fp_cmp.
  (insn_class, dfp_comp, any_fp_comp): Update.
  (push_fpul, movsf_ie, fpu_switch, toggle_sz, toggle_pr): Update type.
  (cmpgtsf_t, "cmpeqsf_t, cmpgtsf_t_i4, cmpeqsf_t_i4): Likewise.
  (muldf3_i): Likewise.
  (movsi_i): Split rI08 alternative into two separate alternatives.
  Update type.
  (movsi_ie, movsi_i_lowpart): Likewise.
  (movqi_i): Split ri alternative into two separate alternatives.
  Update type.
  * sh1.md (sh1_load_store, sh1_fp): Update.
  * sh4.md (sh4_store, sh4_mac_gp, fp_arith, fp_double_arith): Update.
  (mac_mem, sh4_fpscr_toggle): New insn_reservations.
  * sh4a.md (sh4a_mov, sh4a_load, sh4a_store, sh4a_fp_arith): Update.
  (sh4a_fp_double_arith): Likewise.
  * sh4-300.md: New file.
  * sh.c (sh_handle_option): Handle m4-300* options.
  (sh_adjust_cost): Fix latency of auto-increments.
  Handle SH4-300 differently than other SH4s.  Check for new insn
types.
  * sh.h (OVERRIDE_OPTIONS): Initilize sh_branch_cost if it has not
  been set by an option.
  * sh.opt (m4-300, m4-100-nofpu, m4-200-nofpu): New options.
  (m4-300-nofpu, -m4-340, m4-300-si

[Bug fortran/21061] gfortran ignores -Werror

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #6 from chaoyingfu at gcc dot gnu dot org  2006-12-01 00:07 
---
Subject: Bug 21061

Author: chaoyingfu
Date: Fri Dec  1 00:05:26 2006
New Revision: 119383

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119383
Log:
Merged revisions 118455-118543 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118455 | fxcoudert | 2006-11-03 03:51:09 -0800 (Fri, 03 Nov 2006) | 20 lines

PR libfortran/27895

* intrinsics/reshape_generic.c (reshape_internal): Fix so that it
works correctly for zero-sized arrays.
* m4/reshape.m4: Likewise.
* generated/reshape_r16.c: Regenerate.
* generated/reshape_c4.c: Regenerate.
* generated/reshape_i4.c: Regenerate.
* generated/reshape_c16.c: Regenerate.
* generated/reshape_r10.c: Regenerate.
* generated/reshape_r8.c: Regenerate.
* generated/reshape_c10.c: Regenerate.
* generated/reshape_c8.c: Regenerate.
* generated/reshape_i8.c: Regenerate.
* generated/reshape_i16.c: Regenerate.
* generated/reshape_r4.c: Regenerate.

* gcc/testsuite/gfortran.dg/zero_sized_1.f90: Uncomment checks
for RESHAPE.

  r118458 | amylaar | 2006-11-03 06:52:19 -0800 (Fri, 03 Nov 2006) | 97 lines

  gcc:

  2006-11-03  J"orn Rennecke  <[EMAIL PROTECTED]>

* config/sh/crt1.asm: Fix #ifdef indent.

  2006-11-03  J"orn Rennecke  <[EMAIL PROTECTED]>
Merged from STMicroelectronics sources:
2006-10-06  Andrew Stubbs  <[EMAIL PROTECTED]>
  * config/sh/crt1.asm (vbr_600): Add missing #if.
2006-08-03  J"orn Rennecke  <[EMAIL PROTECTED]>
  * sh.opt (mfused-madd): New option.
  * sh.md (mac_media, macsf3): Make conditional on TARGET_FMAC.
2006-07-04  Andrew Stubbs  <[EMAIL PROTECTED]>
  * config/sh/crt1.asm (vbr_start): Move to new section .test.vbr.
  Remove pointless handler at VBR+0.
  (vbr_200, vbr_300, vbr_500): Remove pointless handler.
  (vbr_600): Save and restore mach and macl, fpul and fpscr and fr0 to
  fr7. Make sure the timer handler is called with the correct FPU
  precision setting, according to the ABI.
2006-06-14  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/sh.opt (m2a-single, m2a-single-only): Fix Condition.
  * config/sh/sh.h (SUPPORT_SH2A_NOFPU): Fix condition.
  (SUPPORT_SH2A_SINGLE_ONLY, SUPPORT_SH2A_SINGLE_ONLY): Likewise.
2006-06-09  J"orn Rennecke <[EMAIL PROTECTED]>
  * sh.md (cmpgeusi_t): Change into define_insn_and_split.  Accept
  zero as second operand.
2006-04-28  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/divtab-sh4-300.c, config/sh/lib1funcs-4-300.asm:
  Fixed some bugs related to negative values, in particular -0
  and overflow at -0x8000.
  * config/sh/divcost-analysis: Added sh4-300 figures.
2006-04-27  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/t-sh (MULTILIB_MATCHES): Add -m4-300* / -m4-340 options.
2006-04-26  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/t-sh (OPT_EXTRA_PARTS): Add libgcc-4-300.a.
  ($(T)div_table-4-300.o, $(T)libgcc-4-300.a): New rules.
  * config/sh/divtab-sh4-300.c, config/sh/lib1funcs-4-300.asm:
New files.
  * config/sh/embed-elf.h (LIBGCC_SPEC): Use -lgcc-4-300 for -m4-300* /
  -m4-340.
2006-04-24  J"orn Rennecke <[EMAIL PROTECTED]>
  SH4-300 scheduling description & fixes to SH4-[12]00 description:
  * sh.md: New instruction types: fstore, movi8, fpscr_toggle, gp_mac,
  mac_mem, mem_mac, dfp_mul, fp_cmp.
  (insn_class, dfp_comp, any_fp_comp): Update.
  (push_fpul, movsf_ie, fpu_switch, toggle_sz, toggle_pr): Update type.
  (cmpgtsf_t, "cmpeqsf_t, cmpgtsf_t_i4, cmpeqsf_t_i4): Likewise.
  (muldf3_i): Likewise.
  (movsi_i): Split rI08 alternative into two separate alternatives.
  Update type.
  (movsi_ie, movsi_i_lowpart): Likewise.
  (movqi_i): Split ri alternative into two separate alternatives.
  Update type.
  * sh1.md (sh1_load_store, sh1_fp): Update.
  * sh4.md (sh4_store, sh4_mac_gp, fp_arith, fp_double_arith): Update.
  (mac_mem, sh4_fpscr_toggle): New insn_reservations.
  * sh4a.md (sh4a_mov, sh4a_load, sh4a_store, sh4a_fp_arith): Update.
  (sh4a_fp_double_arith): Likewise.
  * sh4-300.md: New file.
  * sh.c (sh_handle_option): Handle m4-300* options.
  (sh_adjust_cost): Fix latency of auto-increments.
  Handle SH4-300 differently than other SH4s.  Check for new insn
types.
  * sh.h (OVERRIDE_OPTIONS): Initilize sh_branch_cost if it has not
  been set by an option.
  * sh.opt (m4-300, m4-100-nofpu, m4-200-nofpu): New options.
  (m4-300-nofpu, -m4-340, m4-300-si

[Bug fortran/29630] "Unclassifiable statement" with vector subscripts in initialization

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #5 from chaoyingfu at gcc dot gnu dot org  2006-12-01 00:07 
---
Subject: Bug 29630

Author: chaoyingfu
Date: Fri Dec  1 00:05:26 2006
New Revision: 119383

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119383
Log:
Merged revisions 118455-118543 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118455 | fxcoudert | 2006-11-03 03:51:09 -0800 (Fri, 03 Nov 2006) | 20 lines

PR libfortran/27895

* intrinsics/reshape_generic.c (reshape_internal): Fix so that it
works correctly for zero-sized arrays.
* m4/reshape.m4: Likewise.
* generated/reshape_r16.c: Regenerate.
* generated/reshape_c4.c: Regenerate.
* generated/reshape_i4.c: Regenerate.
* generated/reshape_c16.c: Regenerate.
* generated/reshape_r10.c: Regenerate.
* generated/reshape_r8.c: Regenerate.
* generated/reshape_c10.c: Regenerate.
* generated/reshape_c8.c: Regenerate.
* generated/reshape_i8.c: Regenerate.
* generated/reshape_i16.c: Regenerate.
* generated/reshape_r4.c: Regenerate.

* gcc/testsuite/gfortran.dg/zero_sized_1.f90: Uncomment checks
for RESHAPE.

  r118458 | amylaar | 2006-11-03 06:52:19 -0800 (Fri, 03 Nov 2006) | 97 lines

  gcc:

  2006-11-03  J"orn Rennecke  <[EMAIL PROTECTED]>

* config/sh/crt1.asm: Fix #ifdef indent.

  2006-11-03  J"orn Rennecke  <[EMAIL PROTECTED]>
Merged from STMicroelectronics sources:
2006-10-06  Andrew Stubbs  <[EMAIL PROTECTED]>
  * config/sh/crt1.asm (vbr_600): Add missing #if.
2006-08-03  J"orn Rennecke  <[EMAIL PROTECTED]>
  * sh.opt (mfused-madd): New option.
  * sh.md (mac_media, macsf3): Make conditional on TARGET_FMAC.
2006-07-04  Andrew Stubbs  <[EMAIL PROTECTED]>
  * config/sh/crt1.asm (vbr_start): Move to new section .test.vbr.
  Remove pointless handler at VBR+0.
  (vbr_200, vbr_300, vbr_500): Remove pointless handler.
  (vbr_600): Save and restore mach and macl, fpul and fpscr and fr0 to
  fr7. Make sure the timer handler is called with the correct FPU
  precision setting, according to the ABI.
2006-06-14  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/sh.opt (m2a-single, m2a-single-only): Fix Condition.
  * config/sh/sh.h (SUPPORT_SH2A_NOFPU): Fix condition.
  (SUPPORT_SH2A_SINGLE_ONLY, SUPPORT_SH2A_SINGLE_ONLY): Likewise.
2006-06-09  J"orn Rennecke <[EMAIL PROTECTED]>
  * sh.md (cmpgeusi_t): Change into define_insn_and_split.  Accept
  zero as second operand.
2006-04-28  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/divtab-sh4-300.c, config/sh/lib1funcs-4-300.asm:
  Fixed some bugs related to negative values, in particular -0
  and overflow at -0x8000.
  * config/sh/divcost-analysis: Added sh4-300 figures.
2006-04-27  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/t-sh (MULTILIB_MATCHES): Add -m4-300* / -m4-340 options.
2006-04-26  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/t-sh (OPT_EXTRA_PARTS): Add libgcc-4-300.a.
  ($(T)div_table-4-300.o, $(T)libgcc-4-300.a): New rules.
  * config/sh/divtab-sh4-300.c, config/sh/lib1funcs-4-300.asm:
New files.
  * config/sh/embed-elf.h (LIBGCC_SPEC): Use -lgcc-4-300 for -m4-300* /
  -m4-340.
2006-04-24  J"orn Rennecke <[EMAIL PROTECTED]>
  SH4-300 scheduling description & fixes to SH4-[12]00 description:
  * sh.md: New instruction types: fstore, movi8, fpscr_toggle, gp_mac,
  mac_mem, mem_mac, dfp_mul, fp_cmp.
  (insn_class, dfp_comp, any_fp_comp): Update.
  (push_fpul, movsf_ie, fpu_switch, toggle_sz, toggle_pr): Update type.
  (cmpgtsf_t, "cmpeqsf_t, cmpgtsf_t_i4, cmpeqsf_t_i4): Likewise.
  (muldf3_i): Likewise.
  (movsi_i): Split rI08 alternative into two separate alternatives.
  Update type.
  (movsi_ie, movsi_i_lowpart): Likewise.
  (movqi_i): Split ri alternative into two separate alternatives.
  Update type.
  * sh1.md (sh1_load_store, sh1_fp): Update.
  * sh4.md (sh4_store, sh4_mac_gp, fp_arith, fp_double_arith): Update.
  (mac_mem, sh4_fpscr_toggle): New insn_reservations.
  * sh4a.md (sh4a_mov, sh4a_load, sh4a_store, sh4a_fp_arith): Update.
  (sh4a_fp_double_arith): Likewise.
  * sh4-300.md: New file.
  * sh.c (sh_handle_option): Handle m4-300* options.
  (sh_adjust_cost): Fix latency of auto-increments.
  Handle SH4-300 differently than other SH4s.  Check for new insn
types.
  * sh.h (OVERRIDE_OPTIONS): Initilize sh_branch_cost if it has not
  been set by an option.
  * sh.opt (m4-300, m4-100-nofpu, m4-200-nofpu): New options.
  (m4-300-nofpu, -m4-340, m4-300-si

[Bug fortran/29565] [4.1/4.2/4.3 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.c

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #12 from chaoyingfu at gcc dot gnu dot org  2006-12-01 00:07 
---
Subject: Bug 29565

Author: chaoyingfu
Date: Fri Dec  1 00:05:26 2006
New Revision: 119383

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119383
Log:
Merged revisions 118455-118543 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118455 | fxcoudert | 2006-11-03 03:51:09 -0800 (Fri, 03 Nov 2006) | 20 lines

PR libfortran/27895

* intrinsics/reshape_generic.c (reshape_internal): Fix so that it
works correctly for zero-sized arrays.
* m4/reshape.m4: Likewise.
* generated/reshape_r16.c: Regenerate.
* generated/reshape_c4.c: Regenerate.
* generated/reshape_i4.c: Regenerate.
* generated/reshape_c16.c: Regenerate.
* generated/reshape_r10.c: Regenerate.
* generated/reshape_r8.c: Regenerate.
* generated/reshape_c10.c: Regenerate.
* generated/reshape_c8.c: Regenerate.
* generated/reshape_i8.c: Regenerate.
* generated/reshape_i16.c: Regenerate.
* generated/reshape_r4.c: Regenerate.

* gcc/testsuite/gfortran.dg/zero_sized_1.f90: Uncomment checks
for RESHAPE.

  r118458 | amylaar | 2006-11-03 06:52:19 -0800 (Fri, 03 Nov 2006) | 97 lines

  gcc:

  2006-11-03  J"orn Rennecke  <[EMAIL PROTECTED]>

* config/sh/crt1.asm: Fix #ifdef indent.

  2006-11-03  J"orn Rennecke  <[EMAIL PROTECTED]>
Merged from STMicroelectronics sources:
2006-10-06  Andrew Stubbs  <[EMAIL PROTECTED]>
  * config/sh/crt1.asm (vbr_600): Add missing #if.
2006-08-03  J"orn Rennecke  <[EMAIL PROTECTED]>
  * sh.opt (mfused-madd): New option.
  * sh.md (mac_media, macsf3): Make conditional on TARGET_FMAC.
2006-07-04  Andrew Stubbs  <[EMAIL PROTECTED]>
  * config/sh/crt1.asm (vbr_start): Move to new section .test.vbr.
  Remove pointless handler at VBR+0.
  (vbr_200, vbr_300, vbr_500): Remove pointless handler.
  (vbr_600): Save and restore mach and macl, fpul and fpscr and fr0 to
  fr7. Make sure the timer handler is called with the correct FPU
  precision setting, according to the ABI.
2006-06-14  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/sh.opt (m2a-single, m2a-single-only): Fix Condition.
  * config/sh/sh.h (SUPPORT_SH2A_NOFPU): Fix condition.
  (SUPPORT_SH2A_SINGLE_ONLY, SUPPORT_SH2A_SINGLE_ONLY): Likewise.
2006-06-09  J"orn Rennecke <[EMAIL PROTECTED]>
  * sh.md (cmpgeusi_t): Change into define_insn_and_split.  Accept
  zero as second operand.
2006-04-28  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/divtab-sh4-300.c, config/sh/lib1funcs-4-300.asm:
  Fixed some bugs related to negative values, in particular -0
  and overflow at -0x8000.
  * config/sh/divcost-analysis: Added sh4-300 figures.
2006-04-27  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/t-sh (MULTILIB_MATCHES): Add -m4-300* / -m4-340 options.
2006-04-26  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/t-sh (OPT_EXTRA_PARTS): Add libgcc-4-300.a.
  ($(T)div_table-4-300.o, $(T)libgcc-4-300.a): New rules.
  * config/sh/divtab-sh4-300.c, config/sh/lib1funcs-4-300.asm:
New files.
  * config/sh/embed-elf.h (LIBGCC_SPEC): Use -lgcc-4-300 for -m4-300* /
  -m4-340.
2006-04-24  J"orn Rennecke <[EMAIL PROTECTED]>
  SH4-300 scheduling description & fixes to SH4-[12]00 description:
  * sh.md: New instruction types: fstore, movi8, fpscr_toggle, gp_mac,
  mac_mem, mem_mac, dfp_mul, fp_cmp.
  (insn_class, dfp_comp, any_fp_comp): Update.
  (push_fpul, movsf_ie, fpu_switch, toggle_sz, toggle_pr): Update type.
  (cmpgtsf_t, "cmpeqsf_t, cmpgtsf_t_i4, cmpeqsf_t_i4): Likewise.
  (muldf3_i): Likewise.
  (movsi_i): Split rI08 alternative into two separate alternatives.
  Update type.
  (movsi_ie, movsi_i_lowpart): Likewise.
  (movqi_i): Split ri alternative into two separate alternatives.
  Update type.
  * sh1.md (sh1_load_store, sh1_fp): Update.
  * sh4.md (sh4_store, sh4_mac_gp, fp_arith, fp_double_arith): Update.
  (mac_mem, sh4_fpscr_toggle): New insn_reservations.
  * sh4a.md (sh4a_mov, sh4a_load, sh4a_store, sh4a_fp_arith): Update.
  (sh4a_fp_double_arith): Likewise.
  * sh4-300.md: New file.
  * sh.c (sh_handle_option): Handle m4-300* options.
  (sh_adjust_cost): Fix latency of auto-increments.
  Handle SH4-300 differently than other SH4s.  Check for new insn
types.
  * sh.h (OVERRIDE_OPTIONS): Initilize sh_branch_cost if it has not
  been set by an option.
  * sh.opt (m4-300, m4-100-nofpu, m4-200-nofpu): New options.
  (m4-300-nofpu, -m4-340, m4-300-s

[Bug libfortran/27895] problem with RESHAPE and zero-sized arrays

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #17 from chaoyingfu at gcc dot gnu dot org  2006-12-01 00:07 
---
Subject: Bug 27895

Author: chaoyingfu
Date: Fri Dec  1 00:05:26 2006
New Revision: 119383

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119383
Log:
Merged revisions 118455-118543 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118455 | fxcoudert | 2006-11-03 03:51:09 -0800 (Fri, 03 Nov 2006) | 20 lines

PR libfortran/27895

* intrinsics/reshape_generic.c (reshape_internal): Fix so that it
works correctly for zero-sized arrays.
* m4/reshape.m4: Likewise.
* generated/reshape_r16.c: Regenerate.
* generated/reshape_c4.c: Regenerate.
* generated/reshape_i4.c: Regenerate.
* generated/reshape_c16.c: Regenerate.
* generated/reshape_r10.c: Regenerate.
* generated/reshape_r8.c: Regenerate.
* generated/reshape_c10.c: Regenerate.
* generated/reshape_c8.c: Regenerate.
* generated/reshape_i8.c: Regenerate.
* generated/reshape_i16.c: Regenerate.
* generated/reshape_r4.c: Regenerate.

* gcc/testsuite/gfortran.dg/zero_sized_1.f90: Uncomment checks
for RESHAPE.

  r118458 | amylaar | 2006-11-03 06:52:19 -0800 (Fri, 03 Nov 2006) | 97 lines

  gcc:

  2006-11-03  J"orn Rennecke  <[EMAIL PROTECTED]>

* config/sh/crt1.asm: Fix #ifdef indent.

  2006-11-03  J"orn Rennecke  <[EMAIL PROTECTED]>
Merged from STMicroelectronics sources:
2006-10-06  Andrew Stubbs  <[EMAIL PROTECTED]>
  * config/sh/crt1.asm (vbr_600): Add missing #if.
2006-08-03  J"orn Rennecke  <[EMAIL PROTECTED]>
  * sh.opt (mfused-madd): New option.
  * sh.md (mac_media, macsf3): Make conditional on TARGET_FMAC.
2006-07-04  Andrew Stubbs  <[EMAIL PROTECTED]>
  * config/sh/crt1.asm (vbr_start): Move to new section .test.vbr.
  Remove pointless handler at VBR+0.
  (vbr_200, vbr_300, vbr_500): Remove pointless handler.
  (vbr_600): Save and restore mach and macl, fpul and fpscr and fr0 to
  fr7. Make sure the timer handler is called with the correct FPU
  precision setting, according to the ABI.
2006-06-14  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/sh.opt (m2a-single, m2a-single-only): Fix Condition.
  * config/sh/sh.h (SUPPORT_SH2A_NOFPU): Fix condition.
  (SUPPORT_SH2A_SINGLE_ONLY, SUPPORT_SH2A_SINGLE_ONLY): Likewise.
2006-06-09  J"orn Rennecke <[EMAIL PROTECTED]>
  * sh.md (cmpgeusi_t): Change into define_insn_and_split.  Accept
  zero as second operand.
2006-04-28  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/divtab-sh4-300.c, config/sh/lib1funcs-4-300.asm:
  Fixed some bugs related to negative values, in particular -0
  and overflow at -0x8000.
  * config/sh/divcost-analysis: Added sh4-300 figures.
2006-04-27  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/t-sh (MULTILIB_MATCHES): Add -m4-300* / -m4-340 options.
2006-04-26  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/t-sh (OPT_EXTRA_PARTS): Add libgcc-4-300.a.
  ($(T)div_table-4-300.o, $(T)libgcc-4-300.a): New rules.
  * config/sh/divtab-sh4-300.c, config/sh/lib1funcs-4-300.asm:
New files.
  * config/sh/embed-elf.h (LIBGCC_SPEC): Use -lgcc-4-300 for -m4-300* /
  -m4-340.
2006-04-24  J"orn Rennecke <[EMAIL PROTECTED]>
  SH4-300 scheduling description & fixes to SH4-[12]00 description:
  * sh.md: New instruction types: fstore, movi8, fpscr_toggle, gp_mac,
  mac_mem, mem_mac, dfp_mul, fp_cmp.
  (insn_class, dfp_comp, any_fp_comp): Update.
  (push_fpul, movsf_ie, fpu_switch, toggle_sz, toggle_pr): Update type.
  (cmpgtsf_t, "cmpeqsf_t, cmpgtsf_t_i4, cmpeqsf_t_i4): Likewise.
  (muldf3_i): Likewise.
  (movsi_i): Split rI08 alternative into two separate alternatives.
  Update type.
  (movsi_ie, movsi_i_lowpart): Likewise.
  (movqi_i): Split ri alternative into two separate alternatives.
  Update type.
  * sh1.md (sh1_load_store, sh1_fp): Update.
  * sh4.md (sh4_store, sh4_mac_gp, fp_arith, fp_double_arith): Update.
  (mac_mem, sh4_fpscr_toggle): New insn_reservations.
  * sh4a.md (sh4a_mov, sh4a_load, sh4a_store, sh4a_fp_arith): Update.
  (sh4a_fp_double_arith): Likewise.
  * sh4-300.md: New file.
  * sh.c (sh_handle_option): Handle m4-300* options.
  (sh_adjust_cost): Fix latency of auto-increments.
  Handle SH4-300 differently than other SH4s.  Check for new insn
types.
  * sh.h (OVERRIDE_OPTIONS): Initilize sh_branch_cost if it has not
  been set by an option.
  * sh.opt (m4-300, m4-100-nofpu, m4-200-nofpu): New options.
  (m4-300-nofpu, -m4-340, m4-300-s

[Bug target/26915] missed sized opt returning -1.0

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #8 from chaoyingfu at gcc dot gnu dot org  2006-12-01 00:07 
---
Subject: Bug 26915

Author: chaoyingfu
Date: Fri Dec  1 00:05:26 2006
New Revision: 119383

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119383
Log:
Merged revisions 118455-118543 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118455 | fxcoudert | 2006-11-03 03:51:09 -0800 (Fri, 03 Nov 2006) | 20 lines

PR libfortran/27895

* intrinsics/reshape_generic.c (reshape_internal): Fix so that it
works correctly for zero-sized arrays.
* m4/reshape.m4: Likewise.
* generated/reshape_r16.c: Regenerate.
* generated/reshape_c4.c: Regenerate.
* generated/reshape_i4.c: Regenerate.
* generated/reshape_c16.c: Regenerate.
* generated/reshape_r10.c: Regenerate.
* generated/reshape_r8.c: Regenerate.
* generated/reshape_c10.c: Regenerate.
* generated/reshape_c8.c: Regenerate.
* generated/reshape_i8.c: Regenerate.
* generated/reshape_i16.c: Regenerate.
* generated/reshape_r4.c: Regenerate.

* gcc/testsuite/gfortran.dg/zero_sized_1.f90: Uncomment checks
for RESHAPE.

  r118458 | amylaar | 2006-11-03 06:52:19 -0800 (Fri, 03 Nov 2006) | 97 lines

  gcc:

  2006-11-03  J"orn Rennecke  <[EMAIL PROTECTED]>

* config/sh/crt1.asm: Fix #ifdef indent.

  2006-11-03  J"orn Rennecke  <[EMAIL PROTECTED]>
Merged from STMicroelectronics sources:
2006-10-06  Andrew Stubbs  <[EMAIL PROTECTED]>
  * config/sh/crt1.asm (vbr_600): Add missing #if.
2006-08-03  J"orn Rennecke  <[EMAIL PROTECTED]>
  * sh.opt (mfused-madd): New option.
  * sh.md (mac_media, macsf3): Make conditional on TARGET_FMAC.
2006-07-04  Andrew Stubbs  <[EMAIL PROTECTED]>
  * config/sh/crt1.asm (vbr_start): Move to new section .test.vbr.
  Remove pointless handler at VBR+0.
  (vbr_200, vbr_300, vbr_500): Remove pointless handler.
  (vbr_600): Save and restore mach and macl, fpul and fpscr and fr0 to
  fr7. Make sure the timer handler is called with the correct FPU
  precision setting, according to the ABI.
2006-06-14  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/sh.opt (m2a-single, m2a-single-only): Fix Condition.
  * config/sh/sh.h (SUPPORT_SH2A_NOFPU): Fix condition.
  (SUPPORT_SH2A_SINGLE_ONLY, SUPPORT_SH2A_SINGLE_ONLY): Likewise.
2006-06-09  J"orn Rennecke <[EMAIL PROTECTED]>
  * sh.md (cmpgeusi_t): Change into define_insn_and_split.  Accept
  zero as second operand.
2006-04-28  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/divtab-sh4-300.c, config/sh/lib1funcs-4-300.asm:
  Fixed some bugs related to negative values, in particular -0
  and overflow at -0x8000.
  * config/sh/divcost-analysis: Added sh4-300 figures.
2006-04-27  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/t-sh (MULTILIB_MATCHES): Add -m4-300* / -m4-340 options.
2006-04-26  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/t-sh (OPT_EXTRA_PARTS): Add libgcc-4-300.a.
  ($(T)div_table-4-300.o, $(T)libgcc-4-300.a): New rules.
  * config/sh/divtab-sh4-300.c, config/sh/lib1funcs-4-300.asm:
New files.
  * config/sh/embed-elf.h (LIBGCC_SPEC): Use -lgcc-4-300 for -m4-300* /
  -m4-340.
2006-04-24  J"orn Rennecke <[EMAIL PROTECTED]>
  SH4-300 scheduling description & fixes to SH4-[12]00 description:
  * sh.md: New instruction types: fstore, movi8, fpscr_toggle, gp_mac,
  mac_mem, mem_mac, dfp_mul, fp_cmp.
  (insn_class, dfp_comp, any_fp_comp): Update.
  (push_fpul, movsf_ie, fpu_switch, toggle_sz, toggle_pr): Update type.
  (cmpgtsf_t, "cmpeqsf_t, cmpgtsf_t_i4, cmpeqsf_t_i4): Likewise.
  (muldf3_i): Likewise.
  (movsi_i): Split rI08 alternative into two separate alternatives.
  Update type.
  (movsi_ie, movsi_i_lowpart): Likewise.
  (movqi_i): Split ri alternative into two separate alternatives.
  Update type.
  * sh1.md (sh1_load_store, sh1_fp): Update.
  * sh4.md (sh4_store, sh4_mac_gp, fp_arith, fp_double_arith): Update.
  (mac_mem, sh4_fpscr_toggle): New insn_reservations.
  * sh4a.md (sh4a_mov, sh4a_load, sh4a_store, sh4a_fp_arith): Update.
  (sh4a_fp_double_arith): Likewise.
  * sh4-300.md: New file.
  * sh.c (sh_handle_option): Handle m4-300* options.
  (sh_adjust_cost): Fix latency of auto-increments.
  Handle SH4-300 differently than other SH4s.  Check for new insn
types.
  * sh.h (OVERRIDE_OPTIONS): Initilize sh_branch_cost if it has not
  been set by an option.
  * sh.opt (m4-300, m4-100-nofpu, m4-200-nofpu): New options.
  (m4-300-nofpu, -m4-340, m4-300-si

[Bug tree-optimization/29439] [4.2 regression] ICE in fold-const.c:1385 with -O1 -fwrapv -ftree-vrp

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #20 from chaoyingfu at gcc dot gnu dot org  2006-12-01 00:07 
---
Subject: Bug 29439

Author: chaoyingfu
Date: Fri Dec  1 00:05:26 2006
New Revision: 119383

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119383
Log:
Merged revisions 118455-118543 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118455 | fxcoudert | 2006-11-03 03:51:09 -0800 (Fri, 03 Nov 2006) | 20 lines

PR libfortran/27895

* intrinsics/reshape_generic.c (reshape_internal): Fix so that it
works correctly for zero-sized arrays.
* m4/reshape.m4: Likewise.
* generated/reshape_r16.c: Regenerate.
* generated/reshape_c4.c: Regenerate.
* generated/reshape_i4.c: Regenerate.
* generated/reshape_c16.c: Regenerate.
* generated/reshape_r10.c: Regenerate.
* generated/reshape_r8.c: Regenerate.
* generated/reshape_c10.c: Regenerate.
* generated/reshape_c8.c: Regenerate.
* generated/reshape_i8.c: Regenerate.
* generated/reshape_i16.c: Regenerate.
* generated/reshape_r4.c: Regenerate.

* gcc/testsuite/gfortran.dg/zero_sized_1.f90: Uncomment checks
for RESHAPE.

  r118458 | amylaar | 2006-11-03 06:52:19 -0800 (Fri, 03 Nov 2006) | 97 lines

  gcc:

  2006-11-03  J"orn Rennecke  <[EMAIL PROTECTED]>

* config/sh/crt1.asm: Fix #ifdef indent.

  2006-11-03  J"orn Rennecke  <[EMAIL PROTECTED]>
Merged from STMicroelectronics sources:
2006-10-06  Andrew Stubbs  <[EMAIL PROTECTED]>
  * config/sh/crt1.asm (vbr_600): Add missing #if.
2006-08-03  J"orn Rennecke  <[EMAIL PROTECTED]>
  * sh.opt (mfused-madd): New option.
  * sh.md (mac_media, macsf3): Make conditional on TARGET_FMAC.
2006-07-04  Andrew Stubbs  <[EMAIL PROTECTED]>
  * config/sh/crt1.asm (vbr_start): Move to new section .test.vbr.
  Remove pointless handler at VBR+0.
  (vbr_200, vbr_300, vbr_500): Remove pointless handler.
  (vbr_600): Save and restore mach and macl, fpul and fpscr and fr0 to
  fr7. Make sure the timer handler is called with the correct FPU
  precision setting, according to the ABI.
2006-06-14  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/sh.opt (m2a-single, m2a-single-only): Fix Condition.
  * config/sh/sh.h (SUPPORT_SH2A_NOFPU): Fix condition.
  (SUPPORT_SH2A_SINGLE_ONLY, SUPPORT_SH2A_SINGLE_ONLY): Likewise.
2006-06-09  J"orn Rennecke <[EMAIL PROTECTED]>
  * sh.md (cmpgeusi_t): Change into define_insn_and_split.  Accept
  zero as second operand.
2006-04-28  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/divtab-sh4-300.c, config/sh/lib1funcs-4-300.asm:
  Fixed some bugs related to negative values, in particular -0
  and overflow at -0x8000.
  * config/sh/divcost-analysis: Added sh4-300 figures.
2006-04-27  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/t-sh (MULTILIB_MATCHES): Add -m4-300* / -m4-340 options.
2006-04-26  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/t-sh (OPT_EXTRA_PARTS): Add libgcc-4-300.a.
  ($(T)div_table-4-300.o, $(T)libgcc-4-300.a): New rules.
  * config/sh/divtab-sh4-300.c, config/sh/lib1funcs-4-300.asm:
New files.
  * config/sh/embed-elf.h (LIBGCC_SPEC): Use -lgcc-4-300 for -m4-300* /
  -m4-340.
2006-04-24  J"orn Rennecke <[EMAIL PROTECTED]>
  SH4-300 scheduling description & fixes to SH4-[12]00 description:
  * sh.md: New instruction types: fstore, movi8, fpscr_toggle, gp_mac,
  mac_mem, mem_mac, dfp_mul, fp_cmp.
  (insn_class, dfp_comp, any_fp_comp): Update.
  (push_fpul, movsf_ie, fpu_switch, toggle_sz, toggle_pr): Update type.
  (cmpgtsf_t, "cmpeqsf_t, cmpgtsf_t_i4, cmpeqsf_t_i4): Likewise.
  (muldf3_i): Likewise.
  (movsi_i): Split rI08 alternative into two separate alternatives.
  Update type.
  (movsi_ie, movsi_i_lowpart): Likewise.
  (movqi_i): Split ri alternative into two separate alternatives.
  Update type.
  * sh1.md (sh1_load_store, sh1_fp): Update.
  * sh4.md (sh4_store, sh4_mac_gp, fp_arith, fp_double_arith): Update.
  (mac_mem, sh4_fpscr_toggle): New insn_reservations.
  * sh4a.md (sh4a_mov, sh4a_load, sh4a_store, sh4a_fp_arith): Update.
  (sh4a_fp_double_arith): Likewise.
  * sh4-300.md: New file.
  * sh.c (sh_handle_option): Handle m4-300* options.
  (sh_adjust_cost): Fix latency of auto-increments.
  Handle SH4-300 differently than other SH4s.  Check for new insn
types.
  * sh.h (OVERRIDE_OPTIONS): Initilize sh_branch_cost if it has not
  been set by an option.
  * sh.opt (m4-300, m4-100-nofpu, m4-200-nofpu): New options.
  (m4-300-nofpu, -m4-340, m4-300-s

[Bug fortran/24518] Intrinsic MOD incorrect for large arg1/arg2 and slow.

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #23 from chaoyingfu at gcc dot gnu dot org  2006-12-01 00:07 
---
Subject: Bug 24518

Author: chaoyingfu
Date: Fri Dec  1 00:05:26 2006
New Revision: 119383

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119383
Log:
Merged revisions 118455-118543 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118455 | fxcoudert | 2006-11-03 03:51:09 -0800 (Fri, 03 Nov 2006) | 20 lines

PR libfortran/27895

* intrinsics/reshape_generic.c (reshape_internal): Fix so that it
works correctly for zero-sized arrays.
* m4/reshape.m4: Likewise.
* generated/reshape_r16.c: Regenerate.
* generated/reshape_c4.c: Regenerate.
* generated/reshape_i4.c: Regenerate.
* generated/reshape_c16.c: Regenerate.
* generated/reshape_r10.c: Regenerate.
* generated/reshape_r8.c: Regenerate.
* generated/reshape_c10.c: Regenerate.
* generated/reshape_c8.c: Regenerate.
* generated/reshape_i8.c: Regenerate.
* generated/reshape_i16.c: Regenerate.
* generated/reshape_r4.c: Regenerate.

* gcc/testsuite/gfortran.dg/zero_sized_1.f90: Uncomment checks
for RESHAPE.

  r118458 | amylaar | 2006-11-03 06:52:19 -0800 (Fri, 03 Nov 2006) | 97 lines

  gcc:

  2006-11-03  J"orn Rennecke  <[EMAIL PROTECTED]>

* config/sh/crt1.asm: Fix #ifdef indent.

  2006-11-03  J"orn Rennecke  <[EMAIL PROTECTED]>
Merged from STMicroelectronics sources:
2006-10-06  Andrew Stubbs  <[EMAIL PROTECTED]>
  * config/sh/crt1.asm (vbr_600): Add missing #if.
2006-08-03  J"orn Rennecke  <[EMAIL PROTECTED]>
  * sh.opt (mfused-madd): New option.
  * sh.md (mac_media, macsf3): Make conditional on TARGET_FMAC.
2006-07-04  Andrew Stubbs  <[EMAIL PROTECTED]>
  * config/sh/crt1.asm (vbr_start): Move to new section .test.vbr.
  Remove pointless handler at VBR+0.
  (vbr_200, vbr_300, vbr_500): Remove pointless handler.
  (vbr_600): Save and restore mach and macl, fpul and fpscr and fr0 to
  fr7. Make sure the timer handler is called with the correct FPU
  precision setting, according to the ABI.
2006-06-14  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/sh.opt (m2a-single, m2a-single-only): Fix Condition.
  * config/sh/sh.h (SUPPORT_SH2A_NOFPU): Fix condition.
  (SUPPORT_SH2A_SINGLE_ONLY, SUPPORT_SH2A_SINGLE_ONLY): Likewise.
2006-06-09  J"orn Rennecke <[EMAIL PROTECTED]>
  * sh.md (cmpgeusi_t): Change into define_insn_and_split.  Accept
  zero as second operand.
2006-04-28  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/divtab-sh4-300.c, config/sh/lib1funcs-4-300.asm:
  Fixed some bugs related to negative values, in particular -0
  and overflow at -0x8000.
  * config/sh/divcost-analysis: Added sh4-300 figures.
2006-04-27  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/t-sh (MULTILIB_MATCHES): Add -m4-300* / -m4-340 options.
2006-04-26  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/t-sh (OPT_EXTRA_PARTS): Add libgcc-4-300.a.
  ($(T)div_table-4-300.o, $(T)libgcc-4-300.a): New rules.
  * config/sh/divtab-sh4-300.c, config/sh/lib1funcs-4-300.asm:
New files.
  * config/sh/embed-elf.h (LIBGCC_SPEC): Use -lgcc-4-300 for -m4-300* /
  -m4-340.
2006-04-24  J"orn Rennecke <[EMAIL PROTECTED]>
  SH4-300 scheduling description & fixes to SH4-[12]00 description:
  * sh.md: New instruction types: fstore, movi8, fpscr_toggle, gp_mac,
  mac_mem, mem_mac, dfp_mul, fp_cmp.
  (insn_class, dfp_comp, any_fp_comp): Update.
  (push_fpul, movsf_ie, fpu_switch, toggle_sz, toggle_pr): Update type.
  (cmpgtsf_t, "cmpeqsf_t, cmpgtsf_t_i4, cmpeqsf_t_i4): Likewise.
  (muldf3_i): Likewise.
  (movsi_i): Split rI08 alternative into two separate alternatives.
  Update type.
  (movsi_ie, movsi_i_lowpart): Likewise.
  (movqi_i): Split ri alternative into two separate alternatives.
  Update type.
  * sh1.md (sh1_load_store, sh1_fp): Update.
  * sh4.md (sh4_store, sh4_mac_gp, fp_arith, fp_double_arith): Update.
  (mac_mem, sh4_fpscr_toggle): New insn_reservations.
  * sh4a.md (sh4a_mov, sh4a_load, sh4a_store, sh4a_fp_arith): Update.
  (sh4a_fp_double_arith): Likewise.
  * sh4-300.md: New file.
  * sh.c (sh_handle_option): Handle m4-300* options.
  (sh_adjust_cost): Fix latency of auto-increments.
  Handle SH4-300 differently than other SH4s.  Check for new insn
types.
  * sh.h (OVERRIDE_OPTIONS): Initilize sh_branch_cost if it has not
  been set by an option.
  * sh.opt (m4-300, m4-100-nofpu, m4-200-nofpu): New options.
  (m4-300-nofpu, -m4-340, m4-300-s

[Bug libfortran/25545] internal file and dollar edit descriptor

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #9 from chaoyingfu at gcc dot gnu dot org  2006-12-01 00:07 
---
Subject: Bug 25545

Author: chaoyingfu
Date: Fri Dec  1 00:05:26 2006
New Revision: 119383

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119383
Log:
Merged revisions 118455-118543 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118455 | fxcoudert | 2006-11-03 03:51:09 -0800 (Fri, 03 Nov 2006) | 20 lines

PR libfortran/27895

* intrinsics/reshape_generic.c (reshape_internal): Fix so that it
works correctly for zero-sized arrays.
* m4/reshape.m4: Likewise.
* generated/reshape_r16.c: Regenerate.
* generated/reshape_c4.c: Regenerate.
* generated/reshape_i4.c: Regenerate.
* generated/reshape_c16.c: Regenerate.
* generated/reshape_r10.c: Regenerate.
* generated/reshape_r8.c: Regenerate.
* generated/reshape_c10.c: Regenerate.
* generated/reshape_c8.c: Regenerate.
* generated/reshape_i8.c: Regenerate.
* generated/reshape_i16.c: Regenerate.
* generated/reshape_r4.c: Regenerate.

* gcc/testsuite/gfortran.dg/zero_sized_1.f90: Uncomment checks
for RESHAPE.

  r118458 | amylaar | 2006-11-03 06:52:19 -0800 (Fri, 03 Nov 2006) | 97 lines

  gcc:

  2006-11-03  J"orn Rennecke  <[EMAIL PROTECTED]>

* config/sh/crt1.asm: Fix #ifdef indent.

  2006-11-03  J"orn Rennecke  <[EMAIL PROTECTED]>
Merged from STMicroelectronics sources:
2006-10-06  Andrew Stubbs  <[EMAIL PROTECTED]>
  * config/sh/crt1.asm (vbr_600): Add missing #if.
2006-08-03  J"orn Rennecke  <[EMAIL PROTECTED]>
  * sh.opt (mfused-madd): New option.
  * sh.md (mac_media, macsf3): Make conditional on TARGET_FMAC.
2006-07-04  Andrew Stubbs  <[EMAIL PROTECTED]>
  * config/sh/crt1.asm (vbr_start): Move to new section .test.vbr.
  Remove pointless handler at VBR+0.
  (vbr_200, vbr_300, vbr_500): Remove pointless handler.
  (vbr_600): Save and restore mach and macl, fpul and fpscr and fr0 to
  fr7. Make sure the timer handler is called with the correct FPU
  precision setting, according to the ABI.
2006-06-14  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/sh.opt (m2a-single, m2a-single-only): Fix Condition.
  * config/sh/sh.h (SUPPORT_SH2A_NOFPU): Fix condition.
  (SUPPORT_SH2A_SINGLE_ONLY, SUPPORT_SH2A_SINGLE_ONLY): Likewise.
2006-06-09  J"orn Rennecke <[EMAIL PROTECTED]>
  * sh.md (cmpgeusi_t): Change into define_insn_and_split.  Accept
  zero as second operand.
2006-04-28  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/divtab-sh4-300.c, config/sh/lib1funcs-4-300.asm:
  Fixed some bugs related to negative values, in particular -0
  and overflow at -0x8000.
  * config/sh/divcost-analysis: Added sh4-300 figures.
2006-04-27  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/t-sh (MULTILIB_MATCHES): Add -m4-300* / -m4-340 options.
2006-04-26  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/t-sh (OPT_EXTRA_PARTS): Add libgcc-4-300.a.
  ($(T)div_table-4-300.o, $(T)libgcc-4-300.a): New rules.
  * config/sh/divtab-sh4-300.c, config/sh/lib1funcs-4-300.asm:
New files.
  * config/sh/embed-elf.h (LIBGCC_SPEC): Use -lgcc-4-300 for -m4-300* /
  -m4-340.
2006-04-24  J"orn Rennecke <[EMAIL PROTECTED]>
  SH4-300 scheduling description & fixes to SH4-[12]00 description:
  * sh.md: New instruction types: fstore, movi8, fpscr_toggle, gp_mac,
  mac_mem, mem_mac, dfp_mul, fp_cmp.
  (insn_class, dfp_comp, any_fp_comp): Update.
  (push_fpul, movsf_ie, fpu_switch, toggle_sz, toggle_pr): Update type.
  (cmpgtsf_t, "cmpeqsf_t, cmpgtsf_t_i4, cmpeqsf_t_i4): Likewise.
  (muldf3_i): Likewise.
  (movsi_i): Split rI08 alternative into two separate alternatives.
  Update type.
  (movsi_ie, movsi_i_lowpart): Likewise.
  (movqi_i): Split ri alternative into two separate alternatives.
  Update type.
  * sh1.md (sh1_load_store, sh1_fp): Update.
  * sh4.md (sh4_store, sh4_mac_gp, fp_arith, fp_double_arith): Update.
  (mac_mem, sh4_fpscr_toggle): New insn_reservations.
  * sh4a.md (sh4a_mov, sh4a_load, sh4a_store, sh4a_fp_arith): Update.
  (sh4a_fp_double_arith): Likewise.
  * sh4-300.md: New file.
  * sh.c (sh_handle_option): Handle m4-300* options.
  (sh_adjust_cost): Fix latency of auto-increments.
  Handle SH4-300 differently than other SH4s.  Check for new insn
types.
  * sh.h (OVERRIDE_OPTIONS): Initilize sh_branch_cost if it has not
  been set by an option.
  * sh.opt (m4-300, m4-100-nofpu, m4-200-nofpu): New options.
  (m4-300-nofpu, -m4-340, m4-300-si

[Bug middle-end/29695] [4.1/4.2/4.3 Regression] Folding breaks (a & 0x80) ? 0x80 : 0 for unsigned char or unsigned short a

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #6 from chaoyingfu at gcc dot gnu dot org  2006-12-01 00:07 
---
Subject: Bug 29695

Author: chaoyingfu
Date: Fri Dec  1 00:05:26 2006
New Revision: 119383

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119383
Log:
Merged revisions 118455-118543 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118455 | fxcoudert | 2006-11-03 03:51:09 -0800 (Fri, 03 Nov 2006) | 20 lines

PR libfortran/27895

* intrinsics/reshape_generic.c (reshape_internal): Fix so that it
works correctly for zero-sized arrays.
* m4/reshape.m4: Likewise.
* generated/reshape_r16.c: Regenerate.
* generated/reshape_c4.c: Regenerate.
* generated/reshape_i4.c: Regenerate.
* generated/reshape_c16.c: Regenerate.
* generated/reshape_r10.c: Regenerate.
* generated/reshape_r8.c: Regenerate.
* generated/reshape_c10.c: Regenerate.
* generated/reshape_c8.c: Regenerate.
* generated/reshape_i8.c: Regenerate.
* generated/reshape_i16.c: Regenerate.
* generated/reshape_r4.c: Regenerate.

* gcc/testsuite/gfortran.dg/zero_sized_1.f90: Uncomment checks
for RESHAPE.

  r118458 | amylaar | 2006-11-03 06:52:19 -0800 (Fri, 03 Nov 2006) | 97 lines

  gcc:

  2006-11-03  J"orn Rennecke  <[EMAIL PROTECTED]>

* config/sh/crt1.asm: Fix #ifdef indent.

  2006-11-03  J"orn Rennecke  <[EMAIL PROTECTED]>
Merged from STMicroelectronics sources:
2006-10-06  Andrew Stubbs  <[EMAIL PROTECTED]>
  * config/sh/crt1.asm (vbr_600): Add missing #if.
2006-08-03  J"orn Rennecke  <[EMAIL PROTECTED]>
  * sh.opt (mfused-madd): New option.
  * sh.md (mac_media, macsf3): Make conditional on TARGET_FMAC.
2006-07-04  Andrew Stubbs  <[EMAIL PROTECTED]>
  * config/sh/crt1.asm (vbr_start): Move to new section .test.vbr.
  Remove pointless handler at VBR+0.
  (vbr_200, vbr_300, vbr_500): Remove pointless handler.
  (vbr_600): Save and restore mach and macl, fpul and fpscr and fr0 to
  fr7. Make sure the timer handler is called with the correct FPU
  precision setting, according to the ABI.
2006-06-14  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/sh.opt (m2a-single, m2a-single-only): Fix Condition.
  * config/sh/sh.h (SUPPORT_SH2A_NOFPU): Fix condition.
  (SUPPORT_SH2A_SINGLE_ONLY, SUPPORT_SH2A_SINGLE_ONLY): Likewise.
2006-06-09  J"orn Rennecke <[EMAIL PROTECTED]>
  * sh.md (cmpgeusi_t): Change into define_insn_and_split.  Accept
  zero as second operand.
2006-04-28  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/divtab-sh4-300.c, config/sh/lib1funcs-4-300.asm:
  Fixed some bugs related to negative values, in particular -0
  and overflow at -0x8000.
  * config/sh/divcost-analysis: Added sh4-300 figures.
2006-04-27  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/t-sh (MULTILIB_MATCHES): Add -m4-300* / -m4-340 options.
2006-04-26  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/t-sh (OPT_EXTRA_PARTS): Add libgcc-4-300.a.
  ($(T)div_table-4-300.o, $(T)libgcc-4-300.a): New rules.
  * config/sh/divtab-sh4-300.c, config/sh/lib1funcs-4-300.asm:
New files.
  * config/sh/embed-elf.h (LIBGCC_SPEC): Use -lgcc-4-300 for -m4-300* /
  -m4-340.
2006-04-24  J"orn Rennecke <[EMAIL PROTECTED]>
  SH4-300 scheduling description & fixes to SH4-[12]00 description:
  * sh.md: New instruction types: fstore, movi8, fpscr_toggle, gp_mac,
  mac_mem, mem_mac, dfp_mul, fp_cmp.
  (insn_class, dfp_comp, any_fp_comp): Update.
  (push_fpul, movsf_ie, fpu_switch, toggle_sz, toggle_pr): Update type.
  (cmpgtsf_t, "cmpeqsf_t, cmpgtsf_t_i4, cmpeqsf_t_i4): Likewise.
  (muldf3_i): Likewise.
  (movsi_i): Split rI08 alternative into two separate alternatives.
  Update type.
  (movsi_ie, movsi_i_lowpart): Likewise.
  (movqi_i): Split ri alternative into two separate alternatives.
  Update type.
  * sh1.md (sh1_load_store, sh1_fp): Update.
  * sh4.md (sh4_store, sh4_mac_gp, fp_arith, fp_double_arith): Update.
  (mac_mem, sh4_fpscr_toggle): New insn_reservations.
  * sh4a.md (sh4a_mov, sh4a_load, sh4a_store, sh4a_fp_arith): Update.
  (sh4a_fp_double_arith): Likewise.
  * sh4-300.md: New file.
  * sh.c (sh_handle_option): Handle m4-300* options.
  (sh_adjust_cost): Fix latency of auto-increments.
  Handle SH4-300 differently than other SH4s.  Check for new insn
types.
  * sh.h (OVERRIDE_OPTIONS): Initilize sh_branch_cost if it has not
  been set by an option.
  * sh.opt (m4-300, m4-100-nofpu, m4-200-nofpu): New options.
  (m4-300-nofpu, -m4-340, m4-300-si

[Bug fortran/29679] Inability to get shapes correct in initializations

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #5 from chaoyingfu at gcc dot gnu dot org  2006-12-01 00:07 
---
Subject: Bug 29679

Author: chaoyingfu
Date: Fri Dec  1 00:05:26 2006
New Revision: 119383

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119383
Log:
Merged revisions 118455-118543 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118455 | fxcoudert | 2006-11-03 03:51:09 -0800 (Fri, 03 Nov 2006) | 20 lines

PR libfortran/27895

* intrinsics/reshape_generic.c (reshape_internal): Fix so that it
works correctly for zero-sized arrays.
* m4/reshape.m4: Likewise.
* generated/reshape_r16.c: Regenerate.
* generated/reshape_c4.c: Regenerate.
* generated/reshape_i4.c: Regenerate.
* generated/reshape_c16.c: Regenerate.
* generated/reshape_r10.c: Regenerate.
* generated/reshape_r8.c: Regenerate.
* generated/reshape_c10.c: Regenerate.
* generated/reshape_c8.c: Regenerate.
* generated/reshape_i8.c: Regenerate.
* generated/reshape_i16.c: Regenerate.
* generated/reshape_r4.c: Regenerate.

* gcc/testsuite/gfortran.dg/zero_sized_1.f90: Uncomment checks
for RESHAPE.

  r118458 | amylaar | 2006-11-03 06:52:19 -0800 (Fri, 03 Nov 2006) | 97 lines

  gcc:

  2006-11-03  J"orn Rennecke  <[EMAIL PROTECTED]>

* config/sh/crt1.asm: Fix #ifdef indent.

  2006-11-03  J"orn Rennecke  <[EMAIL PROTECTED]>
Merged from STMicroelectronics sources:
2006-10-06  Andrew Stubbs  <[EMAIL PROTECTED]>
  * config/sh/crt1.asm (vbr_600): Add missing #if.
2006-08-03  J"orn Rennecke  <[EMAIL PROTECTED]>
  * sh.opt (mfused-madd): New option.
  * sh.md (mac_media, macsf3): Make conditional on TARGET_FMAC.
2006-07-04  Andrew Stubbs  <[EMAIL PROTECTED]>
  * config/sh/crt1.asm (vbr_start): Move to new section .test.vbr.
  Remove pointless handler at VBR+0.
  (vbr_200, vbr_300, vbr_500): Remove pointless handler.
  (vbr_600): Save and restore mach and macl, fpul and fpscr and fr0 to
  fr7. Make sure the timer handler is called with the correct FPU
  precision setting, according to the ABI.
2006-06-14  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/sh.opt (m2a-single, m2a-single-only): Fix Condition.
  * config/sh/sh.h (SUPPORT_SH2A_NOFPU): Fix condition.
  (SUPPORT_SH2A_SINGLE_ONLY, SUPPORT_SH2A_SINGLE_ONLY): Likewise.
2006-06-09  J"orn Rennecke <[EMAIL PROTECTED]>
  * sh.md (cmpgeusi_t): Change into define_insn_and_split.  Accept
  zero as second operand.
2006-04-28  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/divtab-sh4-300.c, config/sh/lib1funcs-4-300.asm:
  Fixed some bugs related to negative values, in particular -0
  and overflow at -0x8000.
  * config/sh/divcost-analysis: Added sh4-300 figures.
2006-04-27  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/t-sh (MULTILIB_MATCHES): Add -m4-300* / -m4-340 options.
2006-04-26  J"orn Rennecke <[EMAIL PROTECTED]>
  * config/sh/t-sh (OPT_EXTRA_PARTS): Add libgcc-4-300.a.
  ($(T)div_table-4-300.o, $(T)libgcc-4-300.a): New rules.
  * config/sh/divtab-sh4-300.c, config/sh/lib1funcs-4-300.asm:
New files.
  * config/sh/embed-elf.h (LIBGCC_SPEC): Use -lgcc-4-300 for -m4-300* /
  -m4-340.
2006-04-24  J"orn Rennecke <[EMAIL PROTECTED]>
  SH4-300 scheduling description & fixes to SH4-[12]00 description:
  * sh.md: New instruction types: fstore, movi8, fpscr_toggle, gp_mac,
  mac_mem, mem_mac, dfp_mul, fp_cmp.
  (insn_class, dfp_comp, any_fp_comp): Update.
  (push_fpul, movsf_ie, fpu_switch, toggle_sz, toggle_pr): Update type.
  (cmpgtsf_t, "cmpeqsf_t, cmpgtsf_t_i4, cmpeqsf_t_i4): Likewise.
  (muldf3_i): Likewise.
  (movsi_i): Split rI08 alternative into two separate alternatives.
  Update type.
  (movsi_ie, movsi_i_lowpart): Likewise.
  (movqi_i): Split ri alternative into two separate alternatives.
  Update type.
  * sh1.md (sh1_load_store, sh1_fp): Update.
  * sh4.md (sh4_store, sh4_mac_gp, fp_arith, fp_double_arith): Update.
  (mac_mem, sh4_fpscr_toggle): New insn_reservations.
  * sh4a.md (sh4a_mov, sh4a_load, sh4a_store, sh4a_fp_arith): Update.
  (sh4a_fp_double_arith): Likewise.
  * sh4-300.md: New file.
  * sh.c (sh_handle_option): Handle m4-300* options.
  (sh_adjust_cost): Fix latency of auto-increments.
  Handle SH4-300 differently than other SH4s.  Check for new insn
types.
  * sh.h (OVERRIDE_OPTIONS): Initilize sh_branch_cost if it has not
  been set by an option.
  * sh.opt (m4-300, m4-100-nofpu, m4-200-nofpu): New options.
  (m4-300-nofpu, -m4-340, m4-300-si

[Bug c++/30033] New: ICE on valid with --std=c++0x (static_assert)

2006-11-30 Thread pedro dot lamarao at mndfck dot org
testcase7.cpp and a backtrace follow attached.

[EMAIL PROTECTED] mainline-bin]$ bin/g++ --param ggc-min-heapsize=0 --param
ggc-min-expand=0 --std=c++0x -c testcase7.cpp -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../mainline/configure
--prefix=/home/pedro/Projetos/gcc/mainline-bin --enable-languages=c,c++
--with-mpfr=../prerequisites --disable-bootstrap
Thread model: posix
gcc version 4.3.0 20061130 (experimental)

/home/pedro/Projetos/gcc/mainline-bin/libexec/gcc/i686-pc-linux-gnu/4.3.0/cc1plus
-quiet -v -D_GNU_SOURCE testcase7.cpp -quiet -dumpbase testcase7.cpp
-mtune=generic -auxbase testcase7 -std=c++0x -version --param
ggc-min-heapsize=0 --param ggc-min-expand=0 -o /tmp/ccg0S1UD.s
ignoring nonexistent directory
"/home/pedro/Projetos/gcc/mainline-bin/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:

/home/pedro/Projetos/gcc/mainline-bin/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0

/home/pedro/Projetos/gcc/mainline-bin/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/i686-pc-linux-gnu

/home/pedro/Projetos/gcc/mainline-bin/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/backward
 /usr/local/include
 /home/pedro/Projetos/gcc/mainline-bin/include
 /home/pedro/Projetos/gcc/mainline-bin/lib/gcc/i686-pc-linux-gnu/4.3.0/include
 /usr/include
End of search list.
GNU C++ version 4.3.0 20061130 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 4.1.1 20061011 (Red Hat 4.1.1-30).
GGC heuristics: --param ggc-min-expand=0 --param ggc-min-heapsize=0
Compiler executable checksum: 79ef279fe07712f389166687d32d4c5f
testcase7.cpp:14: internal compiler error: in tree_node_structure, at
tree.c:2171
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html> for instructions.


-- 
   Summary: ICE on valid with --std=c++0x (static_assert)
   Product: gcc
   Version: 4.3.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pedro dot lamarao at mndfck dot org


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



[Bug c++/30033] ICE on valid with --std=c++0x (static_assert)

2006-11-30 Thread pedro dot lamarao at mndfck dot org


--- Comment #1 from pedro dot lamarao at mndfck dot org  2006-12-01 00:17 
---
Created an attachment (id=12719)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12719&action=view)
Reduced test case that provokes ICE.


-- 


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



[Bug c++/30033] ICE on valid with --std=c++0x (static_assert)

2006-11-30 Thread pedro dot lamarao at mndfck dot org


--- Comment #2 from pedro dot lamarao at mndfck dot org  2006-12-01 00:17 
---
Created an attachment (id=12720)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12720&action=view)
Stack trace taken at breakpoint in tree.c:2171


-- 


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



[Bug c/18063] Gcc doesn't check overflowed size of structure

2006-11-30 Thread manu at gcc dot gnu dot org


--- Comment #6 from manu at gcc dot gnu dot org  2006-12-01 00:31 ---
(In reply to comment #5)
> (In reply to comment #2)
> > Subject: Re:  Gcc doesn't check overflowed size of structure
> > 
> > If you rewrite it to
> 
> That is because there is no constant overflow.  Just an overflow at the
> runtime.
> 

So, is this bug invalid? If not, what is the expect output? 


-- 

manu at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||manu at gcc dot gnu dot org


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



[Bug fortran/29601] VOLATILE attribute and statement

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #5 from chaoyingfu at gcc dot gnu dot org  2006-12-01 00:35 
---
Subject: Bug 29601

Author: chaoyingfu
Date: Fri Dec  1 00:32:38 2006
New Revision: 119391

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119391
Log:
Merged revisions 118545-118650 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118545 | burnus | 2006-11-07 05:27:53 -0800 (Tue, 07 Nov 2006) | 29 lines

  fortran/
  2006-11-06  Tobias Burnus  <[EMAIL PROTECTED]>

  PR fortran/29601
  * symbol.c (check_conflict, gfc_add_volatile): Add volatile support.
  * decl.c (match_attr_spec, gfc_match_volatile): Add volatile support.
  * gfortran.h (symbol_attribute): Add volatile_ to struct.
  * resolve.c (was_declared): Add volatile support.
  * trans-decl.c (gfc_finish_var_decl): Add volatile support.
  * match.h: Declare gfc_match_volatile.
  * parse.c (decode_statement): Recognize volatile.
  * modules.c (ab_attribute, attr_bits, mio_symbol_attribute):
Add volatile support.
  * dump-parse-tree.c (gfc_show_attr): Add volatile support.


  testsuite/
  2006-11-06  Tobias Burnus  <[EMAIL PROTECTED]>

  PR fortran/29601
  * gfortran.dg/volatile.f90: Add.
  * gfortran.dg/volatile2.f90: Add.
  * gfortran.dg/volatile3.f90: Add.
  * gfortran.dg/volatile4.f90: Add.
  * gfortran.dg/volatile5.f90: Add.
  * gfortran.dg/volatile6.f90: Add.
  * gfortran.dg/volatile7.f90: Add.

  r118546 | davidu | 2006-11-07 06:08:55 -0800 (Tue, 07 Nov 2006) | 3 lines

* config/mips/mips.h (ISA_HAS_PREFETCHX): Add ISA_MIPS32R2 to the
list.

  r118547 | jiez | 2006-11-07 06:24:58 -0800 (Tue, 07 Nov 2006) | 3 lines

* gcc.c (process_command): Treat -b as normal switch if its argument
has no dash.

  r118550 | davidu | 2006-11-07 06:28:08 -0800 (Tue, 07 Nov 2006) | 5 lines

* config/mips/mips.c (mips_rtx_cost_optimize_size): New table of
costs when optimizing for size.
(override_options): Use mips_rtx_cost_optimize_size table for cost
calculations.

  r118552 | jules | 2006-11-07 07:16:07 -0800 (Tue, 07 Nov 2006) | 6 lines

* floatformat.c (get_field): Fix segfault with little-endian word
order on 64-bit hosts.
(put_field): Likewise.
(min): Move definition.

  r118553 | pault | 2006-11-07 07:17:17 -0800 (Tue, 07 Nov 2006) | 17 lines

  2006-11-07 Paul Thomas <[EMAIL PROTECTED]>

PR fortran/29539
PR fortran/29634
* decl.c (variable_decl): Add test for presence of proc_name.
* error.c (gfc_error_flag_test): New function.
* gfortran.h : Prototype for gfc_error_flag_test.

  2006-11-07 Paul Thomas <[EMAIL PROTECTED]>

PR fortran/29539
* gfortran.dg/gfortran.dg/blockdata_3.f90: New test.

PR fortran/29634
* gfortran.dg/gfortran.dg/derived_function_interface_1.f90: New
test.

  r118554 | bkoz | 2006-11-07 08:55:49 -0800 (Tue, 07 Nov 2006) | 49 lines

  2006-11-07  Benjamin Kosnik  <[EMAIL PROTECTED]>

* include/ext/pb_ds/exception.hpp (pb_ds): Modify for -fno-exceptions.
(__throw_container_error): New. Conditionalize based on __EXCEPTIONS.
(__throw_insert_error): New.
(__throw_join_error): New.
(__throw_resize_error): New.
* include/ext/pb_ds/detail/resize_policy/
hash_prime_size_policy_imp.hpp: Use them.
* include/ext/pb_ds/detail/resize_policy/
hash_exponential_size_policy_imp.hpp: Same.
* include/ext/pb_ds/detail/resize_policy/
hash_load_check_resize_trigger_imp.hpp: Same.
* include/ext/pb_ds/detail/resize_policy/
hash_standard_resize_policy_imp.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp
* include/ext/pb_ds/detail/cc_hash_table_map_/
constructor_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/insert_join_fn_imps.hpp
* include/ext/pb_ds/detail/pat_trie_/split_join_branch_bag.hpp
* include/ext/pb_ds/detail/pat_trie_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/
split_join_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
insert_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
resize_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
insert_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
constructor_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
resize_no_store_hash_fn_imps.hpp: Sam

[Bug fortran/29699] ICE in trans-decl.c

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #8 from chaoyingfu at gcc dot gnu dot org  2006-12-01 00:35 
---
Subject: Bug 29699

Author: chaoyingfu
Date: Fri Dec  1 00:32:38 2006
New Revision: 119391

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119391
Log:
Merged revisions 118545-118650 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118545 | burnus | 2006-11-07 05:27:53 -0800 (Tue, 07 Nov 2006) | 29 lines

  fortran/
  2006-11-06  Tobias Burnus  <[EMAIL PROTECTED]>

  PR fortran/29601
  * symbol.c (check_conflict, gfc_add_volatile): Add volatile support.
  * decl.c (match_attr_spec, gfc_match_volatile): Add volatile support.
  * gfortran.h (symbol_attribute): Add volatile_ to struct.
  * resolve.c (was_declared): Add volatile support.
  * trans-decl.c (gfc_finish_var_decl): Add volatile support.
  * match.h: Declare gfc_match_volatile.
  * parse.c (decode_statement): Recognize volatile.
  * modules.c (ab_attribute, attr_bits, mio_symbol_attribute):
Add volatile support.
  * dump-parse-tree.c (gfc_show_attr): Add volatile support.


  testsuite/
  2006-11-06  Tobias Burnus  <[EMAIL PROTECTED]>

  PR fortran/29601
  * gfortran.dg/volatile.f90: Add.
  * gfortran.dg/volatile2.f90: Add.
  * gfortran.dg/volatile3.f90: Add.
  * gfortran.dg/volatile4.f90: Add.
  * gfortran.dg/volatile5.f90: Add.
  * gfortran.dg/volatile6.f90: Add.
  * gfortran.dg/volatile7.f90: Add.

  r118546 | davidu | 2006-11-07 06:08:55 -0800 (Tue, 07 Nov 2006) | 3 lines

* config/mips/mips.h (ISA_HAS_PREFETCHX): Add ISA_MIPS32R2 to the
list.

  r118547 | jiez | 2006-11-07 06:24:58 -0800 (Tue, 07 Nov 2006) | 3 lines

* gcc.c (process_command): Treat -b as normal switch if its argument
has no dash.

  r118550 | davidu | 2006-11-07 06:28:08 -0800 (Tue, 07 Nov 2006) | 5 lines

* config/mips/mips.c (mips_rtx_cost_optimize_size): New table of
costs when optimizing for size.
(override_options): Use mips_rtx_cost_optimize_size table for cost
calculations.

  r118552 | jules | 2006-11-07 07:16:07 -0800 (Tue, 07 Nov 2006) | 6 lines

* floatformat.c (get_field): Fix segfault with little-endian word
order on 64-bit hosts.
(put_field): Likewise.
(min): Move definition.

  r118553 | pault | 2006-11-07 07:17:17 -0800 (Tue, 07 Nov 2006) | 17 lines

  2006-11-07 Paul Thomas <[EMAIL PROTECTED]>

PR fortran/29539
PR fortran/29634
* decl.c (variable_decl): Add test for presence of proc_name.
* error.c (gfc_error_flag_test): New function.
* gfortran.h : Prototype for gfc_error_flag_test.

  2006-11-07 Paul Thomas <[EMAIL PROTECTED]>

PR fortran/29539
* gfortran.dg/gfortran.dg/blockdata_3.f90: New test.

PR fortran/29634
* gfortran.dg/gfortran.dg/derived_function_interface_1.f90: New
test.

  r118554 | bkoz | 2006-11-07 08:55:49 -0800 (Tue, 07 Nov 2006) | 49 lines

  2006-11-07  Benjamin Kosnik  <[EMAIL PROTECTED]>

* include/ext/pb_ds/exception.hpp (pb_ds): Modify for -fno-exceptions.
(__throw_container_error): New. Conditionalize based on __EXCEPTIONS.
(__throw_insert_error): New.
(__throw_join_error): New.
(__throw_resize_error): New.
* include/ext/pb_ds/detail/resize_policy/
hash_prime_size_policy_imp.hpp: Use them.
* include/ext/pb_ds/detail/resize_policy/
hash_exponential_size_policy_imp.hpp: Same.
* include/ext/pb_ds/detail/resize_policy/
hash_load_check_resize_trigger_imp.hpp: Same.
* include/ext/pb_ds/detail/resize_policy/
hash_standard_resize_policy_imp.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp
* include/ext/pb_ds/detail/cc_hash_table_map_/
constructor_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/insert_join_fn_imps.hpp
* include/ext/pb_ds/detail/pat_trie_/split_join_branch_bag.hpp
* include/ext/pb_ds/detail/pat_trie_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/
split_join_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
insert_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
resize_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
insert_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
constructor_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
resize_no_store_hash_fn_imps.hpp: Sam

  1   2   >