public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/15463] ICE in do_SUBS
  2004-05-16 14:20 [Bug c++/15463] New: ICE in do_SUBS jkillius at arcor dot de
@ 2004-05-16 14:20 ` jkillius at arcor dot de
  2004-05-16 14:22 ` bangerth at dealii dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jkillius at arcor dot de @ 2004-05-16 14:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jkillius at arcor dot de  2004-05-15 14:46 -------
Created an attachment (id=6301)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6301&action=view)
the template file


-- 


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


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

* [Bug c++/15463] New: ICE in do_SUBS
@ 2004-05-16 14:20 jkillius at arcor dot de
  2004-05-16 14:20 ` [Bug c++/15463] " jkillius at arcor dot de
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: jkillius at arcor dot de @ 2004-05-16 14:20 UTC (permalink / raw)
  To: gcc-bugs

Hello, 
there is an ICE with valid code and -funroll-loops in crypto++ 
g++ -g -march=athlon64 -mtune=athlon64 -O3 -funroll-loops -save-temps -c 
asn.cpp 
asn.cpp: In static member function `static void 
CryptoPP::OID::EncodeValue(CryptoPP::BufferedTransformation&, long unsigned 
int)': 
asn.cpp:200: internal compiler error: in do_SUBST, at combine.c:446 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <URL:http://gcc.gnu.org/bugs.html> for instructions. 
make: *** [asn.o] Error 1

-- 
           Summary: ICE in do_SUBS
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jkillius at arcor dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: x86_64-pc-linux-gnu
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu


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


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

* [Bug c++/15463] ICE in do_SUBS
  2004-05-16 14:20 [Bug c++/15463] New: ICE in do_SUBS jkillius at arcor dot de
  2004-05-16 14:20 ` [Bug c++/15463] " jkillius at arcor dot de
@ 2004-05-16 14:22 ` bangerth at dealii dot org
  2004-05-16 22:14 ` rakdver at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bangerth at dealii dot org @ 2004-05-16 14:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at dealii dot org  2004-05-15 15:11 -------
I can't reproduce this on x86 linux: I get a lot of warnings/errors about 
too large constants, and even after fixing them the compiler just happily 
compiles this code. Will probably need someone with an x86_64 box to test. 
 
W. 

-- 


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


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

* [Bug c++/15463] ICE in do_SUBS
  2004-05-16 14:20 [Bug c++/15463] New: ICE in do_SUBS jkillius at arcor dot de
  2004-05-16 14:20 ` [Bug c++/15463] " jkillius at arcor dot de
  2004-05-16 14:22 ` bangerth at dealii dot org
@ 2004-05-16 22:14 ` rakdver at gcc dot gnu dot org
  2004-05-16 23:56 ` jkillius at arcor dot de
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2004-05-16 22:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rakdver at gcc dot gnu dot org  2004-05-15 21:15 -------
Ad reproducing: use x86_64 crosscompiler.

Anyway, patch:

http://gcc.gnu.org/ml/gcc-patches/2004-05/msg00935.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-05-15 21:15:44
               date|                            |


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


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

* [Bug c++/15463] ICE in do_SUBS
  2004-05-16 14:20 [Bug c++/15463] New: ICE in do_SUBS jkillius at arcor dot de
                   ` (2 preceding siblings ...)
  2004-05-16 22:14 ` rakdver at gcc dot gnu dot org
@ 2004-05-16 23:56 ` jkillius at arcor dot de
  2004-05-17  0:01 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jkillius at arcor dot de @ 2004-05-16 23:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jkillius at arcor dot de  2004-05-15 23:36 -------
The file that is patched does not exist in my GCC version: 
gcc version 3.4.1 20040514 (prerelease) 

-- 


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


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

* [Bug c++/15463] ICE in do_SUBS
  2004-05-16 14:20 [Bug c++/15463] New: ICE in do_SUBS jkillius at arcor dot de
                   ` (3 preceding siblings ...)
  2004-05-16 23:56 ` jkillius at arcor dot de
