Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICE with "-g" option specified #1440

Closed
asl opened this issue Dec 24, 2006 · 2 comments
Closed

ICE with "-g" option specified #1440

asl opened this issue Dec 24, 2006 · 2 comments
Labels
bugzilla Issues migrated from bugzilla llvm-tools All llvm tools that do not have corresponding tag

Comments

@asl
Copy link
Collaborator

asl commented Dec 24, 2006

Bugzilla Link 1068
Resolution FIXED
Resolved on Feb 22, 2010 12:48
Version trunk
OS Linux
Attachments multidelta reduced source

Extended Description

$ llvm-g++ -c -g test.ii
test.ii:13: warning: inline function 'QVarLengthArray<T,
Prealloc>::QVarLengthArray(int) [with T = char, int Prealloc = 4096]' used but
never defined
test.ii: In member function 'void
QInotifyFileSystemWatcherEngine::readFromInotify()':
test.ii:20: internal compiler error: in tree_low_cst, at tree.c:3890
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://llvm.org/bugs for instructions.

Everything is ok without "-g".

@lattner
Copy link
Collaborator

lattner commented Dec 25, 2006

Jim will take a look after the holidays. Thanks!

@llvmbot
Copy link
Collaborator

llvmbot commented Jan 1, 2007

Unbounded array needed further check.

Index: gcc/llvm-debug.cpp

====
--- gcc/llvm-debug.cpp (revision 121787)
+++ gcc/llvm-debug.cpp (working copy)
@@ -593,8 +593,10 @@
tree MinValue = TYPE_MIN_VALUE(Domain);
tree MaxValue = TYPE_MAX_VALUE(Domain);
if (MinValue && MaxValue &&

  •        TREE_CODE(MinValue) == INTEGER_CST &&
    
  •        TREE_CODE(MaxValue) == INTEGER_CST) {
    
  •          TREE_CODE(MinValue) == INTEGER_CST &&
    
  •          TREE_CODE(MaxValue) == INTEGER_CST &&
    
  •          host_integerp(MinValue, 0) &&
    
  •          host_integerp(MaxValue, 0)) {
           Subrange->setLo(tree_low_cst(MinValue, 0));
           Subrange->setHi(tree_low_cst(MaxValue, 0));
         }
    

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
kitano-metro pushed a commit to RIKEN-RCCS/llvm-project that referenced this issue Feb 14, 2023
kitano-metro pushed a commit to RIKEN-RCCS/llvm-project that referenced this issue Feb 14, 2023
kitano-metro pushed a commit to RIKEN-RCCS/llvm-project that referenced this issue Feb 14, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla llvm-tools All llvm tools that do not have corresponding tag
Projects
None yet
Development

No branches or pull requests

3 participants