public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug tree-optimization/47967] New: [4.6 Regression] ICE: verify_stmts failed: conversion of register to a different size with -fipa-cp on undefined code @ 2011-03-03 12:53 zsojka at seznam dot cz 2011-03-03 13:10 ` [Bug tree-optimization/47967] " rguenth at gcc dot gnu.org ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: zsojka at seznam dot cz @ 2011-03-03 12:53 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47967 Summary: [4.6 Regression] ICE: verify_stmts failed: conversion of register to a different size with -fipa-cp on undefined code Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned@gcc.gnu.org ReportedBy: zsojka@seznam.cz Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 23526 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23526 reduced testcase $ gcc testcase.c -O -fipa-cp testcase.c: In function 'bar.constprop.0': testcase.c:10:1: error: conversion of register to a different size VIEW_CONVERT_EXPR<double>(D.2694_2); i_1 = VIEW_CONVERT_EXPR<double>(D.2694_2); testcase.c:10:1: internal compiler error: verify_stmts failed Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Tested revisions: r170622 - crash 4.5 r170013 - OK 4.4 r170013 - OK ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/47967] [4.6 Regression] ICE: verify_stmts failed: conversion of register to a different size with -fipa-cp on undefined code 2011-03-03 12:53 [Bug tree-optimization/47967] New: [4.6 Regression] ICE: verify_stmts failed: conversion of register to a different size with -fipa-cp on undefined code zsojka at seznam dot cz @ 2011-03-03 13:10 ` rguenth at gcc dot gnu.org 2011-03-04 12:14 ` jakub at gcc dot gnu.org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu.org @ 2011-03-03 13:10 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47967 Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2011.03.03 13:10:11 CC| |jamborm at gcc dot gnu.org Target Milestone|--- |4.6.0 Ever Confirmed|0 |1 --- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-03 13:10:11 UTC --- Confirmed. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/47967] [4.6 Regression] ICE: verify_stmts failed: conversion of register to a different size with -fipa-cp on undefined code 2011-03-03 12:53 [Bug tree-optimization/47967] New: [4.6 Regression] ICE: verify_stmts failed: conversion of register to a different size with -fipa-cp on undefined code zsojka at seznam dot cz 2011-03-03 13:10 ` [Bug tree-optimization/47967] " rguenth at gcc dot gnu.org @ 2011-03-04 12:14 ` jakub at gcc dot gnu.org 2011-03-04 13:37 ` jakub at gcc dot gnu.org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: jakub at gcc dot gnu.org @ 2011-03-04 12:14 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47967 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-04 12:14:33 UTC --- Started with http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161655 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/47967] [4.6 Regression] ICE: verify_stmts failed: conversion of register to a different size with -fipa-cp on undefined code 2011-03-03 12:53 [Bug tree-optimization/47967] New: [4.6 Regression] ICE: verify_stmts failed: conversion of register to a different size with -fipa-cp on undefined code zsojka at seznam dot cz 2011-03-03 13:10 ` [Bug tree-optimization/47967] " rguenth at gcc dot gnu.org 2011-03-04 12:14 ` jakub at gcc dot gnu.org @ 2011-03-04 13:37 ` jakub at gcc dot gnu.org 2011-03-04 23:07 ` jakub at gcc dot gnu.org 2011-03-04 23:11 ` jakub at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: jakub at gcc dot gnu.org @ 2011-03-04 13:37 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47967 --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-04 13:36:50 UTC --- Created attachment 23543 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23543 gcc46-pr47967.patch Untested fix. Or is there some better place to check for this earlier? Inlining certainly handles this right and doesn't consider inlining such functions, but IPA-CP didn't care. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/47967] [4.6 Regression] ICE: verify_stmts failed: conversion of register to a different size with -fipa-cp on undefined code 2011-03-03 12:53 [Bug tree-optimization/47967] New: [4.6 Regression] ICE: verify_stmts failed: conversion of register to a different size with -fipa-cp on undefined code zsojka at seznam dot cz ` (2 preceding siblings ...) 2011-03-04 13:37 ` jakub at gcc dot gnu.org @ 2011-03-04 23:07 ` jakub at gcc dot gnu.org 2011-03-04 23:11 ` jakub at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: jakub at gcc dot gnu.org @ 2011-03-04 23:07 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47967 --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-04 23:07:22 UTC --- Author: jakub Date: Fri Mar 4 23:07:20 2011 New Revision: 170689 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170689 Log: PR tree-optimization/47967 * ipa-cp.c (build_const_val): Return NULL instead of creating VIEW_CONVERT_EXPR for mismatching sizes. (ipcp_create_replace_map): Return NULL if build_const_val failed. (ipcp_insert_stage): If ipcp_create_replace_map returns NULL, give up on versioning. * gcc.c-torture/compile/pr47967.c: New test. Added: trunk/gcc/testsuite/gcc.c-torture/compile/pr47967.c Modified: trunk/gcc/ChangeLog trunk/gcc/ipa-cp.c trunk/gcc/testsuite/ChangeLog ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/47967] [4.6 Regression] ICE: verify_stmts failed: conversion of register to a different size with -fipa-cp on undefined code 2011-03-03 12:53 [Bug tree-optimization/47967] New: [4.6 Regression] ICE: verify_stmts failed: conversion of register to a different size with -fipa-cp on undefined code zsojka at seznam dot cz ` (3 preceding siblings ...) 2011-03-04 23:07 ` jakub at gcc dot gnu.org @ 2011-03-04 23:11 ` jakub at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: jakub at gcc dot gnu.org @ 2011-03-04 23:11 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47967 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org |gnu.org | --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-04 23:11:09 UTC --- Fixed. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-03-04 23:11 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-03-03 12:53 [Bug tree-optimization/47967] New: [4.6 Regression] ICE: verify_stmts failed: conversion of register to a different size with -fipa-cp on undefined code zsojka at seznam dot cz 2011-03-03 13:10 ` [Bug tree-optimization/47967] " rguenth at gcc dot gnu.org 2011-03-04 12:14 ` jakub at gcc dot gnu.org 2011-03-04 13:37 ` jakub at gcc dot gnu.org 2011-03-04 23:07 ` jakub at gcc dot gnu.org 2011-03-04 23:11 ` jakub at gcc dot gnu.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).