@ 2004-05-17  0:01 ` pinskia at gcc dot gnu dot org
  2004-05-20 18:43 ` cvs-commit at gcc dot gnu dot org
  2004-05-20 19:27 ` [Bug rtl-optimization/15463] " pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-17  0:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-15 23:41 -------
That is because it is part of the mainline of GCC.

-- 


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


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

* [Bug c++/15463] ICE in do_SUBS
  2004-05-16 14:20 [Bug c++/15463] New: ICE in do_SUBS jkillius at arcor dot de
                   ` (4 preceding siblings ...)
  2004-05-17  0:01 ` pinskia at gcc dot gnu dot org
@ 2004-05-20 18:43 ` cvs-commit at gcc dot gnu dot org
  2004-05-20 19:27 ` [Bug rtl-optimization/15463] " pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-05-20 18:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-05-19 17:53 -------
Subject: Bug 15463

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	rakdver@gcc.gnu.org	2004-05-19 17:53:45

Modified files:
	gcc            : ChangeLog function.c function.h loop-iv.c 
	                 loop-unswitch.c rtl.h simplify-rtx.c 
	                 stor-layout.c tree.h 

Log message:
	PR c++/15463
	* loop-iv.c (iv_number_of_iterations):  Use trunc_int_for_mode on
	result of inverse.
	
	PR rtl-optimization/15274
	* loop-iv.c (determine_max_iter, shorten_into_mode,
	iv_number_of_iterations): Handle constants correctly.
	* rtl.h (get_mode_bounds): Declaration changed.
	* stor-layout.c (get_mode_bounds): Return a constant suitable for
	the target mode.
	
	PR rtl-optimization/14692
	* loop-unswitch.c (may_unswitch_on): Try folding the result.
	(unswitch_single_loop): Work correctly when may_unswitch_on
	returns a folded constant.
	
	* loop-iv.c (implies_p): Handle A < B ==> A + 1 <= B.
	* simplify-rtx.c (simplify_const_relational_operation): Optimize
	comparisons with mode bounds.
	
	* function.c (struct temp_slot): Add new field prev.
	(free_after_compilation, init_temp_slots): Free new fields.
	(cut_slot_from_list, insert_slot_to_list,
	temp_slots_at_level, max_slot_level, move_slot_to_level,
	make_slot_available): New functions.
	(assign_stack_temp_for_type, combine_temp_slots,
	find_temp_slot_from_address, preserve_temp_slots,
	preserve_rtl_expr_result, free_temp_slots,
	free_temps_for_rtl_expr, pop_temp_slots): Work with
	the new structure of lists.
	(mark_all_temps_used): Removed.
	* function.h (struct function): Field x_temp_slots
	replaced by x_used_temp_slots and x_avail_temp_slots.
	(temp_slots): Replaced by ...
	(used_temp_slots, avail_temp_slots): New.
	* tree.h (mark_all_temps_used): Declaration removed.
	
	* loop-iv.c (mark_single_set, get_biv_step_1, iv_analyze,
	simplify_using_assignment): Take the expression out of
	the expr_list wrapper.
	
	* loop-iv.c (iv_number_of_iterations): Improve clasification of
	infinite loops.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.3695&r2=2.3696
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/function.c.diff?cvsroot=gcc&r1=1.516&r2=1.517
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/function.h.diff?cvsroot=gcc&r1=1.114&r2=1.115
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/loop-iv.c.diff?cvsroot=gcc&r1=2.7&r2=2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/loop-unswitch.c.diff?cvsroot=gcc&r1=1.17&r2=1.18
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/rtl.h.diff?cvsroot=gcc&r1=1.473&r2=1.474
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/simplify-rtx.c.diff?cvsroot=gcc&r1=1.190&r2=1.191
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/stor-layout.c.diff?cvsroot=gcc&r1=1.189&r2=1.190
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.h.diff?cvsroot=gcc&r1=1.495&r2=1.496



-- 


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


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

* [Bug rtl-optimization/15463] ICE in do_SUBS
  2004-05-16 14:20 [Bug c++/15463] New: ICE in do_SUBS jkillius at arcor dot de
                   ` (5 preceding siblings ...)
  2004-05-20 18:43 ` cvs-commit at gcc dot gnu dot org
@ 2004-05-20 19:27 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-20 19:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-19 19:05 -------
Fixed for 3.5.0.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
          Component|c++                         |rtl-optimization
         Resolution|                            |FIXED
   Target Milestone|---                         |3.5.0


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


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

end of thread, other threads:[~2004-05-19 19:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-16 14:20 [Bug c++/15463] New: ICE in do_SUBS jkillius at arcor dot de
2004-05-16 14:20 ` [Bug c++/15463] " jkillius at arcor dot de
2004-05-16 14:22 ` bangerth at dealii dot org
2004-05-16 22:14 ` rakdver at gcc dot gnu dot org
2004-05-16 23:56 ` jkillius at arcor dot de
2004-05-17  0:01 ` pinskia at gcc dot gnu dot org
2004-05-20 18:43 ` cvs-commit at gcc dot gnu dot org
2004-05-20 19:27 ` [Bug rtl-optimization/15463] " pinskia 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).