public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/29439]  New: ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop )
@ 2006-10-12 13:00 pluto at agmk dot net
  2006-10-12 14:30 ` [Bug other/29439] " rguenth at gcc dot gnu dot org
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: pluto at agmk dot net @ 2006-10-12 13:00 UTC (permalink / raw)
  To: gcc-bugs

after closing the PR28230 the bootstrap ICEs on ada.

(...)
/home/users/pluto/rpm/BUILD/trunk/builddir/./gcc/xgcc
-B/home/users/pluto/rpm/BUILD/trunk/builddir/./gcc/
-B/usr/x86_64-pld-linux/bin/ -B/usr/x86_64-pld-linux/lib/ -isystem
/usr/x86_64-pld-linux/include -isystem /usr/x86_64-pld-linux/sys-include -c -O2
-fwrapv -march=x86-64 -gdwarf-2 -g2  -fPIC      -W -Wall -gnatpg  a-stwifi.adb
-o a-stwifi.o
+===========================GNAT BUG DETECTED==============================+
| 4.2.0 20061012 (experimental) (PLD-Linux) (x86_64-pld-linux-gnu) GCC error:|
| tree check: expected integer_cst, have var_decl in int_const_binop,      |
|    at fold-const.c:1385                                                  |
| Error detected at a-stwifi.adb:677:1


-- 
           Summary: ICE in fold-const.c:1385 ( expected integer_cst, have
                    var_decl in int_const_binop )
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pluto at agmk dot net
GCC target triplet: x86_64-linux


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


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug other/29439] ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop )
  2006-10-12 13:00 [Bug other/29439] New: ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop ) pluto at agmk dot net
@ 2006-10-12 14:30 ` rguenth at gcc dot gnu dot org
  2006-10-12 14:38 ` pluto at agmk dot net
                   ` (17 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-10-12 14:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2006-10-12 14:30 -------
I had ada included in the set of languages for the bootstrap & regtest for
PR28230.  So you need to find another one ;)

Or are you complaining about the next failure with a -fwrapv bootstrap?


-- 


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


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug other/29439] ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop )
  2006-10-12 13:00 [Bug other/29439] New: ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop ) pluto at agmk dot net
  2006-10-12 14:30 ` [Bug other/29439] " rguenth at gcc dot gnu dot org
@ 2006-10-12 14:38 ` pluto at agmk dot net
  2006-10-12 19:46 ` pluto at agmk dot net
                   ` (16 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: pluto at agmk dot net @ 2006-10-12 14:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pluto at agmk dot net  2006-10-12 14:38 -------
(In reply to comment #1)
> I had ada included in the set of languages for the bootstrap & regtest for
> PR28230.  So you need to find another one ;)

try to bootstrap C+ADA with CFLAGS='-O2 -fwrapv' ;)

> Or are you complaining about the next failure with a -fwrapv bootstrap?

exactly.


-- 


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


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug other/29439] ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop )
  2006-10-12 13:00 [Bug other/29439] New: ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop ) pluto at agmk dot net
  2006-10-12 14:30 ` [Bug other/29439] " rguenth at gcc dot gnu dot org
  2006-10-12 14:38 ` pluto at agmk dot net
@ 2006-10-12 19:46 ` pluto at agmk dot net
  2006-10-15 18:02 ` [Bug middle-end/29439] [4.2 only] ICE in fold-const.c:1385 with -O1 -fwrapv -ftree-vrp pluto at agmk dot net
                   ` (15 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: pluto at agmk dot net @ 2006-10-12 19:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pluto at agmk dot net  2006-10-12 19:45 -------
cwd: ada/rts:
$ ../../gnat1 -quiet -dumpbase a-stwifi.adb -O1 -fwrapv -ftree-vrp \
              -gnatpg a-stwifi.adb -o a-stwifi.s

(gdb) bt
#0  int_const_binop (code=PLUS_EXPR, arg1=0x2b8302f027b0, arg2=0x2b8302f02810,
                     notrunc=0) at ../../gcc/fold-const.c:1385
#1  0x000000000077c1e0 in round_up (value=0x2b8302f027b0, divisor=8)
                          at ../../gcc/fold-const.c:12841
#2  0x000000000090a7ea in finalize_type_size (type=0x2b8302f0f160)
                          at ../../gcc/stor-layout.c:1431
#3  0x000000000090e2a4 in layout_type (type=0x2b8302f0f160)
                          at ../../gcc/stor-layout.c:1861
#4  0x000000000090ee38 in make_signed_type (precision=<value optimized out>)
                          at ../../gcc/stor-layout.c:1881
#5  0x000000000092433e in build_common_tree_nodes (signed_char=1 '\001',
                          signed_sizetype=<value optimized out>)
                          at ../../gcc/tree.c:6460
#6  0x0000000000423e00 in gnat_init_decl_processing ()
                          at ../../gcc/ada/utils.c:405
#7  0x000000000041bc9e in gnat_init () at ../../gcc/ada/misc.c:421
#8  0x0000000000912d1a in toplev_main (argc=<value optimized out>,
                          argv=<value optimized out>)
                          at ../../gcc/toplev.c:1900
#9  0x00002b8302cf0134 in __libc_start_main () from /lib64/libc.so.6
#10 0x00000000004030e9 in _start ()

(gdb) c debug_tree(arg1)
 <integer_cst 0x2b3a2e1c47b0 type <integer_type 0x2b3a2e1d10b0>
    constant invariant 8>
Value can't be converted to integer.

(gdb) c debug_tree(arg2)
 <integer_cst 0x2b3a2e1c4810 type <integer_type 0x2b3a2e1d10b0>
    constant invariant 7>


-- 


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


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/29439] [4.2 only] ICE in fold-const.c:1385 with -O1 -fwrapv -ftree-vrp
  2006-10-12 13:00 [Bug other/29439] New: ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop ) pluto at agmk dot net
                   ` (3 preceding siblings ...)
  2006-10-15 18:02 ` [Bug middle-end/29439] [4.2 only] ICE in fold-const.c:1385 with -O1 -fwrapv -ftree-vrp pluto at agmk dot net
@ 2006-10-15 18:02 ` pluto at agmk dot net
  2006-10-15 18:35 ` [Bug middle-end/29439] [4.2 regression] " pinskia at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: pluto at agmk dot net @ 2006-10-15 18:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pluto at agmk dot net  2006-10-15 18:02 -------
Created an attachment (id=12441)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12441&action=view)
reduced testcase


-- 


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


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/29439] [4.2 only] ICE in fold-const.c:1385 with -O1 -fwrapv -ftree-vrp
  2006-10-12 13:00 [Bug other/29439] New: ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop ) pluto at agmk dot net
                   ` (2 preceding siblings ...)
  2006-10-12 19:46 ` pluto at agmk dot net
@ 2006-10-15 18:02 ` pluto at agmk dot net
  2006-10-15 18:02 ` pluto at agmk dot net
                   ` (14 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: pluto at agmk dot net @ 2006-10-15 18:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pluto at agmk dot net  2006-10-15 18:02 -------
Created an attachment (id=12440)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12440&action=view)
reduced testcase


-- 


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


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/29439] [4.2 regression]  ICE in fold-const.c:1385 with -O1 -fwrapv -ftree-vrp
  2006-10-12 13:00 [Bug other/29439] New: ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop ) pluto at agmk dot net
                   ` (4 preceding siblings ...)
  2006-10-15 18:02 ` pluto at agmk dot net
@ 2006-10-15 18:35 ` pinskia at gcc dot gnu dot org
  2006-10-15 18:56 ` [Bug tree-optimization/29439] " pinskia at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-15 18:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2006-10-15 18:35 -------
This worked in 4.2.0 20061002 but failed in 4.2.0 20061014


-- 


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


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug tree-optimization/29439] [4.2 regression]  ICE in fold-const.c:1385 with -O1 -fwrapv -ftree-vrp
  2006-10-12 13:00 [Bug other/29439] New: ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop ) pluto at agmk dot net
                   ` (5 preceding siblings ...)
  2006-10-15 18:35 ` [Bug middle-end/29439] [4.2 regression] " pinskia at gcc dot gnu dot org
@ 2006-10-15 18:56 ` pinskia at gcc dot gnu dot org
  2006-10-15 21:27 ` mmitchel at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-15 18:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from pinskia at gcc dot gnu dot org  2006-10-15 18:56 -------
The call int_const_binop to seems to be wrong, if the comment is correct the
following is more correct:
          tree tmp = int_const_binop (TRUNC_DIV_EXPR,
                                      res,
                                      val1, 0);


-- 


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


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug tree-optimization/29439] [4.2 regression]  ICE in fold-const.c:1385 with -O1 -fwrapv -ftree-vrp
  2006-10-12 13:00 [Bug other/29439] New: ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop ) pluto at agmk dot net
                   ` (6 preceding siblings ...)
  2006-10-15 18:56 ` [Bug tree-optimization/29439] " pinskia at gcc dot gnu dot org
@ 2006-10-15 21:27 ` mmitchel at gcc dot gnu dot org
  2006-10-15 21:30 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-10-15 21:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from mmitchel at gcc dot gnu dot org  2006-10-15 21:27 -------
Is there a C/C++ equivalent?


-- 


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


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug tree-optimization/29439] [4.2 regression]  ICE in fold-const.c:1385 with -O1 -fwrapv -ftree-vrp
  2006-10-12 13:00 [Bug other/29439] New: ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop ) pluto at agmk dot net
                   ` (7 preceding siblings ...)
  2006-10-15 21:27 ` mmitchel at gcc dot gnu dot org
@ 2006-10-15 21:30 ` pinskia at gcc dot gnu dot org
  2006-10-16  0:15 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-15 21:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from pinskia at gcc dot gnu dot org  2006-10-15 21:30 -------
(In reply to comment #9)
> Is there a C/C++ equivalent?
No because it depends on non constant subtypes.
But that does not mean we could get the wrong answer from VRP because overflow
is incorrectly set.


-- 


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


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug tree-optimization/29439] [4.2 regression]  ICE in fold-const.c:1385 with -O1 -fwrapv -ftree-vrp
  2006-10-12 13:00 [Bug other/29439] New: ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop ) pluto at agmk dot net
                   ` (8 preceding siblings ...)
  2006-10-15 21:30 ` pinskia at gcc dot gnu dot org
@ 2006-10-16  0:15 ` pinskia at gcc dot gnu dot org
  2006-10-17  7:35 ` mmitchel at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-16  0:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from pinskia at gcc dot gnu dot org  2006-10-16 00:15 -------
Mine.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


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


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug tree-optimization/29439] [4.2 regression]  ICE in fold-const.c:1385 with -O1 -fwrapv -ftree-vrp
  2006-10-12 13:00 [Bug other/29439] New: ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop ) pluto at agmk dot net
                   ` (9 preceding siblings ...)
  2006-10-16  0:15 ` pinskia at gcc dot gnu dot org
@ 2006-10-17  7:35 ` mmitchel at gcc dot gnu dot org
  2006-10-18  9:34 ` pluto at agmk dot net
                   ` (7 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-10-17  7:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from mmitchel at gcc dot gnu dot org  2006-10-17 07:35 -------
Until we can demonstrate a C/C++ failure: P5.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5


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


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug tree-optimization/29439] [4.2 regression]  ICE in fold-const.c:1385 with -O1 -fwrapv -ftree-vrp
  2006-10-12 13:00 [Bug other/29439] New: ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop ) pluto at agmk dot net
                   ` (10 preceding siblings ...)
  2006-10-17  7:35 ` mmitchel at gcc dot gnu dot org
@ 2006-10-18  9:34 ` pluto at agmk dot net
  2006-10-18 10:00 ` rguenth at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: pluto at agmk dot net @ 2006-10-18  9:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from pluto at agmk dot net  2006-10-18 09:34 -------
(In reply to comment #8)
> The call int_const_binop to seems to be wrong, if the comment is correct the
> following is more correct:
>           tree tmp = int_const_binop (TRUNC_DIV_EXPR,
>                                       res,
>                                       val1, 0);
> 

with -fwrapv + this change, the a-stwifi.adb compiles,
but other failure occurs later:

a-stwiun.adb:34:06: warning: cannot depend on "Wide_Fixed" (wrong
categorization)
a-stwiun.adb:34:06: warning: preelaborated unit cannot depend on
non-preelaborated unit
a-stwiun.adb:34:17: warning: no entities of "Wide_Fixed" are referenced
a-stwiun.adb:450:22: "Delete" not declared in "Wide_Fixed"
a-stwiun.adb:555:20: "Head" not declared in "Wide_Fixed"
a-stwiun.adb:567:22: "Head" not declared in "Wide_Fixed"
a-stwiun.adb:695:22: "Insert" not declared in "Wide_Fixed"
a-stwiun.adb:740:22: "Overwrite" not declared in "Wide_Fixed"
a-stwiun.adb:758:26: "Overwrite" not declared in "Wide_Fixed"
a-stwiun.adb:840:20: "Replace_Slice" not declared in "Wide_Fixed"
a-stwiun.adb:853:20: "Replace_Slice" not declared in "Wide_Fixed"
a-stwiun.adb:902:20: "Tail" not declared in "Wide_Fixed"
a-stwiun.adb:913:20: "Tail" not declared in "Wide_Fixed"
a-stwiun.adb:968:22: "Translate" not declared in "Wide_Fixed"
a-stwiun.adb:977:17: "Translate" not declared in "Wide_Fixed"
a-stwiun.adb:988:22: "Translate" not declared in "Wide_Fixed"
a-stwiun.adb:997:17: "Translate" not declared in "Wide_Fixed"
a-stwiun.adb:1011:22: "Trim" not declared in "Wide_Fixed"
a-stwiun.adb:1022:22: "Trim" not declared in "Wide_Fixed"
a-stwiun.adb:1036:22: "Trim" not declared in "Wide_Fixed"
a-stwiun.adb:1049:22: "Trim" not declared in "Wide_Fixed"
make[7]: *** [a-stwiun.o] Error 1

without this change and without -fwrapv bootstrap passes.


-- 


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


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug tree-optimization/29439] [4.2 regression]  ICE in fold-const.c:1385 with -O1 -fwrapv -ftree-vrp
  2006-10-12 13:00 [Bug other/29439] New: ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop ) pluto at agmk dot net
                   ` (11 preceding siblings ...)
  2006-10-18  9:34 ` pluto at agmk dot net
@ 2006-10-18 10:00 ` rguenth at gcc dot gnu dot org
  2006-11-06 23:25 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-10-18 10:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from rguenth at gcc dot gnu dot org  2006-10-18 10:00 -------
Well, this looks like a miscompilation somewhere then.


-- 


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


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug tree-optimization/29439] [4.2 regression]  ICE in fold-const.c:1385 with -O1 -fwrapv -ftree-vrp
  2006-10-12 13:00 [Bug other/29439] New: ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop ) pluto at agmk dot net
                   ` (12 preceding siblings ...)
  2006-10-18 10:00 ` rguenth at gcc dot gnu dot org
@ 2006-11-06 23:25 ` pinskia at gcc dot gnu dot org
  2006-11-06 23:25 ` [Bug tree-optimization/29439] [4.2/4.3 " pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-06 23:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from pinskia at gcc dot gnu dot org  2006-11-06 23:25 -------
Fixed on the mainline, will fix later on the 4.2 branch.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.2/4.3 regression]  ICE in|[4.2 regression]  ICE in
                   |fold-const.c:1385 with -O1 -|fold-const.c:1385 with -O1 -
                   |fwrapv -ftree-vrp           |fwrapv -ftree-vrp


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


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug tree-optimization/29439] [4.2/4.3 regression]  ICE in fold-const.c:1385 with -O1 -fwrapv -ftree-vrp
  2006-10-12 13:00 [Bug other/29439] New: ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop ) pluto at agmk dot net
                   ` (13 preceding siblings ...)
  2006-11-06 23:25 ` pinskia at gcc dot gnu dot org
@ 2006-11-06 23:25 ` pinskia at gcc dot gnu dot org
  2006-11-12  1:57 ` [Bug tree-optimization/29439] [4.2 " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-06 23:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from pinskia at gcc dot gnu dot org  2006-11-06 23:25 -------
Subject: Bug 29439

Author: pinskia
Date: Mon Nov  6 23:25:19 2006
New Revision: 118530

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118530
Log:
2006-11-06  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR tree-opt/29439
        * tree-vrp.c (vrp_int_const_binop): Use the correct tree when
        checking for overflow.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-vrp.c


-- 


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


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug tree-optimization/29439] [4.2 regression]  ICE in fold-const.c:1385 with -O1 -fwrapv -ftree-vrp
  2006-10-12 13:00 [Bug other/29439] New: ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop ) pluto at agmk dot net
                   ` (14 preceding siblings ...)
  2006-11-06 23:25 ` [Bug tree-optimization/29439] [4.2/4.3 " pinskia at gcc dot gnu dot org
@ 2006-11-12  1:57 ` pinskia at gcc dot gnu dot org
  2006-11-13 14:46 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-12  1:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from pinskia at gcc dot gnu dot org  2006-11-12 01:57 -------
I am testing the fix for the 4.2 branch right now.


-- 


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


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug tree-optimization/29439] [4.2 regression]  ICE in fold-const.c:1385 with -O1 -fwrapv -ftree-vrp
  2006-10-12 13:00 [Bug other/29439] New: ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop ) pluto at agmk dot net
                   ` (16 preceding siblings ...)
  2006-11-13 14:46 ` pinskia at gcc dot gnu dot org
@ 2006-11-13 14:46 ` pinskia at gcc dot gnu dot org
  2006-12-01  0:09 ` chaoyingfu at gcc dot gnu dot org
  18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-13 14:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #18 from pinskia at gcc dot gnu dot org  2006-11-13 14:46 -------
Subject: Bug 29439

Author: pinskia
Date: Mon Nov 13 14:46:05 2006
New Revision: 118763

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118763
Log:
2006-11-13  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR tree-opt/29439
        * tree-vrp.c (vrp_int_const_binop): Use the correct tree when
        checking for overflow.



Modified:
    branches/gcc-4_2-branch/gcc/ChangeLog
    branches/gcc-4_2-branch/gcc/tree-vrp.c


-- 


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


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug tree-optimization/29439] [4.2 regression]  ICE in fold-const.c:1385 with -O1 -fwrapv -ftree-vrp
  2006-10-12 13:00 [Bug other/29439] New: ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop ) pluto at agmk dot net
                   ` (15 preceding siblings ...)
  2006-11-12  1:57 ` [Bug tree-optimization/29439] [4.2 " pinskia at gcc dot gnu dot org
@ 2006-11-13 14:46 ` pinskia at gcc dot gnu dot org
  2006-11-13 14:46 ` pinskia at gcc dot gnu dot org
  2006-12-01  0:09 ` chaoyingfu at gcc dot gnu dot org
  18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-13 14:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #19 from pinskia at gcc dot gnu dot org  2006-11-13 14:46 -------
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug tree-optimization/29439] [4.2 regression]  ICE in fold-const.c:1385 with -O1 -fwrapv -ftree-vrp
  2006-10-12 13:00 [Bug other/29439] New: ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop ) pluto at agmk dot net
                   ` (17 preceding siblings ...)
  2006-11-13 14:46 ` pinskia at gcc dot gnu dot org
@ 2006-12-01  0:09 ` chaoyingfu at gcc dot gnu dot org
  18 siblings, 0 replies; 20+ messages in thread
From: chaoyingfu at gcc dot gnu dot org @ 2006-12-01  0:09 UTC (permalink / raw)
  To: gcc-bugs



------- 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://chaoyingfu@sources.redhat.com/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  <joern.rennecke@st.com>

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

  2006-11-03  J"orn Rennecke  <joern.rennecke@st.com>
        Merged from STMicroelectronics sources:
        2006-10-06  Andrew Stubbs  <andrew.stubbs@st.com>
          * config/sh/crt1.asm (vbr_600): Add missing #if.
        2006-08-03  J"orn Rennecke  <joern.rennecke@st.com>
          * sh.opt (mfused-madd): New option.
          * sh.md (mac_media, macsf3): Make conditional on TARGET_FMAC.
        2006-07-04  Andrew Stubbs  <andrew.stubbs@st.com>
          * 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 <joern.rennecke@st.com>
          * 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 <joern.rennecke@st.com>
          * sh.md (cmpgeusi_t): Change into define_insn_and_split.  Accept
          zero as second operand.
        2006-04-28  J"orn Rennecke <joern.rennecke@st.com>
          * 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 -0x80000000.
          * config/sh/divcost-analysis: Added sh4-300 figures.
        2006-04-27  J"orn Rennecke <joern.rennecke@st.com>
          * config/sh/t-sh (MULTILIB_MATCHES): Add -m4-300* / -m4-340 options.
        2006-04-26  J"orn Rennecke <joern.rennecke@st.com>
          * 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 <joern.rennecke@st.com>
          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-single, m4-300-single-only): Likewise.
          (mbranch-cost=): Likewise.
          * superh.h (STARTFILE_SPEC): Take -m4-340 into account.

          * sh.md (mulsf3): Remove special expansion code.
          (mulsf3_ie): Now a define_insn_and_split.
          (macsf3): Allow for TARGET_SH4.

          * sh.md (cbranchsi4, cbranchdi4, cbranchdi4_i): New patterns.
          * sh.c (prepare_cbranch_operands, expand_cbranchsi4): New functions.
          (expand_cbranchdi4): Likewise.
          (sh_rtx_costs): Give lower cost for certain CONST_INT values and for
          CONST_DOUBLE if the outer code is COMPARE.
          * sh.h (OPTIMIZATION_OPTIONS): If not optimizing for size, set
          TARGET_CBRANCHDI4 and TARGET_EXPAND_CBRANCHDI4.
          (OVERRIDE_OPTIONS): For TARGET_SHMEDIA, clear TARGET_CBRANCHDI4.
          (LEGITIMATE_CONSTANT_P): Also allow DImode and VOIDmode
CONST_DOUBLEs.
          Remove redundant fp_{zero,one}_operand checks.
          * sh.opt (mcbranchdi, mexpand-cbranchdi, mcmpeqdi): New options.
          * sh-protos.h (prepare_cbranch_operands, expand_cbranchsi4): Declare.
          (expand_cbranchdi4): Likewise.
        2006-04-20  J"orn Rennecke <joern.rennecke@st.com>
          * sh.h (LOCAL_ALIGNMENT): Use DATA_ALIGNMENT.

  gcc/testsuite:

  2006-11-03  J"orn Rennecke  <joern.rennecke@st.com>

        * testsuite/gcc.c-torture/execute/arith-rand-ll.c:
        Also test for bogus rest sign.
........
  r118459 | davidu | 2006-11-03 09:32:39 -0800 (Fri, 03 Nov 2006) | 9 lines

  * config/mips/mips.h (processor_type): Removed PROCESSOR_24K, add
  PROCESSOR_24KC and PROCESSOR_24KF.
  * config/mips/mips.c (mips_cpu_info_table): Add processor names
  and aliases for 4kec/4kem/4kep/24kec/24kef/24kex/34kc/34kf/34kx.
  (mips_rtx_cost_data): Add costs for the 24kc.
  * config/mips/mips.md ("cpu"): Remove 24k, add 24kc and 24kf.
  * config/mips/24k.md: Remove references to 24k and replace with
  uses of 24kc/24kf in the appropriate reservations.
  * doc/invoke.texi (MIPS Options): Updated. 
........
  r118460 | davidu | 2006-11-03 09:39:44 -0800 (Fri, 03 Nov 2006) | 2 lines

  typo
........
  r118461 | pbrook | 2006-11-03 09:49:43 -0800 (Fri, 03 Nov 2006) | 9 lines

  2006-11-03  Paul Brook  <paul@codesourcery.com>

        gcc/
        * config/arm/arm.c (arm_file_start): New function.
        (TARGET_ASM_FILE_START): Define.
        (arm_default_cpu): New variable.
        (arm_override_options): Set arm_default_cpu.
........
  r118465 | steven | 2006-11-03 14:12:37 -0800 (Fri, 03 Nov 2006) | 15 lines

        * tree-dump.c (dump_enable_all): Rename local variable
        ir_type to avoid name conflicts.
        * cfgloopmanip.c (lv_adjust_loop_entry_edge): Check for IR_GIMPLE
        instead of using ir_type().
        * profile.c (tree_register_profile_hooks): Likewise.
        * value-prof.c (tree_register_value_prof_hooks): Likewise.
        * basic-block.h (struct edge_def): Likewise.
        * config/arm/arm.c (legitimize_pic_address): Likewise.
        * coretypes.h (ir_type): New enum of all intermediate languages
        used in GCC.
        * cfghooks.c (ir_type): Rename to...
        (current_ir_type): ...this.  Distinguish between cfgrtl and
        cfglayout mode when the current IR is RTL.  Return enum ir_type.
        * cfghooks.h (ir_type): Replace with current_ir_type prototype.
........
  r118470 | gccadmin | 2006-11-03 16:17:39 -0800 (Fri, 03 Nov 2006) | 1 line

  Daily bump.
........
  r118472 | sayle | 2006-11-03 16:51:51 -0800 (Fri, 03 Nov 2006) | 11 lines


        * call.c (build_op_delete_call): Test user-visible type against
        size_type_node, instead of against the internal type, sizetype.
        * class.c (type_requires_array_cookie): Likewise.
        * mangle.c (write_builtin_type) <INTEGER_TYPE>: Remove special
        handling of TYPE_IS_SIZETYPE.
        * typeck.c (type_after_usual_arithmetic_conversions): Remove
        special case handling of TYPE_IS_SIZETYPE.
        (comptypes): Likewise.
........
  r118474 | geoffk | 2006-11-03 18:59:52 -0800 (Fri, 03 Nov 2006) | 4 lines

        * c-decl.c (WANT_C99_INLINE_SEMANTICS): New, set to 1.
        (merge_decls): Implement WANT_C99_INLINE_SEMANTICS.
        (grokdeclarator): Likewise.
........
  r118475 | bonzini | 2006-11-04 00:36:45 -0800 (Sat, 04 Nov 2006) | 30 lines

  2006-11-03  Paolo Bonzini  <bonzini@gnu.org>
              Steven Bosscher  <stevenb.gcc@gmail.com>

          * fwprop.c: New file.
          * Makefile.in: Add fwprop.o.
          * tree-pass.h (pass_rtl_fwprop, pass_rtl_fwprop_with_addr): New.
          * passes.c (init_optimization_passes): Schedule forward propagation.
          * rtlanal.c (loc_mentioned_in_p): Support NULL value of the second
          parameter.
          * timevar.def (TV_FWPROP): New.
          * common.opt (-fforward-propagate): New.
          * opts.c (decode_options): Enable forward propagation at -O2.
          * gcse.c (one_cprop_pass): Do not run local cprop unless touching
jumps.
          * cse.c (fold_rtx_subreg, fold_rtx_mem, fold_rtx_mem_1,
find_best_addr,
          canon_for_address, table_size): Remove.
          (new_basic_block, insert, remove_from_table): Remove references to
          table_size.
          (fold_rtx): Process SUBREGs and MEMs with equiv_constant, make
          simplification loop more straightforward by not calling fold_rtx
          recursively.
          (equiv_constant): Move here a small part of fold_rtx_subreg,
          do not call fold_rtx.  Call avoid_constant_pool_reference
          to process MEMs.
          * recog.c (canonicalize_change_group): New.
          * recog.h (canonicalize_change_group): New.

          * doc/invoke.texi (Optimization Options): Document fwprop.
          * doc/passes.texi (RTL passes): Document fwprop.
........
  r118478 | steven | 2006-11-04 03:13:57 -0800 (Sat, 04 Nov 2006) | 2 lines

  ChangeLog fix
........
  r118479 | uros | 2006-11-04 04:07:29 -0800 (Sat, 04 Nov 2006) | 4 lines

          * config/i386/i386.md (*movxf_nointeger, *movxf_integer): Enable
          patterns for standard 80387 constants.
........
  r118481 | rearnsha | 2006-11-04 06:26:34 -0800 (Sat, 04 Nov 2006) | 2 lines

        * arm.c (thumb_legitimate_addres_p): Allow any constant offset
        from the soft-frame, argument and virtual registers.
........
  r118483 | fxcoudert | 2006-11-04 12:58:26 -0800 (Sat, 04 Nov 2006) | 6 lines

        PR fortran/29713

        * expr.c (gfc_simplify_expr): Correct memory allocation.

        * gfortran.dg/pr29713.f90: New test.
........
  r118484 | uros | 2006-11-04 15:12:16 -0800 (Sat, 04 Nov 2006) | 14 lines

          PR target/26915
          * config/i386/i386.c (standard_80387_constant_p): Treat -0.0 and -1.0
          as a valid 80387 constant.
          (standard_80387_constant_opcode): Return "#" for -0.0 and -1.0.
          * config/i386/i386.md (unnamed splitter): Split the load of
          constant -0.0 or -1.0  into the load of 0.0 or 1.0, followed
          by negation.

  testsuite/ChangeLog:

          PR target/26915
          * gcc.target/i386/387-12.c: New test.
  ~
........
  r118489 | gccadmin | 2006-11-04 16:17:22 -0800 (Sat, 04 Nov 2006) | 1 line

  Daily bump.
........
  r118491 | brooks | 2006-11-04 16:28:08 -0800 (Sat, 04 Nov 2006) | 6 lines

  * fortran/error.c (show_locus): Add trailing colon in error messages.
  (error_print): Avoid leading space in error lines.
  * testsuite/lib/gfortran-dg.exp (gfortran-dg-test): Adjust pattern
  for matching error messages.
........
  r118492 | pault | 2006-11-04 22:27:48 -0800 (Sat, 04 Nov 2006) | 18 lines

  2006-11-05  Francois-Xavier Coudert  <fxcoudert@gcc.gnu,org>
            Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/24518
        * trans-intrinsic.c (gfc_conv_intrinsic_mod): Use built_in fmod
        for both MOD and MODULO, if it is available.

        PR fortran/29565
        * trans-expr.c (gfc_conv_aliased_arg): For an INTENT(OUT), save
        the declarations from the unused loops by merging the block
        scope for each; this ensures that the temporary is declared.

  2006-11-05  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/29565
        * gfortran.dg/gfortran.dg/aliasing_dummy_3.f90: New test.
........
  r118494 | ebotcazou | 2006-11-05 02:19:18 -0800 (Sun, 05 Nov 2006) | 1 line

  Fix typos.
........
  r118496 | charlet | 2006-11-05 02:58:41 -0800 (Sun, 05 Nov 2006) | 4 lines

        * s-osinte-linux-alpha.ads, s-osinte-linux-hppa.ads
        (To_Target_Priority): New function.
        Fix PR ada/29707
........
  r118497 | jakub | 2006-11-05 04:13:46 -0800 (Sun, 05 Nov 2006) | 7 lines

        PR middle-end/29695
        * fold-const.c (fold_ternary): Fix A < 0 ? <sign bit of A> : 0
        simplification.

        * gcc.c-torture/execute/pr29695-1.c: New test.
        * gcc.c-torture/execute/pr29695-2.c: New test.
........
  r118500 | kkojima | 2006-11-05 04:58:28 -0800 (Sun, 05 Nov 2006) | 4 lines

        * config/sh/lib1funcs-4-300.asm: Guard entire file with
          #if !__SHMEDIA__ .
........
  r118501 | aldot | 2006-11-05 06:57:24 -0800 (Sun, 05 Nov 2006) | 9 lines

  2006-11-05  Bernhard Fischer  <aldot@gcc.gnu.org>

          PR fortran/21061
          * error.c (gfc_warning): If warnings_are_errors then treat
          warnings as errors with respect to the exit code.
          (gfc_notify_std): Ditto.
          (gfc_warning_now): Ditto.
........
  r118502 | paolo | 2006-11-05 08:17:03 -0800 (Sun, 05 Nov 2006) | 6 lines

  2006-11-05  Paolo Carlini  <pcarlini@suse.de>

        * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 45.
        * docs/html/ext/lwg-closed.html: Add.
        * docs/html/ext/howto.html: Adjust.
........
  r118506 | jvdelisle | 2006-11-05 09:35:30 -0800 (Sun, 05 Nov 2006) | 10 lines

  2006-11-04  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR libgfortran/25545
        * io/transfer.c (write_block): Cleanup code paths between
        stream and non-stream I/O.
        (write_buf):  Cleanup.
        (read_block): Cleanup.
        (finalize_transfer): Call next_record for '$' edit descriptor handling
        of internal unit. Cleanup code for readability.
........
  r118507 | jvdelisle | 2006-11-05 09:40:42 -0800 (Sun, 05 Nov 2006) | 5 lines

  2006-11-05  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR libgfortran/25545
        * gfortran.dg/dollar_edit_descriptor-2.f: New test.
........
  r118508 | jvdelisle | 2006-11-05 09:54:17 -0800 (Sun, 05 Nov 2006) | 4 lines

  2006-11-05  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        * io/transfer.c (next_record_w): Fix indentation.
........
  r118515 | gccadmin | 2006-11-05 16:17:47 -0800 (Sun, 05 Nov 2006) | 1 line

  Daily bump.
........
  r118518 | vprus | 2006-11-06 01:49:07 -0800 (Mon, 06 Nov 2006) | 10 lines

          * config/arm/t-strongarm-pe: (TARGET_LIBGCC2_CFLAGS): Do no
          set inhibit_libc.
          * config/arm/t-strongarm-elf: Likewise.
          * config/arm/t-pe: Likewise.
          * config/arm/t-arm-elf: Likewise.
          * config/arm/t-xscale-elf: Likewise.
          * config/arm/t-arm-coff: Likewise.
          * config/arm/t-xscale-coff: Likewise.
          * config/arm/t-wince-pe: Likewise.
........
  r118523 | fche | 2006-11-06 10:02:13 -0800 (Mon, 06 Nov 2006) | 10 lines

  2006-11-06  Frank Ch. Eigler  <fche@redhat.com>

        * configure.ac (__libc_freeres): Look for it.
        * mf-impl.h (call_libc_freeres): New configuration flag.
        * mf-runtime.c (__mf_set_default_options): Set it by default.
        (__mfu_report): Call it if needed.
        (__mfu_unregister): Remove "unaccessed registered object" warning.
        * configure, config.h.in: Regenerated.
........
  r118524 | bwilson | 2006-11-06 10:50:37 -0800 (Mon, 06 Nov 2006) | 24 lines

        * longlong.h (__xtensa__): Add definitions for umul_ppmm, __umulsidi3,
        count_leading_zeros, and count_trailing_zeros.
        * config/xtensa/xtensa.c (TARGET_INIT_BUILTINS): Define.
        (TARGET_FOLD_BUILTIN): Define.
        (TARGET_EXPAND_BUILTIN): Define.
        (xtensa_init_builtins): New.
        (xtensa_fold_builtin): New.
        (xtensa_expand_builtin): New.
        (xtensa_rtx_costs): Add CTZ and CLZ.  Adjust costs for MULT.
        * config/xtensa/xtensa.h (TARGET_MUL32_HIGH): Define.
        (CLZ_DEFINED_VALUE_AT_ZERO): Define.
        (CTZ_DEFINED_VALUE_AT_ZERO): Define.
        * config/xtensa/xtensa.md (UNSPEC_NSAU): Remove.
        (any_extend): New code macro.
        (u, su): New code attributes.
        (<u>mulsidi3, <u>mulsi3_highpart, clzsi2, ctzsi2): New.
        (nsau): Remove; replaced by clzsi2.
        (ffssi2): Use clzsi2.
        * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _umulsidi3,
        _clzsi2, _ctzsi2, and _ffssi2.  Rename _nsau to _clz.
        * config/xtensa/lib1funcs.asm (__mulsi3): Support Mul32 option.
        (__umulsidi3, __clzsi2, __ctzsi2, __ffssi2): New.
        (__nsau_data): Guard with ifdef L_clz instead of L_nsau.
........
  r118525 | dannysmith | 2006-11-06 11:49:31 -0800 (Mon, 06 Nov 2006) | 5 lines

  2006-11-06  Jan van Dijk  <jan@etpmod.phys.tue.nl>

        * configure.ac: Fix typo in case statement: :: changed to ;;
        * configure: Regenerate.
........
  r118526 | fche | 2006-11-06 12:04:14 -0800 (Mon, 06 Nov 2006) | 6 lines

  2006-11-06  Frank Ch. Eigler  <fche@redhat.com>

        From Herman ten Brugge <hermantenbrugge@home.nl>:
        * mf-runtime.c (__mf_uncache_object): Optimize the code so that
        small and large objects are handled a lot faster.
........
  r118528 | eedelman | 2006-11-06 14:18:54 -0800 (Mon, 06 Nov 2006) | 18 lines

  fortran/
  2006-11-06  Erik Edelmann  <eedelman@gcc.gnu.org>

          PR fortran/29630
          PR fortran/29679
          * expr.c (find_array_section): Support vector subscripts.  Don't
          add sizes for dimen_type == DIMEN_ELEMENT to the shape array.


  testsuite/
  2006-11-06  Erik Edelmann  <eedelman@gcc.gnu.org>

          PR fortran/29630
          PR fortran/29679
          * gfortran.dg/initialization_2.f90: Test PRs 29630 and 29679 too.
          * gfortran.dg/initialization_3.f90: New.
........
  r118530 | pinskia | 2006-11-06 15:25:19 -0800 (Mon, 06 Nov 2006) | 7 lines

  2006-11-06  Andrew Pinski  <andrew_pinski@playstation.sony.com>

          PR tree-opt/29439
          * tree-vrp.c (vrp_int_const_binop): Use the correct tree when
          checking for overflow.
........
  r118531 | janis | 2006-11-06 16:08:32 -0800 (Mon, 06 Nov 2006) | 22 lines

  gcc/

  2006-11-06  Janis Johnson  <janis187@us.ibm.com>

        * gcc/doc/sourcebuild.texi (Test Directives): Add output-exists
        and output-exists-not.

  gcc/testsuite/

  2006-11-06  Janis Johnson  <janis187@us.ibm.com
            Bernhard Fischer  <aldot@gcc.gnu.org>

        * lib/gcc-dg.exp (output-exists): New proc.
        (output-exists-not): New proc.
        * gcc.test-framework/test-framework.awk: Support new directives.
        * gcc.test-framework/dg-outexistsnot-exp-F.c: New test.
        * gcc.test-framework/dg-outexistsnot-exp-P.c: New test.
        * gcc.test-framework/dg-outexists-exp-F.c: New test.
        * gcc.test-framework/dg-outexists-exp-XP.c: New test.
        * gcc.test-framework/dg-outexistsnot-exp-XF.c: New test.
        * gcc.test-framework/dg-outexists-exp-P.c: New test.
........
  r118536 | gccadmin | 2006-11-06 16:17:48 -0800 (Mon, 06 Nov 2006) | 1 line

  Daily bump.
........
  r118538 | brooks | 2006-11-06 17:49:55 -0800 (Mon, 06 Nov 2006) | 3 lines

  * intrinsic.texi: Added documentation for FTELL, GETLOG, and HOSTNM
intrinsics.
........
  r118540 | brooks | 2006-11-06 17:52:49 -0800 (Mon, 06 Nov 2006) | 2 lines

  Fixed incorrect date in changelog entry.
........
  r118541 | echristo | 2006-11-06 21:40:34 -0800 (Mon, 06 Nov 2006) | 7 lines

  2006-11-06  Eric Christopher  <echristo@apple.com>

            * config.gcc: Add x86_64-darwin host support.
            * config.host: Ditto.
            * config/i386/darwin64.h: New file.
            * config/i386/t-darwin64: Ditto.
........
  r118542 | burnus | 2006-11-07 01:11:08 -0800 (Tue, 07 Nov 2006) | 21 lines

  fortran/
  2006-11-06  Tobias Burnus  <burnus@net-b.de>

         * decl.c (match_attr_spec, gfc_match_enum): Unify gfc_notify_std
           message for GFC_STD_F2003.
         * array.c (gfc_match_array_constructor): Unify gfc_notify_std
           message for GFC_STD_F2003.
         * io.c (check_io_constraints): Unify gfc_notify_std message for
           GFC_STD_F2003.
         * resolve.c (resolve_actual_arglist): Unify gfc_notify_std message
           for GFC_STD_F2003.

  testsuite/
  2006-11-06  Tobias Burnus  <burnus@net-b.de>

         * gfortran.dg/io_constraints_2.f90: Adjust pattern
           for matching error messages.
         * gfortran.dg/specifics_3.f90: Adjust pattern
           for matching error messages.
........
  r118543 | bkoz | 2006-11-07 04:33:20 -0800 (Tue, 07 Nov 2006) | 8 lines

  2006-11-07  Benjamin Kosnik  <bkoz@redhat.com>

        * include/ext/pb_ds/exception.hpp: Add translation support to
        exception strings.
        * include/ext/concurrence.h: Same.
        * include/tr1/array: Same.
........

Added:
    branches/fixed-point/gcc/config/i386/darwin64.h
      - copied unchanged from r118543, trunk/gcc/config/i386/darwin64.h
    branches/fixed-point/gcc/config/i386/t-darwin64
      - copied unchanged from r118543, trunk/gcc/config/i386/t-darwin64
    branches/fixed-point/gcc/testsuite/gcc.test-framework/dg-outexists-exp-F.c
      - copied unchanged from r118543,
trunk/gcc/testsuite/gcc.test-framework/dg-outexists-exp-F.c
    branches/fixed-point/gcc/testsuite/gcc.test-framework/dg-outexists-exp-P.c
      - copied unchanged from r118543,
trunk/gcc/testsuite/gcc.test-framework/dg-outexists-exp-P.c
    branches/fixed-point/gcc/testsuite/gcc.test-framework/dg-outexists-exp-XP.c
      - copied unchanged from r118543,
trunk/gcc/testsuite/gcc.test-framework/dg-outexists-exp-XP.c
   
branches/fixed-point/gcc/testsuite/gcc.test-framework/dg-outexistsnot-exp-F.c
      - copied unchanged from r118543,
trunk/gcc/testsuite/gcc.test-framework/dg-outexistsnot-exp-F.c
   
branches/fixed-point/gcc/testsuite/gcc.test-framework/dg-outexistsnot-exp-P.c
      - copied unchanged from r118543,
trunk/gcc/testsuite/gcc.test-framework/dg-outexistsnot-exp-P.c
   
branches/fixed-point/gcc/testsuite/gcc.test-framework/dg-outexistsnot-exp-XF.c
      - copied unchanged from r118543,
trunk/gcc/testsuite/gcc.test-framework/dg-outexistsnot-exp-XF.c
Modified:
    branches/fixed-point/   (props changed)
    branches/fixed-point/gcc/ChangeLog
    branches/fixed-point/gcc/DATESTAMP
    branches/fixed-point/gcc/Makefile.in
    branches/fixed-point/gcc/ada/ChangeLog
    branches/fixed-point/gcc/ada/s-osinte-linux-alpha.ads
    branches/fixed-point/gcc/ada/s-osinte-linux-hppa.ads
    branches/fixed-point/gcc/basic-block.h
    branches/fixed-point/gcc/c-decl.c
    branches/fixed-point/gcc/cfghooks.c
    branches/fixed-point/gcc/cfghooks.h
    branches/fixed-point/gcc/cfgloopmanip.c
    branches/fixed-point/gcc/common.opt
    branches/fixed-point/gcc/config.gcc
    branches/fixed-point/gcc/config.host
    branches/fixed-point/gcc/config/arm/arm.c
    branches/fixed-point/gcc/config/arm/t-arm-coff
    branches/fixed-point/gcc/config/arm/t-arm-elf
    branches/fixed-point/gcc/config/arm/t-pe
    branches/fixed-point/gcc/config/arm/t-strongarm-elf
    branches/fixed-point/gcc/config/arm/t-strongarm-pe
    branches/fixed-point/gcc/config/arm/t-wince-pe
    branches/fixed-point/gcc/config/arm/t-xscale-coff
    branches/fixed-point/gcc/config/arm/t-xscale-elf
    branches/fixed-point/gcc/config/i386/i386.c
    branches/fixed-point/gcc/config/i386/i386.md
    branches/fixed-point/gcc/config/mips/24k.md
    branches/fixed-point/gcc/config/mips/mips.c
    branches/fixed-point/gcc/config/mips/mips.h
    branches/fixed-point/gcc/config/mips/mips.md
    branches/fixed-point/gcc/config/sh/crt1.asm
    branches/fixed-point/gcc/config/sh/divcost-analysis
    branches/fixed-point/gcc/config/sh/embed-elf.h
    branches/fixed-point/gcc/config/sh/sh-protos.h
    branches/fixed-point/gcc/config/sh/sh.c
    branches/fixed-point/gcc/config/sh/sh.h
    branches/fixed-point/gcc/config/sh/sh.md
    branches/fixed-point/gcc/config/sh/sh.opt
    branches/fixed-point/gcc/config/sh/sh1.md
    branches/fixed-point/gcc/config/sh/sh4.md
    branches/fixed-point/gcc/config/sh/sh4a.md
    branches/fixed-point/gcc/config/sh/superh.h
    branches/fixed-point/gcc/config/sh/t-sh
    branches/fixed-point/gcc/config/xtensa/lib1funcs.asm
    branches/fixed-point/gcc/config/xtensa/t-xtensa
    branches/fixed-point/gcc/config/xtensa/xtensa.c
    branches/fixed-point/gcc/config/xtensa/xtensa.h
    branches/fixed-point/gcc/config/xtensa/xtensa.md
    branches/fixed-point/gcc/configure
    branches/fixed-point/gcc/configure.ac
    branches/fixed-point/gcc/coretypes.h
    branches/fixed-point/gcc/cp/ChangeLog
    branches/fixed-point/gcc/cp/call.c
    branches/fixed-point/gcc/cp/class.c
    branches/fixed-point/gcc/cp/mangle.c
    branches/fixed-point/gcc/cp/typeck.c
    branches/fixed-point/gcc/cse.c
    branches/fixed-point/gcc/doc/invoke.texi
    branches/fixed-point/gcc/doc/passes.texi
    branches/fixed-point/gcc/doc/sourcebuild.texi
    branches/fixed-point/gcc/fold-const.c
    branches/fixed-point/gcc/fortran/ChangeLog
    branches/fixed-point/gcc/fortran/array.c
    branches/fixed-point/gcc/fortran/decl.c
    branches/fixed-point/gcc/fortran/error.c
    branches/fixed-point/gcc/fortran/expr.c
    branches/fixed-point/gcc/fortran/f95-lang.c
    branches/fixed-point/gcc/fortran/intrinsic.texi
    branches/fixed-point/gcc/fortran/io.c
    branches/fixed-point/gcc/fortran/resolve.c
    branches/fixed-point/gcc/fortran/trans-expr.c
    branches/fixed-point/gcc/fortran/trans-intrinsic.c
    branches/fixed-point/gcc/gcse.c
    branches/fixed-point/gcc/longlong.h
    branches/fixed-point/gcc/opts.c
    branches/fixed-point/gcc/passes.c
    branches/fixed-point/gcc/profile.c
    branches/fixed-point/gcc/recog.c
    branches/fixed-point/gcc/recog.h
    branches/fixed-point/gcc/rtlanal.c
    branches/fixed-point/gcc/testsuite/ChangeLog
    branches/fixed-point/gcc/testsuite/gcc.c-torture/execute/arith-rand-ll.c
    branches/fixed-point/gcc/testsuite/gcc.test-framework/test-framework.awk
    branches/fixed-point/gcc/testsuite/gfortran.dg/initialization_2.f90
    branches/fixed-point/gcc/testsuite/gfortran.dg/io_constraints_2.f90
    branches/fixed-point/gcc/testsuite/gfortran.dg/specifics_3.f90
    branches/fixed-point/gcc/testsuite/gfortran.dg/zero_sized_1.f90
    branches/fixed-point/gcc/testsuite/lib/gcc-dg.exp
    branches/fixed-point/gcc/testsuite/lib/gfortran-dg.exp
    branches/fixed-point/gcc/timevar.def
    branches/fixed-point/gcc/tree-dump.c
    branches/fixed-point/gcc/tree-pass.h
    branches/fixed-point/gcc/tree-vrp.c
    branches/fixed-point/gcc/value-prof.c
    branches/fixed-point/libgfortran/ChangeLog
    branches/fixed-point/libgfortran/generated/reshape_c10.c
    branches/fixed-point/libgfortran/generated/reshape_c16.c
    branches/fixed-point/libgfortran/generated/reshape_c4.c
    branches/fixed-point/libgfortran/generated/reshape_c8.c
    branches/fixed-point/libgfortran/generated/reshape_i16.c
    branches/fixed-point/libgfortran/generated/reshape_i4.c
    branches/fixed-point/libgfortran/generated/reshape_i8.c
    branches/fixed-point/libgfortran/generated/reshape_r10.c
    branches/fixed-point/libgfortran/generated/reshape_r16.c
    branches/fixed-point/libgfortran/generated/reshape_r4.c
    branches/fixed-point/libgfortran/generated/reshape_r8.c
    branches/fixed-point/libgfortran/intrinsics/reshape_generic.c
    branches/fixed-point/libgfortran/io/transfer.c
    branches/fixed-point/libgfortran/m4/reshape.m4
    branches/fixed-point/libmudflap/ChangeLog
    branches/fixed-point/libmudflap/config.h.in
    branches/fixed-point/libmudflap/configure
    branches/fixed-point/libmudflap/configure.ac
    branches/fixed-point/libmudflap/mf-impl.h
    branches/fixed-point/libmudflap/mf-runtime.c
    branches/fixed-point/libstdc++-v3/ChangeLog
    branches/fixed-point/libstdc++-v3/docs/html/ext/howto.html
    branches/fixed-point/libstdc++-v3/docs/html/ext/lwg-active.html
    branches/fixed-point/libstdc++-v3/docs/html/ext/lwg-defects.html
    branches/fixed-point/libstdc++-v3/include/ext/concurrence.h
    branches/fixed-point/libstdc++-v3/include/ext/pb_ds/exception.hpp
    branches/fixed-point/libstdc++-v3/include/tr1/array

Propchange: branches/fixed-point/
            ('svnmerge-integrated' modified)


-- 


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


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2006-12-01  0:09 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-12 13:00 [Bug other/29439] New: ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop ) pluto at agmk dot net
2006-10-12 14:30 ` [Bug other/29439] " rguenth at gcc dot gnu dot org
2006-10-12 14:38 ` pluto at agmk dot net
2006-10-12 19:46 ` pluto at agmk dot net
2006-10-15 18:02 ` [Bug middle-end/29439] [4.2 only] ICE in fold-const.c:1385 with -O1 -fwrapv -ftree-vrp pluto at agmk dot net
2006-10-15 18:02 ` pluto at agmk dot net
2006-10-15 18:35 ` [Bug middle-end/29439] [4.2 regression] " pinskia at gcc dot gnu dot org
2006-10-15 18:56 ` [Bug tree-optimization/29439] " pinskia at gcc dot gnu dot org
2006-10-15 21:27 ` mmitchel at gcc dot gnu dot org
2006-10-15 21:30 ` pinskia at gcc dot gnu dot org
2006-10-16  0:15 ` pinskia at gcc dot gnu dot org
2006-10-17  7:35 ` mmitchel at gcc dot gnu dot org
2006-10-18  9:34 ` pluto at agmk dot net
2006-10-18 10:00 ` rguenth at gcc dot gnu dot org
2006-11-06 23:25 ` pinskia at gcc dot gnu dot org
2006-11-06 23:25 ` [Bug tree-optimization/29439] [4.2/4.3 " pinskia at gcc dot gnu dot org
2006-11-12  1:57 ` [Bug tree-optimization/29439] [4.2 " pinskia at gcc dot gnu dot org
2006-11-13 14:46 ` pinskia at gcc dot gnu dot org
2006-11-13 14:46 ` pinskia at gcc dot gnu dot org
2006-12-01  0:09 ` chaoyingfu at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).